* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Tahoma, sans-serif;
}

*:focus {
    outline: none;
}

body {
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    height: 100%;
}

.container {
    padding-top: 50px;
}

select,
input,
button {
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

select {
    background: linear-gradient(145deg, #12c2e9, #c471ed, #f64f59);
    color: white;
}

input {
    color: #333;
    background: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    width: calc(100% - 22px); /* Full width - padding */
}

button {
    cursor: pointer;
    background: linear-gradient(145deg, #12c2e9, #c471ed, #f64f59);
    color: white;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    display: block;
    padding: 10px; /* Reduced height */
}

button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0);
    box-shadow: none;
}

.mainsection {
    text-align: center;
    padding: 20px;
    color: white;
    background: linear-gradient(135deg, #12c2e9, #c471ed, #f64f59);
    margin-bottom: 30px;
    border-radius: 10px;
}

.date {
    font-size: 3rem;
    margin-bottom: -20px;
}

.mainfigure {
    font-size: 3rem;
}

.incomeUI, .expenseUI {
    font-size: 1rem;
    width: 80%;
    max-width: 300px;
    margin: 20px auto;
    padding: 15px; /* Reduced height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.incomeUI {
    background: linear-gradient(145deg, #00c6ff, #0072ff);
}

.expenseUI {
    background: linear-gradient(145deg, #ff416c, #ff4b2b);
}

.placeholder {
    font-style: italic;
    font-size: 1.5rem;
    opacity: 0.5;
}

.enterdatasection {
    text-align: center;
    padding: 70px 0;
    width: 100%;
}

.description, .amount {
    height: 40px;
    width: calc(100% - 22px); /* Full width - padding */
    max-width: 300px;
}

.options {
    height: 40px;
    width: 100%;
    max-width: 300px;
}

.mainUISection {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
}

.incomeUIsection, .expenseUIsection {
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    width: 100%;
    max-width: 500px;
    padding: 10px 20px;
    margin: 20px auto;
    border-radius: 10px;
    position: relative;
}

.amountandpercentage {
    display: flex;
    align-items: center;
}

.percentage {
    padding-left: 10px;
    color: red;
    font-size: 13px;
}

.storagesection {
    position: absolute;
    width: 80%;
    margin: auto;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px;
    font-size: 1rem;
    display: none;
    color: black;
    font-weight: bold;
    text-align: left;
    animation-name: reveal;
    animation-duration: 1s;
    top: 100px;
    left: 10%;
    right: 10%;
    z-index: 10;
    overflow-y: auto;
    max-height: 70vh;
    border-radius: 10px;
}

.history-list {
    list-style-type: none;
    padding: 0;
}

.history-item {
    margin-bottom: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 800px) {
    .storagesection {
        width: 90%;
        left: 5%;
        right: 5%;
        font-size: 0.9rem;
    }
}

.shepherd-theme-custom .shepherd-step {
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', sans-serif;
    padding: 15px;
}

.shepherd-theme-custom .shepherd-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.shepherd-theme-custom .shepherd-text {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.shepherd-theme-custom .shepherd-button {
    background: #feb47b;
    border: none;
    color: white;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.shepherd-theme-custom .shepherd-button:hover {
    background: #ff7e5f;
}
