/* ===== Base ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Poppins, sans-serif;
    background: #f7f9fc;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* dashboard css start */
/* Dashboard Cards */
.dash-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 16.2px 0px #0000002B;
    transition: 0.3s ease;
}

.dash-card:hover {
    transform: translateY(-5px);
}

/* Colors */
.dash-card.blue {
    background: #E6F1FD;

}

.dash-card.purple {
    background: #EDEEFC;
}

/* Body */
.dash-card .card-body {
    padding: 20px;
}

.card-heading  {
    font-family: Poppins;
font-weight: Regular;
font-size: 14px;
line-height: 20px;
color: #000000;
    margin-bottom: 10px;
}

.card-value {
    font-family: Poppins;
font-weight: 600;
font-style: SemiBold;
font-size: 24px;
line-height: 32px;
letter-spacing: 0px;
    color: #000;
}

.card-growth {
    font-family: Poppins;
font-weight: Regular;
font-size: 12px;
line-height: 16px;
color: #000000;
}

/* Footer */
.dash-card .card-footer {
    padding: 10px;
    font-family: Poppins;
font-weight: 400;
font-size: 16px;
letter-spacing: 0px;
text-align: center;
    cursor: pointer;
}
/* dashboard css end  */
/* ===== Sidebar ===== */
.sidebar {
    width: 280px;
    height: 100vh;
    background: #213EB0;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar .logo {
    text-align: center;
    padding: 20px 10px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.sidebar-menu {
    list-style: none;
    padding: 0 20px 20px;
    margin: 0;
}

.sidebar-menu li {
    padding: 10px 12px;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14.3px;
    line-height: 22.5px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.8);
    margin: 10px 0;
    transition: 0.2s ease;
}

.sidebar-menu li i {
    margin-right: 8px;
}

.sidebar-menu li.active,
.sidebar-menu li:hover {
    background: #fff;
    color: #213EB0;
    font-weight: 700;
    border-radius: 8px;
    border-bottom-color: transparent;
}

/* ===== Main ===== */
.main {
    margin-left: 280px;
    /* min-height: 100vh; */
    flex: 1;
}

.main-footer {
    margin-left: 280px;
}

/* ===== Topbar ===== */
.topbar {
    background: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.bell-icon {
    position: relative;
    color: #878A99;
    font-size: 20px;
    cursor: pointer;
}

/* Notification badge */
.notification {
    position: absolute;
    top: -13px;
    right: -13px;

    background: #ff6b6b;
    color: #fff;

    font-size: 11px;
    font-weight: 600;

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #878A99;
}

.user-text {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 19.5px;
    color: #495057;
}

.user-role {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #878A99;
}

.logout {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Poppins, sans-serif;
    font-size: 17px;
    color: #495057;
    cursor: pointer;
}

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn {
    /* display: none; */
    border: none;
    background: transparent;
    font-size: 24px;
    color: #878A99;
    padding: 6px 10px;
    margin-right: auto;
    cursor: pointer;
}

/* ===== Page Title / Common ===== */
.section-title {
    font-family: Poppins, sans-serif;
    font-size: clamp(20px, 2.5vw, 32px);
    line-height: 100%;
    color: #53A0D8;
    margin-top: 20px;
    font-weight: 400;
}

.page-title {
    font-size: clamp(20px, 3vw, 55px);
    font-weight: 800;
    color: #53A0D8;
    font-family: "Smooch Sans", sans-serif;
    line-height: 1.1;
}

.paid-installments {
    font-family: Poppins, sans-serif;
    font-size: 18px;
    line-height: 100%;
    color: #595959;
}

.error-text {
    display: block;
    margin-top: 5px;
    font-family: Poppins, sans-serif;
    font-size: clamp(13px, 1.2vw, 17px);
    line-height: 100%;
    color: #FF5656;
}

.form-label {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    color: #53A0D8;
    padding: 0 5px;
    background-color: #fff;
    position: absolute;
    top: -4px;
    left: 25px;
}

.form-control {
    border-radius: 10px;
    height: 54px;
    border: 1px solid #53A0D8 !important;
}

/* ===== Installments ===== */
.installment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 9px;
    padding: 10px 15px;
    margin-bottom: 10px;
    font-size: 14px;
    gap: 10px;
}

.installment-amount {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #595959;
}
.installment-2nd-half{
    display: flex;
    justify-content: space-between;
    gap:10px;
}

.paid {
    background: #d4edda;
    color: #00C950;
}

.upcoming {
    background: #e8e8e8;
    color: #000;
}

.badge-date {
    background: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: 16px;
    
    min-width: max-content;
    text-align: end;
}

.form-check-size {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
}

/* ===== Payment Buttons ===== */
.payment-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tution-plan {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    /* justify-content: center; */
}

.tution-plan>label {
    min-width: 187px;
    border-radius: 10px;
    border: 0.5px solid #53A0D8;
    padding: 8px 18px;
    gap: 8px;
    cursor: pointer;
}

.payment-options>label {
    min-width: 187px;
    height: 42px;
    border-radius: 10px;
    border: 0.5px solid #53A0D8;
    padding: 8px 18px;
    gap: 8px;
    cursor: pointer;
}

.payment-options-text {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    color: #595959;
}

.tuition-options-text {
    font-family: Poppins;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #595959;
    padding: 8px;
}

.btn-custom {
    width: 200px;
    height: 42px;
    border-radius: 13px;
    background: #53A0D8;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 100%;
    color: #fff;
    border: none;
}

.btn-custom-long {
    height: 42px;
    border-radius: 13px;
    background: #53A0D8;
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 100%;
    color: #fff;
    border: none;
    padding: 10px 20px;
}

