:root {
    --aspire-bg: #F1F5F9;
    --aspire-surface: #FFFFFF;
    --aspire-border: #E5E7EB;
    --aspire-text: #0F172A;
    --aspire-muted: #6B7280;
    --aspire-primary: #2563EB;
    --aspire-primary-soft: #DBEAFE;
    --aspire-link: #2563EB;
    --card-shadow: none;

    --auth-shell-bg:
        radial-gradient(ellipse 900px 500px at 15% -5%, rgba(147, 197, 253, .55), transparent),
        radial-gradient(ellipse 700px 550px at 100% 100%, rgba(191, 219, 254, .45), transparent),
        linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 55%, #F0F9FF 100%);
    --glass-panel-bg: linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(219, 234, 254, .5));
    --glass-panel-border: rgba(255, 255, 255, .75);
    --glass-panel-shadow: 0 20px 50px -20px rgba(30, 58, 138, .25), 0 8px 32px 0 rgba(31, 38, 135, .12);

    --status-applied: #D97706;
    --status-applied-bg: #FEF3C7;
    --status-screening: #2563EB;
    --status-screening-bg: #DBEAFE;
    --status-shortlisted: #16A34A;
    --status-shortlisted-bg: #DCFCE7;
    --status-offered: #7C3AED;
    --status-offered-bg: #EDE9FE;
    --status-rejected: #DC2626;
    --status-rejected-bg: #FEE2E2;
    --status-review: #4F46E5;
    --status-review-bg: #E0E7FF;
    --status-interview: #0D9488;
    --status-interview-bg: #CCFBF1;
    --status-hold: #475569;
    --status-hold-bg: #E2E8F0;
    --status-waitlist: #0369A1;
    --status-waitlist-bg: #E0F2FE;

    /* Fixed mid-tones for solid fills (icon circles, chart bars) — same in both themes */
    --status-applied-solid: #D97706;
    --status-screening-solid: #2563EB;
    --status-shortlisted-solid: #16A34A;
    --status-offered-solid: #7C3AED;
    --status-rejected-solid: #DC2626;
    --status-review-solid: #4F46E5;
    --status-interview-solid: #0D9488;
    --status-hold-solid: #64748B;
    --status-waitlist-solid: #0EA5E9;

    /* Non-status accent aliases (stat-card icons that aren't tied to an application status).
       Kept deliberately minimal — most stat icons use the default primary-blue tint;
       only genuinely semantic ones (Hired = green, a document icon = blue) get a
       distinct color, so color stays meaningful instead of decorative variety. */
    --accent-blue-bg: var(--status-screening-bg);
    --accent-blue: var(--status-screening);
    --accent-green-bg: var(--status-shortlisted-bg);
    --accent-green: var(--status-shortlisted);

    --info-bg: var(--aspire-primary-soft);
    --info-text: #1E3A8A;
    --banner-success-bg: var(--status-shortlisted-bg);
    --banner-success-text: #14532D;
    --banner-offer-bg: var(--status-offered-bg);
    --banner-offer-text: #4C1D95;
    --banner-reject-bg: var(--status-rejected-bg);
    --banner-reject-text: #7F1D1D;
}

@media (prefers-color-scheme: dark) {
    :root {
        --aspire-bg: #2A2A2E;
        --aspire-surface: #3C3C44;
        --aspire-border: rgba(255, 255, 255, .14);
        --aspire-text: #F2F2F3;
        --aspire-muted: #B8B9C4;
        --aspire-primary: #3B82F6;
        --aspire-primary-soft: #2B3A4D;
        --aspire-link: #60A5FA;
        --card-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 1px 2px rgba(0, 0, 0, .2);

        --auth-shell-bg:
            radial-gradient(ellipse 900px 500px at 15% -5%, rgba(59, 130, 246, .35), transparent),
            radial-gradient(ellipse 700px 550px at 100% 100%, rgba(96, 165, 250, .2), transparent),
            linear-gradient(160deg, #0B1220 0%, #101B34 55%, #142A4D 100%);
        --glass-panel-bg: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(59, 130, 246, .1));
        --glass-panel-border: rgba(255, 255, 255, .18);
        --glass-panel-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5), 0 8px 32px 0 rgba(37, 99, 235, .18);

        --status-applied: #FBBF24;
        --status-applied-bg: #4A3510;
        --status-screening: #60A5FA;
        --status-screening-bg: #1E3350;
        --status-shortlisted: #4ADE80;
        --status-shortlisted-bg: #143824;
        --status-offered: #C4B5FD;
        --status-offered-bg: #3B2E5C;
        --status-rejected: #F87171;
        --status-rejected-bg: #4A1F1F;
        --status-review: #818CF8;
        --status-review-bg: #2E2A5C;
        --status-interview: #2DD4BF;
        --status-interview-bg: #123B36;
        --status-hold: #CBD5E1;
        --status-hold-bg: #334155;
        --status-waitlist: #7DD3FC;
        --status-waitlist-bg: #0C4A6E;

        --info-text: #BFDBFE;
        --banner-success-text: #86EFAC;
        --banner-offer-text: #DDD6FE;
        --banner-reject-text: #FCA5A5;
    }
}

