/* ============================================================
   Executive Glassmorphism Admin Design System
   Elgarhy Recruitment Platform - Modern Administration Suite
   ============================================================ */

:root {
    --glass-bg: rgba(255, 255, 255, 0.94);
    --glass-bg-subtle: rgba(248, 250, 252, 0.85);
    --glass-border: rgba(226, 232, 240, 0.9);
    --glass-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 0 1px 1px rgba(15, 23, 42, 0.02);
    --glass-shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(15, 23, 42, 0.03);
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-gold: #f59e0b;
    --color-gold-dark: #d97706;
    --color-gold-light: #fef3c7;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Background & Base - Dark Navy Corporate Shell */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0b111e !important;
}

body.glass-admin-body {
    background-color: #0b111e !important;
    background-image: 
        radial-gradient(at 10% 10%, rgba(245, 158, 11, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(15, 23, 42, 0.05) 0px, transparent 50%);
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #e2e8f0;
    min-height: 100vh;
}

/* Glass Header */
.glass-header {
    background: linear-gradient(135deg, #090e17 0%, #111827 60%, #0f172a 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.glass-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    gap: 1.5rem;
}

.glass-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.glass-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.4rem;
}

.glass-brand-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.glass-brand-subtitle {
    margin: 0.15rem 0 0 0;
    font-size: 0.82rem;
    color: #94a3b8;
}

.glass-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-glass-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.btn-glass-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-glass-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #0f172a !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-glass-gold:hover {
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
    color: #000000 !important;
}

.btn-glass-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.btn-glass-danger:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* Main Container */
.glass-admin-main {
    max-width: 1600px;
    margin: 1.75rem auto;
    padding: 0 1.5rem 3rem;
}

/* ============================================================
   Executive KPI Deck
   ============================================================ */
.kpi-deck-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 1400px) {
    .kpi-deck-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .kpi-deck-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
}

@media (max-width: 480px) {
    .kpi-deck-grid {
        grid-template-columns: 1fr;
    }
}

.kpi-card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.kpi-card-glass:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-shadow-lg);
    border-color: #cbd5e1;
}

.kpi-card-glass::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: #cbd5e1;
    border-radius: var(--radius-full) var(--radius-full) 0 0;
}