.program-tuition {
    font-family: Poppins;
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(16px 1.5vw 20px);
    line-height: 100%;
    letter-spacing: 0px;
    color: #53A0D8;
}

.amount-box {
    display: flex;
    align-items: center;
    border: 2px solid #53A0D8;
    border-radius: 6px;
    padding: 8px;
    width: 100%;
}

.currency {
    margin-right: 5px;
    font-family: Poppins;
    font-weight: 700;
    font-style: Regular;
    font-size: 20px;
    border: none;
    outline: none;
}

.amount-input {
    font-family: Poppins;
    font-weight: 700;
    font-style: Regular;
    font-size: 20px;
    border: none;
    outline: none;
    width: 100%;
}



.range-text {
    font-family: Poppins;
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(16px 2.5vw 20px);
    line-height: 100%;
    letter-spacing: 0%;
    color: #299CDB;

}

/* ===== Payment Method ===== */
.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;

}

.pay-img {
    height: 25px;
}

/* ===== Right Section ===== */
.info-img {
    width: 100%;
    max-width: 512px;
}

.info-text {
    font-family: Poppins;
    font-weight: 400;
    font-style: Regular;
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: 0%;
    text-align: justify;
    color: #595959;
}

.sidebar-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}
.sidebar.closed {
    transform: translateX(-100%);
}

.main.full-width {
    margin-left: 0;
}

.main-footer.full-width {
    margin-left: 0;
}
.transcript-card {
    border-radius: 30px;
    opacity: 1;
    border-bottom-width: 1px;
    background-color: #FFFFFF;
    padding: 15px 30px;
    box-shadow: 0px 4px 19px 0px #00000014;
}

.transcript-title {
    font-family: Smooch Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    letter-spacing: 0px;
    color: #53A0D8;
}

.transcript-amt {
    font-family: Smooch Sans;
    font-weight: 800;
    font-style: ExtraBold;
    font-size: 24px;
    letter-spacing: 0px;
    color: #000000;
}

.qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-title {
    font-family: Smooch Sans;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0px;
    color: #000000;
}

/* Custom select */
.qty-select {
    background-color: #53A0D8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 30px 6px 10px;
    font-size: 14px;
    cursor: pointer;

    /* remove default arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* custom arrow */
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}
/* ===== Table ===== */
.table-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 15px 0;
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Poppins;
}

.custom-table thead {
    background: #3c3c3c;
    color: #fff;
}

.custom-table th {
    padding: 12px;
    font-size: 14px;
    text-align: left;
}

.custom-table{
        border: 1px solid #E5E5E5;
}
.custom-table td {
    padding: 10px;
    font-size: 13px;
    background: #fff;
}

.custom-table tbody tr:nth-child(even) td {
    background: #E5E5E5;
}

/* ===== Status ===== */
.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

.status.success {
    background: #00C950;
    color: #fff;
}

.status.refund {
    background: #000;
    color: #fff;
    min-width: 108px;
}

/* ===== Button ===== */
.view-btn {
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    min-width: 108px;
}



.total-text {
    font-family: Smooch Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    letter-spacing: 0px;
    color: #000000;
}

.total-amt {
    font-family: Smooch Sans;
    font-weight: 800;
    font-style: ExtraBold;
    font-size: 20px;
    letter-spacing: 0px;
    color: #000000;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main {
        margin-left: 0;
    }

    .main-footer {
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .topbar {
        justify-content: space-between;
    }

    .topbar-right {
        gap: 12px;
    }

    .user-role {
        display: none;
    }

    .badge-date {
        min-width: 180px;
        padding: 6px 5px;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .tution-plan>label {
        padding: 0;
    }

    .payment-options>label {
        padding: 0;
    }

    .tution-pay-btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* ===== Overlay ===== */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1000;
        display: none;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .sidebar-close {
        display: block;
    }
}
@media (min-width: 769px) {
    .sidebar.close-desktop {
        transform: translateX(-100%);
    }

    .sidebar-close {
        display: block;
    }

    .sidebar-overlay {
        display: none !important;
    }
}
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }

    .sidebar.close-desktop ~ .main .mobile-menu-btn {
        display: inline-flex;
    }
}
@media (max-width: 576px) {
    .topbar {
        padding: 10px 12px;
    }

    .user-logo img {
        width: 40px;
        height: 40px;
    }

    .user-name {
        font-size: 12px;
    }

    .logout {
        font-size: 14px;
    }

    .badge-date {
        min-width: 150px;
        font-size: 13px;
    }

    .payment-options>label {
        width: 100%;
    }
    .installment {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
    }
    .installment-2nd-half{
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .badge-date {
        text-align: center;
    }
}

.footer {
    font-size: 20px;
    background: #fff;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

.copyright {
    font-family: Poppins;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 19.5px;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
    color: #98A6AD;
}

/* thankyou page css start  */
/* ===== Thank You Page ===== */
.thankyou-wrapper {
    height: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* Icon */
.success-icon {
    width: 70px;
    height: 70px;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 15px;
}

/* Title */
.thankyou-title {
    font-family: Poppins;
    font-size: 32px;
    font-weight: 600;
    color: #0d2b52;
}

/* Subtitle */
.thankyou-subtitle {
    font-family: Poppins;
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
}

/* Card */
.thankyou-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 25px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    margin-bottom: 25px;
}

.thankyou-card p {
    margin: 10px 0;
    font-family: Poppins;
    font-size: 15px;
    color: #333;
}

/* Button */
.btn-return {
    background: #2f4bb2;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-return:hover {
    background: #1f3690;
}
/* thankyou page css end  */