:root[data-theme="dark"] {
    --aspire-bg: #2A2A2E;
    --aspire-surface: #3C3C44;
    --aspire-border: rgba(255, 255, 255, .14);
    --aspire-text: #F2F2F3;
    --aspire-muted: #B8B9C4;
    --aspire-primary: #3B82F6;
    --aspire-primary-soft: #2B3A4D;
    --aspire-link: #60A5FA;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 1px 2px rgba(0, 0, 0, .2);

    --auth-shell-bg:
        radial-gradient(ellipse 900px 500px at 15% -5%, rgba(59, 130, 246, .35), transparent),
        radial-gradient(ellipse 700px 550px at 100% 100%, rgba(96, 165, 250, .2), transparent),
        linear-gradient(160deg, #0B1220 0%, #101B34 55%, #142A4D 100%);
    --glass-panel-bg: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(59, 130, 246, .1));
    --glass-panel-border: rgba(255, 255, 255, .18);
    --glass-panel-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5), 0 8px 32px 0 rgba(37, 99, 235, .18);

    --status-applied: #FBBF24;
    --status-applied-bg: #4A3510;
    --status-screening: #60A5FA;
    --status-screening-bg: #1E3350;
    --status-shortlisted: #4ADE80;
    --status-shortlisted-bg: #143824;
    --status-offered: #C4B5FD;
    --status-offered-bg: #3B2E5C;
    --status-rejected: #F87171;
    --status-rejected-bg: #4A1F1F;
    --status-review: #818CF8;
    --status-review-bg: #2E2A5C;
    --status-interview: #2DD4BF;
    --status-interview-bg: #123B36;

    --info-text: #BFDBFE;
    --banner-success-text: #86EFAC;
    --banner-offer-text: #DDD6FE;
    --banner-reject-text: #FCA5A5;
}

:root[data-theme="light"] {
    --aspire-bg: #F1F5F9;
    --aspire-surface: #FFFFFF;
    --aspire-border: #E5E7EB;
    --aspire-text: #0F172A;
    --aspire-muted: #6B7280;
    --aspire-primary: #2563EB;
    --aspire-primary-soft: #DBEAFE;
    --aspire-link: #2563EB;
    --card-shadow: none;

    --auth-shell-bg:
        radial-gradient(ellipse 900px 500px at 15% -5%, rgba(147, 197, 253, .55), transparent),
        radial-gradient(ellipse 700px 550px at 100% 100%, rgba(191, 219, 254, .45), transparent),
        linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 55%, #F0F9FF 100%);
    --glass-panel-bg: linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(219, 234, 254, .5));
    --glass-panel-border: rgba(255, 255, 255, .75);
    --glass-panel-shadow: 0 20px 50px -20px rgba(30, 58, 138, .25), 0 8px 32px 0 rgba(31, 38, 135, .12);

    --status-applied: #D97706;
    --status-applied-bg: #FEF3C7;
    --status-screening: #2563EB;
    --status-screening-bg: #DBEAFE;
    --status-shortlisted: #16A34A;
    --status-shortlisted-bg: #DCFCE7;
    --status-offered: #7C3AED;
    --status-offered-bg: #EDE9FE;
    --status-rejected: #DC2626;
    --status-rejected-bg: #FEE2E2;
    --status-review: #4F46E5;
    --status-review-bg: #E0E7FF;
    --status-interview: #0D9488;
    --status-interview-bg: #CCFBF1;
    --status-hold: #475569;
    --status-hold-bg: #E2E8F0;
    --status-waitlist: #0369A1;
    --status-waitlist-bg: #E0F2FE;

    --info-text: #1E3A8A;
    --banner-success-text: #14532D;
    --banner-offer-text: #4C1D95;
    --banner-reject-text: #7F1D1D;
}

body {
    font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    background: var(--aspire-bg);
    color: var(--aspire-text);
    margin: 0;
    overflow-x: hidden;
}

/* Safety net: an unexpectedly long unbroken string (a long email, URL, or
   title) should wrap inside its container instead of forcing the page to
   scroll horizontally. `word-break: break-word` deliberately excluded —
   it breaks ordinary short words mid-letter under any pressure, which is
   worse than just letting the content scroll. Table cells are excluded
   entirely: tables get their own horizontal scroll via .tbl-wrap instead
   of having their text crushed. */
.aspire-card, .stat-card, .auth-card, .activity-desc {
    overflow-wrap: break-word;
}

a { color: var(--aspire-link); }

/* Shell layout */
.app-shell { display: flex; min-height: 100vh; }

.app-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: var(--aspire-surface);
    border-right: 1px solid var(--aspire-border);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-brand { display: flex; align-items: center; gap: .6rem; padding: .25rem .25rem 1.25rem; }
.brand-icon {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--aspire-primary); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-title { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.brand-pipe { color: var(--aspire-link); }
.brand-subtitle { font-size: .72rem; color: var(--aspire-muted); }

.sidebar-section-label {
    font-size: .68rem; font-weight: 700; letter-spacing: .06em;
    color: var(--aspire-muted); text-transform: uppercase;
    padding: .5rem .6rem;
}

.sidebar-nav { display: flex; flex-direction: column; gap: .15rem; flex-grow: 1; }

.sidebar-link {
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem .6rem; border-radius: .5rem;
    color: var(--aspire-text); text-decoration: none; font-size: .88rem;
    border: none; background: none; width: 100%; text-align: left; cursor: pointer;
}
.sidebar-link:hover { background: var(--aspire-bg); color: var(--aspire-text); }
.sidebar-link.active { background: var(--aspire-primary-soft); color: var(--aspire-link); font-weight: 600; }
.sidebar-link i { width: 1.1rem; text-align: center; }

.sidebar-footer { display: flex; flex-direction: column; gap: .15rem; border-top: 1px solid var(--aspire-border); padding-top: .75rem; margin-top: .75rem; }
.sidebar-link-btn { margin: 0; }

/* Main area */
.app-main { flex-grow: 1; min-width: 0; }

.app-topbar {
    display: flex; align-items: center;
    padding: 1rem 2rem; background: var(--aspire-surface);
    border-bottom: 1px solid var(--aspire-border);
}
/* margin-left: auto (not justify-content: space-between on the row) keeps
   this pinned to the right even when the sidebar-toggle button before it
   is display:none on desktop — space-between collapses a single visible
   flex item to flex-start, which was silently left-aligning this cluster. */
.topbar-actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.topbar-bell { color: var(--aspire-text); font-size: 1.1rem; text-decoration: none; display: inline-flex; }
.topbar-bell-unread { color: var(--aspire-primary); }
.notif-badge {
    position: absolute; top: -6px; right: -7px;
    background: var(--status-rejected-solid); color: #fff;
    font-size: .64rem; font-weight: 800; line-height: 1;
    min-width: 18px; height: 18px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center; padding: 0 4px;
    border: 2px solid var(--aspire-surface);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, .3);
}
.notif-dropdown { width: 340px; max-width: 90vw; padding: 0; overflow: hidden; }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item {
    display: flex; align-items: flex-start; gap: .6rem;
    padding: .65rem .9rem .65rem calc(.9rem - 3px);
    border-left: 3px solid transparent;
    white-space: normal;
    border-top: 1px solid var(--aspire-border);
    transition: background-color .12s ease;
}
.notif-item:first-of-type { border-top: none; }
.notif-item:hover { background: var(--aspire-bg); }
.notif-unread {
    background: var(--aspire-primary-soft);
    border-left-color: var(--aspire-primary);
}
.notif-unread:hover { background: var(--aspire-primary-soft); }
.notif-icon {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: .8rem;
    background: var(--aspire-surface); color: var(--aspire-muted); border: 1px solid var(--aspire-border);
}
/* Category color-coding — shape (icon) already carries the meaning, color
   just reinforces it, same convention as the activity feed / status pills. */
