﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Sora:wght@600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Reset padding/margin pushed by AdminLTE and legacy layout styles ── */
.lpsgs-content-area,
.content {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Sticky footer — content fills remaining vertical space */
.lpsgs-content-area {
    flex: 1 !important;
    background: #f0f4ff !important;
}

/* Kill the AdminLTE gray that bleeds below short pages */
.lpsgs-content-area .content {
    background: #f0f4ff !important;
    min-height: 100% !important;
}

.wrapper.lpsgs-page-wrapper {
    background: transparent !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ── Flex chain: mcl-page fills content area so background covers gap before footer ── */
.lpsgs-content-area {
    display: flex !important;
    flex-direction: column !important;
}
.lpsgs-content-area .content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.lpsgs-render-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lpsgs-render-body > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mcl-page {
    flex: 1;
}

html, body {
    height: 100%;
}

.editor-error {
    margin: 0 !important;
}

/* ════════════════════════════════════════
   PAGE SHELL — full-viewport with school background
   ════════════════════════════════════════ */
.mcl-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    overflow: hidden;

    /* Fallback gradient while image loads */
    background: #0c1d5e;
    background-image: url('https://mcet.edusprint.in/Content/SchoolWiseContent/ForMCET/MCET_SchoolImg.png');
    background-size: cover; 
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Dark tinted overlay so the card stays readable */
.mcl-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 90, 0.80) 0%,
        rgba(20, 60, 160, 0.65) 50%,
        rgba(10, 25, 90, 0.80) 100%
    );
    z-index: 0;
}

/* Floating decorative circles behind the card */
.mcl-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 15% 20%, rgba(99,102,241,0.22) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 80%, rgba(56,189,248,0.22) 0%, transparent 45%);
    z-index: 0;
    pointer-events: none;
}

/* ── Card ── */
.mcl-card {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 720px;
    border-radius: 24px !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.30);
    box-shadow:
        0 2px 0 rgba(255,255,255,0.15) inset,
        0 24px 70px rgba(0,0,30,0.45),
        0 4px 16px rgba(0,0,30,0.20);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

/* ════════════════════════════════════════
   LEFT PANEL — school branding
   ════════════════════════════════════════ */
.mcl-left {
    width: 38%;
    flex-shrink: 0;
    background: linear-gradient(155deg, #0f2580 0%, #1a4dbf 50%, #0e7fb5 100%);
    padding: 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

.mcl-left::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.08);
}

.mcl-left::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.06);
}

/* Logo container */
.mcl-logo-ring {
    padding: 10px;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.92);
    border: 2px solid rgba(255,255,255,0.80);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.mcl-logo-ring img {
    max-height: 160px;
    max-width: 160px;
    object-fit: contain;
}

.mcl-logo-ring .mcl-logo-fallback {
    font-size: 38px;
    color: #1a4dbf;
}

/* School name */
.mcl-school-name {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.mcl-school-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    text-align: center;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

/* Pills */
.mcl-pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.mcl-pill {
    font-size: 11px;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 20px !important;
    padding: 3px 11px;
}

/* ════════════════════════════════════════
   RIGHT PANEL — login form
   ════════════════════════════════════════ */
.mcl-right {
    flex: 1;
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Eye-brow label */
.mcl-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #1a4dbf;
    margin-bottom: 4px;
}

/* Title */
.mcl-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0c1a4f;
    margin-bottom: 22px;
}

/* ── Error banner ── */
.mcl-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px !important;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #b91c1c;
    line-height: 1.5;
}

.mcl-error-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Info banner (ViewBag.Message) ── */
.mcl-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px !important;
    padding: 9px 14px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #1d4ed8;
}

/* ── Form fields ── */
.mcl-field {
    margin-bottom: 16px;
}

.mcl-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

.mcl-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.mcl-input-wrap .mcl-ico {
    position: absolute;
    left: 12px;
    font-size: 17px;
    color: #1a4dbf;
    pointer-events: none;
    opacity: 0.65;
}

.mcl-input-wrap input,
.mcl-input-wrap .form-control {
    width: 100%;
    padding: 10px 12px 10px 38px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    border: 1.5px solid #c8d5f7;
    border-radius: 10px !important;
    background: rgba(240,246,255,0.9);
    color: #0c1a4f;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none !important;
    height: auto !important;
}

.mcl-input-wrap input:focus,
.mcl-input-wrap .form-control:focus {
    border-color: #1a4dbf;
    box-shadow: 0 0 0 3px rgba(26,77,191,0.12) !important;
    background: #fff;
}

/* Eye toggle button */
.mcl-input-wrap .mcl-eye-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 15px;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 6px !important;
    transition: color 0.15s;
}

.mcl-input-wrap .mcl-eye-btn:hover {
    color: #1a4dbf;
}

/* Input error state */
.mcl-input-wrap input.input-validation-error,
.mcl-input-wrap .form-control.input-validation-error {
    border-color: #f87171 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.15) !important;
}

.edb-enq-section input.input-validation-error,
.edb-enq-section .form-control.input-validation-error {
    border-color: #f87171 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.15) !important;
}
.edb-photo-area:has(.input-validation-error) {
    border: 2px dashed #f87171;
    background: #fff5f5;
    border-radius: 8px !important;
}

/* ── Validation messages ── */
.field-validation-valid,
span.field-validation-valid {
    display: none !important;
}

.editor-error:empty {
    display: none;
}

.ui-corner-all {
    border-radius: 6px !important;
    /*background: none;*/
}

/* ── Captcha ── */
.mcl-captcha-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.mcl-captcha-img {
    flex-shrink: 0;
    border: 1.5px solid #c8d5f7;
    border-radius: 8px !important;
    overflow: hidden;
}

.mcl-captcha-refresh {
    background: none;
    border: 1.5px solid #c8d5f7;
    border-radius: 8px !important;
    padding: 6px 9px;
    cursor: pointer;
    color: #1a4dbf;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.mcl-captcha-refresh:hover {
    background: #e8eeff;
}

.mcl-captcha-field {
    flex: 1;
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    border: 1.5px solid #c8d5f7;
    border-radius: 10px !important;
    background: rgba(240,246,255,0.9);
    color: #0c1a4f;
    outline: none;
    height: auto !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none !important;
}

.mcl-captcha-field:focus {
    border-color: #1a4dbf;
    box-shadow: 0 0 0 3px rgba(26,77,191,0.12) !important;
    background: #fff;
}

/* Wraps captcha input + error so error stacks below, not beside */
.mcl-captcha-field-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mcl-captcha-field-wrap .mcl-captcha-field {
    width: 100%;
}

/* Red border + background when captcha validation fires */
.mcl-captcha-field.input-validation-error {
    border-color: #f87171 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.15) !important;
}

/* ── Login submit button ── */
.mcl-btn-submit {
    width: 100%;
    padding: 11px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #0f2580 0%, #1a6fbf 100%);
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(15,37,128,0.35);
    animation: mcet-pulse 2.4s ease-in-out infinite;
}

.mcl-btn-submit:hover {
    opacity: 0.92;
    box-shadow: 0 6px 22px rgba(15,37,128,0.45);
}

.mcl-btn-submit:active {
    transform: scale(0.985);
}

@keyframes mcet-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(15,37,128,0.35); }
    50%       { box-shadow: 0 4px 28px rgba(15,37,128,0.55); }
}

/* ── Secondary button (Generate Code) ── */
.mcl-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0f2580;
    background: #dce8ff;
    border: 1.5px solid #b3c8f5;
    border-radius: 10px !important;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.mcl-btn-secondary:hover {
    background: #c7d9ff;
    border-color: #8fb3f0;
    color: #0a1b6e;
    text-decoration: none;
}

/* Side-by-side button row */
.mcl-btn-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.mcl-btn-row .mcl-btn-submit {
    flex: 1;
    margin-top: 0;       /* remove standalone margin so heights align */
    padding: 11px 16px;
    font-size: 14px;
}

.mcl-btn-row .mcl-btn-secondary {
    flex: 1;
    padding: 11px 16px;  /* match submit padding exactly */
    font-size: 14px;
}

