/* ════════════════════════════════════════
   ADANI International School — Online Enquiry Portal
   "Growing Together"
   Brand: deep navy (#1b2a63) + purple (#5c2d82) + magenta (#a81e6f),
   colors sourced from adani_logo.png (open-book icon + gradient wordmark).
   1:1 component-system port of ForCNS/cns-enquiry-portal.css — same
   structure/layout/spacing/breakpoints/class names (mcl-*/edb-*/ep-*/enq-*/fcp-*),
   only colors, gradients and fonts have been re-skinned for ADANI.
   ════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap');

@font-face {
    font-family: 'AdaniRegular';
    src: url('/Content/SchoolWiseContent/ForADANI/Font/Adani-Regular.woff') format('woff');
    font-weight: 400 700;
    font-style: normal;
    font-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: #f9f6fc !important;
}

/* Kill the AdminLTE gray that bleeds below short pages */
.lpsgs-content-area .content {
    background: #f9f6fc !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;

    /* ADANI brand — white canvas, navy/purple bubbles (no campus photo dependency) */
    background: #fdfaff;
}

/* Large soft navy/purple bubbles, top-left and bottom-right */
.mcl-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 12% 15%, rgba(92,45,130,0.16) 0%, transparent 40%),
        radial-gradient(circle at 90% 88%, rgba(27,42,99,0.14) 0%, transparent 42%);
    z-index: 0;
    pointer-events: none;
}

/* Smaller accent bubbles for extra depth */
.mcl-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 82% 12%, rgba(168,30,111,0.12) 0%, transparent 30%),
        radial-gradient(circle at 8% 85%, rgba(92,45,130,0.10) 0%, transparent 32%);
    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(12,10,28,0.45),
        0 4px 16px rgba(12,10,28,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, #1b2a63 0%, #5c2d82 50%, #a81e6f 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: #5c2d82;
}

/* School name */
.mcl-school-name {
    font-family: 'AdaniRegular', 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: #5c2d82;
    margin-bottom: 4px;
}

/* Title */
.mcl-title {
    font-family: 'AdaniRegular', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    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: #f9f6fc;
    border: 1px solid #ecdbf3;
    border-radius: 10px !important;
    padding: 9px 14px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #5c2d82;
}

/* ── 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: #5c2d82;
    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 #e6d9ee !important;
    border-radius: 10px !important;
    background: rgba(250,246,255,0.9);
    color: #1a1a2e;
    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: #5c2d82;
    box-shadow: 0 0 0 3px rgba(92,45,130,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: #5c2d82;
}

/* 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 #e6d9ee;
    border-radius: 8px !important;
    overflow: hidden;
}

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

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

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

.mcl-captcha-field:focus {
    border-color: #5c2d82;
    box-shadow: 0 0 0 3px rgba(92,45,130,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%;
    border: 1.5px solid #e6d9ee !important;
    border-radius: 10px !important;
}

/* 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, #1b2a63 0%, #a81e6f 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(27,42,99,0.35);
    animation: adani-pulse 2.4s ease-in-out infinite;
}

.mcl-btn-submit:hover {
    opacity: 0.92;
    box-shadow: 0 6px 22px rgba(27,42,99,0.45);
}

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

@keyframes adani-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(27,42,99,0.35); }
    50%       { box-shadow: 0 4px 28px rgba(27,42,99,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: #1b2a63;
    background: #f3e8fa;
    border: 1.5px solid #ded0ec;
    border-radius: 10px !important;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.mcl-btn-secondary:hover {
    background: #ddd0ec;
    border-color: #a878c2;
    color: #142150;
    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: #5c2d82;
    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: #f6f1fa;
    border: 1px solid #ded0ec;
    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;
    }
}

/* ════════════════════════════════════════
   HERO LOGIN VARIANT (.adani-hero-*) — full-bleed school photo background,
   card anchored to the right. Used on the enquiry Login/Insert screens instead
   of the centered split-card (.mcl-page/.mcl-card/.mcl-left/.mcl-right)
   variant above. Reuses the same inner component classes — .mcl-eyebrow,
   .mcl-title, .mcl-field, .mcl-label, .mcl-input-wrap, .mcl-captcha-*,
   .mcl-error, .mcl-btn-row/.mcl-btn-submit/.mcl-btn-secondary, .mcl-links —
   only the outer page/card shell differs.
   ════════════════════════════════════════ */
.adani-hero-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem 6vw;
    font-family: 'DM Sans', sans-serif;
    position: relative;
    overflow: hidden;
    background-image: url('/Content/SchoolWiseContent/ForADANI/Enquiry/adani-school-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Brand-tinted scrim so the card and its text stay legible over any photo */
.adani-hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(27,42,99,0.80) 0%, rgba(92,45,130,0.55) 38%, rgba(27,42,99,0.16) 62%, rgba(27,42,99,0.04) 100%);
    z-index: 0;
    pointer-events: none;
}

.adani-hero-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    border-radius: 22px !important;
    padding: 2.25rem 2rem;
    background: rgba(255,255,255,0.93);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(20,10,40,0.45), 0 4px 16px rgba(20,10,40,0.20);
    border: 1px solid rgba(255,255,255,0.35);
}

.adani-hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.adani-hero-logo img {
    max-width: 190px;
    height: auto;
}

.adani-hero-tag {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5c2d82;
    margin: -6px 0 20px;
}

@media (max-width: 900px) {
    .adani-hero-page {
        justify-content: center;
        padding: 1.5rem 1rem;
    }

    .adani-hero-card {
        max-width: 440px;
    }
}

@media (max-width: 480px) {
    .adani-hero-card {
        padding: 1.75rem 1.25rem;
        border-radius: 18px !important;
    }

    .adani-hero-logo img {
        max-width: 150px;
    }
}

