/* ================================================================
   UniHRM Recruitment System — site.css
   Bahria University | Modern dark-sidebar + glassmorphism
   ================================================================ */

/* ── LIGHT THEME COMPONENT OVERRIDES ────────────────────── */
/* (CSS variables are defined below in the proper cascade order) */

[data-theme="light"] .sidebar {
    background: #ffffff;
    border-right-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sidebar-brand {
    border-bottom-color: rgba(0, 63, 143, 0.25);
}

[data-theme="light"] .topbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .card-glass {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .card-glass h2,
[data-theme="light"] .card-glass h3,
[data-theme="light"] .card-glass h4,
[data-theme="light"] .card-glass h5 {
    color: #1a2234;
}

[data-theme="light"] .stat-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .stat-card .stat-value {
    color: #1a2234;
}

[data-theme="light"] .table-dark-custom thead th {
    background: rgba(0, 63, 143, 0.06);
    color: #5a6a85;
}

[data-theme="light"] .table-dark-custom td {
    color: #1a2234;
}

[data-theme="light"] .table-dark-custom tbody tr {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .table-dark-custom tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.12);
    color: #1a2234;
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
    background: #fff;
    border-color: var(--clr-primary-light);
}

[data-theme="light"] .form-control::placeholder {
    color: rgba(90, 106, 133, 0.5);
}

[data-theme="light"] .filter-bar {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .filter-bar .form-select {
    background: #f8fafc;
}

[data-theme="light"] .dropdown-menu {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .dropdown-item {
    color: #1a2234 !important;
}

[data-theme="light"] .nav-link-item {
    color: #5a6a85;
}

[data-theme="light"] .nav-link-item:hover {
    background: rgba(0, 63, 143, 0.06);
    color: #1a2234;
}

[data-theme="light"] .nav-link-item.active {
    background: rgba(0, 63, 143, 0.1);
    color: var(--clr-primary);
}

[data-theme="light"] .page-header h1 {
    color: #1a2234;
}

[data-theme="light"] .notes-box {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
    color: #5a6a85;
}

[data-theme="light"] .hero-section {
    background: linear-gradient(135deg, rgba(0, 63, 143, 0.08) 0%, rgba(0, 63, 143, 0.05) 100%);
    border-color: rgba(0, 63, 143, 0.12);
}

[data-theme="light"] .feature-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .score-bar {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .brand-sub {
    color: #b8860b;
}

[data-theme="light"] .page-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .rank-badge {
    background: #f0f4f8;
    border-color: rgba(0, 0, 0, 0.15);
    color: #5a6a85;
}

/* ── CSS Variables — Dark (default) ─────────────────────── */
:root,
[data-theme="dark"] {
    --clr-bg: #0a0e1a;
    --clr-surface: #111827;
    --clr-card: #1e2433;
    --clr-border: rgba(255, 255, 255, 0.07);
    --clr-primary: #003f8f;
    --clr-primary-light: #5b9bd5;
    --clr-accent: #0060d0;
    /* Changed from brownish to Vibrant Blue */
    --clr-success: #10b981;
    --clr-warning: #f59e0b;
    --clr-danger: #ef4444;
    --clr-text: #e2e8f0;
    --clr-muted: #94a3b8;
    --sidebar-w: 260px;
    --topbar-h: 60px;
    --transition: 0.25s ease;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ── CSS Variables — Light ───────────────────────────────── */
[data-theme="light"] {
    --clr-bg: #f0f4f8;
    --clr-surface: #ffffff;
    --clr-card: #ffffff;
    --clr-border: rgba(0, 0, 0, 0.09);
    --clr-primary: #003f8f;
    --clr-primary-light: #1565c0;
    --clr-accent: #003f8f;
    /* High contrast BU Navy */
    --clr-success: #1b7a50;
    --clr-warning: #e65c00;
    --clr-danger: #c0392b;
    --clr-text: #1a2234;
    --clr-muted: #5a6a85;
    --sidebar-w: 260px;
    --topbar-h: 60px;
    --transition: 0.25s ease;
    --radius: 12px;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

/* ── Reset / Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--clr-bg);
    color: var(--clr-text);
    font-size: 15px;
    line-height: 1.6;
    transition: background 0.25s ease, color 0.25s ease;
}

a {
    color: var(--clr-primary-light);
    text-decoration: none;
}

a:hover {
    color: var(--clr-accent);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-w);
    background: linear-gradient(180deg, #0d1928 0%, #111827 100%);
    border-right: 1px solid rgba(0, 63, 143, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: width var(--transition);
    overflow: hidden;
}

.sidebar.collapsed {
    width: 68px;
}

.sidebar.collapsed .brand-title,
.sidebar.collapsed .brand-sub,
.sidebar.collapsed .nav-section-label,
.sidebar.collapsed .nav-link-item span {
    display: none;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(0, 63, 143, 0.15);
    background: linear-gradient(135deg, rgba(0, 63, 143, 0.1), transparent);
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 2px solid var(--clr-accent);
}

.brand-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.brand-sub {
    font-size: 11px;
    color: var(--clr-accent);
    letter-spacing: 0.5px;
}

/* Nav */
.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--clr-accent);
    padding: 14px 10px 6px;
    opacity: 0.7;
}

.nav-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--clr-muted);
    font-weight: 500;
    transition: all var(--transition);
    margin-bottom: 2px;
    white-space: nowrap;
    text-decoration: none;
}

.nav-link-item i {
    font-size: 18px;
    flex-shrink: 0;
}

.nav-link-item:hover {
    background: rgba(91, 155, 213, 0.1);
    color: var(--clr-text);
}

.nav-link-item.active {
    background: linear-gradient(90deg, rgba(0, 63, 143, 0.6), rgba(0, 63, 143, 0.1));
    color: #fff;
    border-left: 4px solid var(--clr-accent);
    box-shadow: inset 4px 0 15px rgba(0, 0, 0, 0.2);
}

/* ── Main Wrapper ────────────────────────────────────────── */
.main-wrapper {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left var(--transition);
}

.main-wrapper.expanded {
    margin-left: 68px;
}

/* ── Topbar ──────────────────────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--topbar-h);
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 63, 143, 0.12);
    padding: 0 24px;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--clr-muted);
    font-size: 22px;
    cursor: pointer;
    transition: color var(--transition);
    padding: 4px;
}

.sidebar-toggle:hover {
    color: var(--clr-accent);
}

.topbar-title {
    font-weight: 700;
    flex: 1;
    font-size: 16px;
}

.topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

/* Topbar dropdown */
.dropdown-menu {
    background: var(--clr-card) !important;
    border: 1px solid var(--clr-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    padding: 8px !important;
}

.dropdown-item {
    color: var(--clr-text) !important;
    border-radius: 6px;
    padding: 8px 14px !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.dropdown-item.text-danger {
    color: #f87171 !important;
}

/* ── Page Content ────────────────────────────────────────── */
.page-content {
    flex: 1;
    padding: 28px 32px;
}

.page-footer {
    text-align: center;
    font-size: 12px;
    color: var(--clr-muted);
    padding: 18px;
    border-top: 1px solid var(--clr-border);
}

/* ── Toast Alerts ────────────────────────────────────────── */
.alert-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    margin: 8px 32px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

.alert-toast.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.alert-toast.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Cards ───────────────────────────────────────────────── */
.card-glass {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.card-glass h5,
.card-glass h4,
.card-glass h3,
.card-glass h2 {
    color: #fff;
}

/* Stat Cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.stat-card .glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.15;
}

.stat-card .stat-label {
    font-size: 11px;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.stat-card .stat-icon {
    font-size: 22px;
    margin-bottom: 8px;
}

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
    margin-bottom: 28px;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.page-header p {
    color: var(--clr-muted);
    margin-top: 4px;
}

/* ── Tables ──────────────────────────────────────────────── */
.table-dark-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table-dark-custom thead th {
    background: rgba(0, 63, 143, 0.15);
    color: var(--clr-muted);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--clr-border);
}

.table-dark-custom tbody tr {
    border-bottom: 1px solid var(--clr-border);
    transition: background var(--transition);
}

.table-dark-custom tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.table-dark-custom td {
    padding: 13px 16px;
    vertical-align: middle;
}

/* extra small text for contact details in panel table */
.table-dark-custom td.contact {
    font-size: 13px;
    color: var(--clr-muted);
}

/* highlight online meeting links */
.table-dark-custom .teams-link a {
    color: #4ea1f3;
    font-weight: 600;
    text-decoration: underline;
}

/* Rank badges */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    background: var(--clr-card);
    border: 2px solid var(--clr-border);
    color: var(--clr-muted);
}

.rank-badge.gold {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
    color: #f59e0b;
}

.rank-badge.silver {
    background: rgba(148, 163, 184, 0.15);
    border-color: #94a3b8;
    color: #94a3b8;
}

.rank-badge.bronze {
    background: rgba(234, 88, 12, 0.15);
    border-color: #ea580c;
    color: #ea580c;
}

/* Score bar */
.score-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 130px;
}

.score-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #003f8f, #00d2ff);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.score-val {
    font-weight: 700;
    font-size: 13px;
    color: var(--clr-accent);
    min-width: 38px;
}

/* ── Status Badges ───────────────────────────────────────── */
.badge-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.badge-underreview {
    background: rgba(91, 155, 213, 0.15);
    color: var(--clr-primary-light);
}

.badge-shortlisted {
    background: rgba(0, 63, 143, 0.15);
    color: var(--clr-accent);
}

.badge-interview {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.badge-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.badge-hired {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.badge-offered {
    background: rgba(16, 185, 129, 0.10);
    color: #6ee7b7;
}

.badge-interviewed {
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
}

/* Eligibility indicators */
.elig-yes {
    color: var(--clr-success);
    font-size: 18px;
}

.elig-no {
    color: var(--clr-danger);
    font-size: 18px;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-section-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 0 12px;
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: 16px;
}

.form-label {
    color: var(--clr-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.form-label.required::after {
    content: ' *';
    color: #f87171;
}

.form-control,
.form-select {
    background: #1a2535;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-text);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all var(--transition);
    width: 100%;
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.14);
    color: #1a2234;
}

.form-control:focus,
.form-select:focus {
    background: rgba(0, 63, 143, 0.18);
    border-color: var(--clr-primary-light);
    color: var(--clr-text);
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.18);
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
    background: #fff;
    border-color: #1565c0;
    color: #1a2234;
    box-shadow: 0 0 0 3px rgba(0, 63, 143, 0.12);
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

[data-theme="light"] .form-control::placeholder {
    color: rgba(90, 106, 133, 0.45);
}

.form-select option {
    background: #1a2535;
    color: var(--clr-text);
}

[data-theme="light"] .form-select option {
    background: #fff;
    color: #1a2234;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.text-danger {
    color: #f87171 !important;
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

/* Form switches */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-border);
}

[data-theme="light"] .form-check-input {
    background-color: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

.form-check-input:checked {
    background-color: var(--clr-primary-light);
    border-color: var(--clr-primary-light);
}

.form-switch .form-check-input {
    width: 2.2em;
}

/* Input groups */
.input-group-text {
    background: #1a2535 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--clr-muted) !important;
    border-radius: 8px 0 0 8px;
}

[data-theme="light"] .input-group-text {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.14) !important;
    color: #5a6a85 !important;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, #003f8f, #0060d0);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 63, 143, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 63, 143, 0.45);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Action Buttons ──────────────────────────────────────── */
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-action.primary {
    background: linear-gradient(135deg, #003f8f, #0060d0);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-action.primary:hover {
    background: linear-gradient(135deg, #004fb1, #0073f8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 63, 143, 0.4);
}

.btn-action.success {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-action.success:hover {
    background: rgba(16, 185, 129, 0.22);
}

.btn-action.danger {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-action.danger:hover {
    background: rgba(239, 68, 68, 0.22);
}

.btn-action.outline {
    background: transparent;
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
}

.btn-action.outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-action.warning {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-action.warning:hover {
    background: rgba(245, 158, 11, 0.22);
}

/* Skill pills */
.skill-pill {
    display: inline-block;
    background: rgba(91, 155, 213, 0.12);
    color: var(--clr-primary-light);
    border: 1px solid rgba(91, 155, 213, 0.25);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    margin: 2px 2px;
}

[data-theme="light"] .skill-pill {
    background: rgba(0, 63, 143, 0.07);
    color: #1565c0;
    border-color: rgba(0, 63, 143, 0.15);
}

/* Detail rows on profile page */
.detail-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-item {
    flex: 1;
    min-width: 120px;
}

.detail-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--clr-muted);
    margin-bottom: 3px;
}

.detail-value {
    font-size: 14px;
    color: var(--clr-text);
    font-weight: 500;
}

/* ── Filter Bar ──────────────────────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.filter-bar .form-select,
.filter-bar .form-control {
    max-width: 220px;
}

.btn-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--clr-primary);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background var(--transition);
}

.btn-filter:hover {
    background: #005bc4;
}

/* ── Detail View ─────────────────────────────────────────── */
.detail-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.detail-item {
    flex: 1;
    min-width: 150px;
}

.detail-label {
    font-size: 11px;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.detail-value {
    font-weight: 600;
    color: var(--clr-text);
}

/* Eligibility notes box */
.notes-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--clr-muted);
    white-space: pre-line;
    line-height: 1.8;
}

/* Skills pills */
.skill-pill {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(0, 63, 143, 0.2);
    border: 1px solid rgba(91, 155, 213, 0.3);
    color: var(--clr-primary-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin: 2px;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero-section {
    min-height: 380px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 63, 143, 0.3) 0%, rgba(0, 63, 143, 0.08) 100%);
    border: 1px solid rgba(0, 63, 143, 0.15);
    display: flex;
    align-items: center;
    padding: 48px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 63, 143, 0.25), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--clr-accent);
}

.hero-content p {
    font-size: 16px;
    color: var(--clr-muted);
    margin-top: 16px;
    max-width: 500px;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--clr-primary);
    color: #fff;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 700;
    transition: all var(--transition);
}

.btn-hero-primary:hover {
    background: #005bc4;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 63, 143, 0.4);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 63, 143, 0.1);
    color: var(--clr-accent);
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid rgba(0, 63, 143, 0.3);
    transition: all var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(0, 63, 143, 0.18);
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--clr-accent);
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-card h5 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--clr-muted);
}

/* Confirmation page */
.confirm-card {
    max-width: 600px;
    margin: 60px auto;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
    border-radius: 18px;
    padding: 48px;
    text-align: center;
}

.confirm-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.confirm-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .sidebar {
        width: 68px;
    }

    .sidebar .brand-title,
    .sidebar .brand-sub,
    .sidebar .nav-section-label,
    .sidebar .nav-link-item span {
        display: none;
    }

    .main-wrapper {
        margin-left: 68px;
    }

    .page-content {
        padding: 20px 16px;
    }

    .hero-section {
        padding: 28px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .filter-bar .form-select,
    .filter-bar .form-control {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .main-wrapper {
        margin-left: 0;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .page-content {
        padding: 16px;
    }
}