body {

    background: linear-gradient(135deg, #eef2ff, #f8fafc);

    font-family: 'Poppins', sans-serif;

    padding: 10px;

    font-size: 14px;

    color: #1e293b;
}


/* MAIN CONTAINER */

.main-box {

    max-width: 820px;

    margin: auto;

    background: rgba(255, 255, 255, 0.95);

    border-radius: 24px;

    padding: 22px;

    box-shadow:
        0 10px 40px rgba(15, 23, 42, 0.08);

    border: 1px solid #e2e8f0;

    backdrop-filter: blur(8px);
}


/* TITLE */

.title {

    text-align: center;

    font-size: 30px;

    font-weight: 700;

    color: #1e3a8a;

    margin-bottom: 8px;

    letter-spacing: -1px;
}


/* SUBTITLE */

.subtitle {

    text-align: center;

    color: #64748b;

    font-size: 16px;

    margin-bottom: 30px;
}


/* LABELS */

label {

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 8px;

    color: #334155;

    display: block;
}


/* HELPER TEXT */

.helper-text {

    display: block;

    font-size: 12px;

    color: #94a3b8;

    margin-top: -4px;

    margin-bottom: 8px;
}


/* INPUTS */

.form-control {

    height: 44px;

    border-radius: 14px;

    margin-bottom: 18px;

    font-size: 15px;

    border: 1px solid #dbeafe;

    background: #f8fafc;

    transition: 0.3s;
}


.form-control:focus {

    border-color: #2563eb;

    background: white;

    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);

    outline: none;
}


/* BUTTON */

.btn-calculate {

    width: 100%;

    height: 46px;

    border: none;

    border-radius: 14px;

    background: linear-gradient(135deg, #1e3a8a, #2563eb);

    color: white;

    font-size: 17px;

    font-weight: 600;

    margin-top: 10px;

    transition: all 0.3s ease;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);
}


.btn-calculate:hover {

    transform: translateY(-2px);

    background: linear-gradient(135deg, #172554, #1d4ed8);

    box-shadow:
        0 12px 24px rgba(37, 99, 235, 0.35);
}


/* SECTION TITLE */

.section-title {

    font-size: 24px;

    font-weight: 700;

    margin-top: 35px;

    margin-bottom: 18px;

    color: #0f172a;
}


/* RESULT GRID */

.result-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;
}


/* RESULT CARD */

.result-card {

    background: linear-gradient(135deg, #eff6ff, #f8fafc);

    padding: 12px;

    border-radius: 18px;

    text-align: center;

    border: 1px solid #dbeafe;

    transition: 0.3s;
}


.result-card:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 20px rgba(15, 23, 42, 0.06);
}


/* CARD TITLE */

.card-title {

    color: #64748b;

    font-size: 13px;

    margin-bottom: 10px;
}


/* CARD VALUE */

.card-value {

    font-size: 24px;

    font-weight: 700;

    color: #0f172a;
}


/* SAVING BOX */

.saving-box {

    background: linear-gradient(135deg, #dcfce7, #f0fdf4);

    color: #166534;

    padding: 22px;

    border-radius: 18px;

    text-align: center;

    margin-top: 28px;

    border: 1px solid #bbf7d0;
}


.saving-box h3 {

    font-size: 28px;

    font-weight: 700;

    margin-bottom: 8px;
}


.saving-box p {

    margin: 0;

    font-size: 15px;
}


/* MOBILE */

@media(max-width:768px) {

    body {

        padding: 12px;
    }

    .main-box {

        padding: 20px;

        border-radius: 18px;
    }

    .title {

        font-size: 30px;
    }

    .subtitle {

        font-size: 14px;
    }

    .result-grid {

        grid-template-columns: 1fr;
    }

    .card-value {

        font-size: 22px;
    }
}

/* BADGE */

.badge-box {

    width: fit-content;

    margin: auto;

    background: #dbeafe;

    color: #1e40af;

    padding: 8px 18px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 25px;
}


/* TOP CARDS */

.top-cards {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 30px;
}

.info-card {

    background: linear-gradient(135deg, #eff6ff, #dbeafe);

    padding: 18px;

    border-radius: 18px;

    text-align: center;

    border: 1px solid #bfdbfe;

    transition: 0.3s;
}

.info-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.info-card h4 {

    font-size: 16px;

    margin-bottom: 8px;

    color: #1e3a8a;
}

.info-card p {

    font-size: 12px;

    color: #475569;

    margin: 0;
}


/* MOBILE */

@media(max-width:768px) {

    .top-cards {

        grid-template-columns: 1fr;
    }
}

/* BADGE */

.badge-box {

    width: fit-content;

    margin: auto;

    background: #dbeafe;

    color: #1e40af;

    padding: 8px 18px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 25px;
}


/* TOP CARDS */

.top-cards {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-bottom: 30px;
}

.info-card {

    background: linear-gradient(135deg, #eff6ff, #dbeafe);

    padding: 18px;

    border-radius: 18px;

    text-align: center;

    border: 1px solid #bfdbfe;

    transition: 0.3s;
}

.info-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.info-card h4 {

    font-size: 18px;

    margin-bottom: 8px;

    color: #1e3a8a;
}

.info-card p {

    font-size: 13px;

    color: #475569;

    margin: 0;
}


/* MOBILE */

@media(max-width:768px) {

    .top-cards {

        grid-template-columns: 1fr;
    }
}