
    /* ... CSS ... */
    body { position: relative; background: none !important; font-size: .9375rem; overflow-x: hidden; color: #333; font-family: "Open Sans", sans-serif; }
    body::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/images/Online-application-bg.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; z-index: -1; }
    h1, h2, h3, h4, h5, h6 { font-weight: 500; font-family: "Quicksand", sans-serif; }
    .course-title { color: #222; line-height: 1.4; font-size: 22px; font-weight: 700; color: #0b2c8d; display: flex; justify-content: center; }
    .divider { width: 40px; height: 3px; background: #0b2c8d; margin: 15px 0; }
    .dividerr { width: 300px; height: 3px; background: #0b2c8d; margin: auto; }
    .fee-box { display: flex; justify-content: center; align-items: center; }
    .fee-value { font-size: 28px; font-weight: 700; color: #0b2c8d; }
    .payment-wrapper { max-width: 1100px; margin: 40px auto; background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
    .right-panel { background: #fafafa; padding: 20px; font-family: system-ui; }
    .right-title { font-weight: 700; text-align: center; color: white; background-color: #0b2c8d; padding: 10px; }
    .form-control, .form-select { font-size: 14px; height: 35px; border-radius: 6px; border: 1px solid #ddd; }
    .form-label { font-weight: 600; font-size: 13px; color: #929292; }
    #btnPayNow, #btnSubmitOffline { background: #0b8d0e; color: #fff; border: none; padding: 7px; font-weight: 600; border-radius: 6px; font-size: 16px; }
    .terms-link { color: #0d6efd; text-decoration: underline; font-weight: 500; cursor:pointer; }
    .group-box { background: #ffffff; border: 1px solid #e6e6e6; border-radius: 10px; }
    .custom-check .form-check-input { border-radius: 50%; cursor: pointer; } 
    .photo-preview img { width: 120px; height: 150px; object-fit: cover; border: 1px solid #dee2e6; padding: 4px; background: #f8f9fa; }
    .mobile-step-nav, .mobile-nav-btns { display: none; }
    .step-section { display: block; }
    .select2-container.select2-container {width: max-content !important;}
    .otp-popup-inner { text-align: center; padding: 20px 10px; }
    .otp-icon { font-size: 50px; color: #0b2c8d; margin-bottom: 15px; }
    .otp-heading { font-size: 22px; font-weight: 700; color: #333; margin-bottom: 5px; }
    .otp-text-small { font-size: 14px; color: #666; margin-bottom: 25px; }
    .otp-input-enhanced {
        width: 200px; height: 50px; 
        font-size: 24px; letter-spacing: 12px; text-align: center; 
        border: 2px solid #ddd; border-radius: 8px; margin: 0 auto;
        font-weight: 700; color: #0b2c8d; transition: all 0.3s;
    }
    .otp-input-enhanced:focus { border-color: #0b2c8d; box-shadow: 0 0 10px rgba(11, 44, 141, 0.1); outline: none; }

    /* Class to hide Step 1 specific elements on Step 2 & 3 */
    .step-1-only { display: block; }

    /* --- FULL SCREEN LOADER FOR PAYMENT --- */
    #payment-processing-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        z-index: 99999; /* Highest Z-Index to cover everything */
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    @media (max-width: 768px) {
        .step-section { display: none; animation: fadeIn 0.4s ease-in-out; }
        .step-section.active-step { display: block; }
        .mobile-step-indicator { display: flex; justify-content: space-between; margin-bottom: 20px; padding: 0 10px; }
        .step-dot { width: 30px; height: 30px; background: #e9ecef; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #6c757d; font-size: 14px; border: 2px solid #dee2e6; }
        .step-dot.active { background: #0b2c8d; color: #fff; border-color: #0b2c8d; }
        .step-line { flex-grow: 1; height: 2px; background: #dee2e6; margin: 15px 5px; }
        .mobile-nav-btns { display: flex; gap: 10px; margin-top: 15px; }
        .btn-mobile-nav { flex: 1; padding: 8px; border-radius: 6px; font-weight: 600; border: 1px solid #0b2c8d; }
        .btn-prev { background: #fff; color: #0b2c8d; }
        .btn-next { background: #0b2c8d; color: #fff; }
        .final-submit-area { display: none; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
    }
    
    @media (min-width: 768px) {
        .desktop-card { background: #fff; border: 1px solid #e2e6ef; border-radius: 12px; padding: 25px; margin-bottom: 30px; box-shadow: 0 8px 22px rgba(0,0,0,0.04); }
        .desktop-title { font-size: 16px; font-weight: 700; color: #0b2c8d; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #eef1ff; }
        .desktop-title i { background: #0b2c8d; color: #fff; padding: 8px; border-radius: 8px; font-size: 13px; }
        table{ width:100%; border-collapse:collapse; font-size:13px; margin-top:8px; border: 1px solid #ddd; text-align: center; }
        th{ background:var(--primary); color:#929292; padding:12px; border: 1px solid #ddd; }
        td{ border:1px solid var(--border); padding:8px; border: 1px solid #ddd; text-align: center; }
        td input{ border:none; padding:6px; text-align: center; }
        .table>:not(caption)>*>* { color:#929292 !important;}
    }
    
@media (max-width: 768px) {
    .education-table table, .education-table thead, .education-table tbody, .education-table th, .education-table td, .education-table tr { display: block; width: 100%; text-align: center; }
    .header-logo { width: 80%; }
    .education-table thead { display: none; }
    .education-table tr { margin-bottom: 15px; padding: 15px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
    .education-table td { display: flex; justify-content: start; align-items: center; padding: 8px 0; border: none; }
    .education-table td::before {         content: attr(data-label);
        font-weight: 600;
    font-size: 13px;
    color: #929292;
        width: 45%; }
    .education-table td input { width: 50%; }
    .desktop-title { text-align: center; font-weight: 700; }
}

.upload-box { position: relative; display: inline-block; cursor: pointer; }
.upload-box img { width: 100px; height: 120px; object-fit: cover; border: 1px dashed #ccc; padding: 4px; }
.upload-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; border-radius: 4px; }
.upload-box:hover .upload-overlay { opacity: 1; }

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5zM6 8.2a.6.6 0 110-1.2.6.6 0 010 1.2z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.fee-box-grand {
    max-width: 320px;
    padding: 22px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1c1c1c, #2f2f2f);
    text-align: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 215, 0, 0.35);
}

.fee-box-grand::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, #ffd700, #ffae00);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}


.payment-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}

.payment-value {
    color: green;
    font-family: Montserrat, sans-serif;
}

.course-fee-box {
    text-align: center;
    min-width: 260px;
    position: relative;
    transition: transform 0.3s ease;
}

.course-fee-box:hover {
    transform: translateY(-3px);
}

.course-fee-box::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.fee-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.payment-value {
    font-size: 20px;
    font-weight: 800;
     margin: 8px 0; 
    position: relative;
    z-index: 1;
}

.fee-note {
    font-size: 12px;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

@media (max-width: 576px) {
    .course-title {
        font-size: 13px;
        line-height: 1.4;
    }

    .course-fee-wrapper {
    width: 100%;
}

}

@media (min-width: 768px) {
    .table>:not(caption)>*>* {
        color: #929292 !important;
        font-weight: 600;
        font-size: 13px;
        color: #929292;
    }
}

/* --- SWAL SUCCESS BOX STYLE --- */
.swal-success-box {
    border: 2px solid #0b2c8d; /* Blue Border */
    border-radius: 12px;
    padding: 25px;
    background-color: #fcfdff;
    text-align: left;
    box-shadow: 0 5px 15px rgba(11, 44, 141, 0.05);
}

.swal-success-box h4 {
    color: #0b2c8d;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid #e2e6ef;
    padding-bottom: 10px;
}

.swal-success-box p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.swal-success-box .label-text {
    font-weight: 600;
    color: #333;
    display: inline-block;
    width: 140px; /* Aligns text neatly */
}

.ts-wrapper.multi .ts-control {
    border: 2px solid #e2e6ef !important;
    min-height: 45px;
    border-radius: 8px;
    padding: 6px;
    box-shadow: none !important;
}

.ts-wrapper.focus .ts-control {
    border-color: #0b2c8d !important;
}

.ts-control .item {
    background: #0b2c8d !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 13px;
}

.ts-dropdown {
    border-radius: 10px;
    border: 1px solid #dfe3eb;
    overflow: hidden;
}

.ts-dropdown .option.active {
    background: #eef3ff;
    color: #0b2c8d;
}

#ksa-page-loader {
  position: fixed; inset: 0;
  background: #0b2c8d;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#ksa-page-loader.hide { opacity: 0; visibility: hidden; }

.kl-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 48px; animation: kl-fadein 0.6s ease both; }
.kl-logo-img { width: 230px; filter: brightness(0) invert(1); margin-bottom: 8px; }
.kl-logo-line { width: 40px; height: 2px; background: rgba(255,255,255,0.3); border-radius: 2px; margin-top: 10px; }

.kl-bars { display: flex; align-items: flex-end; gap: 5px; height: 36px; margin-bottom: 36px; }
.kl-bar { width: 5px; border-radius: 3px; background: rgba(255,255,255,0.9); animation: kl-wave 1.1s ease-in-out infinite; }
.kl-bar:nth-child(1) { height: 14px; animation-delay: 0s; }
.kl-bar:nth-child(2) { height: 22px; animation-delay: 0.12s; }
.kl-bar:nth-child(3) { height: 32px; animation-delay: 0.24s; }
.kl-bar:nth-child(4) { height: 22px; animation-delay: 0.36s; }
.kl-bar:nth-child(5) { height: 14px; animation-delay: 0.48s; }

@keyframes kl-wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; }
  50%       { transform: scaleY(1);   opacity: 1;   }
}
.kl-label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.5); animation: kl-fadein 0.8s 0.3s ease both; }
.kl-track { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.1); }
.kl-fill  { height: 100%; width: 0%; background: rgba(255,255,255,0.7); border-radius: 0 2px 2px 0; transition: width 0.4s ease; }

@keyframes kl-fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Revision Student Verification Card ── */
.revision-verify-card {
    border: 1.5px solid #c7d4f5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(11,44,141,0.07);
}

.revision-card-header {
    background: linear-gradient(90deg, #0b2c8d, #1a47c8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.4px;
    padding: 12px 20px;
}

.revision-card-body {
    padding: 18px 20px 14px;
    background: #f7f9ff;
}

.revision-card-body .input-group-text {
    background: #eef1fb;
    border-color: #c7d4f5;
    color: #0b2c8d;
}

.revision-card-body .form-control {
    border-color: #c7d4f5;
}

.revision-card-body .form-control:focus {
    border-color: #0b2c8d;
    box-shadow: 0 0 0 3px rgba(11,44,141,0.09);
}

.btn-revision-send {
    background: #0b2c8d;
    color: #fff;
    font-weight: 600;
    font-size: 13.5px;
    border: none;
    border-radius: 7px;
    height: 38px;
    transition: background 0.2s;
}

.btn-revision-send:hover:not(:disabled) {
    background: #0a237a;
    color: #fff;
}

.btn-revision-send:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-revision-verify {
    background: #198754;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border: none;
    border-radius: 0 7px 7px 0;
    padding: 0 16px;
    transition: background 0.2s;
}

.btn-revision-verify:hover:not(:disabled) {
    background: #146c43;
    color: #fff;
}

.btn-revision-verify:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.revision-verified-badge {
    display: inline-flex;
    align-items: center;
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #a3cfbb;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13.5px;
}

/* Prebook KS Student Box Styles */
.prebook-ks-student-box {
    margin-bottom: 2rem;
}
 
.prebook-verify-card {
    border: 2px solid #0d6efd;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}
 
.prebook-card-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
}
 
.prebook-card-body {
    padding: 20px;
}
 
.btn-prebook-send,
.btn-prebook-verify {
    background-color: #0d6efd;
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
 
.btn-prebook-send:hover,
.btn-prebook-verify:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
}
 
.btn-prebook-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
 
.prebook-verified-badge {
    background: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}
 
.prebook-verified-badge i {
    color: #198754;
}