/* ==========================================================================
   Exaviqo — application palette: navy + blue + cyan
   Loaded after Bootstrap on every page so Bootstrap's blue becomes teal.
   ========================================================================== */
:root {
    --md-deep: #061f43;        /* sidebar, headings, dark panels (was navy) */
    --md-deeper: #051631;
    --md-panel: #0b315a;
    --md-teal: #087eae;        /* primary buttons, links */
    --md-teal-dark: #07638d;
    --md-teal-soft: #e2f5ff;
    --md-peach: #d9f2ff;       /* accent (was yellow) */
    --md-peach-hover: #b8e8ff;
    --md-peach-soft: #eaf7ff;
    --md-bg: #f3f8fd;

    --bs-primary: #087eae;
    --bs-primary-rgb: 20, 119, 111;
    --bs-primary-bg-subtle: #e2f5ff;
    --bs-primary-border-subtle: #b5e5f9;
    --bs-primary-text-emphasis: #073c69;
    --bs-link-color: #087eae;
    --bs-link-color-rgb: 20, 119, 111;
    --bs-link-hover-color: #07638d;
    --bs-link-hover-color-rgb: 15, 95, 89;
    --bs-info: #29b9cd;
    --bs-info-rgb: 95, 179, 169;
    --bs-info-bg-subtle: #e4f7fc;
    --bs-info-border-subtle: #c0e7f3;
    --bs-info-text-emphasis: #07547b;
    --bs-warning: #72c9ec;
    --bs-warning-rgb: 244, 167, 127;
    --bs-warning-bg-subtle: #e2f3ff;
    --bs-warning-border-subtle: #b9e5ff;
    --bs-warning-text-emphasis: #085078;
    --bs-focus-ring-color: rgba(8, 126, 174, .25);
}