/* ── Footer links ── */
.mcl-links {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mcl-link-line {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.mcl-link-line a {
    color: #1a4dbf;
    text-decoration: none;
    font-weight: 500;
}

.mcl-link-line a:hover {
    text-decoration: underline;
}

/* ── Note box ── */
.mcl-note {
    margin-top: 12px;
    font-size: 12px;
    color: #374151;
    background: #f0f5ff;
    border: 1px solid #b3c8f5;
    border-radius: 8px !important;
    padding: 10px 12px;
    line-height: 1.6;
}

/* ════════════════════════════════════════
   RESPONSIVE — login card (mcl-*)
   ════════════════════════════════════════ */

/* ── Sticky footer: leave room below the card so footer is always visible ── */
.mcl-page {
    min-height: calc(100vh - 64px); /* 64px = footer height on desktop */
}

@media (max-width: 600px) {
    /* Stack card vertically: logo strip on top, form below */
    .mcl-card {
        flex-direction: column;
        border-radius: 20px !important;
    }

    /* Compact horizontal logo strip (replaces hidden left panel) */
    .mcl-left {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 14px;
        padding: 1.25rem 1.5rem;
    }

    .mcl-left::before,
    .mcl-left::after {
        display: none;
    }

    .mcl-logo-ring {
        padding: 6px;
        flex-shrink: 0;
    }

    .mcl-logo-ring img {
        max-height: 56px;
        max-width: 56px;
    }

    .mcl-school-name {
        font-size: 13px;
        text-align: left;
    }

    .mcl-school-sub {
        text-align: left;
    }

    /* Hide pills on mobile — save space */
    .mcl-pill-row {
        display: none;
    }

    /* Center card vertically and leave room for footer */
    .mcl-page {
        min-height: calc(100vh - 90px); /* 90px = footer height on mobile (stacked) */
        padding: 1rem 0.75rem;
        background-attachment: scroll;
        align-items: center;
    }

    .mcl-right {
        padding: 1.5rem 1.25rem;
    }

    .mcl-btn-row {
        flex-direction: column;
    }
}

/* ════════════════════════════════════════
   ONLINE ADMISSION PAYMENT PAGE (.ep-*)
   ════════════════════════════════════════ */

/* ── Page wrapper ── */
.ep-page {
    padding: 28px 24px;
}

/* ── Base ── */
.ep-wrap * { -webkit-box-sizing: border-box; box-sizing: border-box; }

/* ── Empty state ── */
.ep-empty { text-align: center; padding: 56px 24px; }
.ep-empty .fa { font-size: 48px; color: #e5e7eb; display: block; margin-bottom: 14px; }
.ep-empty-text { font-size: 15px; color: #9ca3af; font-weight: 500; }

/* ── Banner ── */
.ep-banner {
    background: linear-gradient(135deg, #0a1f6e 0%, #1a4dbf 55%, #0e7fb5 100%);
    border-radius: 14px !important;
    padding: 22px 28px;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.ep-banner::before {
    content: '';
    position: absolute; right: -20px; top: -40px;
    width: 130px; height: 130px;
    background: rgba(255,255,255,0.07); border-radius: 50% !important;
}
.ep-banner::after {
    content: '';
    position: absolute; right: 60px; bottom: -50px;
    width: 170px; height: 170px;
    background: rgba(255,255,255,0.04); border-radius: 50% !important;
}
.ep-banner-icon {
    width: 54px; height: 54px;
    background: rgba(255,255,255,0.14);
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: 50% !important;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
    -ms-flex-negative: 0; flex-shrink: 0;
    position: relative; z-index: 1;
}
.ep-banner-icon .fa { font-size: 22px; color: #fff; }
.ep-banner-body { position: relative; z-index: 1; }
.ep-banner-title { color: #fff; font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.ep-banner-sub { color: rgba(255,255,255,0.72); font-size: 12.5px; margin-top: 4px; }

/* ── Student info card ── */
.ep-student {
    background: #fff;
    border: 1.5px solid #e2e8f8;
    border-radius: 12px !important;
    margin-bottom: 16px;
    overflow: hidden;
    -webkit-box-shadow: 0 1px 10px rgba(15,37,128,0.06);
    box-shadow: 0 1px 10px rgba(15,37,128,0.06);
}
.ep-student-bar {
    background: #f5f7ff;
    border-bottom: 1px solid #e8edf8;
    padding: 9px 20px;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    gap: 7px;
    font-size: 10.5px; font-weight: 800; color: #1a4dbf;
    text-transform: uppercase; letter-spacing: .07em;
}
.ep-student-bar .fa { font-size: 11px; }
.ep-student-grid {
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -ms-flex-wrap: wrap; flex-wrap: wrap;
}
.ep-student-field {
    -webkit-box-flex: 1; -ms-flex: 1 1 190px; flex: 1 1 190px;
    padding: 14px 20px;
    border-right: 1px solid #f0f3fb;
    min-width: 0;
}
.ep-student-field:last-child { border-right: none; }
.ep-student-lbl { font-size: 10px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.ep-student-val { font-size: 14px; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Fees card ── */
.ep-card {
    background: #fff;
    border: 1.5px solid #e2e8f8;
    border-radius: 14px !important;
    margin-bottom: 20px;
    overflow: hidden;
    -webkit-box-shadow: 0 3px 22px rgba(15,37,128,0.09);
    box-shadow: 0 3px 22px rgba(15,37,128,0.09);
}
.ep-card-header {
    background: -webkit-gradient(linear, left top, right top, from(#f5f7ff), to(#edf2ff));
    background: linear-gradient(90deg, #f5f7ff, #edf2ff);
    border-bottom: 1.5px solid #dde5f8;
    padding: 13px 22px;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    gap: 9px;
    font-size: 13px; font-weight: 700; color: #0f2580;
}
.ep-card-header .fa { color: #1a4dbf; font-size: 14px; }

/* ── Table ── */
.ep-table { width: 100%; border-collapse: collapse; }
.ep-table thead td {
    padding: 10px 22px;
    font-size: 10.5px; font-weight: 800; color: #6b7280;
    text-transform: uppercase; letter-spacing: .07em;
    background: #fafbff;
    border-bottom: 1.5px solid #e8edf8;
}
.ep-table thead td:last-child { text-align: right; }
.ep-table tbody td {
    padding: 16px 22px;
    border-bottom: 1px solid #f2f4fb;
    vertical-align: middle;
    font-size: 14px; color: #374151;
}
.ep-table tbody tr:last-child td { border-bottom: none; }
.ep-table tbody td:last-child { text-align: right; }

/* ── Fee row — particular cell ── */
.ep-particular { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; gap: 11px; }
.ep-particular input[type="checkbox"] { width: 17px; height: 17px; margin-top: 2px; -ms-flex-negative: 0; flex-shrink: 0; accent-color: #1a4dbf; cursor: pointer; }
.ep-particular-body { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; min-width: 0; }
.ep-particular-name { font-size: 14px; font-weight: 700; color: #111827; }
.ep-req-badge {
    display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    gap: 4px;
    background: #fff1f1; color: #dc2626;
    border: 1px solid #fca5a5; border-radius: 20px !important;
    font-size: 10px; padding: 2px 8px; font-weight: 700;
    margin-left: 8px; vertical-align: middle;
}
.ep-req-badge .fa { font-size: 9px; }
.ep-breakdown { margin-top: 10px; }
.ep-breakdown-row {
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline;
    gap: 6px;
    padding: 3px 0;
    font-size: 12px; color: #6b7280;
}
.ep-breakdown-dot { color: #c7d2fe; font-size: 8px; -ms-flex-negative: 0; flex-shrink: 0; margin-top: 3px; }
.ep-breakdown-name { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
.ep-breakdown-amt { font-weight: 600; color: #374151; white-space: nowrap; }
.ep-inst-amt { font-size: 16px; font-weight: 800; color: #0f2580; }

/* ── Total bar ── */
.ep-total {
    background: -webkit-gradient(linear, left top, right top, from(#edf2ff), to(#e0efff));
    background: linear-gradient(90deg, #edf2ff, #e0efff);
    border-top: 2px solid #c7d7f8;
    padding: 18px 22px;
    display: -webkit-box; display: -ms-flexbox; display: flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between;
    gap: 12px;
}
.ep-total-label { font-size: 15px; font-weight: 700; color: #374151; }
.ep-total-right { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; gap: 5px; }
.ep-total-currency { font-size: 16px; font-weight: 600; color: #6b7280; }
.ep-total-input {
    background: transparent; border: none; outline: none;
    font-size: 30px; font-weight: 900; color: #0f2580;
    letter-spacing: -.02em; text-align: right;
    width: 160px; padding: 0; line-height: 1;
}

/* ── Pay section ── */
.ep-pay-section { padding: 20px 22px; background: #fff; border-top: 1px solid #f0f2f8; }
.ep-pay-row { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 14px; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.ep-pay-label { font-size: 12.5px; font-weight: 600; color: #6b7280; white-space: nowrap; }
.ep-pay-btn {
    display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    gap: 9px;
    padding: 13px 30px;
    background: linear-gradient(135deg, #0a1f6e 0%, #1a4dbf 55%, #0e7fb5 100%);
    color: #fff !important;
    border: none; border-radius: 10px !important;
    font-size: 14.5px; font-weight: 800; cursor: pointer;
    letter-spacing: .01em;
    -webkit-box-shadow: 0 5px 18px rgba(15,37,128,0.32);
    box-shadow: 0 5px 18px rgba(15,37,128,0.32);
    -webkit-transition: opacity .15s, -webkit-transform .12s;
    transition: opacity .15s, transform .12s;
    text-decoration: none;
}
.ep-pay-btn:hover { opacity: .9; -webkit-transform: translateY(-1px); transform: translateY(-1px); color: #fff !important; text-decoration: none; }
.ep-pay-btn:active { -webkit-transform: translateY(0); transform: translateY(0); }
.ep-pay-btn .fa { font-size: 15px; }
.ep-pay-btn-alt {
    background: linear-gradient(135deg, #0e7fb5 0%, #0891b2 100%);
    -webkit-box-shadow: 0 5px 18px rgba(14,127,181,0.30);
    box-shadow: 0 5px 18px rgba(14,127,181,0.30);
}
.ep-secure { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 5px; font-size: 11.5px; color: #9ca3af; margin-top: 12px; }
.ep-secure .fa { color: #22c55e; font-size: 12px; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .ep-banner { padding: 16px 18px; border-radius: 10px !important; gap: 14px; }
    .ep-banner-icon { width: 44px; height: 44px; }
    .ep-banner-icon .fa { font-size: 18px; }
    .ep-banner-title { font-size: 15px; }
    .ep-student-field { border-right: none; border-bottom: 1px solid #f0f3fb; padding: 11px 16px; -ms-flex: 1 1 47%; flex: 1 1 47%; }
    .ep-table thead td,
    .ep-table tbody td { padding: 12px 14px; }
    .ep-inst-amt { font-size: 14px; }
    .ep-total { padding: 14px 16px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; gap: 6px; }
    .ep-total-input { font-size: 24px; width: 140px; }
    .ep-pay-section { padding: 16px; }
    .ep-pay-btn { padding: 12px 24px; font-size: 13.5px; width: 100%; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; }
    .ep-pay-row { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; }
    .ep-page { padding: 16px 14px; }
}
@media (max-width: 479px) {
    .ep-student-field { -ms-flex: 1 1 100%; flex: 1 1 100%; }
    .ep-banner { padding: 14px 16px; }
    .ep-page { padding: 12px 10px; }
}

/* ════════════════════════════════════════
   RE-ADMISSION SEARCH FORM (.edb-readm-*)
   ════════════════════════════════════════ */

.edb-readm-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px !important; margin-bottom: 20px; overflow: hidden; -webkit-box-shadow: 0 2px 16px rgba(15,37,128,0.07); box-shadow: 0 2px 16px rgba(15,37,128,0.07); }
.edb-readm-header { background: linear-gradient(90deg, #0f2580, #0e7fb5); padding: 14px 22px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 10px; }
.edb-readm-header .fa { font-size: 16px; color: rgba(255,255,255,0.85); }
.edb-readm-header-title { color: #fff; font-size: 14px; font-weight: 700; }
.edb-readm-body { padding: 22px 24px 18px; }
.edb-readm-label { display: block; font-size: 12px; font-weight: 700; color: #374151; margin-bottom: 5px; letter-spacing: .03em; }
.edb-readm-label .error-color { color: #dc2626; }
.edb-readm-input,
.edb-readm-card select.form-control,
.edb-readm-card input.form-control { width: 100%; padding: 9px 13px; border: 1px solid #d1d5db; border-radius: 7px !important; font-size: 13.5px; color: #111827; outline: none; -webkit-transition: border-color .15s, -webkit-box-shadow .15s; transition: border-color .15s, box-shadow .15s; height: auto !important; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: #fff; }
.edb-readm-input:focus,
.edb-readm-card select.form-control:focus,
.edb-readm-card input.form-control:focus { border-color: #1a4dbf; -webkit-box-shadow: 0 0 0 3px rgba(26,77,191,0.12); box-shadow: 0 0 0 3px rgba(26,77,191,0.12); }
.edb-readm-actions { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 10px; padding-top: 2px; }
.edb-readm-btn-find { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 7px; padding: 9px 22px; background: linear-gradient(90deg, #0f2580, #0e7fb5); color: #fff !important; border: none; border-radius: 8px !important; font-size: 13px; font-weight: 700; cursor: pointer; -webkit-transition: opacity .15s; transition: opacity .15s; }
.edb-readm-btn-find:hover { opacity: .88; color: #fff !important; }
.edb-readm-btn-reset { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 7px; padding: 9px 18px; background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; border-radius: 8px !important; font-size: 13px; font-weight: 600; cursor: pointer; -webkit-transition: background .15s; transition: background .15s; }
.edb-readm-btn-reset:hover { background: #e5e7eb; }
.edb-readm-empty { padding: 36px 24px; text-align: center; color: #9ca3af; font-size: 13.5px; }
.edb-readm-empty .fa { font-size: 34px; display: block; margin-bottom: 10px; color: #d1d5db; }
.edb-readm-divider { height: 1px; background: #f3f4f6; margin: 0 0 18px; }

@media (min-width: 601px) and (max-width: 820px) {
    .mcl-card {
        max-width: 90%;
    }
}

/* ════════════════════════════════════════
   FOOTER — edb-footer (post-login pages)
   ════════════════════════════════════════ */
.edb-footer {
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(15, 37, 128, 0.12);
    box-shadow: 0 -4px 20px rgba(15, 37, 128, 0.06);
    font-family: 'DM Sans', sans-serif;
}

.edb-footer-inner {
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.edb-footer-copy {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.edb-footer-copy strong {
    font-weight: 600;
    color: #0a1860;
}

.edb-footer-powered {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edb-footer-powered a {
    font-weight: 600;
    background: linear-gradient(90deg, #0f2580, #0e7fb5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none !important;
    transition: opacity 0.15s;
}

.edb-footer-powered a:hover {
    opacity: 0.75;
}

@media (max-width: 576px) {
    .edb-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ════════════════════════════════════════
   NAVBAR — edb-navbar (post-login pages)
   ════════════════════════════════════════ */
.edb-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 37, 128, 0.12);
    box-shadow: 0 4px 20px rgba(15, 37, 128, 0.08);
    font-family: 'DM Sans', sans-serif;
}

.edb-navbar-inner {
    margin: 0 auto;
    padding: 0 20px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.edb-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.edb-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #0f2580, #0e7fb5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(15,37,128,0.28);
    flex-shrink: 0;
}

.edb-brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a1860;
    line-height: 1.2;
    display: block;
}

.edb-brand-sub {
    font-size: 11px;
    font-weight: 400;
    color: #6b7280;
    display: block;
}

.edb-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.edb-nav li {
    list-style: none;
}

.edb-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9px !important;
    font-size: 13px;
    font-weight: 500;
    color: #374151 !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.edb-nav a:hover {
    background: rgba(15,37,128,0.08);
    color: #0f2580 !important;
}

.edb-nav a i {
    font-size: 13px;
    color: #1a4dbf;
}

.edb-nav .edb-nav-logout:hover {
    background: #fee2e2;
    color: #b91c1c !important;
}

.edb-nav .edb-nav-logout:hover i {
    color: #b91c1c;
}

.edb-nav .edb-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px !important;
    background: #dce8ff;
    font-size: 12px;
    font-weight: 600;
    color: #0f2580 !important;
    cursor: default;
}

.edb-nav .edb-user-pill i {
    color: #1a4dbf;
    font-size: 12px;
}

.edb-nav .edb-user-pill:hover {
    background: #dce8ff;
    color: #0f2580 !important;
}

.edb-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(15,37,128,0.25);
    border-radius: 8px !important;
    padding: 7px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.edb-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #1a4dbf;
    border-radius: 2px !important;
    transition: transform 0.2s, opacity 0.2s;
}

.edb-nav-collapse {
    display: flex;
}

@media (max-width: 768px) {
    .edb-toggle {
        display: flex;
    }

    .edb-nav-collapse {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(15,37,128,0.12);
        box-shadow: 0 8px 24px rgba(15,37,128,0.10);
        padding: 10px 16px 14px;
    }

    .edb-nav-collapse.open {
        display: block;
    }

    .edb-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        width: 100%;
    }

    .edb-nav li {
        width: 100%;
    }

    .edb-nav a {
        width: 100%;
    }
}

/* ════════════════════════════════════════
   DASHBOARD — post-login enquiry dashboard
   ════════════════════════════════════════ */
.edb-dash-wrap {
    font-family: 'DM Sans', sans-serif;
    padding: 28px 24px 40px;
    min-height: calc(100vh - 62px - 56px);
    background: #f3f6fb;
}

.edb-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #dce8ff;
}

.edb-dash-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0a1860;
    display: flex;
    align-items: center;
    gap: 10px;
}

.edb-dash-title-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #0f2580, #0e7fb5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15,37,128,0.22);
}

.edb-dash-count {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0f2580;
    background: #dce8ff;
    padding: 3px 10px;
    border-radius: 20px !important;
}

/* ── Enquiry card grid ── */
.edb-enq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

/* ── Individual enquiry card ── */
.edb-enq-card {
    width: 280px;
    min-height: 240px;
    background: #fff;
    border-radius: 16px !important;
    box-shadow: 0 2px 16px rgba(15,37,128,0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.edb-enq-card:hover {
    box-shadow: 0 6px 28px rgba(15,37,128,0.18);
    transform: translateY(-2px);
}

.edb-enq-card.is-existing {
    box-shadow: 0 2px 16px rgba(14,127,181,0.18), 0 0 0 2px #0e7fb5;
}

/* ── Card header ── */
.edb-enq-card-head {
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.edb-enq-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.4);
    flex-shrink: 0;
    background: #fff;
}

.edb-enq-head-info {
    flex: 1;
    min-width: 0;
    color: #fff;
}

.edb-enq-name {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edb-enq-school {
    font-size: 11px;
    color: rgba(255,255,255,0.78);
    margin-top: 2px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edb-enq-class {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    margin-top: 1px;
}

.edb-enq-ref {
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

/* ── Card body (status) ── */
.edb-enq-card-body {
    padding: 12px 16px 8px;
    flex: 1;
}

.edb-enq-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px !important;
}

.edb-enq-status.status-confirmed {
    background: #dcfce7;
    color: #166534;
}

.edb-enq-status.status-closed {
    background: #fee2e2;
    color: #991b1b;
}

.edb-enq-status.status-shortlisted {
    background: #fef3c7;
    color: #92400e;
}

.edb-enq-status.status-submitted {
    background: #dce8ff;
    color: #1a4dbf;
}

.edb-enq-status.status-progress {
    background: #f3f4f6;
    color: #374151;
}

.edb-enq-unsubmit-remark {
    font-size: 11px;
    color: #b91c1c;
    margin-top: 6px;
    line-height: 1.4;
}

.edb-enq-msg {
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
    line-height: 1.4;
}

/* ── Card footer (action buttons) ── */
.edb-enq-card-foot {
    padding: 10px 12px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border-top: 1px solid #f0f4f8;
}

.edb-enq-card-foot .btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 7px !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
    line-height: 1.4;
}

.edb-enq-card-foot .btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.edb-enq-card-foot .btn-info {
    background: #1a4dbf !important;
    color: #fff !important;
}

.edb-enq-card-foot .btn-danger {
    background: #dc2626 !important;
    color: #fff !important;
}

.edb-enq-card-foot .btn-success {
    background: #059669 !important;
    color: #fff !important;
}

.edb-enq-card-foot .btn-warning {
    background: #d97706 !important;
    color: #fff !important;
}

.edb-enq-card-foot .btn-primary {
    background: #0f2580 !important;
    color: #fff !important;
}

/* ── New Admission / Re-Admission tile ── */
.edb-enq-add-tile {
    width: 220px;
    min-height: 240px;
    border-radius: 16px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 16px;
    text-decoration: none !important;
    color: #fff !important;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.15s;
    cursor: pointer;
}

.edb-enq-add-tile.tile-external {
    background: linear-gradient(145deg, #d97706, #f59e0b);
    box-shadow: 0 4px 20px rgba(217,119,6,0.30);
}

.edb-enq-add-tile.tile-existing {
    background: linear-gradient(145deg, #0e7fb5, #0f2580);
    box-shadow: 0 4px 20px rgba(15,37,128,0.28);
}

.edb-enq-add-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.20);
    opacity: 0.95;
}

.edb-enq-add-tile i {
    font-size: 2.8rem;
    display: block;
}

.edb-enq-add-tile span {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .edb-dash-wrap {
        padding: 16px 12px 32px;
    }

    .edb-enq-card,
    .edb-enq-add-tile {
        width: calc(50% - 10px);
        min-width: 140px;
    }

    .edb-enq-add-tile span {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .edb-enq-card,
    .edb-enq-add-tile {
        width: 100%;
    }
}

/* ════════════════════════════════════════
   FORM CARDS — post-login enquiry forms
   ════════════════════════════════════════ */
.edb-form-wrap {
    font-family: 'DM Sans', sans-serif;
    padding: 20px 16px 32px;
    background: #f3f6fb;
    min-height: calc(100vh - 62px - 56px);
}

.edb-form-card {
    background: #fff;
    border-radius: 12px !important;
    box-shadow: 0 2px 14px rgba(15,37,128,.09);
    margin-bottom: 20px;
    overflow: hidden;
}

.edb-form-card-head {
    background: linear-gradient(135deg, #0f2580 0%, #1a4dbf 100%);
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.edb-form-card-head .edb-fc-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.15);
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.edb-form-card-head .edb-fc-title {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #fff;
}

.edb-form-card-body {
    padding: 20px 20px 16px;
}

.edb-form-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #0f2580;
    margin: 0 0 14px;
    padding-bottom: 7px;
    border-bottom: 2px solid #dce8ff;
}

.edb-form-section-title .edb-sec-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #0f2580;
    color: #fff;
    border-radius: 50% !important;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.edb-form-notice {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px !important;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #7d4e00;
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.edb-form-notice.notice-danger {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #7d1a1a;
}

.edb-form-notice.notice-danger a {
    color: #c0392b;
    font-weight: 700;
    text-decoration: underline;
}

/* ── Tab bar for Edit page ── */
.edb-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(15,37,128,0.12);
    border-radius: 14px !important;
    margin: 0 0 18px !important;
    list-style: none;
    box-shadow: 0 2px 12px rgba(15,37,128,0.06);
}

.edb-tab-bar > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563 !important;
    border-radius: 10px !important;
    background: transparent;
    border: none !important;
    transition: background .15s, color .15s;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.edb-tab-bar > li > a:hover,
.edb-tab-bar > li > a:focus {
    background: rgba(15,37,128,0.06);
    color: #0f2580 !important;
    text-decoration: none;
}

.edb-tab-bar > li.active {
    border-radius: 10px !important;
    background: linear-gradient(90deg, #0f2580, #1a4dbf);
    box-shadow: 0 3px 10px rgba(15,37,128,0.25);
}

.edb-tab-bar > li.active > a {
    color: #fff !important;
}

.edb-tab-bar > li.active > a:hover,
.edb-tab-bar > li.active > a:focus {
    color: #fff !important;
    text-decoration: none;
}

/* Tabs are frozen — navigate only via Save & Next / Previous buttons.
   pointer-events:none blocks real mouse clicks; jQuery .trigger('click') still works
   because it dispatches a synthetic DOM event that bypasses CSS hit-testing. */
.edb-tab-bar > li,
.edb-tab-bar > li > a {
    pointer-events: none !important;
    cursor: default !important;
}

.edb-tab-content-wrap {
    background: #fff;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 2px 14px rgba(15,37,128,.09);
    padding: 20px;
}

.edb-form-student-header {
    background: linear-gradient(135deg, #0f2580 0%, #0e7fb5 100%);
    color: #fff;
    border-radius: 10px !important;
    padding: 12px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.edb-form-student-header h3 {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.edb-save-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    color: #fff !important;
    border: none;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    margin-top: 12px;
}

.edb-save-next-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .edb-tab-bar {
        gap: 2px;
        /*padding: 10px 10px 0;*/
    }
    .edb-tab-bar > li > a {
        padding: 7px 10px;
        font-size: 11px;
    }
    .edb-form-wrap {
        padding: 12px 8px 24px;
    }
}

/* ════════════════════════════════════════
   SCHOOL / YEAR / CLASS SELECTION PAGE — edb-sel-*
   ════════════════════════════════════════ */
.edb-sel-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: 'DM Sans', sans-serif;
    background: #f3f6fb;
    background-image: radial-gradient(ellipse at 10% 10%, rgba(26,77,191,0.12) 0%, transparent 55%), radial-gradient(ellipse at 90% 90%, rgba(14,127,181,0.12) 0%, transparent 55%);
}

.edb-sel-card {
    display: flex;
    width: 100%;
    max-width: 820px;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15,37,128,0.16);
}

.edb-sel-left {
    width: 38%;
    flex-shrink: 0;
    background: linear-gradient(155deg, #0f2580 0%, #1a4dbf 50%, #0e7fb5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.edb-sel-left::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.08);
    top: -60px;
    right: -60px;
}

.edb-sel-left::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.07);
    bottom: -40px;
    left: -40px;
}

.edb-sel-logo-wrap {
    width: 88px;
    height: 88px;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.edb-sel-logo-wrap img {
    max-width: 78px;
    max-height: 78px;
    object-fit: contain;
    border-radius: 14px !important;
}

.edb-sel-school-name {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.edb-sel-school-tag {
    font-size: 11px;
    color: rgba(255,255,255,0.72);
    text-align: center;
    letter-spacing: .04em;
    position: relative;
    z-index: 1;
}

.edb-sel-right {
    flex: 1;
    background: rgba(255,255,255,0.88);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.edb-sel-form-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}

.edb-sel-form-title {
    font-family: 'Sora', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #0a1860;
    margin-bottom: 4px;
}

.edb-sel-form-sub {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 22px;
}

.edb-sel-field {
    margin-bottom: 14px;
}

.edb-sel-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 5px;
}

.edb-sel-right .form-control,
.edb-sel-right .form__input {
    width: 100% !important;
    height: 40px !important;
    padding: 8px 12px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    color: #0a1860 !important;
    background: rgba(240,246,255,0.9) !important;
    border: 1.5px solid rgba(26,77,191,0.2) !important;
    border-radius: 10px !important;
    outline: none !important;
    transition: border-color .2s, box-shadow .2s !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a4dbf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px !important;
    padding-right: 32px !important;
}

.edb-sel-right .form-control:focus,
.edb-sel-right .form__input:focus {
    border-color: #1a4dbf !important;
    box-shadow: 0 0 0 3px rgba(26,77,191,0.12) !important;
    background-color: #fff !important;
}

.edb-sel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.edb-sel-error {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #b91c1c;
    background: #fee2e2;
    border-left: 3px solid #f87171;
    border-radius: 0 8px 8px 0 !important;
    padding: 8px 12px;
    margin-bottom: 14px;
}

.edb-sel-val {
    font-size: 11px;
    color: #b91c1c;
    margin-top: 3px;
    padding-left: 2px;
}

.edb-sel-btn {
    width: 100%;
    padding: 11px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #0f2580, #0e7fb5);
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(15,37,128,0.28);
    animation: edb-sel-pulse 2s ease-in-out infinite;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.edb-sel-btn:hover { opacity: .9; }
.edb-sel-btn:active { transform: scale(0.98); }

@keyframes edb-sel-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(15,37,128,0.28); }
    50%       { box-shadow: 0 4px 22px rgba(15,37,128,0.50); }
}

.edb-sel-closed-banner {
    margin-top: 18px;
    padding: 16px 18px;
    background: rgba(26,77,191,0.06);
    border: 1.5px solid rgba(26,77,191,0.2);
    border-radius: 12px !important;
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
    text-align: center;
}

.edb-sel-closed-banner strong { color: #0a1860; }
.edb-sel-closed-banner a { color: #1a4dbf; font-weight: 600; text-decoration: underline; }

@media (max-width: 640px) {
    .edb-sel-page { padding: 1rem 0.75rem; align-items: flex-start; padding-top: 2rem; }
    .edb-sel-left { display: none; }
    .edb-sel-card { border-radius: 16px !important; }
    .edb-sel-right { padding: 2rem 1.5rem; }
    .edb-sel-row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
    .edb-sel-right { padding: 1.5rem 1.25rem; }
    .edb-sel-form-title { font-size: 18px; }
}

/* ════════════════════════════════════════
   BASIC INSERT FORM PAGE — edb-enq-page / ebi-grid-*
   ════════════════════════════════════════ */
.edb-enq-page {
    min-height: 100vh;
    padding: 1.5rem 1rem 3rem;
    font-family: 'DM Sans', sans-serif;
    background: #f3f6fb;
    background-image: radial-gradient(ellipse at 10% 10%, rgba(26,77,191,0.10) 0%, transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(14,127,181,0.10) 0%, transparent 50%);
}

.edb-enq-page-header {
    margin: 0 auto 16px;
}

.edb-enq-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #1a4dbf;
    background: rgba(26,77,191,0.1);
    border: 1px solid rgba(26,77,191,0.2);
    border-radius: 20px !important;
    padding: 4px 12px;
    margin-bottom: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.edb-enq-page-title {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0a1860;
    margin-bottom: 4px;
}

.edb-enq-page-desc {
    font-size: 13px;
    color: #6b7280;
}

.edb-enq-page-desc .req { color: #ef4444; font-weight: 600; }

.edb-enq-note {
    margin: 0 auto 16px;
    background: rgba(26,77,191,0.05);
    border: 1.5px solid rgba(26,77,191,0.16);
    border-left: 4px solid #1a4dbf;
    border-radius: 0 12px 12px 0 !important;
    padding: 12px 16px;
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
}

.edb-enq-note strong { color: #0a1860; }

.edb-enq-layout {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.edb-enq-full-row {
    margin: 16px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.edb-enq-section {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.80);
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(15,37,128,0.07);
    overflow: hidden;
    margin-bottom: 8px;
}

.edb-enq-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, rgba(26,77,191,0.08), rgba(14,127,181,0.04));
    border-bottom: 1px solid rgba(26,77,191,0.1);
    padding: 12px 18px;
}

.edb-enq-section-num {
    width: 28px;
    height: 28px;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edb-enq-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #0a1860;
    text-transform: uppercase;
    letter-spacing: .05em;
    flex: 1;
}

.edb-enq-section-icon {
    color: #a5b4fc;
    font-size: 17px;
    flex-shrink: 0;
}

.edb-enq-section-body {
    padding: 20px;
}

/* Full-width single merged card */
.edb-enq-section-full {
    /*max-width: 900px;
    margin-left: auto;
    margin-right: auto;*/
}

/* Sub-group label inside a merged card */
.edb-enq-subhead {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    color: #1a4dbf;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
}
.edb-enq-subhead .fa {
    font-size: 13px;
    opacity: .8;
}

/* Divider between sub-groups */
.edb-enq-inner-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(26,77,191,.15) 0%, rgba(26,77,191,.04) 100%);
    margin: 16px 0 14px;
}

/* 4-column grid for enquirer row */
.ebi-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.edb-enq-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
}

.edb-enq-field:last-child { margin-bottom: 0; }

.edb-enq-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.edb-enq-label .req { color: #ef4444; margin-left: 2px; }
.edb-enq-label .opt { font-weight: 400; color: #9ca3af; text-transform: none; font-size: 10px; }

/* ebi-grid: renamed from edb-enq-grid to avoid conflict with dashboard edb-enq-grid */
.ebi-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
}

.ebi-grid:last-child { margin-bottom: 0; }

.ebi-grid-1 { grid-template-columns: 1fr; }
.ebi-grid-2 { grid-template-columns: 1fr 1fr; }
.ebi-grid-3 { grid-template-columns: 1fr 1fr 1fr; }

.edb-enq-section .form-control:not([type="file"]),
.edb-enq-section select.form-control,
.edb-enq-section textarea.form-control {
    width: 100% !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    color: #0a1860 !important;
    /*background: rgba(240,246,255,0.9) !important;*/
    border: 1.5px solid rgba(26,77,191,0.2) !important;
    border-radius: 10px !important;
    outline: none !important;
    transition: border-color .2s, box-shadow .2s !important;
}

.edb-enq-section input.form-control:not([type="file"]) {
    height: 36px !important;
    padding: 6px 12px !important;
}

.edb-enq-section textarea.form-control {
    height: auto !important;
    min-height: 68px !important;
    padding: 8px 12px !important;
    resize: vertical !important;
}

.edb-enq-section select.form-control {
    height: 36px !important;
    padding: 6px 32px 6px 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a4dbf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px !important;
    background-color: rgba(240,246,255,0.9) !important;
}

.edb-enq-section .form-control:not([type="file"]):focus {
    border-color: #1a4dbf !important;
    box-shadow: 0 0 0 3px rgba(26,77,191,0.12) !important;
    background: #fff !important;
}

.edb-enq-section .form-control::placeholder { color: #9ca3af !important; }

.edb-enq-section input.form-control:not([type="file"]):not([type="email"]):not([type="number"]),
.edb-enq-section textarea.form-control {
    /*text-transform: uppercase !important;*/
}

.edb-enq-section .editor-error {
    font-size: 11px !important;
    color: #b91c1c !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 2px !important;
}

.edb-enq-hint {
    font-size: 11px;
    color: #b91c1c;
    background: #fff1f1;
    border-left: 3px solid #f87171;
    border-radius: 0 6px 6px 0 !important;
    padding: 5px 10px;
    margin-top: 8px;
    line-height: 1.4;
}

.edb-enq-action-row {
    margin: 16px auto 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.edb-enq-action-note {
    font-size: 12px;
    color: #6b7280;
    background: rgba(26,77,191,0.05);
    border: 1px solid rgba(26,77,191,0.12);
    border-radius: 10px !important;
    padding: 10px 14px;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
}

.edb-enq-action-note strong { color: #0a1860; }

.edb-enq-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #0f2580, #0e7fb5);
    border: none;
    border-radius: 12px !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15,37,128,0.30);
    transition: opacity .2s, transform .15s;
    animation: edb-enq-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.edb-enq-btn-submit:hover { opacity: .9; }
.edb-enq-btn-submit:active { transform: scale(0.97); }

@keyframes edb-enq-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(15,37,128,0.30); }
    50%       { box-shadow: 0 4px 22px rgba(15,37,128,0.52); }
}

/* Vertical centering: Bootstrap adds .in only while the modal is visible,
   so display:none (hidden state) is unaffected. */
.edb-modal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.edb-modal .modal-dialog {
    margin: 0 auto;
    flex-shrink: 0;
    width: auto;
    max-width: 90vw;
}
.edb-modal.modal-lg .modal-dialog,
.edb-modal .modal-lg {
    width: 860px;
    max-width: 95vw;
}

.edb-modal .modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(15,37,128,0.18) !important;
    font-family: 'DM Sans', sans-serif !important;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.edb-modal .modal-header {
    background: linear-gradient(90deg, #0f2580, #0e7fb5) !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 14px 20px !important;
    border-bottom: none !important;
    flex-shrink: 0;
}

.edb-modal .modal-title {
    color: #fff !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edb-modal .modal-body {
    padding: 20px 24px !important;
    font-size: 14px;
    color: #374151;
    overflow-y: auto;
    flex: 1;
}

.edb-modal .modal-footer {
    padding: 12px 20px 16px !important;
    border-top: 1px dashed rgba(26,77,191,0.15) !important;
    justify-content: flex-end !important;
    flex-shrink: 0;
}

/* Sit above the MCampus admin sidebar (which overrides Bootstrap's default 1050) */
.edb-modal         { z-index: 99990 !important; }
.modal-backdrop    { z-index: 99980 !important; }

.edb-enq-btn-ok {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #0f2580, #0e7fb5);
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15,37,128,0.28);
}

.edb-enq-btn-ok:hover { opacity: .88; color: #fff; text-decoration: none; }

@media (max-width: 900px) {
    .edb-enq-layout,
    .edb-enq-full-row { grid-template-columns: 1fr; }
    .ebi-grid-3 { grid-template-columns: 1fr 1fr; }
    .ebi-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .edb-enq-page { padding: 1rem 0.75rem 2rem; }
    .ebi-grid-4,
    .ebi-grid-3,
    .ebi-grid-2 { grid-template-columns: 1fr; }
    .edb-enq-page-title { font-size: 20px; }
    .edb-enq-section { border-radius: 12px !important; }
    .edb-enq-section-body { padding: 20px; }
    .edb-enq-action-row { flex-direction: column; }
    .edb-enq-btn-submit { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════
   ENQUIRY PERIOD INFO PAGE — enq-*
   ════════════════════════════════════════ */
.enq-page {
    min-height: 100vh;
    padding: 2rem 1rem 3rem;
    font-family: 'DM Sans', sans-serif;
    background: #f3f6fb;
    background-image: radial-gradient(ellipse at 10% 10%, rgba(26,77,191,0.10) 0%, transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(14,127,181,0.10) 0%, transparent 50%);
}

.enq-page-header {
    margin: 0 auto 24px;
    max-width: 720px;
}

.enq-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #1a4dbf;
    background: rgba(26,77,191,0.1);
    border: 1px solid rgba(26,77,191,0.2);
    border-radius: 20px !important;
    padding: 4px 14px;
    margin-bottom: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.enq-page-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0a1860;
    margin-bottom: 4px;
    line-height: 1.3;
}

.enq-form-container {
    margin: 0 auto;
    max-width: 720px;
}

.enq-section {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(15,37,128,0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.enq-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, rgba(26,77,191,0.08), rgba(14,127,181,0.04));
    border-bottom: 1px solid rgba(26,77,191,0.1);
    padding: 13px 20px;
}

.enq-section-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.enq-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0a1860;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.enq-content {
    padding: 20px 24px;
    font-size: 14px;
    color: #374151;
    line-height: 1.8;
}

.enq-note {
    background: rgba(26,77,191,0.05);
    border: 1.5px solid rgba(26,77,191,0.15);
    border-left: 4px solid #1a4dbf;
    border-radius: 0 10px 10px 0 !important;
    padding: 11px 16px;
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
    margin-top: 14px;
}

.enq-note strong { color: #0a1860; }

.enq-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(26,77,191,0.04);
    border: 1.5px solid rgba(26,77,191,0.15);
    border-radius: 12px !important;
    padding: 14px 16px;
    margin: 16px 0;
    cursor: pointer;
}

.enq-checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1a4dbf;
}

.enq-checkbox-wrapper label {
    margin: 0;
    font-size: 13.5px;
    color: #374151;
    line-height: 1.7;
    cursor: pointer;
}

.enq-btn-group {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(26,77,191,0.15);
}

.enq-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 26px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 11px !important;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    text-decoration: none;
}

.enq-btn-primary {
    color: #fff;
    background: linear-gradient(90deg, #0f2580, #0e7fb5);
    box-shadow: 0 4px 14px rgba(15,37,128,0.30);
    animation: enq-pulse 2s ease-in-out infinite;
}

.enq-btn-primary:hover, .enq-btn-primary:focus { opacity: .88; color: #fff; text-decoration: none; }
.enq-btn-primary:active { transform: scale(0.97); }
.enq-btn-primary:disabled, .enq-btn-primary[disabled] { opacity: .45; cursor: not-allowed; animation: none; box-shadow: none; }

.enq-btn-secondary {
    color: #1a4dbf;
    background: rgba(26,77,191,0.08);
    border: 1.5px solid rgba(26,77,191,0.2);
}

.enq-btn-secondary:hover { background: rgba(26,77,191,0.14); }

@keyframes enq-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(15,37,128,0.28); }
    50%       { box-shadow: 0 4px 22px rgba(15,37,128,0.50); }
}

.enq-otp-section {
    background: rgba(26,77,191,0.04);
    border: 1px dashed rgba(26,77,191,0.22);
    border-radius: 12px !important;
    padding: 16px 18px;
    margin-top: 14px;
}

.enq-field { margin-bottom: 14px; }
.enq-field:last-child { margin-bottom: 0; }

.enq-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 560px) {
    .enq-page { padding: 1.25rem .75rem 2rem; }
    .enq-page-title { font-size: 18px; }
    .enq-content { padding: 16px; }
    .enq-btn-group { flex-direction: column; }
    .enq-btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════
   GBMS-INSPIRED DASHBOARD REDESIGN
   edb-page, edb-topbar, edb-grid, edb-card
   ════════════════════════════════════════ */
.edb-page {
    font-family: 'DM Sans', sans-serif;
    padding: 24px 20px 40px;
    min-height: calc(100vh - 62px - 56px);
    background: #f0f4ff;
    background-image: radial-gradient(ellipse at 10% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(56, 189, 248, 0.12) 0%, transparent 50%);
}

.edb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #0e76b0;
}

.edb-topbar-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a1860;
    display: flex;
    align-items: center;
    gap: 10px;
}

.edb-icon-bg {
    width: 38px;
    height: 38px;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #0f2580, #0e7fb5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15,37,128,0.22);
}

.edb-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

.edb-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50% !important;
    background: #0e7fb5;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #0e7fb5;
    flex-shrink: 0;
}

.edb-btn-new {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    border-radius: 10px !important;
    border: none;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(15,37,128,0.25);
    transition: opacity .15s, transform .1s;
}

.edb-btn-new:hover { opacity: .88; transform: translateY(-1px); color: #fff !important; text-decoration: none !important; }

.edb-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: stretch;
}

.edb-empty {
    width: 100%;
    text-align: center;
    padding: 40px 24px 32px;
    color: #6b7280;
}

.edb-empty h3 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a1860;
    margin: 0 0 6px;
}

.edb-empty p {
    font-size: 13px;
    margin: 0 0 24px;
}

.edb-empty-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 4px;
}

.edb-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #0f2580, #0e7fb5);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(15,37,128,0.22);
}

.edb-empty h3 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    color: #0a1860;
    margin-bottom: 8px;
}

.edb-empty p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ── Individual card ── */
.edb-card {
    width: 340px;
    background: #fff;
    border-radius: 14px !important;
    box-shadow: 0 2px 16px rgba(15,37,128,0.09);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

.edb-card:hover {
    box-shadow: 0 6px 28px rgba(15,37,128,0.17);
    transform: translateY(-2px);
}

.edb-card.existing {
    box-shadow: 0 2px 16px rgba(14,127,181,0.18), 0 0 0 2px #0e7fb5;
}

/* ── Card header ── */
.edb-card-header {
    background: linear-gradient(90deg, rgba(26,77,191,0.08), rgba(14,127,181,0.04));
    border-bottom: 1px solid rgba(26,77,191,0.1);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.edb-card-num {
    width: 24px;
    height: 24px;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edb-card-refno {
    margin-left: auto;
    font-size: 10px;
    color: #9ca3af;
    white-space: nowrap;
}

/* ── Card body: 2-col split ── */
.edb-card-body {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* Profile column */
.edb-profile {
    width: 44%;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(26,77,191,0.05) 0%, rgba(14,127,181,0.03) 100%);
    border-right: 1px solid rgba(26,77,191,0.08);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.edb-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid #dce8ff;
    background: #f3f6fb;
    flex-shrink: 0;
}

.edb-student-name {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #0a1860;
    line-height: 1.3;
    word-break: break-word;
}

.edb-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.edb-meta span {
    font-size: 10px;
    color: #6b7280;
    line-height: 1.4;
}

/* Status badge inside profile */
.edb-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px !important;
    margin-top: 4px;
}

.edb-badge.confirmed { background: #dcfce7; color: #166534; }
.edb-badge.closed    { background: #fee2e2; color: #991b1b; }
.edb-badge.shortlist { background: #fef3c7; color: #92400e; }
.edb-badge.progress  { background: #dce8ff; color: #1a4dbf; }

/* Actions column */
.edb-actions {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
}

.edb-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 8px !important;
    border: none;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    width: 100%;
    text-align: left;
    line-height: 1.3;
}

.edb-action-btn:hover { opacity: .88; transform: translateY(-1px); }
.edb-action-btn i { font-size: 11px; flex-shrink: 0; }

.edb-btn-info    { background: #1a4dbf; color: #fff; }
.edb-btn-danger  { background: #dc2626; color: #fff; }
.edb-btn-success { background: #059669; color: #fff; }
.edb-btn-warning { background: #d97706; color: #fff; }
.edb-btn-primary { background: #0f2580; color: #fff; }

.edb-hint {
    font-size: 11px;
    color: #6b7280;
    background: rgba(26,77,191,0.05);
    border-left: 3px solid rgba(26,77,191,0.3);
    padding: 6px 10px;
    border-radius: 0 6px 6px 0 !important;
    line-height: 1.4;
}

.edb-remark {
    font-size: 10.5px;
    color: #b91c1c;
    background: #fff1f1;
    border-left: 2px solid #f87171;
    padding: 5px 8px;
    border-radius: 0 5px 5px 0 !important;
    line-height: 1.4;
}

.edb-modal .modal-header .close { color: #fff !important; opacity: .8 !important; }

@media (max-width: 640px) {
    .edb-page { padding: 14px 10px 32px; }
    .edb-card { width: calc(100% - 0px); }
    .edb-card-body { flex-direction: column; }
    .edb-profile { width: 100%; flex-direction: row; text-align: left; border-right: none; border-bottom: 1px solid rgba(26,77,191,0.08); padding: 12px; }
    .edb-profile .edb-meta { align-items: flex-start; }
    .edb-btn-new { font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 400px) {
    .edb-grid { gap: 12px; }
}

/* ── Topbar add-admission buttons (shown top-right when cards exist) ── */
.edb-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.edb-topbar-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    color: #fff !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity .15s, transform .12s;
    line-height: 1.3;
}

.edb-topbar-add-btn:hover,
.edb-topbar-add-btn:focus {
    color: #fff !important;
    text-decoration: none !important;
    opacity: .88;
    transform: translateY(-1px);
}

.edb-topbar-add-btn .fa {
    font-size: 14px;
    flex-shrink: 0;
}

.btn-topbar-external {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    box-shadow: 0 2px 8px rgba(217,119,6,.35);
}

.btn-topbar-existing {
    background: linear-gradient(135deg, #0e7fb5 0%, #0f2580 100%);
    box-shadow: 0 2px 8px rgba(15,37,128,.35);
    border: 1px solid rgba(255,255,255,.15);
}

@media (max-width: 640px) {
    .edb-topbar-actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 4px;
    }
    .edb-topbar-add-btn {
        font-size: 11px;
        padding: 7px 11px;
        flex: 1;
        justify-content: center;
    }
}

/* ── Parent tab section ── */
.edb-parent-section {
    margin-bottom: 8px;
}

.edb-parent-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0a1860 0%, #0f2580 100%);
    color: #fff;
    padding: 13px 20px;
    border-radius: 12px 12px 0 0 !important;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
}

.edb-parent-header .fa {
    font-size: 16px;
    opacity: .85;
}

.edb-parent-header-sub {
    font-size: 11px;
    font-weight: 400;
    opacity: .82;
    margin-left: 4px;
}

.edb-parent-tab-bar {
    border-radius: 0 !important;
    background: #1a4dbf;
    padding: 10px 14px 0;
    gap: 3px;
}

.edb-parent-tab-bar > li > a {
    font-size: 11.5px !important;
    padding: 8px 14px !important;
}

.edb-parent-tab-bar > li > a .fa {
    margin-right: 5px;
    opacity: .8;
}

.edb-parent-tab-content {
    border-radius: 0 0 12px 12px !important;
    padding: 16px 16px 8px;
}

/* ── Previous navigation button (Parent/form steps) ── */
.edb-prev-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    background: transparent;
    border: 2px solid #0f2580;
    color: #0f2580;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background .15s, color .15s;
    line-height: 1;
}
.edb-prev-btn:hover,
.edb-prev-btn:focus {
    background: #0f2580;
    color: #fff;
    outline: none;
}


/* ════════════════════════════════════════
   DASHBOARD CARDS — LPSGS-inspired 3-section layout
   ════════════════════════════════════════ */

/* Card wrapper — same flex sizing as old edb-card */
.edb-eq-card {
    flex: 0 0 calc(50% - 9px);
    min-width: 280px;
    max-width: 540px;
    background: #fff;
    border-radius: 14px !important;
    box-shadow: 0 2px 16px rgba(15,37,128,.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(26,77,191,.08);
    transition: box-shadow .2s, transform .15s;
    position: relative;
}
.edb-eq-card:hover {
    box-shadow: 0 6px 28px rgba(15,37,128,.16);
    transform: translateY(-2px);
}
.edb-eq-card.is-existing {
    border-left: 4px solid #0e7fb5;
}

/* ── Dark navy header band ── */
.edb-eq-head {
    background: linear-gradient(135deg, #eef2ff 0%, #dce5ff 100%);
    border-bottom: 1px solid rgba(26,77,191,.15);
    padding: 14px 16px 14px 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-height: 70px;
}

/* Half-circle serial number — top-left corner tab */
.edb-eq-num {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 38px;
    background: linear-gradient(135deg, #0f2580 0%, #1a4dbf 100%);
    border-radius: 0 0 42px 0 !important;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    font-family: 'Sora', sans-serif;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6px 0 0 8px;
    line-height: 1;
    z-index: 2;
}
.edb-eq-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px !important;
    flex-shrink: 0;
    position: relative;
    background: rgba(15,37,128,.12);
    border: 1.5px solid rgba(15,37,128,.18);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edb-eq-initials {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    color: #0f2580;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.edb-eq-avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}
.edb-eq-identity {
    flex: 1;
    min-width: 0;
}
.edb-eq-name {
    font-family: 'Sora', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #0a1860;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.edb-eq-status {
    flex-shrink: 0;
}

/* Status badges */
.edb-eq-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px !important;
    font-size: 10.5px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    letter-spacing: .2px;
    white-space: nowrap;
}
.edb-eq-badge-progress  { background: #fef3c7; color: #92400e; }
.edb-eq-badge-submitted { background: #dbeafe; color: #1e40af; }
.edb-eq-badge-shortlist { background: #ede9fe; color: #5b21b6; }
.edb-eq-badge-confirmed { background: #d1fae5; color: #065f46; }
.edb-eq-badge-closed    { background: #fee2e2; color: #991b1b; }

/* ── Card body — school / class info rows ── */
.edb-eq-body {
    padding: 14px 16px 8px;
    flex: 1;
}
.edb-eq-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #374151;
    margin-bottom: 6px;
    line-height: 1.4;
}
.edb-eq-info-row .fa {
    color: #1a4dbf;
    font-size: 13px;
    margin-top: 1px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.edb-eq-ref {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eef2ff;
    color: #3730a3;
    border-radius: 6px !important;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 600;
    margin: 4px 0 6px;
}
.edb-eq-remark {
    background: #fff7ed;
    border-left: 3px solid #f59e0b;
    border-radius: 0 6px 6px 0 !important;
    padding: 5px 9px;
    font-size: 11.5px;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 6px;
}
.edb-eq-remark .fa { color: #f59e0b; flex-shrink: 0; margin-top: 1px; }
.edb-eq-note {
    font-size: 11.5px;
    color: #6b7280;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.edb-eq-note .fa { color: #9ca3af; }

/* ── Action footer ── */
.edb-eq-actions {
    padding: 10px 12px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid rgba(26,77,191,.08);
    margin-top: auto;
}

/* Action buttons */
.edb-eq-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    border: none;
    border-radius: 7px !important;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s, transform .1s;
    line-height: 1;
    text-decoration: none;
}
.edb-eq-btn:hover,
.edb-eq-btn:focus {
    opacity: .85;
    transform: translateY(-1px);
    text-decoration: none;
}
.edb-eq-btn-fill    { background: #dbeafe; color: #1e40af; }
.edb-eq-btn-fees    { background: #ef4444; color: #fff; }
.edb-eq-btn-del     { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }
.edb-eq-btn-submit  { background: #f59e0b; color: #fff; }
.edb-eq-btn-print   { background: #10b981; color: #fff; }
.edb-eq-btn-payment { background: #1a4dbf; color: #fff; }
.edb-eq-btn-creds   { background: #f59e0b; color: #fff; }

@media (max-width: 640px) {
    .edb-grid { gap: 12px; }
    .edb-eq-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* ════════════════════════════════════════
   FEES COLLECTION PAGE — fcp-* components
   ════════════════════════════════════════ */
.fcp-shell {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    padding: 36px 24px 56px;
}
.fcp-wrap {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
.fcp-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.fcp-heading i { color: #0f2580; font-size: 18px; }
.fcp-heading h2 {
    font-size: 17px;
    font-weight: 700;
    color: #0a1860;
    font-family: 'Sora', 'DM Sans', sans-serif;
    margin: 0;
}
.fcp-card {
    background: #fff;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(15,37,128,.10);
    overflow: hidden;
    border: 1px solid rgba(26,77,191,.09);
    margin-bottom: 16px;
}
.fcp-card-head {
    background: linear-gradient(135deg, #eef2ff 0%, #dce5ff 100%);
    border-bottom: 1px solid rgba(26,77,191,.15);
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fcp-card-head i { color: #0f2580; font-size: 13px; }
.fcp-card-head span {
    font-size: 13px;
    font-weight: 700;
    color: #0a1860;
    font-family: 'Sora', sans-serif;
}
.fcp-fee-row {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fcp-fee-label { font-size: 14px; color: #374151; font-weight: 500; }
.fcp-fee-amount {
    font-size: 26px;
    font-weight: 700;
    color: #0f2580;
    font-family: 'Sora', sans-serif;
    letter-spacing: .3px;
    white-space: nowrap;
}
.fcp-fee-amount .fcp-ast {
    font-size: 13px;
    font-weight: 600;
    color: #1a4dbf;
    margin-right: 3px;
    vertical-align: middle;
}
.fcp-btn-block { display: block; width: 100%; margin-bottom: 8px; }
.fcp-pay-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #0f2580 0%, #1a4dbf 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    border: none;
    border-radius: 12px !important;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 14px rgba(15,37,128,.28);
    transition: opacity .2s, transform .15s;
    text-decoration: none;
    line-height: 1.4;
}
.fcp-pay-btn:hover { opacity: .91; transform: translateY(-1px); color: #fff !important; }
.fcp-pay-btn i { margin-right: 8px; }
.fcp-pay-btn-alt { background: linear-gradient(135deg, #0e7fb5 0%, #0a5f8a 100%); box-shadow: 0 4px 14px rgba(14,127,181,.25); }
.fcp-back-link {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    color: #6b7280 !important;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    text-align: center;
    text-decoration: none;
    margin-bottom: 8px;
    transition: background .2s;
}
.fcp-back-link:hover { background: #f9fafb; color: #374151 !important; text-decoration: none; }
.fcp-note {
    background: #fffbeb;
    border: 1px solid rgba(245,158,11,.30);
    border-left: 3px solid #f59e0b;
    border-radius: 12px !important;
    padding: 15px 18px;
    margin-top: 4px;
}
.fcp-note p { margin: 0; line-height: 1.65; }
.fcp-note p.fcp-note-main { font-size: 13.5px; color: #374151; margin-bottom: 7px; }
.fcp-note p.fcp-note-sub { font-size: 12.5px; color: #92400e; }
.fcp-note strong { color: #0a1860; }

@media (max-width: 480px) {
    .fcp-shell { padding: 16px 12px 40px; }
    .fcp-fee-amount { font-size: 22px; }
    .fcp-pay-btn { font-size: 14px; padding: 13px 16px; }
}

/* ════════════════════════════════════════
   EDIT PAGE — student header + tab footer
   ════════════════════════════════════════ */
.edb-student-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #0f2580 0%, #1a4dbf 100%);
    border-radius: 12px !important;
    padding: 14px 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(15,37,128,0.22);
}

.edb-student-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,0.28);
}

.edb-student-header-name {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.edb-student-header-class {
    font-size: 12px;
    color: rgba(255,255,255,0.70);
    margin-top: 2px;
}

.edb-tab-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(26,77,191,0.12);
}

.edb-btn-prev {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0f2580;
    background: transparent;
    border: 1.5px solid rgba(15,37,128,0.30) !important;
    border-radius: 9px !important;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.edb-btn-prev:hover {
    background: rgba(15,37,128,0.06);
    color: #0a1860;
}

.edb-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    border: none;
    border-radius: 9px !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15,37,128,0.25);
    transition: opacity .15s, transform .1s;
    margin-left: auto;
    animation: edb-edit-pulse 2s ease-in-out infinite;
}

.edb-btn-next:hover {
    opacity: .9;
    transform: translateY(-1px);
}

/* Photo upload label strip (used in OnlineStudentInformation_Edit) */
.edb-enq-upload-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: #0a1860;
    background: rgba(14,127,181,0.07);
    border-left: 3px solid #0e7fb5;
    border-radius: 0 8px 8px 0 !important;
    padding: 7px 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.edb-enq-upload-header .fa { color: #0e7fb5; font-size: 13px; }

/* ════════════════════════════════════════
   EDIT PAGE SHELL — enquiry-wrap + message
   ════════════════════════════════════════ */
.edb-enquiry-wrap {
    font-family: 'DM Sans', sans-serif;
    background: #f0f4ff;
    background-image: radial-gradient(ellipse at 10% 0%, rgba(15,37,128,0.10) 0%, transparent 45%), radial-gradient(ellipse at 90% 100%, rgba(14,127,181,0.08) 0%, transparent 45%);
    min-height: 100vh;
    padding: 1.25rem 1rem 2.5rem;
}

#showMessage {
    background: rgba(15,37,128,0.06);
    border-left: 4px solid #1a4dbf;
    border-radius: 0 10px 10px 0 !important;
    padding: 10px 16px;
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 12px;
}

@keyframes edb-edit-pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(15,37,128,0.25); }
    50%       { box-shadow: 0 4px 22px rgba(15,37,128,0.48); }
}

@media (max-width: 768px) {
    .edb-tab-bar > li > a { padding: 7px 11px; font-size: 12px; }
}

@media (max-width: 520px) {
    .edb-tab-footer { flex-direction: column-reverse; }
    .edb-btn-next,
    .edb-btn-prev  { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════
   SECTION HEADER SUBTITLE
   ════════════════════════════════════════ */
.edb-enq-section-subtitle {
    font-size: 11px;
    color: rgb(108 118 162);
    margin-top: 2px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ════════════════════════════════════════
   PHOTO UPLOAD AREA
   ════════════════════════════════════════ */
.edb-photo-area {
    background: #f0f4ff;
    border: 2px dashed rgba(15,37,128,0.28);
    border-radius: 12px !important;
    padding: 14px 10px 12px;
    text-align: center;
    min-height: 130px;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 10px;
}

.edb-photo-area:hover {
    border-color: #1a4dbf;
    background: #e8eeff;
}

.edb-photo-area-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.edb-photo-area-label .fa {
    color: #0e7fb5;
    margin-right: 4px;
}

/* File uploader widget inside photo area */
.edb-photo-area .fileupload-buttonbar {
    padding: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
}

/* ════════════════════════════════════════
   REFERENCE REDESIGN — Additional Info (sheet / rail / block / card / field)
   ════════════════════════════════════════ */

/* Two-column layout: sticky rail + scrolling main */
.edb-ref-sheet {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.edb-ref-rail {
    width: 200px;
    flex-shrink: 0;
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.edb-ref-main {
    flex: 1;
    min-width: 0;
}

/* Rail */
.edb-ref-rail-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin: 0 0 10px 4px;
}
.edb-ref-rail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 8px;
    text-decoration: none;
    color: #4b5563;
    border-left: 2px solid #dee3ee;
    transition: border-color 0.15s, color 0.15s;
    border-radius:0px !important;
}
.edb-ref-rail-item:hover {
    border-left-color: #1a4dbf;
    color: #0f2580;
    text-decoration: none;
}
.edb-ref-rail-item.active {
    border-left-color: #0e7fb5;
    color: #0f2580;
}
.edb-ref-rail-mark {
    font-size: 10.5px;
    font-weight: 600;
    color: #0e7fb5;
    width: 24px;
    flex-shrink: 0;
    padding-top: 1px;
    font-family: monospace;
}
.edb-ref-rail-label {
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
    color: inherit;
}

/* Section block */
.edb-ref-block {
    margin-bottom: 36px;
    scroll-margin-top: 70px;
}
.edb-ref-block-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #dee3ee;
}
.edb-ref-num {
    font-size: 11px;
    font-weight: 700;
    color: #0e7fb5;
    letter-spacing: 0.06em;
    font-family: monospace;
    flex-shrink: 0;
}
.edb-ref-h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #0f2580;
    letter-spacing: -0.01em;
}

/* Card (white container for all fields in a group) */
.edb-ref-card {
    background: #fff;
    border: 1px solid #dee3ee;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15,37,128,0.05);
}

/* Remark row spans the full card width (above the field grid) */
.edb-ref-field-remark {
    border-bottom: 1px solid #dee3ee;
    padding: 8px 16px;
    background: #fffbf0;
}

/* Individual field row: number gutter + body */
.edb-ref-field {
    display: grid;
    grid-template-columns: 44px 1fr;
    border-bottom: 1px solid #dee3ee;
}
.edb-ref-field:last-child {
    border-bottom: none;
}

/* Number gutter */
.edb-ref-field-num {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
    background: #f8faff;
    border-right: 1px solid #dee3ee;
}
.edb-ref-field-num span {
    width: 22px;
    height: 22px;
    border-radius: 5px !important;
    background: #0f2580;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Field body: label on top, controls below */
.edb-ref-field-body {
    padding: 16px 18px 14px;
}
.edb-ref-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #0f2580;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    line-height: 1.4;
}
.edb-ref-label .edb-q-required {
    color: #c53030;
    margin-left: 3px;
}
.edb-ref-label-sub {
    display: block;
    font-weight: 400;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

/* Controls flex row (primary + secondary side by side) */
.edb-ref-controls {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.edb-ref-ctrl {
    flex: 1;
    min-width: 160px;
    max-width: 320px;
    margin-bottom: 0 !important;
}
.edb-ref-ctrl-doc {
    /*flex: 0 0 auto;*/
}

/* Checkbox grid inside reference card */
.edb-ref-field-body .edb-checkbox-wrap {
    width: 100%;
}

/* Validation messages */
.edb-ref-field-body .field-validation-error {
    font-size: 11.5px;
    margin-top: 4px;
    display: block;
}

/* Mobile: stack rail below header */
@media (max-width: 767px) {
    .edb-ref-sheet {
        flex-direction: column;
    }
    .edb-ref-rail {
        display: none;
    }
    .edb-ref-ctrl {
        max-width: 100%;
    }
}

.edb-photo-area .fileinput-button {
    display: block;
    width: 100%;
    cursor: pointer;
}

/* Hide the default "Add files…" span */
.edb-photo-area .fileinput-button span {
    display: none !important;
}

/* Native file input */
.edb-photo-area .fileinput-button input[type="file"] {
    width: 100%;
    padding: 7px 6px;
    height: 42px;
    background-color: #f8f9ff;
    border: 1px solid rgba(15,37,128,0.18);
    border-radius: 8px !important;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    box-sizing: border-box;
}

/* Webkit "Choose File" button */
.edb-photo-area .fileinput-button input[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    border: none;
    padding: 6px 14px;
    border-radius: 6px !important;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    height: 28px;
}

/* Firefox / modern standard */
.edb-photo-area .fileinput-button input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    border: none;
    padding: 6px 14px;
    border-radius: 6px !important;
    cursor: pointer;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    height: 28px;
}

.edb-photo-area .fileupload-content {
    padding: 0 !important;
}

/* Preview image */
.edb-photo-area .jsUseFilePreview img,
.edb-photo-area .file-name img {
    border-radius: 8px !important;
    border: 2px solid rgba(15,37,128,0.15);
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto 6px;
}

/* ════════════════════════════════════════
   TOAST NOTIFICATIONS
   ════════════════════════════════════════ */
#edb-toast-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    width: 340px;
    pointer-events: none;
}
.edb-toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: #fff;
    border-radius: 10px !important;
    padding: 14px 14px 18px;
    box-shadow: 0 6px 28px rgba(15,37,128,0.14), 0 1px 5px rgba(0,0,0,0.07);
    margin-bottom: 10px;
    border-left: 4px solid #1a4dbf;
    pointer-events: auto;
    overflow: hidden;
    animation: edbToastIn 0.32s cubic-bezier(0.34,1.2,0.64,1);
}
.edb-toast-out {
    animation: edbToastOut 0.28s ease forwards !important;
}
@keyframes edbToastIn {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}
@keyframes edbToastOut {
    from { transform: translateX(0);    opacity: 1; }
    to   { transform: translateX(110%); opacity: 0; }
}
.edb-toast.edb-toast-success { border-left-color: #16a34a; }
.edb-toast.edb-toast-error   { border-left-color: #dc2626; }
.edb-toast.edb-toast-warning { border-left-color: #d97706; }
.edb-toast.edb-toast-info    { border-left-color: #1a4dbf; }

.edb-toast-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.edb-toast.edb-toast-success .edb-toast-icon { color: #16a34a; }
.edb-toast.edb-toast-error   .edb-toast-icon { color: #dc2626; }
.edb-toast.edb-toast-warning .edb-toast-icon { color: #d97706; }
.edb-toast.edb-toast-info    .edb-toast-icon { color: #1a4dbf; }

.edb-toast-body  { flex: 1; min-width: 0; }
.edb-toast-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 3px;
}
.edb-toast-msg {
    font-size: 13px;
    color: #111827;
    line-height: 1.5;
    word-break: break-word;
}
.edb-toast-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #9ca3af;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}
.edb-toast-close:hover { color: #374151; }
.edb-toast-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: edbToastBar 6s linear forwards;
}
.edb-toast.edb-toast-success .edb-toast-bar { background: #16a34a; }
.edb-toast.edb-toast-error   .edb-toast-bar { background: #dc2626; }
.edb-toast.edb-toast-warning .edb-toast-bar { background: #d97706; }
.edb-toast.edb-toast-info    .edb-toast-bar { background: #1a4dbf; }
@keyframes edbToastBar { from { width: 100%; } to { width: 0%; } }

/* Uploaded file row */
.edb-photo-area .file-row {
    background: rgba(15,37,128,0.04);
    border-radius: 8px !important;
    padding: 8px 10px;
    border: 1px solid rgba(15,37,128,0.10);
    text-align: left;
}




.ui-widget {
    font-size: 13px;
    
}

.ui-widget-header {
    border: none !important;
    background: none !important;
    color: #222;
    font-weight: 700;
}

.fileupload-buttonbar {
    padding: 0 !important;
    margin-top: 0px;
    width: 100% !important;
}

.fileinput-button {
    width: 100%;
}

.uploadfile .form-group label {
    padding: 0px !important;
    background: none !important;
    color: black;
}

.ui-widget-content {
    border: none !important;
    background: none !important;
    color: #362b36;
}

.fileinput-button span {
    display: none !important;
}

.fileinput-button input[type=file] {
    /*direction: rtl;*/ /*Move button to right */
    padding: 10px;
    height: 50px;
    background-color: #F5F5F5;
    border: 1px dashed #8f8e8e;
    border-radius: 10px !important;
    width: 100%;
    /*color: transparent;*/ /*Hide "No file chosen" */
}

.fileinput-button input[type="file"]::-webkit-file-upload-button {
    background: #3c8dbc;
    border: 1px solid #3c8dbc;
    padding: 6px 12px;
    border-radius: 20px !important;
    cursor: pointer;
    color: white;
}
/* Firefox */
.fileinput-button input[type="file"]::file-selector-button {
    background: #3c8dbc;
    border: 1px solid #3c8dbc;
    padding: 6px 12px;
    border-radius: 20px !important;
    cursor: pointer;
    color: white;
}

.files {
    margin: 0px !important;
    width: 100%;
}

.fileupload-content {
    padding: 0px !important;
}

.mcampusautocomplete {
    width: 100%;
    /*border: 1px solid #d2d6de;
            float: left;*/
}

.ui-autocomplete-multiselect-item {
    min-height: 32px;
    padding: 5px;
}

.ui-combobox-input.ui-autocomplete-input {
    width: 100%;
    /*border:0px;*/
    /*margin-top: 0.3em;*/
}

.ui-combobox-input {
    background: white;
    color: #555;
}

.jsautocomplete-wrapper-Message input {
    background: white;
    border-color: #D2D6DE;
    border-radius: 0px !important;
    width: 100%;
    color: white;
    margin: 3px 0px 3px 0px;
}

.ui-autocomplete-multiselect {
    background: white;
    color: black;
    min-width: 135px;
}

.ui-dialog {
    z-index: 5001 !important;
}

.ui-state-error {
    background: none;
    color: red;
    border: 0px;
}

.content .content {
    padding: 0px;
}

.ui-autocomplete.ui-widget-content {
    z-index: 9999; /* Autocomplete in model popup will not be visible if we remove this css */
    background: #f2f5f7 !important;
    border: 1px solid #f2f5f7 !important;
}

.ui-datepicker.ui-widget-content {
    border: 1px solid #ddd !important;
    background: #f2f5f7 !important;
    color: #362b36 !important;
}

.ui-timepicker-table.ui-widget-content {
    border: 1px solid #ddd !important;
    background: #f2f5f7 !important;
    color: #362b36 !important;
}

.McampusHelpPopUp.ui-widget-content {
    background: #fff !important;
    border-color: #c2c2c2 !important;
}

/* ════════════════════════════════════════
   ADDITIONAL INFO EDIT — extracted from inline/internal CSS
   ════════════════════════════════════════ */

.field-validation-error {
    color: red !important;
}

.select2-selection--multiple {
    color: black;
}

.edb-enq-section-num .fa {
    font-size: 13px;
}

.edb-form-body {
    padding: 14px 12px 4px !important;
}

.edb-form-notice .fa {
    color: #d97706;
    flex-shrink: 0;
    margin-top: 2px;
}

.edb-form-notice-sms {
    margin: 0 14px !important;
}

.edb-form-notice-sm {
    margin-bottom: 8px !important;
}

.edb-form-notice-xs {
    margin-bottom: 4px !important;
    padding: 5px 10px !important;
}

.edb-form-notice-badge {
    margin-bottom: 5px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
}

.edb-form-notice-inset {
    margin: 8px 0 !important;
}

.edb-form-notice.edb-form-notice-inset .fa {
    color: #0e7fb5;
}

.edb-group-header-col {
    margin-bottom: 4px;
}

.edb-group-divider {
    background: rgba(15,37,128,0.06);
    border-left: 4px solid #0f2580;
    border-radius: 0 8px 8px 0 !important;
    padding: 8px 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.edb-group-divider .fa {
    color: #0e7fb5;
    font-size: 14px;
}

.edb-group-divider-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f2580;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.edb-q-row {
    background: #f8faff;
    border: 1px solid #e8eeff;
    border-radius: 8px !important;
    margin: 0 0 8px 0 !important;
    padding: 8px 4px;
    align-items: flex-start;
}

/* ════════════════════════════════════════
   DOCUMENT UPLOAD — Undertaking button + doc grid
   ════════════════════════════════════════ */

.edb-undertaking-btn {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    border-radius: 6px !important;
    padding: 7px 14px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(15,37,128,0.18);
    animation: edb-undertaking-pulse 2s ease-in-out infinite;
}

.edb-undertaking-btn:hover,
.edb-undertaking-btn:focus {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #0a1a60, #1660cc);
    animation: none;
    box-shadow: 0 4px 14px rgba(15,37,128,0.35);
}

.edb-undertaking-btn .fa {
    font-size: 13px;
    flex-shrink: 0;
}

@keyframes edb-undertaking-pulse {
    0%, 100% {
        box-shadow: 0 1px 4px rgba(15,37,128,0.18), 0 0 0 0 rgba(26,77,191,0.55);
    }
    55% {
        box-shadow: 0 4px 14px rgba(15,37,128,0.28), 0 0 0 8px rgba(26,77,191,0);
    }
}

/* ── Mobile: full-width button, stack document columns ── */
@media (max-width: 767px) {
    .edb-undertaking-btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        flex-shrink: unset;
        padding: 9px 14px;
    }

    .edb-doc-row > [class*="col-"] {
        width: 100% !important;
        float: none !important;
    }
}

.edb-q-remark-col {
    padding-bottom: 4px;
}

.edb-q-label-col {
    padding-top: 2px;
}

.edb-q-form-group {
    margin-bottom: 0;
}

.edb-checkbox-col {
    margin-bottom: 6px;
}

.edb-checkbox-card {
    background: #f0f4ff;
    border: 1.5px solid rgba(15,37,128,0.14);
    border-radius: 7px !important;
    padding: 8px 12px;
    word-wrap: break-word;
}

.edb-checkbox-label {
    color: #0f2580;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.edb-checkbox-input {
    accent-color: #0f2580;
    width: 15px;
    height: 15px;
}

/* Question label — flex layout replacing inline style on the label element */
.edb-enq-label.edb-q-label-flex {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    white-space: normal;
    text-transform: none;
    font-size: 12px;
    letter-spacing: 0;
}

/* Numbered circle badge inside the label */
.edb-q-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #0f2580, #1a4dbf);
    color: #fff;
    border-radius: 50% !important;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Required asterisk */
.edb-q-required {
    color: #c53030;
    margin-left: 3px;
}

/* Sub-label line (shown when InfoText contains #) */
.edb-q-label-sub {
    font-weight: 400;
    color: #6b7280;
    font-size: 11px;
}

.edb-checkbox-wrap {
    width: 598px;
}

.edb-inline-msg {
    display: inline;
}

/* ── Select dropdown arrow ── */
.edb-enq-section select.form-control,
.edb-enq-section-body select.form-control,
.edb-form-body select.form-control {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2580' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    padding-right: 34px !important;
    cursor: pointer;
}