.notif-icon-application { background: var(--status-applied-bg); color: var(--status-applied); border-color: transparent; }
.notif-icon-interview { background: var(--status-interview-bg); color: var(--status-interview); border-color: transparent; }
.notif-icon-assignment { background: var(--status-review-bg); color: var(--status-review); border-color: transparent; }
.notif-icon-survey { background: var(--status-offered-bg); color: var(--status-offered); border-color: transparent; }
.notif-icon-job { background: var(--aspire-primary-soft); color: var(--aspire-primary); border-color: transparent; }
.notif-body { flex: 1 1 auto; min-width: 0; }
.notif-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .1rem; }
.notif-category { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--aspire-muted); }
.notif-time { font-size: .68rem; color: var(--aspire-muted); flex-shrink: 0; white-space: nowrap; }
.notif-msg { font-size: .82rem; line-height: 1.4; color: var(--aspire-text); }
.notif-unread .notif-msg { font-weight: 600; }
.notif-dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--aspire-primary);
    flex-shrink: 0; margin-top: .35rem;
    box-shadow: 0 0 0 3px var(--aspire-primary-soft);
}
.topbar-user { display: flex; align-items: center; gap: .6rem; }
.topbar-user-name { font-weight: 600; font-size: .85rem; line-height: 1.2; }
.topbar-user-email { font-size: .72rem; color: var(--aspire-muted); }

.app-content { padding: 2rem; }
@media (max-width: 767px) { .app-content { padding: 1.25rem 1rem; } }

/* Mobile sidebar — collapses to an icon rail, never fully hides */
.sidebar-toggle {
    display: none;
    border: none; background: none; color: var(--aspire-text);
    font-size: 1.35rem; padding: .25rem .5rem; cursor: pointer; line-height: 1;
}
.sidebar-backdrop { display: none; }
@media (max-width: 767.98px) {
    .sidebar-toggle { display: inline-flex; align-items: center; }

    .app-sidebar {
        z-index: 2;
        width: 64px;
        padding: 1.25rem .4rem;
        transition: width .2s ease;
    }
    .app-sidebar .sidebar-brand { justify-content: center; padding: .25rem .25rem 1.25rem; gap: 0; }
    .app-sidebar .sidebar-link { justify-content: center; padding: .6rem .3rem; }
    .app-sidebar .sidebar-link i { width: auto; font-size: 1.15rem; }
    .app-sidebar .sidebar-label {
        display: none;
    }

    .app-sidebar.sidebar-open {
        width: 250px;
        padding: 1.25rem 1rem;
    }
    .app-sidebar.sidebar-open .sidebar-brand { justify-content: flex-start; gap: .6rem; }
    .app-sidebar.sidebar-open .sidebar-link { justify-content: flex-start; padding: .55rem .6rem; }
    .app-sidebar.sidebar-open .sidebar-link i { width: 1.1rem; font-size: 1rem; }
    .app-sidebar.sidebar-open .sidebar-label { display: block; }

    .sidebar-backdrop.sidebar-open {
        display: block;
        position: fixed; inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 1;
    }
    .app-topbar { padding: 1rem 1.25rem; }
    .topbar-actions { gap: .85rem; }
    .topbar-user-info { display: none; }
}