.kpi-card-glass.kpi-total::after { background: linear-gradient(90deg, #3b82f6, #0284c7); }
.kpi-card-glass.kpi-elite::after { background: linear-gradient(90deg, #f59e0b, #d97706); }
.kpi-card-glass.kpi-pending::after { background: linear-gradient(90deg, #64748b, #475569); }
.kpi-card-glass.kpi-eval::after { background: linear-gradient(90deg, #8b5cf6, #06b6d4); }
.kpi-card-glass.kpi-hired::after { background: linear-gradient(90deg, #10b981, #059669); }
.kpi-card-glass.kpi-archive::after { background: linear-gradient(90deg, #6b7280, #4b5563); }

.kpi-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.kpi-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-slate-600);
    margin: 0;
}

.kpi-icon-box {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.kpi-total .kpi-icon-box { background: #eff6ff; color: #2563eb; }
.kpi-elite .kpi-icon-box { background: #fef3c7; color: #d97706; }
.kpi-pending .kpi-icon-box { background: #f1f5f9; color: #475569; }
.kpi-eval .kpi-icon-box { background: #f3e8ff; color: #7c3aed; }
.kpi-hired .kpi-icon-box { background: #ecfdf5; color: #059669; }
.kpi-archive .kpi-icon-box { background: #f3f4f6; color: #4b5563; }

.kpi-number-row {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
}

.kpi-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-slate-900);
    line-height: 1;
    letter-spacing: -0.02em;
}

.kpi-badge-trend {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
}

.trend-green { background: #dcfce7; color: #15803d; }
.trend-gold { background: #fef3c7; color: #b45309; }
.trend-slate { background: #f1f5f9; color: #475569; }
.trend-purple { background: #f3e8ff; color: #6b21a8; }

/* ============================================================
   Interactive Status Filter Pills Track
   ============================================================ */
.status-track-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--glass-shadow);
}

.status-track-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.status-track-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-slate-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-pills-bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
}

.status-pills-bar::-webkit-scrollbar {
    height: 4px;
}

.status-pills-bar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.status-pill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-slate-600);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    user-select: none;
}

.status-pill-chip:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--color-slate-900);
    transform: translateY(-1px);
}

.status-pill-chip.active {
    background: var(--color-slate-900);
    border-color: var(--color-slate-900);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.status-pill-chip.chip-elite.active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #d97706;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.status-pill-chip.chip-archive.active {
    background: #475569;
    border-color: #334155;
    color: #ffffff;
}

.pill-count-badge {
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.12rem 0.55rem;
    border-radius: var(--radius-full);
}

.status-pill-chip.active .pill-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.status-pill-chip.chip-elite.active .pill-count-badge {
    background: rgba(0, 0, 0, 0.18);
    color: #0f172a;
}

/* ============================================================
   Multi-Filter Toolbar
   ============================================================ */
.filter-toolbar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.filter-grid-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr 1fr auto;
    gap: 0.85rem;
    align-items: center;
}

@media (max-width: 1200px) {
    .filter-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-grid-row {
        grid-template-columns: 1fr;
    }
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-glass {
    position: absolute;
    right: 1rem;
    color: var(--color-slate-400);
    font-size: 0.95rem;
    pointer-events: none;
}

.search-input-glass {
    width: 100%;
    padding: 0.65rem 2.5rem 0.65rem 2.25rem;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    background: linear-gradient(135deg, rgba(23, 33, 56, 0.98), rgba(15, 23, 42, 0.98));
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--color-slate-800);
    transition: var(--transition);
}

.search-input-glass:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.search-clear-btn {
    position: absolute;
    left: 0.75rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    display: none;
    padding: 0;
}

.search-clear-btn:hover {
    color: #475569;
}

.select-filter-glass {
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    background: linear-gradient(135deg, rgba(23, 33, 56, 0.98), rgba(15, 23, 42, 0.98));
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--color-slate-700);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.select-filter-glass:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.btn-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--color-slate-600);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-filter-reset:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* ============================================================
   Applications & Global Table Cards - Modern Dark Compact System
   ============================================================ */
.table-card-glass,
.glass-table-card {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
}

.glass-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 158, 11, 0.35) rgba(15, 23, 42, 0.5);
}

.glass-table-responsive::-webkit-scrollbar {
    height: 5px;
    width: 5px;
}

.glass-table-responsive::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

.glass-table-responsive::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.35);
    border-radius: 4px;
}

.glass-table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.6);
}

.table-glass-dark,
.table-glass {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    color: #cbd5e1;
    table-layout: auto;
}

.table-glass-dark th,
.table-glass thead th {
    background: rgba(15, 23, 42, 0.95);
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.77rem;
    letter-spacing: 0.3px;
    padding: 0.65rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: right;
    line-height: 1.35;
    vertical-align: middle;
}

.table-glass-dark td,
.table-glass tbody td {
    padding: 0.65rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.table-glass-dark tr:hover td,
.table-row-glass:hover td {
    background: rgba(255, 255, 255, 0.035) !important;
}

.table-glass-dark tr:last-child td,
.table-glass tr:last-child td {
    border-bottom: none;
}

.table-row-glass.row-elite-glass {
    background: rgba(245, 158, 11, 0.07) !important;
}

.table-row-glass.row-elite-glass:hover td {
    background: rgba(245, 158, 11, 0.14) !important;
}

.table-row-glass.row-archived-glass {
    opacity: 0.55;
    background: rgba(15, 23, 42, 0.5) !important;
}

/* Columns Details - Compact & Sharp */
.applicant-cell-glass {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.applicant-avatar-img {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.applicant-avatar-initials {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: var(--radius-md);
    background: #1e293b;
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-elite {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35) !important;
    border: none !important;
}

.applicant-name-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.applicant-name-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.15s;
}

.applicant-name-link:hover {
    color: #f59e0b;
}

.badge-elite-shield {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.12rem 0.45rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.badge-archived-pill {
    background: #475569;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.12rem 0.45rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.applicant-sub-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.contact-phone-link {
    font-weight: 700;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8rem;
    direction: ltr;
}

.whatsapp-quick-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(37, 211, 102, 0.3);
    transition: transform 0.15s;
}

.whatsapp-quick-btn:hover {
    transform: scale(1.15);
}

.contact-email {
    font-size: 0.72rem;
    color: #64748b;
    direction: ltr;
    text-align: right;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.job-cell-glass {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.job-title-glass {
    font-weight: 700;
    color: #f1f5f9;
    font-size: 0.84rem;
}

.job-meta-glass {
    font-size: 0.74rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.salary-tag {
    color: #34d399;
    font-weight: 700;
}

.qualification-cell-glass {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.qual-name {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.8rem;
}

.qual-year {
    font-size: 0.72rem;
    color: #64748b;
}

/* Status Selector */
.interactive-status-select {
    padding: 0.22rem 0.55rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.76rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.interactive-status-select:hover {
    filter: brightness(1.1);
}

.strategy-snippet {
    display: inline-block;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.74rem;
    color: #94a3b8;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.date-cell-glass {
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
    color: #cbd5e1;
}

.date-display {
    font-size: 0.78rem;
    font-weight: 600;
}

.time-display {
    font-size: 0.68rem;
    color: #64748b;
}

/* Actions */
.action-btn-group-glass {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-action-glass {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.8);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.btn-action-glass:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.btn-view-glass:hover {
    background: #f59e0b;
    color: #0f172a;
    border-color: #f59e0b;
}

.btn-comment-glass:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.btn-archive-glass:hover {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}

.btn-archive-glass.active-archived {
    background: #64748b;
    color: #ffffff;
    border-color: #64748b;
}

.btn-delete-glass:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.comment-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0f172a;
}

/* Custom Checkbox */
.custom-checkbox-glass {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.custom-checkbox-glass input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-mark {
    width: 19px;
    height: 19px;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(23, 33, 56, 0.98), rgba(15, 23, 42, 0.98));
    border: 1.5px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.custom-checkbox-glass input:checked ~ .checkbox-mark {
    background: var(--color-slate-900);
    border-color: var(--color-slate-900);
}

.custom-checkbox-glass input:checked ~ .checkbox-mark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    color: #ffffff;
}

/* Floating Bulk Action Bar */
.floating-bulk-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
}

.floating-bulk-bar.active {
    transform: translateX(-50%) translateY(0);
}

.bulk-count-badge {
    background: rgba(245, 158, 11, 0.25);
    color: #fde68a;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.bulk-select-status {
    background: #1e293b;
    border: 1px solid #475569;
    color: #ffffff;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 600;
    outline: none;
}

.btn-bulk-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-md);
    border: none;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: #ffffff;
}

.btn-bulk-archive { background: #3b82f6; }
.btn-bulk-archive:hover { background: #2563eb; }
.btn-bulk-delete { background: #ef4444; }
.btn-bulk-delete:hover { background: #dc2626; }
.btn-bulk-cancel { background: transparent; color: #94a3b8; }
.btn-bulk-cancel:hover { color: #ffffff; }

/* ============================================================
   Glass Modals
   ============================================================ */
.glass-modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.glass-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.glass-modal-dialog {
    background: linear-gradient(135deg, rgba(23, 33, 56, 0.98), rgba(15, 23, 42, 0.98));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.glass-modal-backdrop.active .glass-modal-dialog {
    transform: scale(1);
}

.glass-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.glass-modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-slate-900);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.15s;
}

.btn-close-modal:hover { color: #0f172a; }

.glass-modal-body {
    padding: 1.75rem;
}

/* Toast Notifications */
.glass-toast-container {
    position: fixed;
    top: 5.5rem;
    left: 2rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.glass-toast {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.35rem;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.glass-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.glass-toast.toast-success i { color: #10b981; }
.glass-toast.toast-error i { color: #ef4444; }
.glass-toast.toast-info i { color: #3b82f6; }

/* Empty state */
.empty-state-glass {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}


/* ============================================================
   Unified Executive Layout Architecture
   Sidebar, Topbar, Dark Glass Cards & Responsive Grid
   ============================================================ */

.glass-admin-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    background-color: #0b111e;
    color: #e2e8f0;
}

/* Executive Sidebar */
.glass-sidebar {
    width: 240px;
    min-width: 240px;
    background: linear-gradient(180deg, #090e17 0%, #0d1527 50%, #080d16 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-sidebar-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.glass-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.glass-brand-shield {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1.35rem;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
    flex-shrink: 0;
}

.glass-brand-texts {
    display: flex;
    flex-direction: column;
}

.glass-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.glass-brand-dept {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.glass-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.85rem;
}

.glass-sidebar-nav::-webkit-scrollbar {
    width: 5px;
}
.glass-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.glass-nav-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin: 1.1rem 0.6rem 0.4rem;
}

.glass-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.glass-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.glass-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(-3px);
}

.glass-nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glass-nav-link.active::before {
    content: \'\';
    position: absolute;
    right: -0.85rem;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 3.5px;
    background: #f59e0b;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 0 10px #f59e0b;
}

.glass-nav-icon {
    font-size: 1.05rem;
    width: 22px;
    text-align: center;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.glass-nav-link:hover .glass-nav-icon,
.glass-nav-link.active .glass-nav-icon {
    color: #f59e0b;
}

.glass-nav-text {
    flex: 1;
}

.glass-nav-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    line-height: 1.2;
}

.badge-pending {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-elite {
    background: rgba(245, 158, 11, 0.2);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-custom {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.glass-sidebar-footer {
    padding: 1rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.glass-user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.glass-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1.5px solid #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1rem;
}

.glass-user-info {
    display: flex;
    flex-direction: column;
}

.glass-user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
}

.glass-user-role {
    font-size: 0.72rem;
    color: #64748b;
}

.glass-sidebar-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sidebar-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-sidebar-action:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.btn-sidebar-logout:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Main Area */
.glass-admin-main-wrap {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Executive Topbar */
.glass-topbar {
    height: 68px;
    background: rgba(13, 21, 39, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.75rem;
    position: sticky;
    top: 0;
    z-index: 90;
    gap: 1rem;
}

.glass-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-topbar-toggle {
    display: flex;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.glass-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.breadcrumb-root {
    color: #94a3b8;
}

.breadcrumb-separator {
    color: #475569;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 700;
}

.glass-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-topbar-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-topbar-action:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-topbar-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a !important;
    border: none;
    font-weight: 700;
}

.btn-topbar-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.topbar-chip-count {
    background: rgba(245, 158, 11, 0.25);
    color: #fde68a;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.topbar-user-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: #cbd5e1;
}

.user-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

/* Content Body */
.glass-admin-content-body {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background-color: #0b111e;
    background-image: 
        radial-gradient(at 15% 15%, rgba(245, 158, 11, 0.04) 0px, transparent 40%),
        radial-gradient(at 85% 85%, rgba(59, 130, 246, 0.03) 0px, transparent 40%);
}

.glass-admin-footer {
    padding: 1.25rem 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(9, 14, 23, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #64748b;
}

.system-status-indicator {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Mobile Sidebar Backdrop */
.glass-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.glass-sidebar-backdrop.active {
    display: block;
}

/* Glass Card & Panels */
.glass-card-dark {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.5rem;
}

.glass-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.glass-card-subtitle {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.quick-action-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #f1f5f9;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-action-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.quick-action-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.quick-action-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

/* Modern Dark Form Controls */
.glass-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.form-group-glass {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.form-label-glass {
    font-size: 0.88rem;
    font-weight: 700;
    color: #cbd5e1;
}

.form-control-glass {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.form-control-glass:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    background: rgba(15, 23, 42, 0.85);
}

.form-select-glass {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.92rem;
    cursor: pointer;
}

.form-select-glass option {
    background: #0f172a;
    color: #f8fafc;
}

/* Modern Glass Table in Dark Shell */
.glass-table-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 2rem;
}

.glass-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table-glass-dark {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    color: #cbd5e1;
}



/* Live Status Pill Preview */
.live-pill-preview-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.color-palette-presets {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.btn-color-preset {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-color-preset:hover {
    transform: scale(1.2);
}

/* Responsive Rules - Off-Canvas Mobile Drawer & Anti-Overflow Architecture */
.btn-close-sidebar-mobile {
    display: none;
}

@media (max-width: 992px) {
    .glass-sidebar {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: 280px !important;
        min-width: unset !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 100005 !important;
        background: linear-gradient(180deg, #090e17 0%, #0d1527 50%, #080d16 100%) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: none !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .glass-sidebar.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.85) !important;
    }

    .glass-sidebar-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 1.25rem 1rem !important;
    }

    .btn-close-sidebar-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: #f8fafc;
        font-size: 1.15rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-close-sidebar-mobile:hover {
        background: rgba(239, 68, 68, 0.25);
        color: #fca5a5;
        border-color: rgba(239, 68, 68, 0.5);
    }

    .glass-sidebar-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 100000 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s !important;
    }

    .glass-sidebar-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .btn-topbar-toggle {
        display: flex !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .glass-topbar {
        padding: 0 0.85rem !important;
        height: 60px !important;
        gap: 0.5rem !important;
    }

    .glass-topbar-left {
        gap: 0.4rem !important;
    }

    .glass-breadcrumb .breadcrumb-current {
        max-width: 125px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.82rem;
    }

    .btn-topbar-action {
        padding: 0.4rem 0.65rem !important;
        font-size: 0.8rem !important;
    }

    .glass-admin-content-body {
        padding: 1rem 0.75rem !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}

@media (max-width: 576px) {
    .hide-mobile-sm {
        display: none !important;
    }
}

/* Universal Table & Container Anti-Overflow Protection */
.table-responsive,
.glass-table-responsive,
.glass-table-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin;
}


/* Desktop Collapsed Sidebar State (Instant Full-Width Mode) */
@media (min-width: 993px) {
    .glass-admin-layout.sidebar-collapsed .glass-sidebar {
        width: 68px !important;
        min-width: 68px !important;
    }
    .glass-admin-layout.sidebar-collapsed .glass-sidebar-header {
        padding: 1.25rem 0.5rem;
        display: flex;
        justify-content: center;
    }
    .glass-admin-layout.sidebar-collapsed .brand-text-box,
    .glass-admin-layout.sidebar-collapsed .glass-nav-label,
    .glass-admin-layout.sidebar-collapsed .glass-badge-count,
    .glass-admin-layout.sidebar-collapsed .glass-sidebar-user,
    .glass-admin-layout.sidebar-collapsed .btn-sidebar-action span {
        display: none !important;
    }
    .glass-admin-layout.sidebar-collapsed .glass-nav-link {
        justify-content: center;
        padding: 0.75rem 0;
        position: relative;
    }
    .glass-admin-layout.sidebar-collapsed .glass-nav-icon {
        margin: 0;
        font-size: 1.15rem;
    }
    .glass-admin-layout.sidebar-collapsed .glass-sidebar-actions {
        flex-direction: column;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    .glass-admin-layout.sidebar-collapsed .btn-sidebar-action {
        justify-content: center;
        padding: 0.5rem;
        width: 100%;
    }
}

@media (max-width: 1440px) {
    .glass-admin-content-body {
        padding: 1rem 1.15rem;
    }
    .table-glass-dark th,
    .table-glass thead th,
    .table-glass-dark td,
    .table-glass tbody td {
        padding: 0.55rem 0.5rem;
    }
}


/* ============================================================
   Table Column Sorting System
   ============================================================ */
.table-glass-dark th.sortable,
.table-glass thead th.sortable,
.table-glass-dark th[data-sort],
.table-glass thead th[data-sort] {
    cursor: pointer !important;
    user-select: none;
    position: relative;
    transition: background 0.15s, color 0.15s;
}

.table-glass-dark th.sortable:hover,
.table-glass-dark th[data-sort]:hover {
    background: rgba(30, 41, 59, 0.9) !important;
    color: #f8fafc !important;
}

.th-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
}

.sort-icon {
    font-size: 0.72rem;
    color: #64748b;
    margin-right: 4px;
    transition: color 0.15s, transform 0.15s;
}

th.sortable:hover .sort-icon,
th[data-sort]:hover .sort-icon {
    color: #f59e0b;
}

th.sort-asc .sort-icon,
th.sort-desc .sort-icon {
    color: #f59e0b !important;
    opacity: 1 !important;
}

/* ============================================================
   Executive Glass Form Design System (add-job, edit-job, settings)
   ============================================================ */
.glass-form-card {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
}

.glass-form-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-form-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.glass-form-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0;
}

.glass-form-subtitle {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0.2rem 0 0 0;
}

.glass-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.glass-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 992px) {
    .glass-form-grid-2,
    .glass-form-grid-3 {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group select,
.form-group textarea,
.form-control-glass {
    width: 100%;
    background: rgba(11, 17, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: #f8fafc;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control-glass:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
    background: rgba(15, 23, 42, 0.95);
}

.form-group select option {
    background: #0f172a;
    color: #f8fafc;
}

.form-group textarea {
    min-height: 105px;
    resize: vertical;
    line-height: 1.6;
}

.req-star {
    color: #ef4444;
    font-weight: 800;
    margin-right: 3px;
}

.field-customization-banner {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.banner-text-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.92rem;
}

.banner-text-box i {
    font-size: 1.25rem;
}

/* Applicant Required Fields Grid */
.app-req-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.app-req-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-req-btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-pill-small {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-pill-small:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #f8fafc;
}

.app-fields-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.75rem;
}

.app-field-card-item {
    background: rgba(11, 17, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
}

.app-field-card-item:hover {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(15, 23, 42, 0.85);
}

.app-field-card-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #e2e8f0;
    cursor: pointer;
    margin: 0;
}

.app-req-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
}

.badge-required {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-optional {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.25);
}

/* Glass Form Actions Bar */
.glass-form-actions-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 0;
    margin-top: 1rem;
}

.btn-glass-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
}

.btn-glass-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: #000;
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}


/* ============================================================
   Executive Dashboard 2.0 Design System
   High-Contrast Dark Glass Aesthetic & Analytics
   ============================================================ */

/* 1. Dashboard Welcome & Pulse Banner */
.dash-banner-glass {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.78) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.45), 0 0 1px 1px rgba(245, 158, 11, 0.15);
}

.dash-banner-glass::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 70%);
    pointer-events: none;
}

.dash-banner-glass .watermark-shield {
    position: absolute;
    left: -25px;
    bottom: -30px;
    font-size: 11rem;
    color: rgba(245, 158, 11, 0.035);
    pointer-events: none;
    z-index: 1;
}

.dash-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.dash-banner-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.dash-banner-subtitle {
    color: #cbd5e1;
    font-size: 0.94rem;
    margin: 0;
    line-height: 1.6;
    max-width: 680px;
}

.dash-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.btn-dash-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-dash-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-dash-action.btn-dash-gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fde68a;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.btn-dash-action.btn-dash-gold:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(217, 119, 6, 0.25) 100%);
    border-color: #f59e0b;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.btn-dash-action.btn-dash-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 1px solid #fbbf24;
    color: #0b1120;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-dash-action.btn-dash-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
    color: #000;
}

/* 2. Executive 5-Column KPI Deck */
.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 1400px) {
    .dash-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .dash-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dash-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.dash-kpi-card {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.35rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.35);
}

.dash-kpi-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
    transition: height 0.2s ease;
}

.dash-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.dash-kpi-card:hover::after {
    height: 4px;
}

/* KPI Color Schemes */
.dash-kpi-card.kpi-theme-cyan::after { background: linear-gradient(90deg, #38bdf8, #0284c7); }
.dash-kpi-card.kpi-theme-cyan:hover { border-color: rgba(56, 189, 248, 0.4); box-shadow: 0 12px 30px rgba(56, 189, 248, 0.12); }

.dash-kpi-card.kpi-theme-gold {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
}
.dash-kpi-card.kpi-theme-gold::after { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.dash-kpi-card.kpi-theme-gold:hover { border-color: #f59e0b; box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2); }

.dash-kpi-card.kpi-theme-orange::after { background: linear-gradient(90deg, #f97316, #ea580c); }
.dash-kpi-card.kpi-theme-orange:hover { border-color: rgba(249, 115, 22, 0.4); box-shadow: 0 12px 30px rgba(249, 115, 22, 0.12); }

.dash-kpi-card.kpi-theme-indigo::after { background: linear-gradient(90deg, #818cf8, #6366f1); }
.dash-kpi-card.kpi-theme-indigo:hover { border-color: rgba(129, 140, 248, 0.4); box-shadow: 0 12px 30px rgba(129, 140, 248, 0.12); }

.dash-kpi-card.kpi-theme-emerald::after { background: linear-gradient(90deg, #34d399, #10b981); }
.dash-kpi-card.kpi-theme-emerald:hover { border-color: rgba(52, 211, 153, 0.4); box-shadow: 0 12px 30px rgba(52, 211, 153, 0.12); }

.dash-kpi-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.dash-kpi-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #94a3b8;
    margin: 0;
}

.dash-kpi-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.dash-kpi-card:hover .dash-kpi-icon-wrap {
    transform: scale(1.08);
}

.dash-kpi-value {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.dash-kpi-progress {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.dash-kpi-progress-bar {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s ease-in-out;
}

.dash-kpi-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}

/* 3. Analytics & Charts Suite */
.dash-charts-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 1100px) {
    .dash-charts-grid {
        grid-template-columns: 1fr;
    }
}

.dash-chart-card {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.dash-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-chart-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dash-chart-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dash-chart-subtitle {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

.dash-chart-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.dash-chart-canvas-container {
    position: relative;
    width: 100%;
    min-height: 270px;
    flex: 1;
}

/* Custom Doughnut Status Legend */
.dash-doughnut-legend {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1rem;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.dash-legend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    transition: background 0.15s ease;
}

.dash-legend-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dash-legend-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 0.5rem;
}

.dash-legend-label {
    color: #e2e8f0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.dash-legend-count {
    color: #ffffff;
    font-weight: 800;
    font-family: monospace;
}

.dash-legend-pct {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

/* 4. Main Split: Recent Apps & Active Jobs */
.dash-split-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 1100px) {
    .dash-split-grid {
        grid-template-columns: 1fr;
    }
}

/* Active Jobs Mini Cards */
.dash-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-job-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.dash-job-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateX(-3px);
}

.dash-job-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.dash-job-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.4;
}

.dash-job-badge {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dash-job-badge:hover {
    background: #38bdf8;
    color: #0b1120;
}

.dash-job-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-job-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.dash-job-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border-radius: var(--radius-full);
}

/* 5. Quick Tools Hub */
.dash-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .dash-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .dash-tools-grid {
        grid-template-columns: 1fr;
    }
}

.dash-tool-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.22s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.dash-tool-card:hover {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dash-tool-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dash-tool-card:hover .dash-tool-icon {
    transform: scale(1.1);
}

.dash-tool-title {
    font-weight: 800;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.dash-tool-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
}


/* ============================================================
   Executive Mobile Responsiveness & Multi-Screen Architecture
   ============================================================ */

/* 1. Global Viewport & Canvas Confinement */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0b111e !important;
    -webkit-text-size-adjust: 100%;
}

.glass-admin-layout,
.glass-admin-main-wrap,
.glass-admin-content-body {
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* 2. Slim Topbar Optimization */
.glass-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 64px;
    background: rgba(9, 14, 23, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 1rem;
}

@media (max-width: 992px) {
    .glass-topbar {
        padding: 0 0.85rem !important;
        height: 56px !important;
        gap: 0.5rem !important;
    }
    .glass-topbar-left {
        gap: 0.35rem !important;
    }
    .btn-topbar-action {
        padding: 0.35rem 0.65rem !important;
        font-size: 0.8rem !important;
    }
}

/* 3. Off-Canvas Drawer Hardening */
@media (max-width: 992px) {
    .glass-sidebar {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 100005 !important;
        background: linear-gradient(180deg, #090e17 0%, #0d1527 50%, #080d16 100%) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: none !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .glass-sidebar.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.85) !important;
    }

    .glass-sidebar-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 100000 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s !important;
    }

    .glass-sidebar-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* 4. Banner Responsiveness */
@media (max-width: 768px) {
    .dash-banner-glass {
        padding: 1.15rem 1rem !important;
        margin-bottom: 1.25rem !important;
    }
    .dash-banner-content {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }
    .dash-banner-title {
        font-size: 1.25rem !important;
        line-height: 1.35 !important;
    }
    .dash-banner-subtitle {
        font-size: 0.85rem !important;
    }
    .dash-banner-actions {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .dash-banner-actions .btn-dash-action {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* 5. Venue & Working Hours Card */
.interview-venue-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.75) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: 1rem 1.35rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.interview-venue-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 250px;
}

.interview-venue-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 1.25rem;
}

.venue-hours-title {
    color: #ffffff;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.2rem;
}

.venue-hours-desc {
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.45;
    display: block;
}

.btn-venue-maps {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-venue-maps:hover {
    background: rgba(56, 189, 248, 0.25);
    color: #ffffff;
    border-color: #38bdf8;
}

@media (max-width: 768px) {
    .interview-venue-card {
        padding: 1rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .btn-venue-maps {
        justify-content: center !important;
        width: 100% !important;
    }
}

/* 6. Status Chips Bar & Filter Pills Dark Theme */
.status-pills-bar,
.status-chips-bar {
    display: flex !important;
    gap: 0.5rem !important;
    overflow-x: auto !important;
    padding-bottom: 0.45rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    width: 100% !important;
    max-width: 100% !important;
}

.status-pill-chip {
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: var(--radius-full) !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.status-pill-chip:hover {
    background: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

.status-pill-chip.active {
    background: rgba(245, 158, 11, 0.22) !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25) !important;
}

.status-pill-chip.chip-today.active {
    background: rgba(124, 58, 237, 0.28) !important;
    border-color: #a78bfa !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35) !important;
}

.pill-count-badge,
.chip-count-badge {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 0.1rem 0.5rem !important;
    border-radius: var(--radius-full) !important;
}

.status-pill-chip.active .pill-count-badge,
.status-pill-chip.active .chip-count-badge {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

.status-pill-chip.chip-today.active .pill-count-badge,
.status-pill-chip.chip-today.active .chip-count-badge {
    background: #7c3aed !important;
    color: #ffffff !important;
}

/* 7. Multi-Column Grids Mobile Collapse */
@media (max-width: 992px) {
    .details-two-col-grid {
        grid-template-columns: 1fr !important;
    }
    .details-sub-grid {
        grid-template-columns: 1fr !important;
    }
    .details-hero-actions {
        align-items: stretch !important;
        width: 100% !important;
    }
    .settings-layout-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 8. Modal Dialog Responsiveness */
@media (max-width: 576px) {
    .modal-grid-2 {
        grid-template-columns: 1fr !important;
    }
    .glass-modal-dialog {
        width: 96vw !important;
        margin: 0.5rem auto !important;
        max-height: 94vh !important;
    }
    .glass-modal-header {
        padding: 0.85rem 1rem !important;
    }
    .glass-modal-body {
        padding: 1rem !important;
    }
}

/* 9. Minimal Centered Footer */
.glass-admin-footer {
    padding: 0.85rem 1.5rem !important;
    background: rgba(9, 14, 23, 0.82) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
}

.footer-center {
    width: 100% !important;
    text-align: center !important;
}


/* ============================================================
   Executive Dark Luxury Enhancement Suite 2.2
   Modals, High-Contrast Comments, Funnel Grid & Collapsed Dock
   ============================================================ */

/* 1. Universal Dark Luxury Modal Architecture */
.glass-modal-backdrop {
    background: rgba(8, 13, 24, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.glass-modal-dialog {
    background: linear-gradient(135deg, rgba(23, 33, 56, 0.98), rgba(15, 23, 42, 0.98)) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 1px 1px rgba(245, 158, 11, 0.15) !important;
    color: #f8fafc !important;
}

.glass-modal-header {
    background: linear-gradient(135deg, #090e17 0%, #111d2e 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.2rem 1.5rem !important;
}

.glass-modal-title {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}

.glass-modal-title i {
    color: #f59e0b !important;
}

.btn-close-modal {
    color: #94a3b8 !important;
    font-size: 1.35rem !important;
    opacity: 0.85 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.btn-close-modal:hover {
    color: #ffffff !important;
    transform: scale(1.1) !important;
    opacity: 1 !important;
}

.glass-modal-body {
    background: #0b1320 !important;
    color: #f8fafc !important;
    padding: 1.5rem !important;
}

/* 2. Comments Timeline High-Contrast Display */
.comments-timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.comment-bubble {
    background: rgba(30, 41, 59, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: 4px solid #f59e0b !important;
    border-radius: 10px !important;
    padding: 0.95rem 1.25rem !important;
    margin-bottom: 0.65rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.comment-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 0.45rem !important;
    padding-bottom: 0.35rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.comment-meta strong {
    color: #fde68a !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.comment-meta small {
    color: #94a3b8 !important;
    font-size: 0.78rem !important;
    direction: ltr !important;
    font-family: monospace, sans-serif !important;
}

.comment-body {
    color: #f8fafc !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    white-space: pre-line !important;
    word-break: break-word !important;
}

/* 3. Status Funnel Groups Grid (No Horizontal Scroll) */
.status-track-container {
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.15rem 1.35rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28) !important;
}

.status-track-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 0.95rem !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

.status-track-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
}

.status-funnel-groups-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.85rem !important;
    width: 100% !important;
}

@media (max-width: 1400px) {
    .status-funnel-groups-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .status-funnel-groups-grid {
        grid-template-columns: 1fr !important;
    }
}

.funnel-group-card {
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.85rem 0.95rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    transition: all 0.2s ease !important;
}

.funnel-group-card:hover {
    border-color: rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}

.funnel-group-title {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding-bottom: 0.4rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.funnel-group-title i {
    font-size: 0.88rem !important;
}

.funnel-group-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
    align-items: center !important;
}

.status-pill-chip {
    background: rgba(30, 41, 59, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: var(--radius-full) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.status-pill-chip:hover {
    background: rgba(51, 65, 85, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.status-pill-chip.active {
    background: rgba(245, 158, 11, 0.25) !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
}

.status-pill-chip.chip-elite.active {
    background: rgba(245, 158, 11, 0.32) !important;
    border-color: #fbbf24 !important;
    color: #fde68a !important;
}

.status-pill-chip.chip-archive.active {
    background: rgba(100, 116, 139, 0.35) !important;
    border-color: #94a3b8 !important;
    color: #ffffff !important;
}

.pill-count-badge {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 0.1rem 0.45rem !important;
    border-radius: var(--radius-full) !important;
}

.status-pill-chip.active .pill-count-badge {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

/* 4. Desktop Sidebar Collapse Dock (.sidebar-collapsed) */
@media (min-width: 993px) {
    #glass-admin-layout.sidebar-collapsed .glass-sidebar {
        width: 76px !important;
        min-width: 76px !important;
        overflow: hidden !important;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-brand-texts,
    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-nav-section-title,
    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-nav-text,
    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-user-info,
    #glass-admin-layout.sidebar-collapsed .glass-sidebar .btn-sidebar-action span {
        display: none !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-sidebar-header {
        padding: 1.25rem 0.5rem !important;
        justify-content: center !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-sidebar-brand {
        justify-content: center !important;
        gap: 0 !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-brand-shield {
        margin: 0 !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-sidebar-nav {
        padding: 1rem 0.4rem !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-nav-link {
        justify-content: center !important;
        padding: 0.75rem 0.4rem !important;
        gap: 0 !important;
        position: relative !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-nav-icon {
        font-size: 1.25rem !important;
        width: auto !important;
        margin: 0 !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-nav-badge {
        position: absolute !important;
        top: 3px !important;
        right: 6px !important;
        padding: 0.1rem 0.35rem !important;
        font-size: 0.65rem !important;
        min-width: 18px !important;
        text-align: center !important;
        line-height: 1 !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-sidebar-footer {
        padding: 0.85rem 0.4rem !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-user-profile {
        justify-content: center !important;
        margin-bottom: 0.6rem !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-user-avatar {
        margin: 0 !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .glass-sidebar-actions {
        flex-direction: column !important;
        gap: 0.35rem !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .btn-sidebar-action {
        font-size: 0 !important;
        padding: 0.55rem 0.4rem !important;
        justify-content: center !important;
    }

    #glass-admin-layout.sidebar-collapsed .glass-sidebar .btn-sidebar-action i {
        font-size: 1.05rem !important;
        margin: 0 !important;
    }
}