.btn-primary {
    --bs-btn-bg: #087eae; --bs-btn-border-color: #087eae;
    --bs-btn-hover-bg: #07638d; --bs-btn-hover-border-color: #07638d;
    --bs-btn-active-bg: #064d78; --bs-btn-active-border-color: #064d78;
    --bs-btn-disabled-bg: #087eae; --bs-btn-disabled-border-color: #087eae;
    --bs-btn-focus-shadow-rgb: 20, 119, 111;
}
.btn-outline-primary {
    --bs-btn-color: #087eae; --bs-btn-border-color: #087eae;
    --bs-btn-hover-bg: #087eae; --bs-btn-hover-border-color: #087eae;
    --bs-btn-active-bg: #07638d; --bs-btn-active-border-color: #07638d;
    --bs-btn-disabled-color: #087eae; --bs-btn-disabled-border-color: #087eae;
    --bs-btn-focus-shadow-rgb: 20, 119, 111;
}
.btn-warning {
    --bs-btn-bg: #d9f2ff; --bs-btn-border-color: #d9f2ff; --bs-btn-color: #061f43;
    --bs-btn-hover-bg: #b8e8ff; --bs-btn-hover-border-color: #b8e8ff; --bs-btn-hover-color: #061f43;
    --bs-btn-active-bg: #94dcff; --bs-btn-active-border-color: #94dcff; --bs-btn-active-color: #061f43;
    --bs-btn-disabled-bg: #d9f2ff; --bs-btn-disabled-border-color: #d9f2ff;
}
.nav-pills { --bs-nav-pills-link-active-bg: #087eae; }
.nav-link { color: #087eae; }
.form-control:focus, .form-select:focus { border-color: #79cbea; box-shadow: 0 0 0 .25rem rgba(8, 126, 174, .18); }
.form-check-input:checked { background-color: #087eae; border-color: #087eae; }
.form-check-input:focus { border-color: #79cbea; box-shadow: 0 0 0 .25rem rgba(8, 126, 174, .18); }
.dropdown-menu { --bs-dropdown-link-active-bg: #087eae; }
.bg-warning, .badge.bg-warning { color: #061f43 !important; }
body { background-color: var(--md-bg); }

/* ---------- Sign-in / register / verify pages (layout from the mockup) ---------- */
.auth-page { min-height: 100vh; margin: 0; font-family: 'Inter', sans-serif; background: var(--md-deeper); overflow: hidden; }
.auth-page .page-container { position: relative; display: flex; width: 100vw; height: 100vh; }
.auth-page .bg-left { width: 50%; height: 100%; background: linear-gradient(160deg, #061f43 0%, #051631 100%); }
.auth-page .bg-right { width: 50%; height: 100%; position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(86, 193, 243, .55) 0, rgba(86, 193, 243, 0) 34%),
        radial-gradient(circle at 20% 85%, rgba(31, 190, 196, .55) 0, rgba(31, 190, 196, 0) 38%),
        linear-gradient(135deg, #078bc0 0%, #087eae 45%, #a3e6f1 100%); }
.auth-page .bg-right::before { content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.auth-page .card-wrapper { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 92%; max-width: 1000px;
    height: 82vh; max-height: 640px; display: flex; border-radius: 32px; z-index: 10; overflow: hidden;
    box-shadow: 0 30px 60px rgba(4, 30, 33, .55); }
.auth-page .card-left { width: 50%; height: 100%; background: var(--md-deep); display: flex; flex-direction: column;
    justify-content: center; padding: 2.6rem 3.4rem; overflow-y: auto; color: #fff; }
.auth-page .brand-top { display: flex; align-items: center; gap: 12px; margin-bottom: 1.8rem; }
.auth-page .brand-top img { width: 40px; height: 45px; }
.auth-page .brand-text { font-family: 'Gantari', sans-serif; font-weight: 700; font-size: .82rem; color: var(--md-peach); line-height: 1.15; letter-spacing: .5px; }
.auth-page .auth-title { font-family: 'Gantari', sans-serif; font-weight: 700; font-size: 2.1rem; margin-bottom: .15rem; }
.auth-page .auth-sub { font-size: .85rem; color: rgba(255, 255, 255, .75); margin-bottom: 1.8rem; }
/* underline inputs like the mockup */
.auth-page .form-label-custom { font-size: .72rem; color: rgba(255, 255, 255, .6); margin-bottom: 0; }
.auth-page .form-control-custom, .auth-page .form-select-custom { background: transparent; border: 0; border-bottom: 1.5px solid rgba(255, 255, 255, .45);
    border-radius: 0; color: #fff; padding: .45rem 0; margin-bottom: 1.1rem; font-size: .92rem; box-shadow: none; }
.auth-page .form-control-custom::placeholder { color: rgba(255, 255, 255, .45); }
.auth-page .form-control-custom:focus, .auth-page .form-select-custom:focus { background: transparent; border-bottom-color: var(--md-peach); color: #fff; outline: none; box-shadow: none; }
.auth-page .form-select-custom option { background-color: var(--md-deep); color: #fff; }
.auth-page .form-check-input { background-color: transparent; border-color: rgba(255, 255, 255, .6); }
.auth-page .form-check-input:checked { background-color: var(--md-peach); border-color: var(--md-peach); }
.auth-page .form-check-label { font-size: .78rem; color: rgba(255, 255, 255, .85); }
.auth-page .btn-yellow, .auth-page .btn-peach { background: var(--md-peach); color: var(--md-deep) !important; font-weight: 700; border: 0;
    border-radius: 14px; padding: .75rem; width: 100%; transition: .2s; margin-top: .4rem; }
.auth-page .btn-yellow:hover, .auth-page .btn-peach:hover { background: var(--md-peach-hover); }
.auth-page .auth-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 2.2rem; font-size: .82rem; color: rgba(255, 255, 255, .7); }
.auth-page .btn-switch { background: rgba(255, 255, 255, .22); color: #fff; border-radius: 10px; padding: .4rem 1.2rem; font-size: .82rem; text-decoration: none; transition: .2s; }
.auth-page .btn-switch:hover { background: rgba(255, 255, 255, .34); color: #fff; }
/* right Exaviqo branding panel with soft blob shapes */
.auth-page .card-right { position: relative; width: 50%; height: 100%; background: #edf8ff; display: flex; align-items: center;
    justify-content: center; text-align: left; padding: 3rem; overflow: hidden; }
.auth-page .card-right::before, .auth-page .card-right::after { content: ""; position: absolute; border-radius: 47% 53% 61% 39% / 45% 51% 49% 55%;
    background: rgba(255, 255, 255, .75); filter: blur(2px); }
.auth-page .card-right::before { width: 260px; height: 230px; top: -40px; left: -50px; transform: rotate(-18deg); }
.auth-page .card-right::after { width: 320px; height: 300px; bottom: -110px; right: -90px; background: rgba(86, 193, 243, .35); }
.auth-page .welcome { position: relative; z-index: 1; }
.auth-page .welcome-small { font-family: 'Gantari', sans-serif; font-weight: 700; font-size: 2.1rem; color: var(--md-deep); line-height: 1; margin-bottom: .2rem; }
.auth-page .welcome-big { font-family: 'Gantari', sans-serif; font-weight: 800; font-size: 3.9rem; color: var(--md-deep); line-height: 1; letter-spacing: -1px; margin-bottom: 1.4rem; }
.auth-page .badge-pill { display: inline-block; background: var(--md-peach); color: var(--md-deep); font-weight: 700; padding: .75rem 1.8rem; border-radius: 14px; font-size: .95rem; box-shadow: 0 6px 16px rgba(86, 193, 243, .35); }
.auth-page .auth-alert { padding: .5rem .75rem; border-radius: 10px; font-size: .82rem; margin-bottom: 1rem; color: #fff; }
.auth-page .auth-alert.danger { background: rgba(220, 53, 69, .85); }
.auth-page .auth-alert.success { background: rgba(8, 126, 174, .9); }
.auth-page .auth-alert.warning { background: rgba(86, 193, 243, .9); color: var(--md-deep); }
@media (max-width: 860px) {
    .auth-page { overflow: auto; }
    .auth-page .bg-left, .auth-page .bg-right { display: none; }
    .auth-page .page-container { height: auto; min-height: 100vh; background: var(--md-deep); }
    .auth-page .card-wrapper { position: relative; top: auto; left: auto; transform: none; margin: 1.5rem auto; flex-direction: column-reverse; height: auto; max-height: none; }
    .auth-page .card-left, .auth-page .card-right { width: 100%; height: auto; }
    .auth-page .card-right { padding: 2rem; }
    .auth-page .welcome-big { font-size: 2.8rem; }
}

/* explicit colours so headings/buttons never fall back to a theme's blue */
.btn-primary, .btn-outline-primary, .btn-warning { background-image: none; }
.auth-page .auth-title { color: #fff; }
.hero-banner h1, .hero-banner h2 { color: #fff; }
.main-title, h1, h2, h3, h4, h5, h6 { color: inherit; }
.modal-title { color: var(--md-deep); }

/* Exaviqo: branding is displayed exclusively in the right-side auth panel. */
.auth-page .welcome { width: 100%; display: flex; justify-content: center; align-items: center; }
.auth-page .exaviqo-auth-logo { width: 100%; max-width: 430px; height: auto; display: block; object-fit: contain; }
.sidebar-brand { display: flex; justify-content: center; align-items: center; padding: 12px !important; margin-bottom: 2rem; background: #fff; border-radius: 14px; }
.sidebar-brand .exaviqo-sidebar-logo { display: block; width: 100%; max-width: 210px; height: auto; max-height: 120px; object-fit: contain; }

/* Exaviqo transparent assets - October 2026 branding revision */
.auth-page .exaviqo-auth-brand { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; width:100%; }
.auth-page .exaviqo-auth-icon { display:block; width:clamp(110px, 35%, 190px); height:auto; object-fit:contain; }
.auth-page .exaviqo-auth-wordmark { display:block; width:94%; max-width:345px; height:auto; object-fit:contain; }
.sidebar-brand { background:#d9f2ff; border-radius:14px; padding:14px 12px !important; }
.sidebar-brand .exaviqo-sidebar-logo { width:100%; max-width:210px; max-height:80px; object-fit:contain; }

/* Compact Exaviqo icon + wordmark, matching the original university-brand layout. */
.sidebar .sidebar-brand {
  display:flex; flex-direction:row; justify-content:flex-start; align-items:center;
  gap:9px; padding:9px 11px !important; min-height:61px; margin-bottom:1.7rem;
  background:#d9f2ff; border-radius:12px; box-sizing:border-box;
}
.sidebar .sidebar-brand .exaviqo-sidebar-icon {
  width:38px; height:42px; min-width:38px; max-width:38px; object-fit:contain; display:block; flex:0 0 38px;
}
.sidebar .sidebar-brand .exaviqo-sidebar-logo {
  display:block; width:calc(100% - 47px); max-width:142px; height:auto; max-height:36px; object-fit:contain; flex:0 1 auto;
}

/* Sidebar branding: transparent dark wordmark requires pale tile; retain horizontal icon and wordmark. */
.sidebar .sidebar-brand { background: transparent !important; border-radius: 0; box-shadow: none; }

/* Exaviqo brand system v2: ocean-blue, electric cyan and deep ink.
   A pale glass logo surface is intentional: transparent navy wordmark needs contrast. */
:root {
 --md-deep:#061f43; --md-deeper:#051631; --md-panel:#0b315a;
 --md-teal:#087eae; --md-teal-dark:#07638d; --md-teal-soft:#e2f5ff;
 --md-peach:#d9f2ff; --md-peach-hover:#b8e8ff; --md-peach-soft:#eaf7ff;
 --md-bg:#f3f8fd; --bs-primary:#087eae; --bs-primary-rgb:8,126,174;
 --bs-link-color:#087eae; --bs-link-color-rgb:8,126,174;
 --bs-focus-ring-color:rgba(8,126,174,.25);
}
body {color:#142b49;background:#f3f8fd;}
.sidebar {background:var(--sidebar-bg, #061f43) !important; border-right-color:var(--sidebar-border, #d9f2ff) !important;}
.sidebar .sidebar-brand {background:linear-gradient(135deg,#fafdff,#e7f5ff) !important; border:1px solid rgba(100,197,236,.35);
 border-radius:12px !important; padding:9px 11px !important; box-shadow:0 5px 16px rgba(1,14,40,.15) !important;}
.sidebar .nav-link-custom.active,.sidebar .nav-link-custom:hover {background:#d9f2ff !important;color:#062748 !important;}
.hero-banner {background:linear-gradient(110deg,#06254f 0%,#086eaa 70%,#0fabae 100%) !important;}
.auth-page {background:#061f43;}
.auth-page .bg-left {background:linear-gradient(150deg,#071d42,#043a6b);}
.auth-page .bg-right {background:radial-gradient(circle at 76% 23%,#b1f4ff 0%,transparent 42%),linear-gradient(125deg,#065397,#0d9ac7 65%,#36cfc3);}
.auth-page .card-left {background:linear-gradient(160deg,#061f43,#0a3763);}
.auth-page .card-right {background:linear-gradient(140deg,#fafdff,#e9f7ff);}
.auth-page .card-right::after {background:rgba(61,183,231,.12);}
.auth-page .btn-yellow,.auth-page .btn-peach,.btn-yellow {background:#d9f2ff;color:#062748 !important;}
.auth-page .btn-yellow:hover,.auth-page .btn-peach:hover,.btn-yellow:hover {background:#b8e8ff;color:#062748 !important;}
.btn-primary{--bs-btn-bg:#087eae;--bs-btn-border-color:#087eae;--bs-btn-hover-bg:#07638d;--bs-btn-hover-border-color:#07638d;}
.btn-outline-primary{--bs-btn-color:#087eae;--bs-btn-border-color:#087eae;--bs-btn-hover-bg:#087eae;--bs-btn-hover-border-color:#087eae;}

/* Exaviqo auth background: consistent on login, register and OTP at all widths. */
body.auth-page {
 background:linear-gradient(105deg,#061b3a 0%,#082c55 48%,#065d9b 51%,#11a7c4 80%,#46d5cc 100%) !important;
}
body.auth-page .page-container {background:transparent!important;}
body.auth-page .bg-left {background:linear-gradient(155deg,#061b3a,#0a315e)!important;}
body.auth-page .bg-right {
 background:radial-gradient(circle at 83% 18%,rgba(182,245,255,.85),transparent 43%),linear-gradient(130deg,#065397,#0c92c4 65%,#34cfc6)!important;
}
body.auth-page .bg-right::before {background-image:radial-gradient(rgba(255,255,255,.17) 1px,transparent 1px)!important;background-size:23px 23px!important;}
@media(max-width:860px) {
 body.auth-page .page-container {background:transparent!important;padding:24px 14px;box-sizing:border-box;}
 body.auth-page .card-wrapper {width:min(100%,560px);margin:auto!important;}
 body.auth-page .card-left {min-width:0;}
}

/* ==========================================================================
   Exaviqo responsive layout — single source of truth for phones and tablets.
   (Replaces the earlier stacked "fix" layers, which fought each other.)
   ========================================================================== */
.mobile-nav-toggle, .mobile-sidebar-backdrop, .assessment-mobile-menu { display: none; }
.assessment-actions-original { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.approvals-badge { background: var(--md-peach); color: var(--md-deep); }
.assessment-menu-list { padding: .5rem; }
.assessment-menu-list > form, .assessment-menu-list > a, .assessment-menu-list > .dropdown-divider { display: block; margin: 0 0 .4rem; }
.assessment-menu-list > form:last-child, .assessment-menu-list > a:last-child { margin-bottom: 0; }
.assessment-menu-list > button.btn { display: flex; margin: 0 0 .4rem; }
.assessment-menu-list > .exam-menu-status { margin: 0 0 .5rem; padding: .1rem .25rem .45rem; border-bottom: 1px solid #e3e8ef; }

/* ---- Exam dropdown (Open / Close / Publish / Clone / Delete) ---- */
.exam-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #adb5bd; margin-right: .3rem; vertical-align: 1px; }
.exam-dot-open { background: #20c997; box-shadow: 0 0 0 3px rgba(32,201,151,.2); }
.exam-dot-closed { background: #dc3545; }
.exam-dot-scheduled { background: #f0ad4e; }
.exam-menu-list { min-width: 300px; padding: .4rem; border-radius: 14px; }
.exam-menu-list form { margin: 0; }
.exam-menu-status { font-size: .74rem; color: #6c757d; padding: .35rem .75rem .5rem; }
.exam-item { display: flex; gap: .7rem; align-items: flex-start; border-radius: 10px; padding: .55rem .75rem; white-space: normal; }
.exam-item > i { font-size: 1.1rem; line-height: 1.2; }
.exam-item strong { display: block; font-size: .9rem; }
.exam-item small { display: block; color: #6c757d; font-size: .74rem; line-height: 1.3; }
.exam-item.text-danger strong, .exam-item.text-success strong { color: inherit; }

.nav-link-custom.other-account { font-size: .86rem; padding-top: .45rem; padding-bottom: .45rem; min-width: 0; }
.nav-link-custom.other-account span { min-width: 0; }

/* ---- small stat cards (admin Accounts / profile) ---- */
.mini-stat { background: #fff; border-radius: 16px; padding: .9rem 1.1rem; box-shadow: 0 4px 12px rgba(0,0,0,.04); color: inherit; min-width: 0; }
.mini-stat .stat-value { font-size: 1.45rem; overflow-wrap: anywhere; }

.assessment-menu-list > form > .btn, .assessment-menu-list > a.btn, .assessment-menu-list > button.btn {
    display: flex; align-items: center; width: 100%; min-height: 42px; text-align: left; white-space: normal;
    font-size: .9rem; padding: .5rem .85rem; border-radius: 10px; }

@media (max-width: 900px) {
    /* ---- page frame: the page itself scrolls (simple, reliable sticky header) ---- */
    html, body { max-width: 100%; overflow-x: hidden; }
    .app-wrapper { display: block !important; width: 100% !important; height: auto !important; min-height: 100dvh; }
    .main-content { display: block !important; width: 100% !important; min-width: 0 !important; overflow: visible !important; }
    .app-content-padding { padding: 14px !important; }

    /* ---- off-canvas sidebar ---- */
    .sidebar#sidebarElement {
        display: flex !important; position: fixed !important; top: 0; bottom: 0; left: 0;
        width: min(82vw, 300px) !important; z-index: 1045 !important;
        transform: translateX(-105%); transition: transform .25s ease;
        overflow-y: auto; overscroll-behavior: contain; box-shadow: 8px 0 25px rgba(3, 21, 50, .25); }
    body.mobile-nav-open .sidebar#sidebarElement { transform: translateX(0); }
    .mobile-sidebar-backdrop {
        display: block; position: fixed; inset: 0; z-index: 1040; background: rgba(3, 20, 43, .6);
        opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
    body.mobile-nav-open .mobile-sidebar-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }
    body.mobile-nav-open { overflow: hidden !important; }

    /* ---- header: [menu button][title]  /  [actions row]  — grows with its content ---- */
    .top-navbar.exaviqo-app-header {
        position: sticky !important; top: 0; z-index: 1030;
        display: grid !important; grid-template-columns: 44px minmax(0, 1fr);
        grid-template-areas: "toggle title" "actions actions";
        column-gap: 12px; row-gap: 10px; align-items: center;
        height: auto !important; min-height: 0 !important;
        padding: 10px 14px !important; background: #fff !important;
        border-bottom: 1px solid #e3ebf3; box-shadow: 0 2px 6px rgba(2, 30, 60, .06); }
    .exaviqo-app-header > .mobile-nav-toggle {
        grid-area: toggle; display: inline-flex !important; align-items: center; justify-content: center;
        width: 44px; height: 44px; padding: 0; margin: 0;
        background: #eef9ff; color: #073258; border: 1px solid #c7e2f0; border-radius: 12px; cursor: pointer; }
    .exaviqo-hamburger-lines { display: block; position: relative; width: 20px; height: 14px;
        border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
    .exaviqo-hamburger-lines::after { content: ""; position: absolute; left: 0; top: 4px; width: 20px; border-top: 2px solid currentColor; }
    .exaviqo-app-header > .mobile-page-title { grid-area: title; min-width: 0; margin: 0 !important; }
    .exaviqo-app-header .mobile-page-title h4 {
        margin: 0; font-size: clamp(1rem, 4.4vw, 1.2rem) !important; line-height: 1.25;
        overflow-wrap: break-word; }
    .exaviqo-app-header .mobile-page-title small {
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
        font-size: .74rem; line-height: 1.3; margin-top: 2px; }
    .exaviqo-app-header > .mobile-page-actions {
        grid-area: actions; display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px !important;
        min-width: 0; width: 100%; margin: 0 !important; }
    .exaviqo-app-header > .mobile-page-actions.no-mobile-actions { display: none !important; }
    .exaviqo-app-header .exaviqo-profile-pill { display: none !important; }
    .exaviqo-app-header > .mobile-page-actions .btn { font-size: .85rem; padding: .45rem .9rem; }
    /* pages with an "Exam actions" menu show only the menu; other pages keep their buttons */
    .exaviqo-app-header > .mobile-page-actions.has-mobile-menu .assessment-actions-original { display: none !important; }
    .exaviqo-app-header .assessment-actions-original { display: flex; flex-wrap: wrap; gap: 8px; }
    .exaviqo-app-header .assessment-mobile-menu { display: block; position: relative; }
    .exaviqo-app-header .assessment-menu-button {
        display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: .45rem 1rem !important;
        border: 0; border-radius: 999px; font-weight: 700; font-size: .9rem !important;
        background: #d9f2ff; color: #061f43; }
    .exaviqo-app-header .assessment-menu-button:hover,
    .exaviqo-app-header .assessment-menu-button.show { background: #b8e8ff; color: #061f43; }
    .exaviqo-app-header .assessment-menu-list {
        width: min(320px, calc(100vw - 28px)); max-height: min(70dvh, 520px); overflow-y: auto;
        border-radius: 14px; border: 1px solid #dbe8f2; }

    /* ---- grid gutters smaller than the page padding (fixes sideways scrolling) ---- */
    .app-content-padding .row, .modal .row { --bs-gutter-x: 1rem; }
    .app-content-padding .row.g-4, .app-content-padding .row.g-3 { --bs-gutter-y: 1rem; }

    /* ---- cards & text ---- */
    .card-custom { padding: 1rem !important; min-width: 0; overflow-wrap: break-word; }
    .tile { min-width: 0; padding: .9rem 1rem !important; }
    .tile .stat-value { font-size: 1.35rem; }
    .stat-value { font-size: 1.4rem; }
    .hero-banner { padding: 1.3rem !important; margin-bottom: 1.25rem !important; }
    .hero-banner h1, .hero-banner h2 { font-size: clamp(1.3rem, 6vw, 1.8rem) !important; }
    .chart-box { height: 220px !important; }
    .card-custom img, .q-card img, .media-block img { max-width: 100%; height: auto; }
    input, select, textarea { max-width: 100%; }
    .card-custom input[type="datetime-local"] { width: 100%; min-width: 0; }

    /* ---- tables that become stacked cards on phones (no more letter-by-letter columns) ---- */
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table.mobile-cards { display: block; border: 0; }
    table.mobile-cards thead { display: none; }
    table.mobile-cards tbody { display: block; }
    table.mobile-cards tr { display: block; border: 1px solid #e3ebf3; border-radius: 12px; padding: .65rem .8rem; margin-bottom: .7rem; background: #fff; }
    table.mobile-cards tr:hover > * { --bs-table-accent-bg: transparent; }
    /* label floats left, the value (however many pieces) stays together on the right */
    table.mobile-cards td { display: block; border: 0 !important; padding: .3rem 0 !important; text-align: right;
        max-width: none !important; min-width: 0 !important; overflow: hidden; }
    table.mobile-cards td::before { content: attr(data-label); float: left; max-width: 45%; margin-right: 12px; text-align: left;
        font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; color: #6c7f93; padding-top: 3px; }
    table.mobile-cards td.cell-num { display: none; }
    table.mobile-cards td > * { min-width: 0; }
    table.mobile-cards td.cell-wide { display: block; text-align: left; }
    table.mobile-cards td.cell-wide::before { float: none; display: block; max-width: none; margin: 0 0 4px; }
    table.mobile-cards td.cell-wide .bar-mini { width: 100%; }
    table.mobile-cards td.cell-head { display: block; text-align: left; padding-bottom: .45rem !important; margin-bottom: .2rem; border-bottom: 1px solid #eef3f8 !important; }
    table.mobile-cards td.cell-head::before { display: none; }
    table.mobile-cards td.cell-empty { display: block; text-align: center; }
    table.mobile-cards td.cell-empty::before { display: none; }
    table.mobile-cards td:empty { display: none; }

    /* ---- question builder ---- */
    .option-row .input-group { display: grid !important; grid-template-columns: 42px 38px minmax(0, 1fr) 42px; width: 100%; }
    .option-row .input-group > .input-group-text:first-child { grid-column: 1; justify-content: center; }
    .option-row .option-letter { grid-column: 2; justify-content: center; }
    .option-row input[name="opt_text"] { grid-column: 3; width: 100% !important; min-width: 0 !important; border-radius: 0 !important; }
    .option-row .remove-opt { grid-column: 4; border-radius: 0 8px 8px 0 !important; }
    .option-row .option-file { grid-column: 1 / -1; grid-row: 2; width: 100% !important; max-width: 100%; margin-top: 6px; border-radius: 8px !important; }
    .pair-row { flex-wrap: nowrap; }
    .pair-row > input { min-width: 0; }
    .ql-toolbar { display: flex; flex-wrap: wrap; }
    .ql-editor { overflow-wrap: break-word; }

    /* ---- test taking ---- */
    .test-header { padding: .6rem .8rem !important; gap: 8px !important; }
    .test-header > div { min-width: 0; max-width: 100%; }
    .test-header .pill { font-size: .74rem; padding: .28rem .6rem; }
    .test-title { overflow-wrap: break-word; }
    .q-card { min-height: 0 !important; padding: 1rem !important; }
    .option-card { padding: .65rem .8rem !important; overflow-wrap: break-word; }
    .navigator { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .match-row { flex-wrap: wrap; }
    .match-row .match-left, .match-row select { flex: 1 1 100%; min-width: 0; }

    /* ---- calendar ---- */
    .calendar-day { min-width: 0; min-height: 64px !important; padding: 4px !important; font-size: .72rem !important; }
    .calendar-day.header { min-height: 32px !important; font-size: .66rem !important; padding: 6px 2px !important; }
    .event-badge { font-size: .6rem !important; padding: 2px 3px !important; }

    /* ---- dialogs & menus: Bootstrap's own stacking order (modal 1055 > backdrop 1050 > sidebar 1045) ---- */
    .modal-dialog { margin: 12px auto !important; max-width: calc(100vw - 24px) !important; }
    .modal-content { max-height: calc(100dvh - 24px); overflow-y: auto; }
    .modal-body, .modal-header, .modal-footer { padding: 1rem !important; }
    .dropdown-menu { max-width: calc(100vw - 24px); }
}

@media (max-width: 480px) {
    .app-content-padding { padding: 12px !important; }
    .top-navbar.exaviqo-app-header { padding: 9px 12px !important; column-gap: 10px; }
    .card-custom { padding: .9rem !important; }
    .calendar-day { min-height: 52px !important; padding: 2px !important; }
    .event-badge { font-size: .55rem !important; }
    .auth-page:not(.auth-register) { overflow-y: auto !important; }
    .auth-page:not(.auth-register) .card-wrapper { margin: 12px auto !important; width: calc(100% - 24px) !important; }
    .auth-page:not(.auth-register) .card-left { padding: 1.6rem 1.25rem !important; overflow: visible !important; }
    .auth-page:not(.auth-register) .card-right { padding: 1.25rem !important; }
    .auth-page .auth-footer { gap: 12px; flex-wrap: wrap; }
}

@media (min-width: 901px) {
    .exaviqo-app-header .assessment-mobile-menu, .exaviqo-app-header .mobile-nav-toggle { display: none !important; }
}

@media (max-width: 900px) {
    /* respondent cards: name on top, selection box in the corner, action button full width */
    table.mobile-cards.respondents-table tr { position: relative; }
    table.mobile-cards td.cell-check { position: absolute; top: .7rem; right: .8rem; padding: 0 !important; display: block; }
    table.mobile-cards td.cell-check::before { display: none; }
    table.mobile-cards.respondents-table td.cell-head { padding-right: 2rem !important; }
    table.mobile-cards td.cell-action { display: block; text-align: left; padding-top: .5rem !important; }
    table.mobile-cards td.cell-action::before { display: none; }
    table.mobile-cards td.cell-action .btn { width: 100%; }
    table.mobile-cards td.d-none { display: none !important; }
}


/* Exaviqo login-only compact responsive layout (Nov 2026).
   Scoped to auth-login so registration/verification pages are unchanged. */
body.auth-page.auth-login .exaviqo-login-copyright {
    position: fixed; inset: auto 0 0; z-index: 30;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
    text-align: center; color: #e9f6ff; background: rgba(5, 22, 49, .96);
    font: 11px/1.4 'Inter', sans-serif;
}
@media (max-width: 860px) {
    body.auth-page.auth-login { overflow-x: hidden; overflow-y: auto; }
    body.auth-page.auth-login .page-container {
        width: 100%; height: auto; min-height: 100dvh;
        padding: 12px 12px calc(54px + env(safe-area-inset-bottom, 0px));
        align-items: flex-start;
    }
    body.auth-page.auth-login .card-wrapper {
        position: relative; top: auto; left: auto; transform: none;
        display: flex; flex-direction: column-reverse;
        width: min(100%, 560px) !important; height: auto; max-height: none;
        margin: 0 auto !important; border-radius: 18px;
    }
    body.auth-page.auth-login .card-right {
        width: 100%; height: auto; min-height: 0;
        padding: 12px 20px !important;
    }
    body.auth-page.auth-login .exaviqo-auth-brand { gap: 4px; }
    body.auth-page.auth-login .exaviqo-auth-icon { width: 64px; max-width: 64px; }
    body.auth-page.auth-login .exaviqo-auth-wordmark { width: 165px; max-width: 80%; }
    body.auth-page.auth-login .card-left {
        width: 100%; height: auto; min-height: 0;
        padding: 18px 22px 20px !important;
        justify-content: flex-start; overflow: visible !important;
    }
    body.auth-page.auth-login .auth-title { font-size: 1.65rem; margin-bottom: 0; }
    body.auth-page.auth-login .auth-sub { font-size: .8rem; margin-bottom: 12px; }
    body.auth-page.auth-login .form-control-custom { margin-bottom: 10px; padding: 6px 0; }
    body.auth-page.auth-login .btn-peach { padding: 10px; }
    body.auth-page.auth-login .auth-footer { margin-top: 14px; }
}
@media (max-width: 380px) {
    body.auth-page.auth-login .page-container { padding: 8px 8px calc(54px + env(safe-area-inset-bottom, 0px)); }
    body.auth-page.auth-login .card-left { padding: 14px 16px 16px !important; }
    body.auth-page.auth-login .exaviqo-auth-icon { width: 52px; }
    body.auth-page.auth-login .exaviqo-auth-wordmark { width: 145px; }
}

/* Login card balance: center within available mobile viewport, while allowing
   normal scrolling whenever the card is taller than the viewport. */
@media (max-width: 860px) {
  body.auth-page.auth-login .page-container {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  body.auth-page.auth-login .card-wrapper {
    flex: 0 0 auto;
    margin: 0 auto !important;
  }
}


/* Exaviqo unified authentication desktop layout — Login and Sign up only.
   Hide decorative flex siblings so the card is the only flex item. */
@media (min-width: 861px) {
  body.auth-page.auth-login,
  body.auth-page.auth-register { overflow-x: hidden !important; overflow-y: auto !important; }
  body.auth-page.auth-login .page-container,
  body.auth-page.auth-register .page-container {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: 36px 20px 66px !important;
    box-sizing: border-box !important;
  }
  body.auth-page.auth-login .page-container > .bg-left,
  body.auth-page.auth-login .page-container > .bg-right,
  body.auth-page.auth-register .page-container > .bg-left,
  body.auth-page.auth-register .page-container > .bg-right { display: none !important; }
  body.auth-page.auth-login .page-container > .card-wrapper,
  body.auth-page.auth-register .page-container > .card-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    width: min(100%, 1000px) !important;
    max-width: 1000px !important;
    min-height: 580px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 24px 70px rgba(1,17,44,.30) !important;
  }
  body.auth-page.auth-login .card-wrapper > .card-left,
  body.auth-page.auth-login .card-wrapper > .card-right,
  body.auth-page.auth-register .card-wrapper > .card-left,
  body.auth-page.auth-register .card-wrapper > .card-right {
    position: relative !important;
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 580px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    align-self: stretch !important;
  }
  body.auth-page.auth-login .card-wrapper > .card-left,
  body.auth-page.auth-register .card-wrapper > .card-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 32px 42px !important;
    overflow: visible !important;
  }
  body.auth-page.auth-login .card-wrapper > .card-right,
  body.auth-page.auth-register .card-wrapper > .card-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 44px 38px !important;
  }
  body.auth-page.auth-login .exaviqo-auth-brand,
  body.auth-page.auth-register .exaviqo-auth-brand { gap: 14px !important; }
  body.auth-page.auth-login .exaviqo-auth-icon,
  body.auth-page.auth-register .exaviqo-auth-icon { width: 145px !important; max-width: 145px !important; }
  body.auth-page.auth-login .exaviqo-auth-wordmark,
  body.auth-page.auth-register .exaviqo-auth-wordmark { width: 100% !important; max-width: 315px !important; }
}

/* Unified login and registration copyright bar. */
body.auth-page.auth-login .exaviqo-auth-copyright,
body.auth-page.auth-register .exaviqo-auth-copyright {
  position: fixed !important;
  inset: auto 0 0 !important;
  z-index: 30 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 34px !important;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)) !important;
  margin: 0 !important;
  background: #061b3a !important;
  color: #e9f6ff !important;
  text-align: center !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
}
/* Match the login's smooth background on registration. */
body.auth-page.auth-register .page-container::before { content: none !important; }


/* Exaviqo E+Q visual refresh — scoped to auth pages; existing app controls preserved. */
body.auth-page.auth-login, body.auth-page.auth-register {
  background: radial-gradient(ellipse at 93% 5%,#0be0d4 0%,transparent 34%),
  radial-gradient(ellipse at 30% 105%,#087ac8 0%,transparent 50%),
  linear-gradient(130deg,#041736,#073e83 55%,#03b7c5) !important;
}
body.auth-page.auth-login .page-container,
body.auth-page.auth-register .page-container { background:transparent !important; }
body.auth-page.auth-login .card-wrapper,
body.auth-page.auth-register .card-wrapper { border:1px solid rgba(73,212,248,.45) !important; border-radius:26px !important; box-shadow:0 28px 75px rgba(0,12,41,.43) !important; }
body.auth-page.auth-login .card-left,
body.auth-page.auth-register .card-left { background:linear-gradient(160deg,#041938,#062c60) !important; color:#fff !important; }
body.auth-page.auth-login .card-right,
body.auth-page.auth-register .card-right { background:linear-gradient(145deg,#fff 0%,#f0f9ff 65%,#d8f6ff 100%) !important; }
body.auth-page.auth-login .card-right::before,
body.auth-page.auth-register .card-right::before { width:240px; height:240px; top:-110px; right:-80px; left:auto; background:rgba(18,182,241,.12); }
body.auth-page.auth-login .card-right::after,
body.auth-page.auth-register .card-right::after { width:420px; height:190px; right:-100px; bottom:-105px; background:linear-gradient(90deg,rgba(0,125,245,.18),rgba(0,219,195,.27)); }
.eq-auth-heading {display:flex; align-items:center; gap:16px; margin-bottom:24px; padding-bottom:18px; border-bottom:2px solid rgba(5,213,235,.55);}
.eq-heading-icon {width:64px; height:64px; object-fit:contain; flex:0 0 64px; border-radius:12px; background:#f4fbff; padding:3px;}
body.auth-page .eq-auth-heading .auth-title {font-family:Inter,sans-serif; font-size:clamp(1.25rem,2.4vw,1.85rem); line-height:1.2; margin:0 0 5px; font-weight:700;}
.eq-auth-heading .auth-title span {color:#22d3e7;}
body.auth-page .eq-auth-heading .auth-sub {margin:0; font-size:.84rem; color:#cbdff4;}
body.auth-page.auth-login .form-label-custom,
body.auth-page.auth-register .form-label-custom {display:block; font-size:.8rem; font-weight:600; color:#e3f1ff; margin:10px 0 6px;}
body.auth-page.auth-login .form-control-custom,
body.auth-page.auth-register .form-control-custom,
body.auth-page.auth-register .form-select-custom {display:block; width:100% !important; min-height:44px !important; padding:10px 14px !important; background:rgba(255,255,255,.07) !important; border:1px solid rgba(195,226,255,.46) !important; border-radius:10px !important; color:#fff !important; box-shadow:none !important; margin:0 0 12px !important;}
body.auth-page .form-control-custom::placeholder {color:#b7cbe1 !important;}
body.auth-page .form-control-custom:focus,body.auth-page .form-select-custom:focus {border-color:#24e4e5 !important; box-shadow:0 0 0 3px rgba(34,211,231,.18) !important;}
body.auth-page .btn-peach {background:linear-gradient(95deg,#09aefb,#45dce9,#08d8bd) !important; color:#052044 !important; border-radius:12px !important; font-weight:800; min-height:46px;}
body.auth-page .btn-peach:hover {filter:brightness(1.07); transform:translateY(-1px);}
body.auth-page .btn-switch {border:1px solid #12d7e7; background:transparent !important; border-radius:24px; padding:7px 18px;}
body.auth-page .btn-switch:hover {background:rgba(20,213,231,.14) !important;}
body.auth-page .eq-brand {gap:10px !important; max-width:440px;}
body.auth-page .eq-full-logo {display:block; width:min(100%,410px); height:auto; object-fit:contain; mix-blend-mode:multiply;}
body.auth-page .eq-tagline {color:#0a3162; font-size:clamp(.85rem,1.3vw,1.03rem); font-weight:700; font-style:italic; margin:0 0 8px;}
body.auth-page .eq-benefits {display:flex; justify-content:center; width:100%; gap:0; font-size:.68rem; font-weight:600; color:#153d6e;}
body.auth-page .eq-benefits span {flex:1; text-align:center; padding:6px 8px;}
body.auth-page .eq-benefits span+span {border-left:1px solid #c2d6e9;}
body.auth-page .exaviqo-auth-copyright {font-size:clamp(10px,1vw,12px) !important; padding:10px 14px !important;}
@media(max-width:860px) {
 body.auth-page.auth-login .page-container,body.auth-page.auth-register .page-container {padding:22px 12px 86px !important; min-height:100dvh !important;}
 body.auth-page.auth-login .card-wrapper,body.auth-page.auth-register .card-wrapper {display:flex !important; flex-direction:column-reverse !important; height:auto !important; min-height:0 !important; width:min(100%,520px) !important; margin:auto !important;}
 body.auth-page.auth-login .card-left,body.auth-page.auth-register .card-left {width:100% !important; min-height:0 !important; padding:25px 24px !important;}
 body.auth-page.auth-login .card-right,body.auth-page.auth-register .card-right {width:100% !important; min-height:0 !important; padding:16px 24px !important;}
 body.auth-page .eq-full-logo {max-width:210px;}
 body.auth-page .eq-tagline {font-size:.75rem;}
 body.auth-page .eq-benefits {display:none;}
 body.auth-page .eq-heading-icon {width:48px; height:48px; flex-basis:48px;}
 body.auth-page .eq-auth-heading {gap:12px; margin-bottom:15px; padding-bottom:12px;}
}
@media(max-width:400px) {body.auth-page.auth-login .card-left,body.auth-page.auth-register .card-left {padding:22px 18px !important;} body.auth-page .eq-auth-heading .auth-title {font-size:1.2rem;}}

/* E+Q consolidated dashboard branding (teacher and student) */
.sidebar .sidebar-brand .exaviqo-sidebar-full-logo {display:block!important;width:100%!important;max-width:200px!important;max-height:68px!important;height:auto!important;object-fit:contain!important;}
.sidebar .sidebar-brand {min-height:72px!important;justify-content:center!important;}
.sidebar .nav-link-custom {border-radius:11px;transition:background-color .18s,color .18s;}
.sidebar .nav-link-custom.active {box-shadow:0 3px 12px rgba(0,170,226,.13);}
.top-navbar.exaviqo-app-header {background:linear-gradient(105deg,#f8fcff 0%,#e7f7ff 100%);border-bottom:1px solid #d9ecf8;}
.app-content-padding {background:#f3f8fd;}
@media(max-width:767px){.sidebar .sidebar-brand .exaviqo-sidebar-full-logo{max-width:180px!important;}}


/* ===============================================================
   Exaviqo approved-reference visual system | 2026-11-23
   Pure presentation: existing forms, routes, roles and modals stay.
   =============================================================== */
:root {--eq-ink:#071d49;--eq-blue:#087df1;--eq-cyan:#06d6e7;--eq-mint:#03d9c3;--eq-ice:#eff9ff;}
body.auth-page.auth-login,body.auth-page.auth-register {
 background:linear-gradient(132deg,rgba(0,13,43,.08),transparent 40%),
 repeating-linear-gradient(137deg,transparent 0 18%,rgba(0,194,242,.075) 18.1% 22%,transparent 22.1% 41%),
 radial-gradient(ellipse at 88% 10%,#07e6d7 0%,transparent 34%),
 radial-gradient(ellipse at 26% 105%,#0784e9 0%,transparent 56%),linear-gradient(125deg,#03122d,#064b9b 62%,#04bdcb)!important;
}
body.auth-page.auth-login .card-wrapper {width:min(100%,1120px)!important;max-width:1120px!important;min-height:570px!important;border-radius:28px!important;border:1px solid #26bbf0!important;box-shadow:0 30px 75px #00183e80!important;}
body.auth-page.auth-login .card-left {background:linear-gradient(150deg,#03152f 0%,#06275a 100%)!important;padding:42px 48px!important;}
body.auth-page.auth-login .card-right {background:linear-gradient(140deg,#fff 0%,#eff9ff 55%,#d8f4ff 100%)!important;}
body.auth-page.auth-login .card-right::before {width:440px!important;height:400px!important;top:-190px!important;right:-210px!important;border-radius:0!important;transform:rotate(32deg)!important;background:#d7f0ffb3!important;filter:none!important;}
body.auth-page.auth-login .card-right::after {width:130%!important;height:150px!important;bottom:-95px!important;right:-15%!important;border-radius:45% 55% 0 0!important;transform:rotate(-7deg)!important;background:linear-gradient(95deg,#0076ee,#0cd4eb,#04e4c2)!important;filter:none!important;}
body.auth-page.auth-login .eq-auth-heading {border-bottom:0!important;padding:0 0 23px!important;margin-bottom:23px!important;position:relative;}
body.auth-page.auth-login .eq-auth-heading::after {content:"";position:absolute;bottom:0;left:0;width:54%;height:4px;border-radius:5px;background:linear-gradient(90deg,#02f3e5,#0693f9,transparent);}
body.auth-page.auth-login .eq-heading-icon {width:78px!important;height:72px!important;flex-basis:78px!important;background:transparent!important;padding:0!important;border-radius:0!important;mix-blend-mode:screen;object-fit:contain;}
body.auth-page.auth-login .auth-title {font-size:clamp(1.35rem,2.2vw,2.05rem)!important;letter-spacing:-.035em;}
body.auth-page.auth-login .form-label-custom {font-size:.88rem!important;margin:12px 0 8px!important;}
.auth-field-symbol {font-size:1.15em;margin-right:8px;color:#e7f7ff;}
body.auth-page.auth-login .form-control-custom {min-height:49px!important;border-radius:12px!important;background:#ffffff12!important;border:1.5px solid #abc8e28a!important;font-size:.95rem!important;}
body.auth-page.auth-login .btn-peach {min-height:53px!important;border-radius:26px!important;font-size:1.1rem!important;margin-top:19px!important;box-shadow:0 8px 24px #00c8d12b!important;}
body.auth-page.auth-login .btn-switch {border:2px solid #08dff1!important;border-radius:30px!important;padding:8px 24px!important;font-weight:700;}
body.auth-page.auth-login .auth-divider {display:flex;align-items:center;gap:16px;color:#e4f1ff;margin:20px 0 0;font-size:.9rem;}
body.auth-page.auth-login .auth-divider::before,body.auth-page.auth-login .auth-divider::after {content:"";height:1px;background:#c4e1f69c;flex:1;}
body.auth-page.auth-login .auth-footer {margin-top:15px!important;}
body.auth-page.auth-login .eq-brand {width:100%!important;max-width:470px!important;display:flex!important;align-items:center!important;flex-direction:column!important;}
body.auth-page.auth-login .eq-full-logo {width:min(100%,440px)!important;mix-blend-mode:multiply;}
body.auth-page.auth-login .eq-tagline {display:flex;align-items:center;gap:14px;white-space:nowrap;font-size:clamp(.8rem,1.4vw,1.12rem)!important;margin:8px 0 22px!important;}
body.auth-page.auth-login .eq-tagline::before,body.auth-page.auth-login .eq-tagline::after {content:"";width:35px;height:1px;background:#5aa5d6;}
body.auth-page.auth-login .eq-benefits {font-size:.8rem!important;position:relative;z-index:2;}
body.auth-page.auth-login .eq-benefits span {display:flex;flex-direction:column;gap:8px;align-items:center;line-height:1.25;padding:5px 9px!important;}
body.auth-page.auth-login .eq-benefits i {font-size:1.75rem;color:#093e8c;}
body.auth-page.auth-login .eq-benefits strong {font-weight:650;}
body.auth-page.auth-register .card-left {background:linear-gradient(150deg,#03152f,#082d60)!important;}
body.auth-page.auth-register .btn-peach {border-radius:26px!important;min-height:49px!important;}
body.auth-page.auth-register .eq-heading-icon {background:transparent!important;mix-blend-mode:screen;}
/* Dashboard reference: pale navigation, full-width blue header and layered cards. */
body:has(.exaviqo-ref-sidebar) {--md-bg:#eef8ff;background:#eef8ff;}
.app-wrapper:has(.exaviqo-ref-sidebar) {background:linear-gradient(125deg,#f6fcff,#e7f5ff);}
.sidebar.exaviqo-ref-sidebar {background:linear-gradient(160deg,#fff 0%,#eef9ff 78%,#e5faff 100%)!important;color:#081e4c!important;border-right:1px solid #c8e4f3!important;padding:22px 14px!important;position:relative;isolation:isolate;}
.sidebar.exaviqo-ref-sidebar::after {content:"";position:absolute;bottom:0;left:0;right:0;height:52px;background:linear-gradient(165deg,transparent 15%,#b2effc 16%,#20c8f4 42%,#00d9c7 70%);opacity:.8;z-index:-1;pointer-events:none;}
.sidebar.exaviqo-ref-sidebar .sidebar-brand {padding:10px!important;min-height:90px!important;margin-bottom:18px!important;}
.sidebar.exaviqo-ref-sidebar .sidebar-brand img {max-width:205px!important;max-height:86px!important;mix-blend-mode:multiply;}
.sidebar.exaviqo-ref-sidebar .nav-link-custom {color:#0a2152!important;font-weight:650;border-radius:13px;padding:13px 16px;margin:3px 0;}
.sidebar.exaviqo-ref-sidebar .nav-link-custom i {font-size:1.15rem;color:#073e89;}
.sidebar.exaviqo-ref-sidebar .nav-link-custom:hover,.sidebar.exaviqo-ref-sidebar .nav-link-custom.active {background:linear-gradient(100deg,#0b93e9,#03d9c8)!important;color:white!important;box-shadow:0 6px 16px #1686d12e!important;}
.sidebar.exaviqo-ref-sidebar .nav-link-custom:hover i,.sidebar.exaviqo-ref-sidebar .nav-link-custom.active i {color:white!important;}
.sidebar.exaviqo-ref-sidebar .nav-link-custom.text-danger,.sidebar.exaviqo-ref-sidebar .nav-link-custom.text-danger i {color:#e32335!important;}
.sidebar.exaviqo-ref-sidebar .nav-link-custom.text-danger:hover {color:white!important;}
.top-navbar.exaviqo-ref-header {background:linear-gradient(105deg,#0754a6,#0687e7 57%,#03d9c8)!important;color:white!important;border:0!important;min-height:88px;box-shadow:0 3px 14px #1366a81f;}
.top-navbar.exaviqo-ref-header .main-title {color:white!important;font-size:clamp(1.2rem,2vw,1.65rem);}
.top-navbar.exaviqo-ref-header .mobile-page-title small {color:#e8f8ff!important;}
.top-navbar.exaviqo-ref-header .exaviqo-profile-pill {background:#ffffffeb!important;color:#092453;}
.exaviqo-ref-hero {background:linear-gradient(112deg,#073778 0%,#087cbd 55%,#03cfe0 100%)!important;min-height:195px;position:relative;isolation:isolate;padding:30px 34px!important;}
.exaviqo-ref-hero::before {content:"";position:absolute;inset:auto -5% -58% 39%;height:170px;border-radius:50%;border:33px solid #38e3f54a;transform:rotate(-12deg);pointer-events:none;}
.exaviqo-ref-hero .hero-art {position:absolute;right:5%;top:12%;width:210px;height:145px;opacity:.85;pointer-events:none;z-index:0!important;}
.exaviqo-ref-hero .hero-art i {position:absolute;color:#e3fbff;text-shadow:0 8px 20px #003b8066;}
.exaviqo-ref-hero .hero-art i:nth-child(1) {font-size:4.2rem;top:-12px;right:5px;transform:rotate(8deg);}
.exaviqo-ref-hero .hero-art i:nth-child(2) {font-size:5.6rem;bottom:-4px;left:25px;}
.exaviqo-ref-hero .hero-art i:nth-child(3) {font-size:2rem;bottom:10px;right:10px;color:#00f3ca;}
.exaviqo-ref-hero > div:not(.hero-art),.exaviqo-ref-hero > button {position:relative;z-index:2;}
.exaviqo-ref-stat {min-height:124px;border:1px solid #dceefa!important;border-radius:20px!important;box-shadow:0 8px 22px #145b9917!important;}
.exaviqo-ref-stat .stat-label {font-size:.75rem!important;letter-spacing:.025em;color:#3b5478!important;}
.exaviqo-ref-stat h3 {font-size:2rem!important;}
.exaviqo-ref-stat .stat-icon {background:#e5f8ff!important;width:48px!important;height:48px!important;}
.exaviqo-ref-assessments {border-radius:20px!important;overflow:visible!important;}
.exaviqo-ref-assessments .assessment-card {background:white!important;display:flex;gap:18px!important;border:1px solid #e1edf7!important;box-shadow:0 4px 12px #15558d0c;}
.exaviqo-ref-assessments .assessment-card:first-child {border-radius:18px 18px 0 0!important;}
.exaviqo-ref-assessments .assessment-card:last-child {border-radius:0 0 18px 18px!important;}
.exaviqo-ref-assessments .assessment-visual {width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#eaf7ff,#a8f5f4);color:#057ab6;font-size:1.85rem;}
.exaviqo-ref-assessments .assessment-card > div:nth-child(2) {flex:1;min-width:220px;}
.exaviqo-ref-assessments .assessment-card h6 {font-size:1.04rem!important;}
.exaviqo-ref-assessments .exaviqo-assessment-actions .btn {min-height:35px;font-weight:650;}
@media(min-width:1050px){.exaviqo-ref-hero {padding-right:270px!important;}}
@media(max-width:1050px){.exaviqo-ref-hero .hero-art{opacity:.3;right:0;}}
@media(max-width:860px){body.auth-page.auth-login .card-wrapper {width:min(100%,520px)!important;min-height:0!important;}body.auth-page.auth-login .card-left{padding:26px!important;}body.auth-page.auth-login .eq-heading-icon{width:54px!important;height:54px!important;flex-basis:54px!important;}body.auth-page.auth-login .eq-benefits{display:none!important;}body.auth-page.auth-login .card-right{padding:20px!important;min-height:0!important;}body.auth-page.auth-login .eq-full-logo{max-width:240px!important;}body.auth-page.auth-login .eq-tagline{margin:0!important;font-size:.78rem!important;}}
@media(max-width:760px){.top-navbar.exaviqo-ref-header{min-height:66px;}.exaviqo-ref-hero{padding:24px!important;min-height:170px;}.exaviqo-ref-hero .hero-art{display:none;}.exaviqo-ref-assessments .assessment-visual{width:42px;height:42px;flex-basis:42px;font-size:1.3rem;}.exaviqo-ref-assessments .assessment-card > div:nth-child(2){min-width:0;}.sidebar.exaviqo-ref-sidebar{box-shadow:6px 0 18px #00234a1a;}}
@media(prefers-reduced-motion:reduce){.exaviqo-ref-stat,.exaviqo-ref-assessments .assessment-card{transition:none!important;}}

/* Exaviqo final illustrated header and dashboard artwork */
.top-navbar.exaviqo-ref-header{position:sticky;overflow:hidden;isolation:isolate;flex-wrap:nowrap!important;gap:22px!important;padding:10px 24px!important;background:linear-gradient(100deg,#f6fcff 0%,#def5ff 18%,#0864c2 32%,#0089e2 66%,#05d9c6 100%)!important;min-height:94px!important}
.top-navbar.exaviqo-ref-header::before{content:"";position:absolute;inset:0 0 0 28%;background:url('exaviqo-waves.svg') center bottom/100% 120% no-repeat;opacity:.5;pointer-events:none;z-index:-1}
.eq-header-brand{display:flex;align-items:center;justify-content:center;width:220px;max-width:24%;flex:0 0 220px;min-height:62px;padding-right:20px;border-right:2px solid #05285b70}
.eq-header-brand img{width:100%;max-height:70px;object-fit:contain;mix-blend-mode:multiply}
.top-navbar.exaviqo-ref-header .mobile-page-title{flex:1;min-width:0}
.sidebar.exaviqo-ref-sidebar{padding-top:22px!important}
.sidebar.exaviqo-ref-sidebar .sidebar-brand{display:none!important}
.sidebar.exaviqo-ref-sidebar::after{height:95px!important;background:url('exaviqo-waves.svg') center bottom/100% 100% no-repeat!important;opacity:1!important}
.app-content-padding{background:radial-gradient(ellipse at 95% 92%,#c8faff 0%,transparent 44%),linear-gradient(135deg,#f6fbff,#e6f5ff)!important}
.exaviqo-ref-hero{background:linear-gradient(115deg,#083675 0%,#087cbd 56%,#00cdd5 100%)!important;min-height:208px!important;overflow:hidden!important}
.exaviqo-ref-hero::before{content:""!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;transform:none!important;border:0!important;border-radius:0!important;background:url('exaviqo-waves.svg') right bottom/75% 90% no-repeat!important;opacity:.6!important}
.exaviqo-ref-hero::after{content:""!important;position:absolute!important;right:15px!important;bottom:0!important;top:auto!important;width:290px!important;height:190px!important;background:url('exaviqo-hero-illustration.svg') center bottom/contain no-repeat!important;filter:none!important;opacity:1!important;border-radius:0!important;z-index:1!important;pointer-events:none!important}
.exaviqo-ref-hero .hero-art{display:none!important}
@media(min-width:1050px){.exaviqo-ref-hero{padding-right:315px!important}}
@media(max-width:1050px){.exaviqo-ref-hero::after{width:200px!important;height:145px!important;opacity:.55!important}.exaviqo-ref-hero{padding-right:175px!important}.eq-header-brand{flex-basis:155px;width:155px}}
@media(max-width:760px){.top-navbar.exaviqo-ref-header{gap:9px!important;padding:10px!important;min-height:72px!important}.eq-header-brand{flex:0 0 75px;width:75px;max-width:75px;min-height:42px;padding-right:7px}.eq-header-brand img{max-height:45px}.exaviqo-ref-hero{padding:23px!important}.exaviqo-ref-hero::after{width:140px!important;height:105px!important;opacity:.24!important}.top-navbar.exaviqo-ref-header .main-title{font-size:1rem!important}}
@media(max-width:480px){.eq-header-brand{display:none}.exaviqo-ref-hero::after{opacity:.13!important}}


/* Exaviqo: bundled SVG feature icons, no external icon-font dependency. */
body.auth-page.auth-login .eq-benefits svg {display:block!important;width:34px;height:34px;flex:0 0 34px;color:#073e89;stroke:currentColor;}
body.auth-page.auth-login .eq-benefits > span {min-width:0;}
@media(max-width:860px){body.auth-page.auth-login .eq-benefits{display:flex!important;gap:0!important;margin-top:8px;}body.auth-page.auth-login .eq-benefits svg{width:25px;height:25px;flex-basis:25px;}body.auth-page.auth-login .eq-benefits strong{font-size:10px;}}

/* Full-viewport dashboard top bar: logo at far left, content below it.
   Requires the accompanying _layout_fixed.html structure. */
@media(min-width:901px){
 .app-wrapper.eq-full-header-layout{display:grid!important;grid-template-columns:245px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:100dvh!important;overflow:hidden;}
 .eq-full-header-layout>.top-navbar.exaviqo-app-header{grid-column:1/-1;grid-row:1;position:relative!important;top:auto!important;z-index:1030;min-width:0;width:100%!important;box-sizing:border-box;display:flex!important;flex-wrap:nowrap!important;min-height:88px!important;gap:22px!important;padding:10px 24px!important;}
 .eq-full-header-layout>.sidebar{grid-column:1;grid-row:2;width:245px!important;min-height:0;overflow-y:auto;}
 .eq-full-header-layout>.main-content{grid-column:2;grid-row:2;min-height:0;min-width:0;overflow-y:auto;}
 .eq-full-header-layout>.mobile-sidebar-backdrop{display:none;}
}
.eq-full-header-layout>.top-navbar.exaviqo-app-header{background:linear-gradient(105deg,#eefaff 0%,#cdeeff 18%,#0876d6 33%,#008fe2 67%,#03d9c8 100%)!important;color:#fff!important;isolation:isolate;overflow:visible;}
.eq-full-header-layout>.top-navbar.exaviqo-app-header::before{content:"";position:absolute;inset:0 0 0 28%;background:url('exaviqo-waves.svg') center bottom/100% 120% no-repeat;opacity:.45;z-index:-1;pointer-events:none;}
.eq-full-header-layout>.top-navbar .eq-header-brand{display:flex!important;align-items:center;justify-content:center;width:210px;flex:0 0 210px;max-width:23%;padding-right:18px;border-right:2px solid #05285b55;}
.eq-full-header-layout>.top-navbar .eq-header-brand img{display:block;width:100%;max-height:68px;object-fit:contain;mix-blend-mode:multiply;}
.eq-full-header-layout>.top-navbar .mobile-page-title{flex:1;min-width:0;}
.eq-full-header-layout>.top-navbar .main-title{color:#fff!important;}
.eq-full-header-layout>.top-navbar .mobile-page-title small{color:#eafaff!important;}
.eq-full-header-layout>.sidebar .sidebar-brand{display:none!important;}
@media(max-width:900px){
 .app-wrapper.eq-full-header-layout{display:block!important;height:auto!important;min-height:100dvh!important;}
 .eq-full-header-layout>.top-navbar.exaviqo-app-header{position:sticky!important;top:0!important;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-areas:'toggle title' 'actions actions'!important;gap:8px 10px!important;padding:10px 12px!important;min-height:0!important;}
 .eq-full-header-layout>.top-navbar .eq-header-brand{display:none!important;}
 .eq-full-header-layout>.top-navbar .mobile-nav-toggle{grid-area:toggle;display:inline-flex!important;}
 .eq-full-header-layout>.top-navbar .mobile-page-title{grid-area:title;}
 .eq-full-header-layout>.top-navbar .mobile-page-actions{grid-area:actions;}
 .eq-full-header-layout>.sidebar{position:fixed!important;}
 .eq-full-header-layout>.main-content{overflow:visible!important;}
}


/* === Exaviqo header contrast and integrated logo correction, 2026-11-23 === */
/* All pages inheriting _layout.html share these improvements. */
.eq-full-header-layout > .top-navbar.exaviqo-app-header {
  background: linear-gradient(100deg,#edfaff 0%,#d9f3ff 13%,#0752a1 24%,#087ad6 55%,#04cfc9 100%) !important;
}
.eq-full-header-layout > .top-navbar .eq-header-brand {
  position:relative; isolation:isolate; align-self:stretch;
  border-right:1px solid rgba(8,59,115,.32) !important;
  background:transparent !important;
  overflow:hidden;
}
/* The supplied wordmark PNG has an opaque light-blue background.
   Feather its edges into the pale header rather than displaying a hard square. */
.eq-full-header-layout > .top-navbar .eq-header-brand img {
  max-height:72px; width:100%; object-fit:contain;
  mix-blend-mode:multiply;
  -webkit-mask-image:radial-gradient(ellipse 69% 72% at 50% 50%,#000 64%,transparent 100%);
  mask-image:radial-gradient(ellipse 69% 72% at 50% 50%,#000 64%,transparent 100%);
}
.eq-full-header-layout > .top-navbar .mobile-page-title {
  background:linear-gradient(100deg,rgba(3,35,83,.76),rgba(3,53,107,.48));
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:9px 16px;
  box-shadow:0 4px 14px rgba(0,22,70,.18);
  text-shadow:0 1px 3px rgba(0,20,55,.7);
}
.eq-full-header-layout > .top-navbar .mobile-page-title .main-title {
  color:#fff !important; font-weight:800 !important; line-height:1.2;
  text-shadow:0 2px 5px rgba(0,18,60,.8);
}
.eq-full-header-layout > .top-navbar .mobile-page-title small {
  display:block; color:#f4fbff !important; font-weight:600;
  text-shadow:0 1px 3px rgba(0,17,54,.8);
}
/* Make outlined controls readable against the saturated blue/cyan header. */
.eq-full-header-layout > .top-navbar .assessment-actions-original > .btn-outline-primary,
.eq-full-header-layout > .top-navbar .assessment-actions-original > .btn-outline-secondary,
.eq-full-header-layout > .top-navbar .assessment-actions-original > a.btn-outline-primary,
.eq-full-header-layout > .top-navbar .assessment-actions-original > a.btn-outline-secondary {
  color:#073568 !important;
  background:#fff !important;
  border:1.5px solid #c4e7fa !important;
  opacity:1 !important;
  text-shadow:none !important;
  box-shadow:0 3px 10px rgba(0,25,67,.22) !important;
}
.eq-full-header-layout > .top-navbar .assessment-actions-original > .btn-outline-primary:hover,
.eq-full-header-layout > .top-navbar .assessment-actions-original > .btn-outline-secondary:hover {
  color:#042956 !important; background:#d9f6ff !important;
  border-color:#52bfe8 !important;
}
.eq-full-header-layout > .top-navbar .assessment-actions-original > .btn-primary {
  background:#075b99 !important; border-color:#075b99 !important;
  color:white !important; box-shadow:0 3px 10px rgba(0,25,67,.2);
}
@media (min-width:901px) and (max-width:1250px) {
  .eq-full-header-layout > .top-navbar.exaviqo-app-header {gap:10px !important;padding:8px 14px !important;}
  .eq-full-header-layout > .top-navbar .eq-header-brand {flex-basis:150px;width:150px;}
  .eq-full-header-layout > .top-navbar .mobile-page-title {padding:8px 10px;}
  .eq-full-header-layout > .top-navbar .mobile-page-title .main-title {font-size:1.05rem !important;}
  .eq-full-header-layout > .top-navbar .mobile-page-title small {font-size:.68rem;}
  .eq-full-header-layout > .top-navbar .assessment-actions-original {gap:4px;}
  .eq-full-header-layout > .top-navbar .assessment-actions-original .btn {padding:6px 9px !important;font-size:.76rem;}
}
@media(max-width:900px){
  .eq-full-header-layout > .top-navbar .mobile-page-title {padding:6px 9px;}
  .eq-full-header-layout > .top-navbar .mobile-page-title small {font-size:.7rem;}
}

/* FINAL REFINEMENT: no dark title box; high-contrast outlined white text. */
.eq-full-header-layout > .top-navbar .mobile-page-title {
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:3px 0!important;
}
.eq-full-header-layout > .top-navbar .mobile-page-title .main-title {
  color:#fff!important;opacity:1!important;
  text-shadow:-1px -1px 0 #06376d,1px -1px 0 #06376d,-1px 1px 0 #06376d,1px 1px 0 #06376d,0 2px 5px rgba(0,16,51,.85)!important;
}
.eq-full-header-layout > .top-navbar .mobile-page-title small {
  color:#fff!important;opacity:1!important;
  text-shadow:-.6px -.6px 0 #06376d,.6px .6px 0 #06376d,0 2px 4px rgba(0,16,51,.9)!important;
}
/* Deliberate branded logo panel, rather than an unframed pasted image. */
.eq-full-header-layout > .top-navbar .eq-header-brand {
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(207,241,255,.92))!important;
  border:1px solid rgba(5,107,174,.32)!important;
  border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 3px 12px rgba(0,39,84,.14)!important;
  padding:6px 12px!important;
  align-self:center!important;
  min-height:60px!important;
}
.eq-full-header-layout > .top-navbar .eq-header-brand img {
  mix-blend-mode:multiply!important;
  -webkit-mask-image:none!important;mask-image:none!important;
  filter:none!important;
  max-height:58px!important;
}
/* Matching inline SVG feature icons on registration and login. */
body.auth-page.auth-register .eq-benefits svg {
  display:block!important;width:34px;height:34px;flex:0 0 34px;
  color:#073e89;stroke:currentColor;
}
body.auth-page.auth-register .eq-benefits > span {min-width:0;}
body.auth-page.auth-register .eq-benefits strong {display:block;line-height:1.2;}
@media(max-width:860px){
 body.auth-page.auth-register .eq-benefits svg{width:25px;height:25px;flex-basis:25px;}
 body.auth-page.auth-register .eq-benefits strong{font-size:10px;}
}
@media(min-width:901px) and (max-width:1250px){
 .eq-full-header-layout > .top-navbar .eq-header-brand {min-height:52px!important;padding:4px 7px!important;}
 .eq-full-header-layout > .top-navbar .eq-header-brand img{max-height:48px!important;}
}

/* 2026-11-23: Register feature strip matches login exactly. */
body.auth-page.auth-register .eq-tagline {
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:14px!important;white-space:nowrap!important;
 font-size:clamp(.8rem,1.4vw,1.12rem)!important;margin:8px 0 22px!important;
}
body.auth-page.auth-register .eq-tagline::before,
body.auth-page.auth-register .eq-tagline::after {
 content:"";width:35px;flex:0 0 35px;height:1px;background:#5aa5d6;
}
body.auth-page.auth-register .eq-benefits {
 display:flex!important;justify-content:center!important;font-size:.8rem!important;
 position:relative;z-index:2;
}
body.auth-page.auth-register .eq-benefits > span {
 display:flex!important;flex:1;flex-direction:column!important;gap:8px!important;
 align-items:center!important;justify-content:flex-start!important;
 min-width:0;line-height:1.25!important;padding:5px 9px!important;
}
body.auth-page.auth-register .eq-benefits svg {
 display:block!important;width:34px!important;height:34px!important;
 flex:0 0 34px!important;color:#073e89;stroke:currentColor;
}
body.auth-page.auth-register .eq-benefits strong {
 display:block!important;font-size:inherit!important;font-weight:650!important;line-height:1.25!important;
}
@media(max-width:860px) {
 body.auth-page.auth-register .eq-tagline {margin:0!important;font-size:.78rem!important;}
 body.auth-page.auth-register .eq-benefits {display:flex!important;gap:0!important;margin-top:8px!important;}
 body.auth-page.auth-register .eq-benefits svg {width:25px!important;height:25px!important;flex-basis:25px!important;}
 body.auth-page.auth-register .eq-benefits strong {font-size:10px!important;}
}


/* === Exaviqo compact phone authentication (2026-11-23) ===
   Desktop remains unchanged. The form comes first on phones; the large
   promotional logo and feature illustrations are intentionally hidden. */
@media (max-width: 600px) {
  body.auth-page.auth-login,
  body.auth-page.auth-register { overflow-x:hidden !important; overflow-y:auto !important; }
  body.auth-page.auth-login .page-container,
  body.auth-page.auth-register .page-container {
    display:block !important; height:auto !important; min-height:100dvh !important;
    padding:12px 12px 100px !important;
  }
  body.auth-page.auth-login .card-wrapper,
  body.auth-page.auth-register .card-wrapper {
    position:relative !important; top:auto !important; left:auto !important;
    transform:none !important; display:flex !important;
    flex-direction:column !important; grid-template-columns:none !important;
    width:100% !important; max-width:520px !important;
    height:auto !important; max-height:none !important; min-height:0 !important;
    margin:0 auto !important; border-radius:18px !important;
  }
  body.auth-page.auth-login .card-right,
  body.auth-page.auth-register .card-right { display:none !important; }
  body.auth-page.auth-login .card-left,
  body.auth-page.auth-register .card-left {
    width:100% !important; height:auto !important; min-height:0 !important;
    overflow:visible !important; padding:22px 20px 26px !important;
  }
  body.auth-page.auth-login .eq-auth-heading,
  body.auth-page.auth-register .eq-auth-heading {
    display:flex !important; gap:11px !important; align-items:center !important;
    margin-bottom:16px !important; padding-bottom:14px !important;
  }
  body.auth-page.auth-login .eq-heading-icon,
  body.auth-page.auth-register .eq-heading-icon {
    width:45px !important; height:45px !important; flex:0 0 45px !important;
    padding:0 !important; object-fit:contain !important;
  }
  body.auth-page.auth-login .eq-auth-heading .auth-title,
  body.auth-page.auth-register .eq-auth-heading .auth-title {
    font-size:clamp(1.2rem,5vw,1.55rem) !important;
    line-height:1.2 !important; overflow-wrap:anywhere;
  }
  body.auth-page.auth-login .eq-auth-heading .auth-sub,
  body.auth-page.auth-register .eq-auth-heading .auth-sub {
    font-size:.75rem !important; line-height:1.4 !important;
  }
  body.auth-page.auth-login .form-control-custom,
  body.auth-page.auth-register .form-control-custom,
  body.auth-page.auth-register .form-select-custom {
    min-height:44px !important; font-size:16px !important;
  }
  body.auth-page.auth-login .btn-peach,
  body.auth-page.auth-register .btn-peach { min-height:46px !important; }
  body.auth-page.auth-login .exaviqo-auth-copyright,
  body.auth-page.auth-register .exaviqo-auth-copyright {
    font-size:10px !important; line-height:1.45 !important;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px)) !important;
  }
}

/* Final mobile branding: retain prominent Exaviqo panel above form. */
@media (max-width:600px) {
 body.auth-page.auth-login .card-wrapper,body.auth-page.auth-register .card-wrapper {flex-direction:column!important;}
 body.auth-page.auth-login .card-right,body.auth-page.auth-register .card-right {display:flex!important;order:0!important;min-height:0!important;height:auto!important;padding:14px 18px 12px!important;overflow:hidden!important;}
 body.auth-page.auth-login .card-left,body.auth-page.auth-register .card-left {order:1!important;}
 body.auth-page.auth-login .card-right .welcome,body.auth-page.auth-register .card-right .welcome {width:100%!important;}
 body.auth-page.auth-login .card-right .eq-brand,body.auth-page.auth-register .card-right .eq-brand {width:100%!important;gap:4px!important;}
 body.auth-page.auth-login .eq-full-logo,body.auth-page.auth-register .eq-full-logo {width: min(70%,220px)!important;max-width:220px!important;max-height:155px!important;height:auto!important;object-fit:contain!important;margin:0 auto!important;}
 body.auth-page.auth-login .eq-tagline,body.auth-page.auth-register .eq-tagline {font-size:.76rem!important;margin:0!important;line-height:1.3!important;}
 body.auth-page.auth-login .eq-benefits,body.auth-page.auth-register .eq-benefits {display:none!important;}
}