/* Avatar */
.avatar {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 600; font-size: .8rem; flex-shrink: 0;
}
.avatar-0 { background: #2563EB; }
.avatar-1 { background: #16A34A; }
.avatar-2 { background: #7C3AED; }
.avatar-3 { background: #D97706; }
.avatar-4 { background: #DB2777; }
.avatar-5 { background: #0D9488; }

/* Page header */
.page-header { margin-bottom: 1.5rem; }
.page-header.d-flex { flex-wrap: wrap; row-gap: .75rem; }
.page-title { font-size: 1.5rem; font-weight: 700; margin: 0; word-break: break-word; }
.page-subtitle { color: var(--aspire-muted); margin: 0; }
@media (max-width: 575.98px) {
    .page-header.d-flex { flex-direction: column; align-items: stretch !important; }
    .page-header.d-flex > .btn, .page-header.d-flex > a.btn { width: 100%; }
}

/* Stat cards */
.stat-card {
    background: var(--aspire-surface); border: 1px solid var(--aspire-border);
    border-radius: .75rem; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
    box-shadow: var(--card-shadow, none);
    color: var(--aspire-text); text-decoration: none;
}
.stat-card-link { cursor: pointer; transition: border-color .15s ease, transform .1s ease; }
.stat-card-link:hover { border-color: var(--aspire-primary); }
.stat-card-link:active { transform: scale(.99); }
.stat-card-active { border-color: var(--aspire-primary); border-width: 2px; box-shadow: 0 0 0 1px var(--aspire-primary); }
@media (max-width: 575.98px) {
    .stat-card { padding: 1rem; gap: .6rem; }
}
.stat-icon {
    width: 42px; height: 42px; border-radius: .6rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    background: var(--aspire-primary-soft); color: var(--aspire-primary);
}
.stat-label { font-size: .68rem; font-weight: 700; letter-spacing: .05em; color: var(--aspire-muted); text-transform: uppercase; }
.stat-value { font-size: 1.6rem; font-weight: 700; line-height: 1.3; }
.stat-desc { font-size: .78rem; color: var(--aspire-muted); }

/* Table scroll wrapper: keeps wide tables from overflowing the card padding. */
.tbl-wrap { overflow-x: auto; padding-bottom: .5rem; }

/* Visible scrollbar (not the invisible overlay kind) on every horizontal-
   scroll container, so it's obvious content scrolls instead of looking
   like it's randomly cut off. */
.tbl-wrap, .stage-tracker, .status-bar-chart {
    scrollbar-width: thin;
    scrollbar-color: var(--aspire-border) transparent;
}
.tbl-wrap::-webkit-scrollbar, .stage-tracker::-webkit-scrollbar, .status-bar-chart::-webkit-scrollbar { height: 8px; }
.tbl-wrap::-webkit-scrollbar-track, .stage-tracker::-webkit-scrollbar-track, .status-bar-chart::-webkit-scrollbar-track { background: transparent; }
.tbl-wrap::-webkit-scrollbar-thumb, .stage-tracker::-webkit-scrollbar-thumb, .status-bar-chart::-webkit-scrollbar-thumb { background-color: var(--aspire-border); border-radius: 4px; }
.tbl-wrap::-webkit-scrollbar-thumb:hover, .stage-tracker::-webkit-scrollbar-thumb:hover, .status-bar-chart::-webkit-scrollbar-thumb:hover { background-color: var(--aspire-muted); }

/* Card / table container */
.aspire-card {
    background: var(--aspire-surface); border: 1px solid var(--aspire-border);
    border-radius: .75rem; padding: 1.75rem;
    box-shadow: var(--card-shadow, none);
}
/* width:100% lets the table fill its card when content fits; min-width:
   max-content overrides that the moment content doesn't fit, so columns
   keep their natural size and .tbl-wrap scrolls horizontally instead of
   every cell's text being crushed to fit a too-narrow viewport. */
.aspire-table { width: 100%; min-width: max-content; border-collapse: collapse; }
.aspire-table thead th {
    font-size: .68rem; font-weight: 700; letter-spacing: .05em; color: var(--aspire-muted);
    text-transform: uppercase; border-top: none; border-bottom: 1px solid var(--aspire-border) !important;
    padding: 0 .75rem .85rem 0;
}
.aspire-table td { padding: 1.1rem .75rem 1.1rem 0; border-top: none; border-bottom: 1px solid var(--aspire-border) !important; font-size: .88rem; vertical-align: middle; }
.aspire-table tr:last-child td { border-bottom: none !important; }
.aspire-table thead th:last-child,
.aspire-table td:last-child { padding-right: 0; }
.sort-th-link {
    display: inline-flex; align-items: center; gap: .3rem;
    color: inherit; text-decoration: none; cursor: pointer;
}
.sort-th-link:hover { color: var(--aspire-text); }
.sort-th-link .bi { font-size: .6rem; }

/* Activity feed (admin dashboard) — a timeline of neutral icon markers;
   color is reserved for the status pill alone so a long log doesn't turn
   into a wall of competing colors. */
.activity-feed { position: relative; }
.activity-feed::before {
    content: ""; position: absolute; top: 17px; bottom: 17px; left: 17px;
    width: 1px; background: var(--aspire-border); z-index: 0;
}
.activity-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
    padding: .85rem 0; position: relative;
    color: var(--aspire-text); text-decoration: none;
}
.activity-row-divided { border-bottom: 1px solid var(--aspire-border); }
.activity-row-link { cursor: pointer; border-radius: .5rem; transition: background-color .12s ease; }
.activity-row-link:hover { background: var(--aspire-bg); }
.activity-icon {
    width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; font-size: .9rem;
    background: var(--aspire-surface); color: var(--aspire-muted); border: 1px solid var(--aspire-border);
}
.activity-app-id { font-family: monospace; font-weight: 600; color: var(--aspire-link); }
.activity-desc { flex: 1 1 260px; min-width: 0; font-size: .85rem; line-height: 1.5; }
.activity-actor { flex: 0 0 auto; display: flex; align-items: center; gap: .5rem; }
.activity-time { flex: 0 0 auto; font-size: .75rem; margin-left: auto; }
@media (max-width: 575px) { .activity-time { margin-left: 0; } }

/* Status pills */
.status-pill {
    display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
    padding: .25rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 600;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-APPLIED { background: var(--status-applied-bg); color: var(--status-applied); }
.status-SCREENING { background: var(--status-screening-bg); color: var(--status-screening); }
.status-SHORTLISTED { background: var(--status-shortlisted-bg); color: var(--status-shortlisted); }
.status-OFFER_EXTENDED { background: var(--status-offered-bg); color: var(--status-offered); }
.status-REJECTED { background: var(--status-rejected-bg); color: var(--status-rejected); }
.status-UNDER_REVIEW, .status-FINAL_REVIEW { background: var(--status-review-bg); color: var(--status-review); }
.status-INTERVIEW { background: var(--status-interview-bg); color: var(--status-interview); }
.status-OFFER { background: var(--status-offered-bg); color: var(--status-offered); }
.status-HIRED { background: var(--status-shortlisted-bg); color: var(--status-shortlisted); }
.status-ON_HOLD { background: var(--status-hold-bg); color: var(--status-hold); }
.status-WAITLISTED { background: var(--status-waitlist-bg); color: var(--status-waitlist); }

/* Recruiter dashboard: pipeline overview — wraps instead of squeezing/scrolling */
.pipeline-chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.pipeline-chip {
    display: flex; align-items: center; gap: .6rem;
    background: var(--aspire-bg); border: 1px solid var(--aspire-border);
    border-radius: .6rem; padding: .5rem .75rem;
    text-decoration: none; color: var(--aspire-text);
    transition: border-color .15s ease, transform .1s ease;
}
.pipeline-chip:hover { border-color: var(--aspire-primary); }
.pipeline-chip:active { transform: scale(.98); }
.pipeline-chip-active { border-color: var(--aspire-primary); border-width: 2px; box-shadow: 0 0 0 1px var(--aspire-primary); }
.pipeline-chip-rejected { border-style: dashed; }
.pipeline-chip-count { font-weight: 700; font-size: 1rem; min-width: 1.4rem; text-align: center; }
.pipeline-note {
    display: flex; align-items: flex-start; gap: .5rem;
    margin-top: 1.1rem; padding-top: .9rem;
    border-top: 1px solid var(--aspire-border);
    font-size: .78rem; line-height: 1.5; color: var(--aspire-muted);
}
.pipeline-note .bi { flex-shrink: 0; margin-top: .15rem; font-size: .82rem; }

/* Candidate: application progress tracker — scrolls instead of squeezing/overlapping */
.stage-tracker { overflow-x: auto; padding-bottom: .5rem; }
.stage-tracker-row { display: flex; align-items: flex-start; position: relative; min-width: max-content; }
.stage-tracker-line { position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: var(--aspire-border); z-index: 0; }
.stage-tracker-node {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: relative; z-index: 1; flex: 0 0 92px; padding: 0 .3rem;
}
.stage-tracker-dot {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 700; border: 2px solid var(--aspire-border);
    background: var(--aspire-surface); color: var(--aspire-muted);
}
.stage-tracker-dot-done { background: var(--status-shortlisted-solid); border-color: var(--status-shortlisted-solid); color: #fff; font-size: 1rem; }
.stage-tracker-dot-current { background: var(--aspire-primary); border-color: var(--aspire-primary); color: #fff; }
.stage-tracker-label { margin-top: .5rem; font-size: .75rem; color: var(--aspire-muted); }
.stage-tracker-label-done { font-weight: 600; color: var(--status-shortlisted-solid); }
.stage-tracker-label-current { font-weight: 700; color: var(--aspire-link); }
.stage-tracker-current-tag { font-size: .68rem; color: var(--aspire-link); }

/* Admin dashboard: status distribution bar chart — wraps instead of clipping */
.status-bar-chart { display: flex; align-items: flex-start; gap: .65rem; overflow-x: auto; padding-bottom: .25rem; }
.status-bar-col { display: flex; flex-direction: column; align-items: center; gap: .45rem; flex: 0 0 62px; width: 62px; }
.status-bar-count { font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--aspire-text); }
.status-bar-track {
    width: 100%; height: 120px;
    display: flex; align-items: flex-end; justify-content: center;
    border-bottom: 1px solid var(--aspire-border);
}
.status-bar-label { font-size: .68rem; color: var(--aspire-muted); text-align: center; line-height: 1.25; }

/* Info banner */
.info-banner {
    background: var(--info-bg); border-radius: .75rem;
    padding: 1rem 1.25rem; display: flex; gap: .75rem; align-items: flex-start;
    color: var(--info-text);
}

/* Action-required banner (e.g. pending interview survey) — color is
   concentrated in the icon/label only, body text stays normal-contrast
   so it reads cleanly instead of everything being tinted amber. */
.action-banner {
    display: flex; align-items: flex-start; gap: .75rem;
    background: var(--status-applied-bg); border: 1px solid var(--status-applied);
    border-radius: .75rem; padding: 1rem 1.25rem;
    color: var(--aspire-text); font-size: .88rem; line-height: 1.6;
}
.action-banner > i { color: var(--status-applied); font-size: 1.05rem; margin-top: .15rem; flex-shrink: 0; }
.action-banner-title { font-weight: 700; color: var(--status-applied); margin-right: .3rem; }
.action-banner a { color: var(--aspire-link); font-weight: 600; text-decoration: none; }
.action-banner a:hover { text-decoration: underline; }

/* Referral badge — informational only, so it's styled distinctly (purple,
   like the Offer status) but never implies urgency or priority. */
.referral-badge {
    display: flex; align-items: flex-start; gap: .6rem;
    background: var(--status-offered-bg); border-radius: .6rem;
    padding: .65rem .85rem; color: var(--aspire-text); font-size: .85rem; line-height: 1.5;
}
.referral-badge > i { color: var(--status-offered); font-size: 1rem; margin-top: .15rem; flex-shrink: 0; }
.referral-pill {
    display: inline-flex; align-items: center; gap: .3rem;
    background: var(--status-offered-bg); color: var(--status-offered);
    font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px;
}

/* Theme toggle */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    border: 1px solid var(--aspire-border); background: var(--aspire-surface);
    color: var(--aspire-text); cursor: pointer; font-size: 1rem; padding: 0;
    transition: background-color .15s ease;
}
.theme-toggle:hover { background: var(--aspire-bg); }
.theme-toggle:focus-visible { outline: 2px solid var(--aspire-primary); outline-offset: 2px; }
.theme-toggle .bi-moon-stars-fill { display: none; }
html[data-theme="dark"] .theme-toggle .bi-sun-fill { display: none; }
html[data-theme="dark"] .theme-toggle .bi-moon-stars-fill { display: inline-block; }

/* Status bar chart */
.status-bar-fill { width: 100%; min-width: 22px; border-radius: .25rem .25rem 0 0; transition: height .3s ease; }
.status-bar-APPLIED { background: var(--status-applied); }
.status-bar-SCREENING { background: var(--status-screening); }
.status-bar-SHORTLISTED { background: var(--status-shortlisted); }
.status-bar-OFFER_EXTENDED { background: var(--status-offered); }
.status-bar-REJECTED { background: var(--status-rejected); }
.status-bar-UNDER_REVIEW, .status-bar-FINAL_REVIEW { background: var(--status-review); }
.status-bar-INTERVIEW { background: var(--status-interview); }
.status-bar-OFFER { background: var(--status-offered); }
.status-bar-HIRED { background: var(--status-shortlisted); }
.status-bar-ON_HOLD { background: var(--status-hold); }
.status-bar-WAITLISTED { background: var(--status-waitlist); }

/* Auth pages */
.auth-shell {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--auth-shell-bg);
    padding: 1rem; gap: 1rem;
}
.auth-alerts { width: 100%; max-width: 940px; }
.auth-alerts.auth-alerts-narrow { max-width: 420px; }
.auth-alerts .alert:last-child { margin-bottom: 0; }
.auth-card {
    background: var(--glass-panel-bg); border: 1px solid var(--glass-panel-border);
    backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: .75rem; padding: 2rem; width: 100%; max-width: 420px;
    box-shadow: var(--glass-panel-shadow);
}
.auth-card .sidebar-brand { padding-bottom: .35rem; }

/* Icon-prefixed input with optional trailing action (password show/hide) */
.auth-input-group { position: relative; display: flex; align-items: center; }
.auth-input-group .form-control { padding-left: 2.5rem; }
.auth-input-group.has-toggle .form-control { padding-right: 2.75rem; }
.auth-input-icon {
    position: absolute; left: .85rem; color: var(--aspire-muted); font-size: .95rem;
    pointer-events: none; z-index: 2;
}
.auth-input-toggle {
    position: absolute; right: .35rem; background: none; border: none; color: var(--aspire-muted);
    padding: .4rem .55rem; cursor: pointer; z-index: 2; font-size: .95rem; line-height: 1;
}
.auth-input-toggle:hover { color: var(--aspire-text); }
.auth-input-toggle:focus-visible { outline: 2px solid var(--aspire-primary); outline-offset: 1px; border-radius: .3rem; }

/* Split-panel login (brand story on the left, form on the right) */
.auth-split {
    display: flex; width: 100%; max-width: 940px; min-height: 580px;
    background: var(--glass-panel-bg); border: 1px solid var(--glass-panel-border);
    backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 1.1rem; overflow: hidden; box-shadow: var(--glass-panel-shadow);
}
.auth-split-brand {
    flex: 1 1 45%; position: relative; overflow: hidden;
    background: linear-gradient(155deg, var(--aspire-primary) 0%, #1e3a8a 100%);
    color: #fff; padding: 3rem 2.75rem; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-split-brand .sidebar-brand .brand-title,
.auth-split-brand .sidebar-brand .brand-subtitle,
.auth-split-brand .sidebar-brand .brand-pipe { color: #fff; }
.auth-split-brand .brand-icon { background: rgba(255, 255, 255, .18); }
.auth-split-headline { margin-top: 2.5rem; }
.auth-split-headline h1 {
    font-size: 1.9rem; font-weight: 800; line-height: 1.25; text-wrap: balance; margin-bottom: .75rem;
}
.auth-split-headline p { color: rgba(255, 255, 255, .85); font-size: .95rem; max-width: 34ch; }

.auth-illustration { position: relative; height: 160px; margin-top: 2rem; }
.auth-illustration-core {
    position: absolute; left: 0; bottom: 0; width: 92px; height: 92px; border-radius: 1.25rem;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
    display: flex; align-items: center; justify-content: center; font-size: 2.1rem; color: #fff;
    backdrop-filter: blur(2px);
}
.auth-chip {
    position: absolute; display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(255, 255, 255, .95); color: #1e3a8a; font-weight: 700; font-size: .74rem;
    padding: .4rem .75rem; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4);
}
.auth-chip-1 { left: 78px; top: 4px; }
.auth-chip-2 { left: 150px; top: 58px; }
.auth-chip-3 { left: 60px; top: 108px; }

.auth-split-form { flex: 1 1 55%; padding: 3rem 3.25rem; display: flex; flex-direction: column; justify-content: center; }
.auth-split-form .auth-back-link { margin-bottom: 1.25rem; }

@media (max-width: 767.98px) {
    .auth-split { flex-direction: column; max-width: 460px; min-height: 0; }
    .auth-split-brand { padding: 2rem 1.75rem 2.5rem; }
    .auth-illustration { display: none; }
    .auth-split-headline { margin-top: 1.5rem; }
    .auth-split-headline h1 { font-size: 1.5rem; }
    .auth-split-form { padding: 2rem 1.75rem; }
}

/* Neutralize the browser's own autofill highlight color everywhere, not
   just auth pages — it was overriding our surface color with a jarring
   yellow/lavender fill regardless of theme. */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--aspire-text);
    -webkit-box-shadow: 0 0 0 1000px var(--aspire-surface) inset;
    box-shadow: 0 0 0 1000px var(--aspire-surface) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Public landing page */
.public-hero {
    padding: 4.5rem 2rem; text-align: center;
    background:
        radial-gradient(ellipse 700px 320px at 50% 0%, var(--aspire-primary-soft), transparent),
        var(--aspire-surface);
    border-bottom: 1px solid var(--aspire-border);
    border-radius: 0 0 1.25rem 1.25rem;
}
.hero-tagline {
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--aspire-primary); margin-bottom: .75rem;
}
.hero-stats {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .85rem; color: var(--aspire-muted);
}
.hero-stats strong { color: var(--aspire-text); font-weight: 700; }
.hero-stats-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--aspire-muted); }
@media (max-width: 575.98px) {
    .public-hero { padding: 2.5rem 1.25rem; }
    .auth-card { padding: 1.5rem; }
    .hero-stats { flex-direction: column; gap: .25rem; }
    .hero-stats-dot { display: none; }
}
.job-card { transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.job-card:hover { border-color: var(--aspire-primary); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.job-card:active { transform: translateY(-1px) scale(.99); }
.job-card-closing { font-size: .74rem; color: var(--status-applied); margin-bottom: .5rem; }

.hero-cta { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hero-quick-links { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.hero-quick-link {
    font-size: .78rem; font-weight: 600; color: var(--aspire-text); text-decoration: none;
    background: var(--aspire-bg); border: 1px solid var(--aspire-border);
    padding: .3rem .75rem; border-radius: 999px; transition: border-color .15s ease, color .15s ease;
}
.hero-quick-link:hover, .hero-quick-link.active { border-color: var(--aspire-primary); color: var(--aspire-link); }

/* Join Our Team — given a tinted, bordered section of its own so it reads
   as a headline moment on the page, not just another content block. */
.join-team-section {
    background: linear-gradient(180deg, var(--aspire-primary-soft), transparent 65%);
    border: 1px solid var(--aspire-border);
    border-radius: 1.25rem;
    padding: 2.75rem 2rem 2.25rem;
}
.join-team-eyebrow {
    text-align: center; text-transform: uppercase; letter-spacing: .14em;
    font-size: .72rem; font-weight: 700; color: var(--aspire-primary);
    margin-bottom: .6rem;
}
.join-team-quote {
    max-width: 640px; margin: 1.75rem auto 0; text-align: center;
    padding-top: 1.5rem; border-top: 1px solid var(--aspire-border);
}
.join-team-quote p {
    font-size: 1.05rem; font-style: italic; color: var(--aspire-text);
    line-height: 1.6; margin-bottom: .5rem;
}
.join-team-quote footer { font-size: .8rem; color: var(--aspire-muted); }
.join-team-quote cite { font-style: normal; }
@media (max-width: 575.98px) {
    .join-team-section { padding: 1.75rem 1.25rem; }
}

.why-us-card {
    background: var(--aspire-surface); border: 1px solid var(--aspire-border);
    border-radius: .85rem; padding: 1.5rem; height: 100%;
    transition: border-color .15s ease, transform .15s ease;
}
.why-us-card:hover { border-color: var(--aspire-primary); transform: translateY(-2px); }
.why-us-icon {
    width: 44px; height: 44px; border-radius: .65rem; margin-bottom: 1rem;
    background: var(--aspire-primary-soft); color: var(--aspire-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* Browse by department */
.dept-card {
    display: block; text-align: center; text-decoration: none; color: var(--aspire-text);
    background: var(--aspire-surface); border: 1px solid var(--aspire-border);
    border-radius: .75rem; padding: 1.1rem .75rem; height: 100%;
    transition: border-color .15s ease, transform .15s ease;
}
.dept-card:hover { border-color: var(--aspire-primary); transform: translateY(-2px); }
.dept-card-active { border-color: var(--aspire-primary); border-width: 2px; box-shadow: 0 0 0 1px var(--aspire-primary); }
.dept-icon {
    width: 40px; height: 40px; margin: 0 auto .6rem; border-radius: .6rem;
    background: var(--aspire-primary-soft); color: var(--aspire-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}

/* CTA banner */
.cta-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--aspire-primary), #1e3a8a);
    color: #fff; border-radius: 1rem; padding: 2rem 2.25rem;
}
@media (max-width: 575.98px) {
    .cta-banner { padding: 1.5rem; text-align: center; justify-content: center; }
}

/* Soft-filled row-action button (e.g. "View" in a table) — more visible
   against a dark surface than a plain outline, without going full solid. */
.btn-soft-primary {
    background: var(--aspire-primary-soft); color: var(--aspire-link);
    border: 1px solid var(--aspire-primary); font-weight: 600;
}
.btn-soft-primary:hover, .btn-soft-primary:focus {
    background: var(--aspire-primary); color: #fff; border-color: var(--aspire-primary);
}

/* Public footer */
.public-footer { margin-top: 3rem; border-top: 1px solid var(--aspire-border); background: var(--aspire-surface); }
.public-footer-inner {
    max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem 2rem;
    display: flex; flex-wrap: wrap; gap: 2.5rem;
}
.public-footer-brand { flex: 2 1 260px; }
.public-footer-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: .55rem; }
.public-footer-heading {
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--aspire-muted); margin-bottom: .3rem;
}
.public-footer-col a { color: var(--aspire-text); text-decoration: none; font-size: .86rem; }
.public-footer-col a:hover { color: var(--aspire-link); }
.public-footer-bottom {
    border-top: 1px solid var(--aspire-border); padding: 1rem 2rem;
    text-align: center; color: var(--aspire-muted); font-size: .78rem;
}
@media (max-width: 575.98px) {
    .public-footer-inner { padding: 2rem 1.25rem 1.5rem; gap: 1.75rem; }
}

/* FAQ accordion (landing page) */
.faq-section { margin-top: 3rem; }
.faq-item {
    background: var(--aspire-surface); border: 1px solid var(--aspire-border);
    border-radius: .6rem; overflow: hidden;
}
.faq-item + .faq-item { margin-top: .6rem; }
.faq-question {
    width: 100%; text-align: left; background: none; border: none;
    padding: 1rem 1.25rem; font-weight: 600; font-size: .92rem; color: var(--aspire-text);
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer;
}
.faq-question .bi { transition: transform .2s ease; color: var(--aspire-muted); flex-shrink: 0; }
.faq-question[aria-expanded="true"] .bi { transform: rotate(180deg); }
.faq-answer-body { padding: 0 1.25rem 1.1rem; color: var(--aspire-muted); font-size: .86rem; line-height: 1.6; }

/* ------------------------------------------------------------------
   Dark-mode-only overrides for stock Bootstrap components.
   Bootstrap ships its own dark palette (via data-bs-theme="dark") that
   is completely independent of our --aspire-* tokens, so form inputs,
   muted text, and border utilities were rendering with Bootstrap's own
   dark greys instead of ours — two different dark palettes on the same
   page. Every rule here is scoped to dark mode only; light mode keeps
   using Bootstrap's untouched defaults, which already match our light
   tokens closely enough that no override was ever needed there.
   Two selector forms, matching the color-token pattern above: the
   attribute selector (the one that actually matters — our anti-FOUC
   script always sets data-theme before paint) and the media-query
   fallback for the rare case JS hasn't run yet.
   ------------------------------------------------------------------ */
:root[data-theme="dark"] .form-control,
:root[data-theme="dark"] .form-select {
    background-color: var(--aspire-surface);
    border-color: var(--aspire-border);
    color: var(--aspire-text);
}
:root[data-theme="dark"] .form-control:focus,
:root[data-theme="dark"] .form-select:focus {
    background-color: var(--aspire-surface);
    border-color: var(--aspire-link);
    color: var(--aspire-text);
    box-shadow: 0 0 0 .2rem var(--aspire-primary-soft);
}
:root[data-theme="dark"] .form-control::placeholder { color: var(--aspire-muted); opacity: 1; }
:root[data-theme="dark"] .form-control:disabled,
:root[data-theme="dark"] .form-select:disabled { background-color: var(--aspire-bg); opacity: .65; }
:root[data-theme="dark"] .form-check-input { background-color: var(--aspire-surface); border-color: var(--aspire-border); }
:root[data-theme="dark"] .form-check-input:checked { background-color: var(--aspire-primary); border-color: var(--aspire-primary); }
:root[data-theme="dark"] .form-text { color: var(--aspire-muted); }
:root[data-theme="dark"] .text-muted { color: var(--aspire-muted) !important; }
:root[data-theme="dark"] .form-label { color: var(--aspire-text); }
:root[data-theme="dark"] .border,
:root[data-theme="dark"] .border-top,
:root[data-theme="dark"] .border-bottom,
:root[data-theme="dark"] .border-start,
:root[data-theme="dark"] .border-end { border-color: var(--aspire-border) !important; }
:root[data-theme="dark"] .alert-success { background: var(--banner-success-bg); color: var(--banner-success-text); border-color: var(--banner-success-bg); }
:root[data-theme="dark"] .alert-danger { background: var(--banner-reject-bg); color: var(--banner-reject-text); border-color: var(--banner-reject-bg); }
:root[data-theme="dark"] .alert-info { background: var(--info-bg); color: var(--info-text); border-color: var(--info-bg); }
:root[data-theme="dark"] .alert-warning { background: var(--status-applied-bg); color: var(--status-applied); border-color: var(--status-applied-bg); }
:root[data-theme="dark"] .table { --bs-table-bg: transparent; background-color: transparent; }
:root[data-theme="dark"] .btn-outline-primary {
    background: var(--aspire-primary-soft); color: var(--aspire-link); border-color: var(--aspire-primary);
}
:root[data-theme="dark"] .btn-outline-primary:hover,
:root[data-theme="dark"] .btn-outline-primary:focus {
    background: var(--aspire-primary); color: #fff; border-color: var(--aspire-primary);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .form-control,
    :root:not([data-theme="light"]) .form-select {
        background-color: var(--aspire-surface);
        border-color: var(--aspire-border);
        color: var(--aspire-text);
    }
    :root:not([data-theme="light"]) .form-control:focus,
    :root:not([data-theme="light"]) .form-select:focus {
        background-color: var(--aspire-surface);
        border-color: var(--aspire-link);
        color: var(--aspire-text);
        box-shadow: 0 0 0 .2rem var(--aspire-primary-soft);
    }
    :root:not([data-theme="light"]) .form-control::placeholder { color: var(--aspire-muted); opacity: 1; }
    :root:not([data-theme="light"]) .form-check-input { background-color: var(--aspire-surface); border-color: var(--aspire-border); }
    :root:not([data-theme="light"]) .form-check-input:checked { background-color: var(--aspire-primary); border-color: var(--aspire-primary); }
    :root:not([data-theme="light"]) .form-text { color: var(--aspire-muted); }
    :root:not([data-theme="light"]) .text-muted { color: var(--aspire-muted) !important; }
    :root:not([data-theme="light"]) .form-label { color: var(--aspire-text); }
    :root:not([data-theme="light"]) .border,
    :root:not([data-theme="light"]) .border-top,
    :root:not([data-theme="light"]) .border-bottom,
    :root:not([data-theme="light"]) .border-start,
    :root:not([data-theme="light"]) .border-end { border-color: var(--aspire-border) !important; }
    :root:not([data-theme="light"]) .alert-success { background: var(--banner-success-bg); color: var(--banner-success-text); border-color: var(--banner-success-bg); }
    :root:not([data-theme="light"]) .alert-danger { background: var(--banner-reject-bg); color: var(--banner-reject-text); border-color: var(--banner-reject-bg); }
    :root:not([data-theme="light"]) .alert-info { background: var(--info-bg); color: var(--info-text); border-color: var(--info-bg); }
    :root:not([data-theme="light"]) .alert-warning { background: var(--status-applied-bg); color: var(--status-applied); border-color: var(--status-applied-bg); }
    :root:not([data-theme="light"]) .table { --bs-table-bg: transparent; background-color: transparent; }
    :root:not([data-theme="light"]) .btn-outline-primary {
        background: var(--aspire-primary-soft); color: var(--aspire-link); border-color: var(--aspire-primary);
    }
    :root:not([data-theme="light"]) .btn-outline-primary:hover,
    :root:not([data-theme="light"]) .btn-outline-primary:focus {
        background: var(--aspire-primary); color: #fff; border-color: var(--aspire-primary);
    }
}