/* ════════════════════════════════════════
   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, #142150 0%, #5c2d82 55%, #a81e6f 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 #efe3f5;
    border-radius: 12px !important;
    margin-bottom: 16px;
    overflow: hidden;
    -webkit-box-shadow: 0 1px 10px rgba(27,42,99,0.06);
    box-shadow: 0 1px 10px rgba(27,42,99,0.06);
}
.ep-student-bar {
    background: #f9f6fc;
    border-bottom: 1px solid #f0e6f7;
    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: #5c2d82;
    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 #f7f2fa;
    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 #efe3f5;
    border-radius: 14px !important;
    margin-bottom: 20px;
    overflow: hidden;
    -webkit-box-shadow: 0 3px 22px rgba(27,42,99,0.09);
    box-shadow: 0 3px 22px rgba(27,42,99,0.09);
}
.ep-card-header {
    background: -webkit-gradient(linear, left top, right top, from(#f9f6fc), to(#f5eefa));
    background: linear-gradient(90deg, #f9f6fc, #f5eefa);
    border-bottom: 1.5px solid #ebdcf2;
    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: #1b2a63;
}
.ep-card-header .fa { color: #5c2d82; 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: #f8f3fb;
    border-bottom: 1.5px solid #f0e6f7;
}
.ep-table thead td:last-child { text-align: right; }
.ep-table tbody td {
    padding: 16px 22px;
    border-bottom: 1px solid #f7f2fa;
    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: #5c2d82; 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: #ddceec; 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: #1b2a63; }

/* ── Total bar ── */
.ep-total {
    background: -webkit-gradient(linear, left top, right top, from(#f5eefa), to(#efe3f5));
    background: linear-gradient(90deg, #f5eefa, #efe3f5);
    border-top: 2px solid #dccdec;
    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: #1b2a63;
    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 #f5f0fa; }
.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, #142150 0%, #5c2d82 55%, #a81e6f 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(27,42,99,0.32);
    box-shadow: 0 5px 18px rgba(27,42,99,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, #a81e6f 0%, #24357a 100%);
    -webkit-box-shadow: 0 5px 18px rgba(168,30,111,0.30);
    box-shadow: 0 5px 18px rgba(168,30,111,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 #f7f2fa; 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(27,42,99,0.07); box-shadow: 0 2px 16px rgba(27,42,99,0.07); }
.edb-readm-header { background: linear-gradient(90deg, #1b2a63, #a81e6f); 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: #5c2d82; -webkit-box-shadow: 0 0 0 3px rgba(92,45,130,0.12); box-shadow: 0 0 0 3px rgba(92,45,130,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, #1b2a63, #a81e6f); 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(27,42,99, 0.12);
    box-shadow: 0 -4px 20px rgba(27,42,99, 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: #1a1a2e;
}

.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, #1b2a63, #a81e6f);
    -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(27,42,99, 0.12);
    box-shadow: 0 4px 20px rgba(27,42,99, 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, #1b2a63, #a81e6f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(27,42,99,0.28);
    flex-shrink: 0;
}

.edb-brand-name {
    font-family: 'AdaniRegular', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    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(27,42,99,0.08);
    color: #1b2a63 !important;
}

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

.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: #f3e8fa;
    font-size: 12px;
    font-weight: 600;
    color: #1b2a63 !important;
    cursor: default;
}

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

.edb-nav .edb-user-pill:hover {
    background: #f3e8fa;
    color: #1b2a63 !important;
}

.edb-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(27,42,99,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: #5c2d82;
    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(27,42,99,0.12);
        box-shadow: 0 8px 24px rgba(27,42,99,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: #f7f2fa;
}

.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 #f3e8fa;
}

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

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

.edb-dash-count {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1b2a63;
    background: #f3e8fa;
    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(27,42,99,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(27,42,99,0.18);
    transform: translateY(-2px);
}

.edb-enq-card.is-existing {
    box-shadow: 0 2px 16px rgba(168,30,111,0.18), 0 0 0 2px #a81e6f;
}

/* ── Card header ── */
.edb-enq-card-head {
    background: linear-gradient(135deg, #1b2a63, #5c2d82);
    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: 'AdaniRegular', 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: #f3e8fa;
    color: #5c2d82;
}

.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 #f5f0fa;
}

.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: #5c2d82 !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: #1b2a63 !important;
    color: #fff !important;
}

/* ── New Admission / Re-Admission tile ── */
.edb-enq-add-tile {
    width: 220px;
    min-height: 240px;
    border-radius: 18px !important;
    background: #fff;
    border: 2px dashed #e6d9ee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 26px 18px;
    text-decoration: none !important;
    color: #1a1a2e !important;
    box-shadow: 0 2px 14px rgba(27,42,99,0.06);
    transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s, border-color 0.2s, border-style 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Soft corner bubble, brightens on hover */
.edb-enq-add-tile::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(92,45,130,0.10) 0%, transparent 70%);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
}

.edb-enq-add-tile:hover {
    transform: translateY(-5px);
    border-style: solid;
    border-color: #5c2d82;
    box-shadow: 0 16px 34px rgba(27,42,99,0.18);
}

.edb-enq-add-tile:hover::before {
    transform: scale(1.3);
}

/* Icon badge — the <i> itself becomes a circular badge */
.edb-enq-add-tile i {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    font-size: 1.7rem;
    transition: transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.25s;
}

.edb-enq-add-tile:hover i {
    transform: scale(1.08) rotate(-4deg);
}

.edb-enq-add-tile.tile-external i {
    background: linear-gradient(135deg, #5c2d82 0%, #1b2a63 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(27,42,99,0.32);
}

.edb-enq-add-tile.tile-existing i {
    background: #fff;
    color: #5c2d82;
    border: 2.5px solid #a81e6f;
    box-shadow: 0 6px 16px rgba(27,42,99,0.12);
}

.edb-enq-add-tile span {
    position: relative;
    z-index: 1;
    font-family: 'AdaniRegular', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    line-height: 1.4;
}

/* Small helper caption injected under the title — pure CSS, no markup change */
.edb-enq-add-tile::after {
    content: 'Get started';
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: .02em;
}

.edb-enq-add-tile.tile-existing::after {
    content: 'Continue enrollment';
}

.edb-enq-add-tile:hover::after {
    color: #5c2d82;
}

/* ── 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: #f7f2fa;
    min-height: calc(100vh - 62px - 56px);
}

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

.edb-form-card-head {
    background: linear-gradient(135deg, #1b2a63 0%, #5c2d82 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: 'AdaniRegular', 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: 'AdaniRegular', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #1b2a63;
    margin: 0 0 14px;
    padding-bottom: 7px;
    border-bottom: 2px solid #f3e8fa;
}

.edb-form-section-title .edb-sec-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #1b2a63;
    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(27,42,99,0.12);
    border-radius: 14px !important;
    margin: 0 0 18px !important;
    list-style: none;
    box-shadow: 0 2px 12px rgba(27,42,99,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(27,42,99,0.06);
    color: #1b2a63 !important;
    text-decoration: none;
}

.edb-tab-bar > li.active {
    border-radius: 10px !important;
    background: linear-gradient(90deg, #1b2a63, #5c2d82);
    box-shadow: 0 3px 10px rgba(27,42,99,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(27,42,99,.09);
    padding: 20px;
}

/* NOTE: a global unscoped .tab-content > .tab-pane rule used to live here.
   Removed — it also matched OnlineStudentEnquiry_ParentEdit.cshtml's own
   Dad/Mom/Guardian sub-tabs (which reuse .tab-content), force-hiding them
   whenever their parent tab loaded. The fix now lives scoped to
   .edb-main-tabs-wrap directly in OnlineStudentEnquiry_Edit.cshtml instead. */

.edb-form-student-header {
    background: linear-gradient(135deg, #1b2a63 0%, #a81e6f 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: 'AdaniRegular', 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, #1b2a63, #5c2d82);
    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-*
   ════════════════════════════════════════ */
/* Same background as .edb-enq-page below it (identical color/gradient values, no
   extra decoration) AND flex:1 so its own box — not just its content — fills the
   remaining page height. That keeps the gradient going all the way to the footer
   instead of a plain-white gap showing through once the shell's content ends. */
.edb-sel-outer {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Quick Enquiry hero backdrop — same technique as the .adani-hero-page login screen:
   the school photo pinned behind the whole flow (background-attachment:fixed so it
   doesn't restart/seam at the boundary between the selection step and the enquiry form
   below it), with a brand-tinted scrim for legibility and the glass/translucent cards
   (.edb-sel-shell, .edb-enq-section) floating on top. Applied identically to .edb-sel-page
   and to .edb-enq-page-quick (NOT plain .edb-enq-page, which other non-Quick enquiry
   views also use and must stay on the plain gradient) so the two read as one page. ── */
.edb-sel-page,
.edb-enq-page.edb-enq-page-quick {
    background-color: #f7f2fa;
    background-image:
        linear-gradient(180deg, rgba(247,242,250,0.90) 0%, rgba(247,242,250,0.85) 45%, rgba(247,242,250,0.78) 100%),
        radial-gradient(ellipse at 10% 10%, rgba(92,45,130,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 90%, rgba(168,30,111,0.10) 0%, transparent 50%),
        url('/Content/SchoolWiseContent/ForADANI/Enquiry/adani-school-banner.jpg');
    background-size: auto, auto, auto, cover;
    background-position: center, center, center, center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.edb-sel-page {
    padding: 1.5rem 1rem 0;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
}

/* min-height only while the quick-enquiry form below is still hidden — .edb-sel-outer's
   flex:1 alone doesn't stretch it (_NullLayout's body isn't a sized flex container), so
   without this the backdrop photo only covered the short selection card's own height.
   Forcing it unconditionally instead pushed the revealed quick-enquiry form a whole
   viewport-height down the page, so JS (syncSelPageHeight in the selection view) removes
   this class the moment the form is shown, and re-adds it if the form is hidden again. */
.edb-sel-page.edb-sel-page-fill {
    min-height: 100vh;
}

@media (max-width: 767px) {
    /* background-attachment:fixed is unreliable/jittery on mobile browsers */
    .edb-sel-page,
    .edb-enq-page.edb-enq-page-quick {
        background-attachment: scroll;
    }
}

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

.edb-sel-left {
    width: 38%;
    flex-shrink: 0;
    background: linear-gradient(155deg, #1b2a63 0%, #5c2d82 50%, #a81e6f 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: 'AdaniRegular', 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, #1b2a63, #5c2d82);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}

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

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

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

/* ── Quick Enquiry: School/Year/Class side by side.
   Grid (not flex) so every column is forced to the same width — nothing
   can grow taller/wider than its neighbours just because its own content
   (e.g. the Year select's longer option text) asks for more room. ── */
.edb-sel-fields-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
    margin-bottom: 4px;
}

.edb-sel-fields-row .edb-sel-field {
    min-width: 0;
    margin-bottom: 4px;
}

/* Fewer than 3 fields rendered yet (before Year/Class appear) — size columns
   to how many actually exist instead of stretching 1 field across the row. */
.edb-sel-fields-row:has(.edb-sel-field:nth-child(1):last-child) { grid-template-columns: 1fr; }
.edb-sel-fields-row:has(.edb-sel-field:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 520px) {
    .edb-sel-fields-row,
    .edb-sel-fields-row:has(.edb-sel-field:nth-child(1):last-child),
    .edb-sel-fields-row:has(.edb-sel-field:nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }
}

.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-step {
    padding-left: 14px;
    border-left: 2px solid rgba(92,45,130,0.15);
    animation: edb-sel-step-in .25s ease;
}

.edb-sel-step label {
    display: flex;
    align-items: center;
    gap: 7px;
}

.edb-sel-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #1b2a63, #5c2d82);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    flex-shrink: 0;
}

@keyframes edb-sel-step-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.edb-sel-right .form-control,
.edb-sel-right .form__input,
.edb-sel-shell .form-control,
.edb-sel-shell .form__input {
    width: 100% !important;
    height: 44px !important;
    padding: 8px 12px 8px 40px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13.5px !important;
    color: #1a1a2e !important;
    background-color: rgba(250,246,255,0.9) !important;
    border: 1.5px solid rgba(92,45,130,0.2) !important;
    border-radius: 11px !important;
    outline: none !important;
    transition: border-color .2s, box-shadow .2s, background-color .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='%235c2d82' 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,
.edb-sel-shell .form-control:focus,
.edb-sel-shell .form__input:focus {
    border-color: #5c2d82 !important;
    box-shadow: 0 0 0 3px rgba(92,45,130,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, #1b2a63, #a81e6f);
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(27,42,99,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(27,42,99,0.28); }
    50%       { box-shadow: 0 4px 22px rgba(27,42,99,0.50); }
}

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

.edb-sel-closed-banner strong { color: #1a1a2e; }
.edb-sel-closed-banner a { color: #5c2d82; 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; }
}

/* ── Quick Enquiry selection shell — same card treatment as .edb-enq-section below it,
   so this reads as the form's first section rather than a separate hero page. ── */
.edb-sel-shell {
    width: 80%;
    /*max-width: 720px;*/
    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(27,42,99,0.07);
    padding: 1.25rem 1.5rem 1.5rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.edb-sel-shell:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(27,42,99,0.16);
    border-color: rgba(92,45,130,0.35);
}

.edb-sel-field .edb-sel-input-wrap {
    transition: box-shadow .2s ease, transform .2s ease;
    border-radius: 10px;
}

.edb-sel-field .edb-sel-input-wrap:hover {
    box-shadow: 0 6px 16px rgba(92,45,130,0.14);
    transform: translateY(-1px);
}

/* ── Keep the Quick Enquiry insert form the same width/centering as the selection
   shell above it, so the two read as one continuous page instead of a narrow card
   sitting above a full-bleed form. Scoped to .edb-enq-page-quick only — .edb-enq-section
   is shared by several other (non-Quick) enquiry views that should stay full width. ── */
/* Quick Enquiry: 2 section-cards per row instead of one long single-column stack.
   The form itself becomes the grid container (its hidden inputs are display:none by
   default so they don't consume a grid cell); the 4 numbered sections pair up 1-2 / 3-4
   automatically, while the captcha section, the Apply button row and the OTP row are
   each forced to span both columns via .edb-enq-section-wide / their own selectors. */
.edb-enq-page-quick form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.edb-enq-page-quick .edb-enq-section {
    width: auto;
    margin: 0;
}

.edb-enq-page-quick .edb-enq-section-wide,
.edb-enq-page-quick .edb-enq-action-row,
.edb-enq-page-quick #jsOTPDiv {
    grid-column: 1 / -1;
    width: auto;
    margin: 0;
}

@media (max-width: 900px) {
    .edb-enq-page-quick form {
        grid-template-columns: 1fr;
        width: 95%;
    }
}


.edb-sel-shell-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.edb-sel-shell-header .edb-sel-logo-wrap {
    width: 40px;
    height: 40px;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #1b2a63, #5c2d82);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.edb-sel-shell-header .edb-sel-logo-wrap img {
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}

.edb-sel-shell-title {
    font-family: 'AdaniRegular', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
}

.edb-sel-shell-sub {
    font-size: 11px;
    font-weight: 700;
    color: #5c2d82;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ── Progress stepper (School → Year → Class) ── */
.edb-sel-progress {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.edb-sel-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    width: 78px;
}

.edb-sel-progress-circle {
    width: 24px;
    height: 24px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    background: #efe0f5;
    color: #9d7cb8;
    transition: background .2s, color .2s, box-shadow .2s;
}

.edb-sel-progress-label {
    font-size: 10.5px;
    font-weight: 600;
    color: #9ca3af;
    text-align: center;
    letter-spacing: .02em;
}

.edb-sel-progress-step.is-active .edb-sel-progress-circle {
    background: linear-gradient(135deg, #1b2a63, #5c2d82);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(92,45,130,0.14);
}

.edb-sel-progress-step.is-active .edb-sel-progress-label {
    color: #1a1a2e;
}

.edb-sel-progress-step.is-complete .edb-sel-progress-circle {
    background: #5c2d82;
    color: #fff;
}

.edb-sel-progress-step.is-complete .edb-sel-progress-label {
    color: #5c2d82;
}

.edb-sel-progress-line {
    flex: 1;
    height: 2px;
    background: #ece0f5;
    margin-top: 12px;
}

.edb-sel-progress-line.is-complete {
    background: #5c2d82;
}

@media (max-width: 400px) {
    .edb-sel-shell { padding: 1.1rem 1.1rem 1.35rem; }
    .edb-sel-progress-step { width: 64px; }
    .edb-sel-progress-label { font-size: 9.5px; }
}

.edb-sel-shell {
    position: relative;
    z-index: 1;
    animation: edb-sel-shell-in .5s cubic-bezier(.16,1,.3,1) both;
}

@keyframes edb-sel-shell-in {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.edb-sel-shell-header,
.edb-sel-progress {
    animation: edb-sel-fade-in .45s ease both;
}

.edb-sel-progress { animation-delay: .08s; }

@keyframes edb-sel-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; }
}

/* Each field slides/fades in — re-plays whenever the ajax reload swaps this whole shell,
   giving the Year/Class steps a "sliding into place" feel as they appear. */
.edb-sel-field {
    animation: edb-sel-fade-in .4s ease both;
}

.edb-sel-field:nth-of-type(1) { animation-delay: .12s; }
.edb-sel-field:nth-of-type(2) { animation-delay: .18s; }
.edb-sel-field:nth-of-type(3) { animation-delay: .24s; }

/* ── Icon-prefixed selects — echoes the mcl-input-wrap treatment used on the login page ── */
.edb-sel-field label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.edb-sel-field label i {
    color: #5c2d82;
    font-size: 11px;
    width: 12px;
    text-align: center;
}

.edb-sel-input-wrap {
    position: relative;
}

.edb-sel-input-wrap .edb-sel-input-ico {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    font-size: 15px;
    color: #5c2d82;
    opacity: .7;
    pointer-events: none;
    z-index: 1;
}

/* ── Progress stepper refinements — smooth fill + a small pop when a step completes ── */
.edb-sel-progress-line {
    transition: background-color .45s ease;
}

.edb-sel-progress-step.is-complete .edb-sel-progress-circle {
    animation: edb-sel-step-pop .35s cubic-bezier(.34,1.56,.64,1);
}

@keyframes edb-sel-step-pop {
    0%   { transform: scale(.75); }
    60%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ════════════════════════════════════════
   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: #f7f2fa;
    background-image: radial-gradient(ellipse at 10% 10%, rgba(92,45,130,0.10) 0%, transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(168,30,111,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: #5c2d82;
    background: rgba(92,45,130,0.1);
    border: 1px solid rgba(92,45,130,0.2);
    border-radius: 20px !important;
    padding: 4px 12px;
    margin-bottom: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.edb-enq-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.edb-enq-badge-row .edb-enq-badge { margin-bottom: 0; }

.edb-enq-badge-class {
    color: #fff;
    background: linear-gradient(135deg, #1b2a63, #5c2d82);
    border-color: transparent;
}

.edb-enq-page-title {
    font-family: 'AdaniRegular', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    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(92,45,130,0.05);
    border: 1.5px solid rgba(92,45,130,0.16);
    border-left: 4px solid #5c2d82;
    border-radius: 0 12px 12px 0 !important;
    padding: 12px 16px;
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
}

.edb-enq-note strong { color: #1a1a2e; }

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

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

.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(27,42,99,0.07);
    overflow: hidden;
    margin-bottom: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.edb-enq-section-body {
    flex: 1;
}

.edb-enq-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, rgba(92,45,130,0.08), rgba(168,30,111,0.04));
    border-bottom: 1px solid rgba(92,45,130,0.1);
    padding: 8px 16px;
}

.edb-enq-section-num {
    width: 28px;
    height: 28px;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #1b2a63, #5c2d82);
    color: #fff;
    font-family: 'AdaniRegular', 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: 'AdaniRegular', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: .05em;
    flex: 1;
}

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

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

/* 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: 'AdaniRegular', sans-serif;
    color: #5c2d82;
    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(92,45,130,.15) 0%, rgba(92,45,130,.04) 100%);
    margin: 10px 0 8px;
}

/* ════════════════════════════════════════
   DOCUMENT UPLOAD CARD (OnlineStudentEnquiry_DocumentEdit)
   ════════════════════════════════════════ */
.edb-doc-card {
    background: #fff;
    border: 1.5px solid rgba(92,45,130,0.12);
    border-radius: 12px !important;
    padding: 12px 14px;
    margin-bottom: 12px;
    transition: border-color .15s;
}
.edb-doc-card:hover { border-color: rgba(92,45,130,0.3); }
.edb-doc-card .lableremovepad {
    font-size: 12.5px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'DM Sans', sans-serif;
}
.edb-doc-card .more-info {
    color: #5c2d82 !important;
    cursor: help;
}

/* ════════════════════════════════════════
   ADDITIONAL INFO QUESTION ROW (OnlineStudentEnquiry_AddtionalInfoEdit)
   ════════════════════════════════════════ */
.edb-ai-row.row {
    background: #fff;
    border: 1.5px solid rgba(92,45,130,0.1);
    border-radius: 12px !important;
    margin: 0 0 12px !important;
    padding: 12px 8px 12px 0;
}
.edb-ai-row .label-warning {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #1b2a63, #5c2d82) !important;
    border: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}
.edb-ai-row .form-control,
.edb-ai-row label.form-control {
    color: #1a1a2e;
}
.edb-ai-row .well {
    background: #f8f3fb;
    border: 1px solid rgba(92,45,130,0.12);
    border-radius: 8px !important;
    box-shadow: none;
}
.edb-ai-row .checkboxes label { font-weight: 500; }
.edb-ai-remark {
    display: inline-block;
    background: rgba(92,45,130,0.06);
    border-left: 3px solid #5c2d82;
    border-radius: 0 8px 8px 0 !important;
    padding: 6px 10px;
    font-size: 12px;
    color: #1b2a63;
    margin-bottom: 8px;
}

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

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

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

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

.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: 8px;
    margin-bottom: 6px;
}

.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: #1a1a2e !important;
    /*background: rgba(250,246,255,0.9) !important;*/
    border: 1.5px solid rgba(92,45,130,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: 32px !important;
    padding: 5px 10px !important;
}

.edb-enq-section textarea.form-control {
    height: auto !important;
    min-height: 52px !important;
    padding: 6px 10px !important;
    resize: vertical !important;
}

.edb-enq-section select.form-control {
    height: 32px !important;
    padding: 5px 30px 5px 10px !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='%235c2d82' 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(250,246,255,0.9) !important;
}

.edb-enq-section .form-control:not([type="file"]):focus {
    border-color: #5c2d82 !important;
    box-shadow: 0 0 0 3px rgba(92,45,130,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-checkbox-sm {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
    margin: -2px 0 4px;
}

.edb-enq-checkbox-sm input[type="checkbox"] {
    accent-color: #5c2d82;
    width: 11px;
    height: 11px;
    margin: 0;
    cursor: pointer;
}

.edb-enq-fieldnote {
    display: block;
    font-size: 10.5px;
    color: #9ca3af;
    margin-top: 2px;
    line-height: 1.3;
}

.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(92,45,130,0.05);
    border: 1px solid rgba(92,45,130,0.12);
    border-radius: 10px !important;
    padding: 10px 14px;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
}

.edb-enq-action-note strong { color: #1a1a2e; }

.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, #1b2a63, #a81e6f);
    border: none;
    border-radius: 12px !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(27,42,99,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(27,42,99,0.30); }
    50%       { box-shadow: 0 4px 22px rgba(27,42,99,0.52); }
}

/* Hidden by default regardless of whether Bootstrap's own .modal{display:none}
   rule is active in this rendering context — only .in (added by modal('show')) reveals it. */
.edb-modal {
    display: none;
}
.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(27,42,99,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, #1b2a63, #a81e6f) !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: 'AdaniRegular', 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(92,45,130,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: 1030 !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, #1b2a63, #a81e6f);
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(27,42,99,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: 14px; }
    .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: #f7f2fa;
    background-image: radial-gradient(ellipse at 10% 10%, rgba(92,45,130,0.10) 0%, transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(168,30,111,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: #5c2d82;
    background: rgba(92,45,130,0.1);
    border: 1px solid rgba(92,45,130,0.2);
    border-radius: 20px !important;
    padding: 4px 14px;
    margin-bottom: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.enq-page-title {
    font-family: 'AdaniRegular', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    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(27,42,99,0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.enq-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, rgba(92,45,130,0.08), rgba(168,30,111,0.04));
    border-bottom: 1px solid rgba(92,45,130,0.1);
    padding: 13px 20px;
}

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

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

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

.enq-note {
    background: rgba(92,45,130,0.05);
    border: 1.5px solid rgba(92,45,130,0.15);
    border-left: 4px solid #5c2d82;
    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: #1a1a2e; }

.enq-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(92,45,130,0.04);
    border: 1.5px solid rgba(92,45,130,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: #5c2d82;
}

.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(92,45,130,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, #1b2a63, #a81e6f);
    box-shadow: 0 4px 14px rgba(27,42,99,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: #5c2d82;
    background: rgba(92,45,130,0.08);
    border: 1.5px solid rgba(92,45,130,0.2);
}

.enq-btn-secondary:hover { background: rgba(92,45,130,0.14); }

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

.enq-otp-section {
    background: rgba(92,45,130,0.04);
    border: 1px dashed rgba(92,45,130,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: #f9f6fc;
    background-image: radial-gradient(ellipse at 10% 10%, rgba(120,60,165, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(180,40,130, 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 #a81e6f;
}

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

.edb-icon-bg {
    width: 38px;
    height: 38px;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #1b2a63, #a81e6f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(27,42,99,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: #a81e6f;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #a81e6f;
    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, #1b2a63, #5c2d82);
    border-radius: 10px !important;
    border: none;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(27,42,99,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: 'AdaniRegular', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    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, #1b2a63, #a81e6f);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(27,42,99,0.22);
}

.edb-empty h3 {
    font-family: 'AdaniRegular', sans-serif;
    font-size: 18px;
    color: #1a1a2e;
    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(27,42,99,0.09);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}

.edb-card:hover {
    box-shadow: 0 6px 28px rgba(27,42,99,0.17);
    transform: translateY(-2px);
}

.edb-card.existing {
    box-shadow: 0 2px 16px rgba(168,30,111,0.18), 0 0 0 2px #a81e6f;
}

/* ── Card header ── */
.edb-card-header {
    background: linear-gradient(90deg, rgba(92,45,130,0.08), rgba(168,30,111,0.04));
    border-bottom: 1px solid rgba(92,45,130,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, #1b2a63, #5c2d82);
    color: #fff;
    font-family: 'AdaniRegular', 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(92,45,130,0.05) 0%, rgba(168,30,111,0.03) 100%);
    border-right: 1px solid rgba(92,45,130,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 #f3e8fa;
    background: #f7f2fa;
    flex-shrink: 0;
}

.edb-student-name {
    font-family: 'AdaniRegular', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    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: #f3e8fa; color: #5c2d82; }

/* 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: #5c2d82; 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: #1b2a63; color: #fff; }

.edb-hint {
    font-size: 11px;
    color: #6b7280;
    background: rgba(92,45,130,0.05);
    border-left: 3px solid rgba(92,45,130,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(92,45,130,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: 'AdaniRegular', 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, #a81e6f 0%, #1b2a63 100%);
    box-shadow: 0 2px 8px rgba(27,42,99,.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, #1a1a2e 0%, #1b2a63 100%);
    color: #fff;
    padding: 13px 20px;
    border-radius: 12px 12px 0 0 !important;
    font-family: 'AdaniRegular', 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: #5c2d82;
    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: 'AdaniRegular', sans-serif;
    background: transparent;
    border: 2px solid #1b2a63;
    color: #1b2a63;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background .15s, color .15s;
    line-height: 1;
}
.edb-prev-btn:hover,
.edb-prev-btn:focus {
    background: #1b2a63;
    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(33.333% - 12px);
    min-width: 0;
    max-width: calc(33.333% - 12px);
    background: #fff;
    border-radius: 14px !important;
    box-shadow: 0 2px 16px rgba(27,42,99,.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(92,45,130,.08);
    transition: box-shadow .2s, transform .15s;
    position: relative;
}
.edb-eq-card:hover {
    box-shadow: 0 6px 28px rgba(27,42,99,.16);
    transform: translateY(-2px);
}
.edb-eq-card.is-existing {
    border-left: 4px solid #a81e6f;
}

/* ── Dark navy header band ── */
.edb-eq-head {
    background: linear-gradient(135deg, #f5eefa 0%, #f2e5f8 100%);
    border-bottom: 1px solid rgba(92,45,130,.15);
    padding: 14px 16px 14px 16px;
    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, #1b2a63 0%, #5c2d82 100%);
    border-radius: 0 0 42px 0 !important;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    font-family: 'AdaniRegular', 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(27,42,99,.12);
    border: 1.5px solid rgba(27,42,99,.18);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edb-eq-initials {
    font-size: 16px;
    font-weight: 700;
    font-family: 'AdaniRegular', sans-serif;
    color: #1b2a63;
    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: 'AdaniRegular', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1a2e;
    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: 'AdaniRegular', sans-serif;
    letter-spacing: .2px;
    white-space: nowrap;
}
.edb-eq-badge-progress  { background: #fef3c7; color: #92400e; }
.edb-eq-badge-submitted { background: #ece0f5; color: #5c2d82; }
.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: #5c2d82;
    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: #f5eefa;
    color: #1b2a63;
    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(92,45,130,.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: 'AdaniRegular', 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: #ece0f5; color: #5c2d82; }
.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: #5c2d82; color: #fff; }
.edb-eq-btn-creds   { background: #f59e0b; color: #fff; }

/* Verify (e.g. internal sibling UID lookup) — sits inline next to a 32px
   .edb-enq-section input, so it's sized to match rather than guessed via
   margin-top offsets. */
.edb-eq-btn-verify {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    padding: 0 16px;
    flex-shrink: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1b2a63, #5c2d82);
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(27,42,99,0.25);
    transition: opacity .15s, transform .1s;
}
.edb-eq-btn-verify:hover,
.edb-eq-btn-verify:focus {
    opacity: .9;
    transform: translateY(-1px);
    color: #fff;
}

/* Size modifier for a page's primary CTA (e.g. Make Payment) */
.edb-eq-btn-lg {
    height: auto;
    padding: 12px 26px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(27,42,99,0.28);
}

/* "New Admission" / "Re-Admission" CTA tile — sits inline with .edb-eq-card
   siblings inside the same .edb-grid flex-wrap row. */
.edb-eq-add-card {
    flex: 0 0 calc(33.333% - 12px);
    min-width: 0;
    max-width: calc(33.333% - 12px);
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(92,45,130,0.03);
    border: 2px dashed rgba(92,45,130,0.28);
    border-radius: 14px !important;
    color: #1b2a63 !important;
    text-decoration: none !important;
    transition: background .15s, border-color .15s, transform .15s;
}
.edb-eq-add-card:hover {
    background: rgba(92,45,130,0.07);
    border-color: #5c2d82;
    color: #1b2a63 !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}
.edb-eq-collapse-btn {
    background: transparent;
    border: none;
    color: #5c2d82;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 9px;
    border-radius: 6px !important;
    transition: background .15s;
    flex-shrink: 0;
}
.edb-eq-collapse-btn:hover { background: rgba(92,45,130,0.1); }

.edb-eq-add-card .fa { font-size: 34px; }
.edb-eq-add-card span {
    font-family: 'AdaniRegular', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

@media (max-width: 640px) {
    .edb-grid { gap: 12px; }
    .edb-eq-card,
    .edb-eq-add-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: #1b2a63; font-size: 18px; }
.fcp-heading h2 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'AdaniRegular', 'DM Sans', sans-serif;
    margin: 0;
}
.fcp-card {
    background: #fff;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(27,42,99,.10);
    overflow: hidden;
    border: 1px solid rgba(92,45,130,.09);
    margin-bottom: 16px;
}
.fcp-card-head {
    background: linear-gradient(135deg, #f5eefa 0%, #f2e5f8 100%);
    border-bottom: 1px solid rgba(92,45,130,.15);
    padding: 13px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fcp-card-head i { color: #1b2a63; font-size: 13px; }
.fcp-card-head span {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'AdaniRegular', 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: #1b2a63;
    font-family: 'AdaniRegular', sans-serif;
    letter-spacing: .3px;
    white-space: nowrap;
}
.fcp-fee-amount .fcp-ast {
    font-size: 13px;
    font-weight: 600;
    color: #5c2d82;
    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, #1b2a63 0%, #5c2d82 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    font-family: 'AdaniRegular', sans-serif;
    border: none;
    border-radius: 12px !important;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 14px rgba(27,42,99,.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, #a81e6f 0%, #142150 100%); box-shadow: 0 4px 14px rgba(168,30,111,.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: #f9f6fc; 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: #1a1a2e; }

@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, #1b2a63 0%, #5c2d82 100%);
    border-radius: 12px !important;
    padding: 14px 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(27,42,99,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: 'AdaniRegular', 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(92,45,130,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: #1b2a63;
    background: transparent;
    border: 1.5px solid rgba(27,42,99,0.30) !important;
    border-radius: 9px !important;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.edb-btn-prev:hover {
    background: rgba(27,42,99,0.06);
    color: #1a1a2e;
}

.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, #1b2a63, #5c2d82);
    border: none;
    border-radius: 9px !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(27,42,99,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: 'AdaniRegular', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: #1a1a2e;
    background: rgba(168,30,111,0.07);
    border-left: 3px solid #a81e6f;
    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: #a81e6f; font-size: 13px; }

/* Redesigned photo upload widget (wraps the shared ET_ImageEditor partial — scoped to this page only) */
.edb-enq-photo-upload .imagefileupload {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px dashed rgba(92,45,130,0.28) !important;
    border-radius: 10px !important;
    padding: 8px 10px;
    background: rgba(92,45,130,0.03);
    transition: border-color .15s, background .15s;
}

.edb-enq-photo-upload .imagefileupload:hover {
    border-color: rgba(92,45,130,0.5) !important;
    background: rgba(92,45,130,0.05);
}

.edb-enq-photo-upload lable {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.edb-enq-photo-upload lable > span {
    font-family: 'DM Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: #1b2a63;
    white-space: nowrap;
}

.edb-enq-photo-upload input[type="file"] {
    font-size: 11px;
    color: #6b7280;
    min-width: 0;
    flex: 1;
}

.edb-enq-photo-upload #Error {
    display: block;
    font-size: 9.5px;
    font-weight: 400;
}

.edb-enq-photo-upload .Mythumbnail {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 8px rgba(92,45,130,0.25) !important;
    padding: 0 !important;
    margin: 0 !important;
}

.edb-enq-photo-upload .DeleteBtn {
    background: #5c2d82 !important;
    border-color: #fff !important;
    border-radius: 50% !important;
    width: 18px;
    height: 18px;
    padding: 0 !important;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    top: -4px !important;
    left: -4px !important;
}

/* ════════════════════════════════════════
   EDIT PAGE SHELL — enquiry-wrap + message
   ════════════════════════════════════════ */
.edb-enquiry-wrap {
    font-family: 'DM Sans', sans-serif;
    background: #f9f6fc;
    background-image: radial-gradient(ellipse at 10% 0%, rgba(27,42,99,0.10) 0%, transparent 45%), radial-gradient(ellipse at 90% 100%, rgba(168,30,111,0.08) 0%, transparent 45%);
    min-height: 100vh;
    padding: 1.25rem 1rem 2.5rem;
}

#showMessage {
    background: rgba(27,42,99,0.06);
    border-left: 4px solid #5c2d82;
    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(27,42,99,0.25); }
    50%       { box-shadow: 0 4px 22px rgba(27,42,99,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: #f9f6fc;
    border: 2px dashed rgba(27,42,99,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: #5c2d82;
    background: #f0e6f7;
}

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

.edb-photo-area-label .fa {
    color: #a81e6f;
    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: #5c2d82;
    color: #1b2a63;
    text-decoration: none;
}
.edb-ref-rail-item.active {
    border-left-color: #a81e6f;
    color: #1b2a63;
}
.edb-ref-rail-mark {
    font-size: 10.5px;
    font-weight: 600;
    color: #a81e6f;
    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: #a81e6f;
    letter-spacing: 0.06em;
    font-family: monospace;
    flex-shrink: 0;
}
.edb-ref-h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #1b2a63;
    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(27,42,99,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: #f9f6fc;
    border-right: 1px solid #dee3ee;
}
.edb-ref-field-num span {
    width: 22px;
    height: 22px;
    border-radius: 5px !important;
    background: #1b2a63;
    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: #1b2a63;
    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: #f9f6fc;
    border: 1px solid rgba(27,42,99,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, #1b2a63, #5c2d82);
    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, #1b2a63, #5c2d82);
    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(27,42,99,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(27,42,99,0.14), 0 1px 5px rgba(0,0,0,0.07);
    margin-bottom: 10px;
    border-left: 4px solid #5c2d82;
    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: #5c2d82; }

.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: #5c2d82; }

.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: #5c2d82; }
@keyframes edbToastBar { from { width: 100%; } to { width: 0%; } }

/* Uploaded file row */
.edb-photo-area .file-row {
    background: rgba(27,42,99,0.04);
    border-radius: 8px !important;
    padding: 8px 10px;
    border: 1px solid rgba(27,42,99,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: #5c2d82;
    border: 1px solid #5c2d82;
    padding: 6px 12px;
    border-radius: 20px !important;
    cursor: pointer;
    color: white;
}
/* Firefox */
.fileinput-button input[type="file"]::file-selector-button {
    background: #5c2d82;
    border: 1px solid #5c2d82;
    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: #f5f0fa !important;
    border: 1px solid #f5f0fa !important;
}

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

.ui-timepicker-table.ui-widget-content {
    border: 1px solid #ddd !important;
    background: #f5f0fa !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: #a81e6f;
}

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

.edb-group-divider {
    background: rgba(27,42,99,0.06);
    border-left: 4px solid #1b2a63;
    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: #a81e6f;
    font-size: 14px;
}

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

.edb-q-row {
    background: #f9f6fc;
    border: 1px solid #f0e6f7;
    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, #1b2a63, #5c2d82);
    border-radius: 6px !important;
    padding: 7px 14px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(27,42,99,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, #1a1a2e, #5c2d82);
    animation: none;
    box-shadow: 0 4px 14px rgba(27,42,99,0.35);
}

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

@keyframes edb-undertaking-pulse {
    0%, 100% {
        box-shadow: 0 1px 4px rgba(27,42,99,0.18), 0 0 0 0 rgba(92,45,130,0.55);
    }
    55% {
        box-shadow: 0 4px 14px rgba(27,42,99,0.28), 0 0 0 8px rgba(92,45,130,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: #f9f6fc;
    border: 1.5px solid rgba(27,42,99,0.14);
    border-radius: 7px !important;
    padding: 8px 12px;
    word-wrap: break-word;
}

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

.edb-checkbox-input {
    accent-color: #1b2a63;
    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, #1b2a63, #5c2d82);
    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;
}

/* ════════════════════════════════════════
   FORGOT PASSWORD PAGE — mcfp-* additions
   Re-uses mcl-* card shell; only deltas here
   ════════════════════════════════════════ */

/* "or" divider between Mobile and Email fields */
.mcfp-or-divider {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin: 4px 0 16px;
    color: #b0b0b0;
    font-size: 12px;
    font-weight: 500;
}

.mcfp-or-divider::before,
.mcfp-or-divider::after {
    content: '';
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 1px;
    background: #e6d9ee;
}

/* Country-code select on the forgot-password page:
   narrower than the full-width mcl-input-wrap input,
   matches the height of the adjoining text box */
.mcfp-cc-select {
    width: 82px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: 42px !important;
    padding: 0 28px 0 8px !important;
    font-size: 13px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: #1a1a2e !important;
    background-color: rgba(250,246,255,0.9) !important;
    border: 1.5px solid #e6d9ee !important;
    border-radius: 10px !important;
    outline: none !important;
    -webkit-transition: border-color .2s, -webkit-box-shadow .2s;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%235c2d82' 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 8px center !important;
    background-size: 12px !important;
    cursor: pointer;
}

.mcfp-cc-select:focus {
    border-color: #5c2d82 !important;
    -webkit-box-shadow: 0 0 0 3px rgba(92,45,130,0.12) !important;
    box-shadow: 0 0 0 3px rgba(92,45,130,0.12) !important;
}

/* ── 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='%231b2a63' 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;
}
