/* ===== Employer Dashboard – company theme (dark + light) ===== */

.pending-approval-banner {
    padding: 24px;
    margin-bottom: 24px;
    background: rgba(251, 146, 60, 0.15);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 12px;
}

.pending-approval-banner p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #fb923c;
}

.employer-global-messages {
    list-style: none;
    padding: 12px 24px;
    margin: 0 0 16px 0;
    max-width: 100%;
}

.employer-global-messages li {
    position: relative;
    padding: 14px 20px 14px 48px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid currentColor;
    animation: employerMessageSlideIn 0.35s ease-out;
}

.employer-global-messages li:last-child { margin-bottom: 0; }

.employer-global-messages li::before {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 600;
}

.employer-global-messages .employer-message-success,
.employer-global-messages li.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.12) 100%);
    color: #34d399;
    border-left-color: #10b981;
}

.employer-global-messages .employer-message-success::before,
.employer-global-messages li.success::before {
    content: '✓';
}

.employer-global-messages .employer-message-error,
.employer-global-messages li.error {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.2) 0%, rgba(220, 38, 38, 0.12) 100%);
    color: #fca5a5;
    border-left-color: #ef4444;
}

.employer-global-messages .employer-message-error::before,
.employer-global-messages li.error::before {
    content: '✕';
}

.employer-global-messages .employer-message-warning,
.employer-global-messages li.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.12) 100%);
    color: #fcd34d;
    border-left-color: #f59e0b;
}

.employer-global-messages .employer-message-warning::before,
.employer-global-messages li.warning::before {
    content: '⚠';
}

.employer-global-messages .employer-message-info,
.employer-global-messages li.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.12) 100%);
    color: #93c5fd;
    border-left-color: #3b82f6;
}

.employer-global-messages .employer-message-info::before,
.employer-global-messages li.info::before {
    content: 'ℹ';
}

@keyframes employerMessageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.theme-light .employer-global-messages li {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.theme-light .employer-global-messages .employer-message-success,
body.theme-light .employer-global-messages li.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.08) 100%);
    color: #059669;
}

body.theme-light .employer-global-messages .employer-message-error,
body.theme-light .employer-global-messages li.error {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #dc2626;
}

body.theme-light .employer-global-messages .employer-message-warning,
body.theme-light .employer-global-messages li.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.08) 100%);
    color: #d97706;
}

body.theme-light .employer-global-messages .employer-message-info,
body.theme-light .employer-global-messages li.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #2563eb;
}

:root {
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --company-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.employer-dashboard-body.premium-theme {
    background-color: #0f172a;
    color: var(--text-main);
    min-height: 100vh;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    margin: 0;
}

.premium-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.premium-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

/* Left sidebar – can be toggled open/closed */
.employer-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
    overflow: hidden;
    z-index: 100;
}

.premium-layout.sidebar-closed .employer-sidebar {
    width: 0;
    min-width: 0;
    opacity: 0;
    pointer-events: none;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-close {
    display: none;
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    font-size: 18px;
    transition: var(--transition);
}

.sidebar-close:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 10px;
    overflow-y: auto;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.sidebar-link i {
    width: 1.1em;
    text-align: center;
    opacity: 0.9;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-link.active {
    color: #fff;
    background: var(--company-gradient);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.sidebar-group-label {
    padding: 8px 14px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.sidebar-sublink {
    padding-left: 28px;
    font-size: 13px;
}

.sidebar-sublink i {
    opacity: 0.8;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@media (max-width: 767px) {
    .employer-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        z-index: 101;
        transform: translateX(-100%);
        opacity: 1;
    }

    .premium-layout:not(.sidebar-closed) .employer-sidebar {
        transform: translateX(0);
        pointer-events: auto;
    }

    .premium-layout.sidebar-closed .employer-sidebar {
        width: 280px;
        min-width: 0;
        opacity: 1;
        transform: translateX(-100%);
    }

    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-backdrop {
        display: block;
    }

    .premium-layout:not(.sidebar-closed) .sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Navbar – top bar with toggle + right section */
.employer-navbar.premium-navbar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 64px;
    padding: 0 16px 0 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
    z-index: 1000;
    flex-wrap: nowrap;
    overflow: visible;
}

/* ── Horizontal nav links ── */
.employer-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow: visible;
    white-space: nowrap;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.employer-nav-links::-webkit-scrollbar { display: none; }

.employer-nav-links .nav-link-item {
    color: var(--text-muted, #94a3b8);
    font-size: 13px;
    font-weight: 500;
    padding: 0 12px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.employer-nav-links .nav-link-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.employer-nav-links .nav-link-item.active {
    color: #fff;
    background: var(--company-gradient, linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%));
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
    font-weight: 600;
}

/* Dropdown for 公開サイト管理 */
.nav-link-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link-dropdown > .nav-link-item {
    cursor: default;
}

.nav-link-dropdown-menu {
    display: none;
    position: fixed;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--glass-border, rgba(255,255,255,0.1));
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    padding: 6px;
    z-index: 2000;
    backdrop-filter: blur(16px);
}

.nav-link-dropdown:hover .nav-link-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown-item.active {
    color: #fff;
    background: var(--company-gradient, linear-gradient(135deg, #0ea5e9, #2563eb));
}

/* premium-body is now used directly (no sidebar) */

/* Light theme */
body.theme-light .employer-nav-links .nav-link-item {
    color: #6b7280;
}

body.theme-light .employer-nav-links .nav-link-item:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
}

body.theme-light .employer-nav-links .nav-link-item.active {
    color: #fff;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

body.theme-light .nav-link-dropdown-menu {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

body.theme-light .nav-dropdown-item {
    color: #4b5563;
}

body.theme-light .nav-dropdown-item:hover {
    color: #0f172a;
    background: #f1f5f9;
}

body.theme-light .nav-dropdown-item.active {
    color: #fff;
    background: linear-gradient(135deg, #10b981, #059669);
}

.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Xóa width: 40px cũ đi, đổi thành auto để chứa được chữ */
    width: auto; 
    height: 40px;
    margin-right: 8px;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    /* Thêm padding và gap để căn chỉnh đẹp hơn */
    padding: 0 12px; 
    gap: 10px; 
}

.sidebar-toggle-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
    /* Ẩn trên mobile nếu muốn tiết kiệm diện tích, bỏ dòng dưới nếu muốn luôn hiện */
    /* display: none; */ 
}

.sidebar-toggle:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.nav-right-section {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    font-size: 12px;
    color: var(--text-main);
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 140px;
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
}

.language-dropdown.show {
    display: block;
}

.language-wrapper {
    position: relative;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.language-option:hover,
.language-option.active {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
}

.employer-navbar .theme-wrapper {
    position: relative;
}

.employer-navbar .theme-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.employer-navbar .theme-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.employer-navbar .theme-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 140px;
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
}

.employer-navbar .theme-dropdown.show {
    display: block;
}

.employer-navbar .theme-option {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.employer-navbar .theme-option:hover,
.employer-navbar .theme-option.active {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    background: var(--company-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}

.nav-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f43f5e;
    color: #fff;
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 8px;
    text-decoration: none;
}

.nav-logout-btn:hover {
    filter: brightness(1.1);
}

/* Employer navbar: notification bell + badge + dropdown */
.employer-navbar .notification-wrapper {
    position: relative;
    display: inline-block;
}

.employer-navbar .nav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.employer-navbar .nav-icon-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.employer-navbar .notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #f43f5e;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1;
}

.employer-navbar .notification-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    width: 360px;
    max-width: calc(100vw - 40px);
    min-width: 280px;
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    overflow: hidden;
}

.employer-navbar .notification-dropdown.show {
    display: block;
}

.employer-navbar .notification-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--glass-border);
}

.employer-navbar .notification-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.employer-navbar .notification-list {
    max-height: 380px;
    overflow-y: auto;
}

.employer-navbar .notification-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s;
}

.employer-navbar .notification-item:last-child {
    border-bottom: none;
}

.employer-navbar .notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.employer-navbar .notif-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    color: #0ea5e9;
    font-size: 14px;
}

.employer-navbar .notif-content {
    flex: 1;
    min-width: 0;
}

.employer-navbar .notif-message {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 4px;
    line-height: 1.4;
}

.employer-navbar .notif-meta {
    font-size: 11px;
    color: var(--text-muted);
}

/* Content */
.premium-content-area {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* Todo page override handled by employer_todo.css via :has() */

.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.welcome-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin: 8px 0 0 0;
}

.welcome-header-actions {
    display: flex;
    gap: 12px;
}

.welcome-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    font-size: 13px;
    border-radius:  8px;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.welcome-action-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

/* Stats grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card-premium {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    transition: var(--transition);
}

.stat-card-premium:hover {
    transform: translateY(-4px);
    background: rgba(30, 41, 59, 0.8);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.stat-trend {
    font-size: 12px;
    font-weight: 600;
}

.trend-up {
    color: #10b981;
}

.trend-down {
    color: #f43f5e;
}

.stat-trend-info {
    color: #0ea5e9;
}

/* Section card */
.section-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
}

.section-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.section-card-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.section-card-link:hover {
    text-decoration: underline;
}

/* Table */
.premium-table-wrapper-inline {
    padding: 0;
    margin-top: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

.premium-table-wrapper {
    border-radius: 20px;
    overflow: hidden;
}

.premium-data-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-data-table th {
    text-align: left;
    padding: 16px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid var(--glass-border);
}

.premium-data-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.td-name {
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
}

.status-document {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-interview {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
}

.status-rejected {
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
}

.btn-detail {
    padding: 6px 12px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-detail:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== Light theme ===== */
body.theme-light.employer-dashboard-body.premium-theme {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    color: #0f172a;
}

body.theme-light .employer-navbar.premium-navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .sidebar-toggle {
    color: #475569;
}
body.theme-light .sidebar-toggle:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.06);
}

body.theme-light .employer-sidebar {
    background: rgba(255, 255, 255, 0.98);
    border-right-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .sidebar-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .sidebar-title {
    color: #0f172a;
}
body.theme-light .sidebar-close {
    color: #64748b;
}
body.theme-light .sidebar-close:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.06);
}
body.theme-light .sidebar-link {
    color: #475569;
}
body.theme-light .sidebar-link:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.05);
}
body.theme-light .sidebar-link.active {
    color: #fff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

body.theme-light .sidebar-group-label {
    color: #64748b;
}

body.theme-light .nav-link-item {
    color: #6b7280;
}

body.theme-light .nav-link-item:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.05);
}

body.theme-light .nav-link-item.active {
    color: #fff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

body.theme-light .nav-report-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #374151;
}

body.theme-light .language-btn {
    color: #374151;
}

body.theme-light .language-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.theme-light .language-dropdown {
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.theme-light .language-option {
    color: #111827;
}

body.theme-light .language-option:hover,
body.theme-light .language-option.active {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

body.theme-light .employer-navbar .theme-btn {
    color: #374151;
}

body.theme-light .employer-navbar .theme-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.theme-light .employer-navbar .theme-dropdown {
    background: #fff;
    border-color: #e5e7eb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body.theme-light .employer-navbar .theme-option {
    color: #111827;
}

body.theme-light .employer-navbar .theme-option:hover,
body.theme-light .employer-navbar .theme-option.active {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

body.theme-light .employer-navbar .nav-icon-btn {
    color: #475569;
}
body.theme-light .employer-navbar .nav-icon-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.06);
}
body.theme-light .employer-navbar .notification-dropdown {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
body.theme-light .employer-navbar .notification-header {
    border-bottom-color: #e2e8f0;
}
body.theme-light .employer-navbar .notification-header h3 {
    color: #0f172a;
}
body.theme-light .employer-navbar .notification-item {
    border-bottom-color: #f1f5f9;
}
body.theme-light .employer-navbar .notification-item:hover {
    background: #f8fafc;
}
body.theme-light .employer-navbar .notif-message {
    color: #1e293b;
}
body.theme-light .employer-navbar .notif-meta {
    color: #64748b;
}

body.theme-light .welcome-title {
    color: #111827;
}

body.theme-light .welcome-subtitle {
    color: #6b7280;
}

body.theme-light .welcome-action-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #6b7280;
}

body.theme-light .welcome-action-btn:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.06);
}

body.theme-light .stat-card-premium {
    background: #fff;
    border-color: #e5e7eb;
}

body.theme-light .stat-card-premium:hover {
    background: #f9fafb;
}

body.theme-light .stat-label {
    color: #6b7280;
}

body.theme-light .stat-value {
    color: #111827;
}

body.theme-light .section-card {
    background: #fff;
    border-color: #e5e7eb;
}

body.theme-light .section-card-title {
    color: #111827;
}

body.theme-light .section-card-link {
    color: #059669;
}

body.theme-light .premium-data-table th {
    color: #6b7280;
    border-bottom-color: #e5e7eb;
}

body.theme-light .premium-data-table td {
    color: #374151;
    border-bottom-color: #f3f4f6;
}

body.theme-light .td-name {
    color: #111827;
}

body.theme-light .btn-detail {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #374151;
}

body.theme-light .btn-detail:hover {
    background: #e5e7eb;
}

/* =============================================================================
   Warm dark theme – Employer Dashboard
   Overrides default cold navy (#0f172a) with warm neutral grays (#1e1e1e).
   Matches the palette used in employer_todo.css detail aside.
   ============================================================================= */

/* --- CSS Variables --- */
body.theme-dark.employer-dashboard-body.premium-theme {
    --text-main: #e0e0e0;
    --text-muted: #777;
    --glass-border: rgba(255, 255, 255, 0.08);
    background-color: #1e1e1e;
    color: #e0e0e0;
    color-scheme: dark;
}

/* --- Navbar --- */
body.theme-dark .employer-navbar.premium-navbar {
    background: #252525;
    border-color: rgba(255, 255, 255, 0.06);
}
body.theme-dark .employer-navbar .nav-icon-btn {
    color: #999;
}
body.theme-dark .employer-navbar .nav-icon-btn:hover {
    color: #e0e0e0;
    background: #383838;
}

/* --- Sidebar --- */
body.theme-dark .employer-sidebar {
    background: #252525;
    border-color: rgba(255, 255, 255, 0.06);
}
body.theme-dark .sidebar-link {
    color: #999;
}
body.theme-dark .sidebar-link:hover {
    color: #e0e0e0;
    background: #383838;
}
body.theme-dark .sidebar-link.active {
    color: #fff;
}
body.theme-dark .sidebar-section-label {
    color: #555;
}
body.theme-dark .sidebar-backdrop {
    background: rgba(0, 0, 0, 0.5);
}

/* --- Content area --- */
body.theme-dark .premium-content-area {
    background: #1e1e1e;
}

/* --- Dropdowns (language, theme, notifications) --- */
body.theme-dark .language-dropdown,
body.theme-dark .employer-navbar .theme-dropdown,
body.theme-dark .employer-navbar .notification-dropdown {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
body.theme-dark .language-dropdown .dropdown-item:hover,
body.theme-dark .theme-option:hover,
body.theme-dark .employer-navbar .notif-item:hover {
    background: #383838;
}
body.theme-dark .employer-navbar .notif-item {
    border-color: rgba(255, 255, 255, 0.06);
}
body.theme-dark .employer-navbar .notif-message {
    color: #e0e0e0;
}

/* --- Stat cards --- */
body.theme-dark .stat-card-premium {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.08);
}
body.theme-dark .stat-card-premium:hover {
    background: #333;
}

/* --- Section cards --- */
body.theme-dark .section-card {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.08);
}

/* --- Buttons --- */
body.theme-dark .btn-detail {
    background: #383838;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
}
body.theme-dark .btn-detail:hover {
    background: #444;
}

/* --- Scrollbars --- */
body.theme-dark ::-webkit-scrollbar-track {
    background: #1e1e1e;
}
body.theme-dark ::-webkit-scrollbar-thumb {
    background: #444;
}
body.theme-dark ::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* --- Global messages (keep gradient but slightly warmer) --- */
body.theme-dark .employer-global-messages li {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* =============================================================================
   Dashboard Content – App Shell + Action Cards + T2 + Checklist + Job Overview
   ============================================================================= */

/* ── APP SHELL (3-column) ── */
.app-shell {
    display: grid;
    grid-template-columns: 230px 1fr 260px;
    min-height: calc(100vh - 106px);
}
.app-left {
    background: var(--ntd-white, #fff);
    border-right: 1px solid var(--ntd-rule, #DDD8CF);
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: calc(100vh - 106px);
    align-self: start;
}
.app-center {
    background: #EEF3FC;
    overflow-y: auto;
    padding: 16px;
    min-height: calc(100vh - 106px);
}
.app-right {
    background: var(--ntd-white, #fff);
    border-left: 1px solid var(--ntd-rule, #DDD8CF);
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: calc(100vh - 106px);
    align-self: start;
}

@media (max-width: 1100px) {
    .app-shell { grid-template-columns: 1fr; }
    .app-left, .app-right { display: none; }
}

/* ── Case list (left) ── */
.left-header {
    padding: 11px 14px;
    border-bottom: 1px solid var(--ntd-rule, #DDD8CF);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lh-title {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ntd-muted, #7A7268);
}
.case-list { padding: 6px 0; }
.case-item {
    padding: 9px 13px;
    border-bottom: 1px solid var(--ntd-stone, #EDE9E2);
    cursor: pointer;
    transition: background .18s;
    border-left: 3px solid transparent;
}
.case-item:hover { background: var(--ntd-sand, #F8F5F0); }
.case-item.active {
    background: var(--ntd-sky-lt, #E8F0FB);
    border-left-color: var(--ntd-sky, #2560B8);
}
.case-item.needs-action { border-left-color: var(--ntd-gold, #C9882A); }
.ci-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 7px;
}
.ci-title {
    font-size: .74rem;
    font-weight: 700;
    color: var(--ntd-ink, #0D1B2A);
    line-height: 1.3;
}
.ci-ntd {
    font-size: .6rem;
    color: var(--ntd-muted, #7A7268);
    margin-top: 1px;
}
.ci-badge {
    font-size: .56rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ci-stage {
    font-size: .62rem;
    color: var(--ntd-muted, #7A7268);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ci-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── CARD ── */
.card {
    background: var(--ntd-white, #fff);
    border-radius: 14px;
    border: 1px solid var(--ntd-rule, #DDD8CF);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(13,27,42,.06);
    margin-bottom: 12px;
}
.card-head {
    padding: 13px 16px;
    border-bottom: 1px solid var(--ntd-rule, #DDD8CF);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-title {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ntd-ink, #0D1B2A);
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-body { padding: 14px 16px; }

/* ── RIGHT PANEL ── */
.rp { display: flex; flex-direction: column; }
.rp-section {
    padding: 13px;
    border-bottom: 1px solid var(--ntd-rule, #DDD8CF);
}
.rp-section:last-child { border-bottom: none; }
.rp-title {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ntd-muted, #7A7268);
    margin-bottom: 9px;
}
.cs-row {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    padding: 4px 0;
    border-bottom: 1px solid var(--ntd-stone, #EDE9E2);
}
.cs-row:last-child { border-bottom: none; }
.cs-k { color: var(--ntd-muted, #7A7268); }
.cs-v { font-weight: 600; color: var(--ntd-ink, #0D1B2A); }

/* ── RIGHT PANEL – PV schedule, cases, coordinator ── */
.rp-pv-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rp-pv-item {
    padding: 9px 11px;
    border-radius: 6px;
    border: 1.5px solid var(--ntd-rule, #DDD8CF);
}
.rp-pv-item.rp-pv-now {
    background: var(--ntd-sky-lt, #E8F0FB);
    border-color: rgba(37,96,184,.3);
}
.rp-pv-time {
    font-size: .62rem;
    font-weight: 700;
    font-family: 'DM Mono', monospace;
    color: var(--ntd-muted, #7A7268);
}
.rp-pv-now .rp-pv-time {
    color: var(--ntd-sky, #2560B8);
}
.rp-pv-title {
    font-size: .76rem;
    font-weight: 700;
    color: var(--ntd-ink, #0D1B2A);
}
.rp-pv-meta {
    font-size: .64rem;
    color: var(--ntd-muted, #7A7268);
}
.rp-case-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.rp-coord-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--ntd-sky-lt, #E8F0FB);
    border-radius: 10px;
    border: 1px solid rgba(37,96,184,.15);
}
.rp-coord-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ntd-violet, #5B47D9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .84rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.rp-coord-name {
    font-size: .8rem;
    font-weight: 700;
    color: var(--ntd-ink, #0D1B2A);
}
.rp-coord-status {
    font-size: .64rem;
    color: var(--ntd-teal, #1A6B5C);
}
.rp-coord-exp {
    font-size: .62rem;
    color: var(--ntd-muted, #7A7268);
}
.rp-coord-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* ── ACTION BANNER ── */
.action-banner {
    background: linear-gradient(135deg, var(--ntd-brand-dk, #1A4A9A) 0%, #1A3A7A 100%);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.action-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 16px 16px;
}
.ab-in {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ab-label {
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 4px;
}
.ab-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.ab-sub {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    margin-top: 3px;
}
.ab-badge {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    padding: 9px 14px;
    text-align: center;
    min-width: 80px;
}
.ab-badge-n {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.ab-badge-l {
    font-size: .56rem;
    color: rgba(255,255,255,.4);
}

/* ── SHIELD NOTE ── */
.shield-note {
    background: rgba(37,96,184,.06);
    border: 1px solid rgba(37,96,184,.18);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: .74rem;
    line-height: 1.6;
    color: var(--ntd-muted, #7A7268);
}
.shield-note strong { color: var(--ntd-sky, #2560B8); }

/* ── TAGS ── */
.tag {
    display: inline-block;
    font-size: .59rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}
.tag-sky { background: var(--ntd-sky-lt); color: var(--ntd-sky); }
.tag-teal { background: var(--ntd-teal-lt); color: var(--ntd-teal); }
.tag-gold { background: var(--ntd-gold-lt); color: var(--ntd-gold); }
.tag-green { background: var(--ntd-green-lt); color: var(--ntd-green); }
.tag-orange { background: var(--ntd-orange-lt); color: var(--ntd-orange); }
.tag-red { background: var(--ntd-red-lt); color: var(--ntd-red); }
.tag-violet { background: var(--ntd-violet-lt); color: var(--ntd-violet); }
.tag-gray { background: var(--ntd-stone); color: var(--ntd-muted); }

/* ── BUTTONS (dashboard context) ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: .82rem;
    padding: 9px 18px;
    border-radius:  8px;
    cursor: pointer;
    border: none;
    transition: all .22s;
    white-space: nowrap;
    text-decoration: none;
}
.btn-ntd { background: var(--ntd-sky, #2560B8); color: #fff; }
.btn-ntd:hover { background: var(--ntd-brand-dk, #1A4A9A); transform: translateY(-1px); }
.btn-teal { background: var(--ntd-teal, #1A6B5C); color: #fff; }
.btn-teal:hover { background: #135448; }
.btn-ghost { border: 1.5px solid var(--ntd-rule, #DDD8CF); color: var(--ntd-ink, #0D1B2A); background: transparent; }
.btn-ghost:hover { border-color: var(--ntd-sky); color: var(--ntd-sky); }
.btn-sm { padding: 6px 14px; font-size: .75rem; }
.btn-xs { padding: 3px 10px; font-size: .68rem; }
.btn-gold { background: var(--ntd-gold, #C9882A); color: #fff; }
.btn-gold:hover { background: #b07820; }

/* ── Action items (dashboard cards) ── */
.dash-action-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    gap: 12px;
}
.dash-action-left {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 1;
    min-width: 0;
}
.dash-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    flex-shrink: 0;
}
.dash-action-title {
    font-size: .8rem;
    font-weight: 700;
    color: var(--ntd-ink, #0D1B2A);
}
.dash-action-desc {
    font-size: .66rem;
    color: var(--ntd-muted, #7A7268);
}
.dash-action-meta {
    font-size: .62rem;
    font-weight: 600;
    margin-top: 2px;
}
.dash-action-meta-urgent {
    color: var(--ntd-red, #C0392B) !important;
    font-weight: 700 !important;
}
.dash-action-ntd {
    background: rgba(37,96,184,.06);
    border: 1.5px solid rgba(37,96,184,.2);
}
.dash-action-gold {
    background: rgba(201,136,42,.06);
    border: 1.5px solid rgba(201,136,42,.25);
}
.dash-action-green {
    background: rgba(22,163,74,.06);
    border: 1.5px solid rgba(22,163,74,.2);
}

/* ── In-progress items ── */
.dash-inprog-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
}
.dash-inprog-title {
    font-size: .76rem;
    font-weight: 700;
    color: var(--ntd-ink, #0D1B2A);
}
.dash-inprog-desc {
    font-size: .64rem;
    color: var(--ntd-muted, #7A7268);
}
.dash-inprog-teal {
    background: var(--ntd-teal-lt, #E0F0ED);
    border: 1px solid rgba(26,107,92,.15);
}
.dash-inprog-sand {
    background: var(--ntd-sand, #F8F5F0);
    border: 1px solid var(--ntd-rule, #DDD8CF);
}

/* ── T2 UV section ── */
.dash-t2-no-fly {
    font-size: .62rem;
    color: var(--ntd-violet, #5B47D9);
    font-weight: 600;
    background: var(--ntd-violet-lt, #EEEAF8);
    padding: 2px 9px;
    border-radius: 20px;
}
.t2-uv-row {
    border-bottom: 1px solid var(--ntd-stone, #EDE9E2);
}
.t2-uv-row:last-child { border-bottom: none; }
.t2-uv-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
}
.t2-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.t2-name {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ntd-ink, #0D1B2A);
}
.t2-meta {
    font-size: .62rem;
    color: var(--ntd-muted, #7A7268);
    margin-top: 1px;
}
.t2-stage-badge {
    font-size: .62rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}
.t2-notice {
    background: var(--ntd-gold-lt, #FBF0D4);
    color: var(--ntd-gold, #C9882A);
}

/* T2 pipeline */
.t2-pipeline {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 0;
}
.t2-pip-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.t2-pip-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ntd-stone, #EDE9E2);
    border: 2px solid var(--ntd-rule, #DDD8CF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 700;
    color: var(--ntd-muted, #7A7268);
}
.t2-pip-done .t2-pip-dot {
    background: var(--ntd-teal, #1A6B5C);
    border-color: var(--ntd-teal);
    color: #fff;
}
.t2-pip-now .t2-pip-dot {
    background: var(--ntd-violet, #5B47D9);
    border-color: var(--ntd-violet);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(91,71,217,.18);
}
.t2-pip-wait {
    background: var(--ntd-stone, #EDE9E2);
    border: 2px solid var(--ntd-rule, #DDD8CF);
}
.t2-pip-label {
    font-size: .58rem;
    color: var(--ntd-muted, #7A7268);
    text-align: center;
    line-height: 1.3;
}
.t2-pip-now .t2-pip-label { color: var(--ntd-violet); font-weight: 700; }
.t2-pip-done .t2-pip-label { color: var(--ntd-teal); }
.t2-pip-line {
    flex: 1;
    height: 2px;
    background: var(--ntd-stone, #EDE9E2);
}
.t2-line-done { background: var(--ntd-teal, #1A6B5C); }

/* T2 info bar */
.t2-info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 8px 14px;
    background: var(--ntd-sand, #F8F5F0);
    border-top: 1px solid var(--ntd-stone, #EDE9E2);
}
.t2-info-item {
    padding: 4px 8px;
    border-right: 1px solid var(--ntd-stone, #EDE9E2);
}
.t2-info-item:last-child { border-right: none; }
.t2-info-label {
    font-size: .58rem;
    color: var(--ntd-muted, #7A7268);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.t2-info-val {
    font-size: .74rem;
    font-weight: 600;
    color: var(--ntd-ink, #0D1B2A);
    margin-top: 2px;
}

/* T2 tasks */
.t2-tasks { padding: 10px 14px; }
.t2-tasks-title {
    font-size: .62rem;
    font-weight: 700;
    color: var(--ntd-muted, #7A7268);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.t2-task {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
    border: 1px solid var(--ntd-rule, #DDD8CF);
    transition: all .15s;
}
.t2-task-urgent {
    border-color: rgba(192,57,43,.2);
    background: var(--ntd-red-lt, #FADDDA);
}
.t2-task-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--ntd-rule, #DDD8CF);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all .2s;
    background: var(--ntd-white, #fff);
}
.t2-task-check:hover { border-color: var(--ntd-teal); }
.t2-task-check.checked {
    background: var(--ntd-teal, #1A6B5C);
    border-color: var(--ntd-teal);
}
.t2-task-body { flex: 1; }
.t2-task-title {
    font-size: .76rem;
    font-weight: 600;
    color: var(--ntd-ink, #0D1B2A);
    line-height: 1.4;
}
.t2-task-meta {
    font-size: .62rem;
    color: var(--ntd-muted, #7A7268);
    margin-top: 2px;
}
.t2-task.task-done { opacity: .5; }
.t2-task.task-done .t2-task-title { text-decoration: line-through; }

/* T2 notice bar */
.t2-notice-bar {
    padding: 9px 14px;
    background: var(--ntd-violet-lt, #EEEAF8);
    border-top: 1px solid rgba(91,71,217,.12);
    font-size: .72rem;
    color: var(--ntd-violet, #5B47D9);
    display: flex;
    align-items: center;
    gap: 7px;
}

/* ── Checklist / Todo ── */
.dash-checklist-progress {
    font-size: .7rem;
    color: var(--ntd-teal, #1A6B5C);
    font-weight: 600;
}
.todo-section-head {
    padding: 6px 14px;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ntd-muted, #7A7268);
}
.todo-section-urgent { background: var(--ntd-red-lt, #FADDDA); }
.todo-section-week { background: #FFF7ED; }
.todo-section-later { background: var(--ntd-sand, #F8F5F0); }
.todo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--ntd-stone, #EDE9E2);
    transition: background .15s;
}
.todo-item:hover { background: var(--ntd-sand, #F8F5F0); }
.todo-item.todo-done { opacity: .5; }
.todo-item.todo-done .todo-title { text-decoration: line-through; }
.todo-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--ntd-rule, #DDD8CF);
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
}
.todo-check:hover { border-color: var(--ntd-teal); }
.todo-check.checked {
    background: var(--ntd-teal, #1A6B5C);
    border-color: var(--ntd-teal);
}
.todo-body { flex: 1; }
.todo-title {
    font-size: .78rem;
    font-weight: 600;
    color: var(--ntd-ink, #0D1B2A);
}
.todo-meta {
    font-size: .62rem;
    color: var(--ntd-muted, #7A7268);
    margin-top: 2px;
}
.todo-tag {
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}

/* ── Job Overview Grid ── */
.dash-job-overview-header {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ntd-muted, #7A7268);
    margin-bottom: 10px;
    margin-top: 4px;
}
.job-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.jog-card {
    background: var(--ntd-white, #fff);
    border-radius: 14px;
    border: 1.5px solid var(--ntd-rule, #DDD8CF);
    padding: 16px;
    cursor: pointer;
    transition: all .22s;
    position: relative;
    overflow: hidden;
}
.jog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.jog-card.needs-action::before { background: linear-gradient(90deg, var(--ntd-sky), #5B8FEF); }
.jog-card.slot-needed::before { background: linear-gradient(90deg, var(--ntd-gold), #FBBF24); }
.jog-card.completed::before { background: linear-gradient(90deg, var(--ntd-teal), #24907A); }
.jog-card:hover {
    box-shadow: 0 6px 24px rgba(13,27,42,.1);
    transform: translateY(-2px);
}
.jog-card.active-job {
    border-color: var(--ntd-sky, #2560B8);
    box-shadow: 0 0 0 2px rgba(37,96,184,.18);
}
.jog-card.jc-done { opacity: .6; }
.jog-card-status {
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.jcs-new { background: var(--ntd-sky-lt, #E8F0FB); color: var(--ntd-sky, #2560B8); }
.jcs-slot { background: var(--ntd-gold-lt, #FBF0D4); color: var(--ntd-gold, #C9882A); }
.jcs-offer { background: var(--ntd-gold-lt, #FBF0D4); color: var(--ntd-gold, #C9882A); }
.jcs-wait { background: var(--ntd-stone, #EDE9E2); color: var(--ntd-muted, #7A7268); }
.jcs-done { background: var(--ntd-teal-lt, #E0F0ED); color: var(--ntd-teal, #1A6B5C); }
.jog-card-title {
    font-size: .88rem;
    font-weight: 700;
    color: var(--ntd-ink, #0D1B2A);
    margin-bottom: 2px;
}
.jog-card-meta {
    font-size: .66rem;
    color: var(--ntd-muted, #7A7268);
    margin-bottom: 10px;
}
.jog-card-bar {
    height: 3px;
    background: var(--ntd-stone, #EDE9E2);
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}
.jog-card-fill {
    height: 100%;
    border-radius: 2px;
}

/* ===== Dashboard Light theme ===== */
body.theme-light .app-center { background: #EEF3FC; }
body.theme-light .app-left,
body.theme-light .app-right { background: #fff; }
body.theme-light .card { background: #fff; border-color: #e2e8f0; }
body.theme-light .card-head { border-bottom-color: #e2e8f0; }
body.theme-light .card-title { color: #0f172a; }
body.theme-light .case-item { border-bottom-color: #f1f5f9; }
body.theme-light .case-item:hover { background: #f8fafc; }
body.theme-light .case-item.active { background: #E8F0FB; }
body.theme-light .ci-title { color: #0f172a; }
body.theme-light .dash-action-title { color: #0f172a; }
body.theme-light .dash-inprog-title { color: #0f172a; }
body.theme-light .t2-name { color: #0f172a; }
body.theme-light .t2-info-val { color: #0f172a; }
body.theme-light .t2-task-title { color: #0f172a; }
body.theme-light .todo-title { color: #0f172a; }
body.theme-light .jog-card-title { color: #0f172a; }
body.theme-light .jog-card { background: #fff; border-color: #e2e8f0; }
body.theme-light .jog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
body.theme-light .cs-v { color: #0f172a; }
body.theme-light .rp-section { border-bottom-color: #e2e8f0; }
body.theme-light .left-header { border-bottom-color: #e2e8f0; }
body.theme-light .rp-pv-item { border-color: #e2e8f0; }
body.theme-light .rp-pv-item.rp-pv-now { background: #E8F0FB; border-color: rgba(37,96,184,.3); }
body.theme-light .rp-pv-title { color: #0f172a; }
body.theme-light .rp-coord-card { background: #E8F0FB; }
body.theme-light .rp-coord-name { color: #0f172a; }
body.theme-light .shield-note { background: rgba(37,96,184,.06); }
body.theme-light .todo-section-urgent { background: #fef2f2; }
body.theme-light .todo-section-week { background: #FFF7ED; }
body.theme-light .todo-section-later { background: #f8fafc; }
body.theme-light .todo-item { border-bottom-color: #f1f5f9; }
body.theme-light .todo-item:hover { background: #f8fafc; }
body.theme-light .t2-info-bar { background: #f8fafc; border-top-color: #e2e8f0; }
body.theme-light .t2-info-item { border-right-color: #e2e8f0; }
body.theme-light .t2-task-urgent { background: #fef2f2; border-color: rgba(220,38,38,.15); }
body.theme-light .t2-notice-bar { background: #f3f0ff; }

/* ===== Dashboard Dark theme ===== */
body.theme-dark .app-center { background: #1e1e1e; }
body.theme-dark .app-left { background: #252525; border-right-color: rgba(255,255,255,.06); }
body.theme-dark .app-right { background: #252525; border-left-color: rgba(255,255,255,.06); }
body.theme-dark .rp-pv-item { border-color: rgba(255,255,255,.08); }
body.theme-dark .rp-pv-item.rp-pv-now { background: rgba(37,96,184,.12); border-color: rgba(37,96,184,.25); }
body.theme-dark .rp-pv-time { color: #999; }
body.theme-dark .rp-pv-now .rp-pv-time { color: #6BA3E8; }
body.theme-dark .rp-pv-title { color: #e0e0e0; }
body.theme-dark .rp-pv-meta { color: #999; }
body.theme-dark .rp-coord-card { background: rgba(37,96,184,.1); border-color: rgba(37,96,184,.2); }
body.theme-dark .rp-coord-name { color: #e0e0e0; }
body.theme-dark .rp-coord-status { color: #4BD1A0; }
body.theme-dark .rp-coord-exp { color: #999; }
body.theme-dark .card { background: #2a2a2a; border-color: rgba(255,255,255,.08); }
body.theme-dark .card-head { border-bottom-color: rgba(255,255,255,.08); }
body.theme-dark .card-title { color: #e0e0e0; }
body.theme-dark .case-item { border-bottom-color: rgba(255,255,255,.06); }
body.theme-dark .case-item:hover { background: #333; }
body.theme-dark .case-item.active { background: rgba(37,96,184,.15); border-left-color: #4B8BF4; }
body.theme-dark .ci-title { color: #e0e0e0; }
body.theme-dark .ci-ntd { color: #999; }
body.theme-dark .ci-stage { color: #999; }
body.theme-dark .left-header { border-bottom-color: rgba(255,255,255,.06); }
body.theme-dark .lh-title { color: #999; }
body.theme-dark .rp-section { border-bottom-color: rgba(255,255,255,.06); }
body.theme-dark .rp-title { color: #999; }
body.theme-dark .cs-row { border-bottom-color: rgba(255,255,255,.06); }
body.theme-dark .cs-k { color: #999; }
body.theme-dark .cs-v { color: #e0e0e0; }
body.theme-dark .shield-note {
    background: rgba(37,96,184,.1);
    border-color: rgba(37,96,184,.2);
    color: #999;
}
body.theme-dark .shield-note strong { color: #6BA3E8; }
body.theme-dark .dash-action-item {
    border-color: rgba(255,255,255,.08);
}
body.theme-dark .dash-action-ntd { background: rgba(37,96,184,.1); }
body.theme-dark .dash-action-gold { background: rgba(201,136,42,.1); }
body.theme-dark .dash-action-green { background: rgba(22,163,74,.1); }
body.theme-dark .dash-action-title { color: #e0e0e0; }
body.theme-dark .dash-action-desc { color: #999; }
body.theme-dark .dash-inprog-teal { background: rgba(26,107,92,.12); border-color: rgba(26,107,92,.2); }
body.theme-dark .dash-inprog-sand { background: #333; border-color: rgba(255,255,255,.08); }
body.theme-dark .dash-inprog-title { color: #e0e0e0; }
body.theme-dark .dash-inprog-desc { color: #999; }
body.theme-dark .t2-name { color: #e0e0e0; }
body.theme-dark .t2-meta { color: #999; }
body.theme-dark .t2-info-bar { background: #333; border-top-color: rgba(255,255,255,.06); }
body.theme-dark .t2-info-item { border-right-color: rgba(255,255,255,.06); }
body.theme-dark .t2-info-label { color: #999; }
body.theme-dark .t2-info-val { color: #e0e0e0; }
body.theme-dark .t2-task { border-color: rgba(255,255,255,.08); }
body.theme-dark .t2-task-urgent { background: rgba(192,57,43,.1); border-color: rgba(192,57,43,.2); }
body.theme-dark .t2-task-check { background: #333; border-color: rgba(255,255,255,.15); }
body.theme-dark .t2-task-title { color: #e0e0e0; }
body.theme-dark .t2-task-meta { color: #999; }
body.theme-dark .t2-tasks-title { color: #999; }
body.theme-dark .t2-notice-bar { background: rgba(91,71,217,.12); border-top-color: rgba(91,71,217,.15); }
body.theme-dark .t2-pip-dot { background: #444; border-color: #555; color: #999; }
body.theme-dark .t2-pip-label { color: #999; }
body.theme-dark .t2-pip-line { background: #444; }
body.theme-dark .todo-section-head { color: #999; }
body.theme-dark .todo-section-urgent { background: rgba(192,57,43,.1); }
body.theme-dark .todo-section-week { background: rgba(217,119,6,.08); }
body.theme-dark .todo-section-later { background: #333; }
body.theme-dark .todo-item { border-bottom-color: rgba(255,255,255,.06); }
body.theme-dark .todo-item:hover { background: #333; }
body.theme-dark .todo-check { border-color: rgba(255,255,255,.15); }
body.theme-dark .todo-title { color: #e0e0e0; }
body.theme-dark .todo-meta { color: #999; }
body.theme-dark .dash-job-overview-header { color: #999; }
body.theme-dark .jog-card { background: #2a2a2a; border-color: rgba(255,255,255,.08); }
body.theme-dark .jog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.4); }
body.theme-dark .jog-card.active-job { border-color: #4B8BF4; box-shadow: 0 0 0 2px rgba(75,139,244,.2); }
body.theme-dark .jog-card-title { color: #e0e0e0; }
body.theme-dark .jog-card-meta { color: #999; }
body.theme-dark .jog-card-bar { background: #444; }
body.theme-dark .jcs-new { background: rgba(37,96,184,.15); color: #6BA3E8; }
body.theme-dark .jcs-slot { background: rgba(201,136,42,.15); color: #E5B458; }
body.theme-dark .jcs-offer { background: rgba(201,136,42,.15); color: #E5B458; }
body.theme-dark .jcs-wait { background: #383838; color: #999; }
body.theme-dark .jcs-done { background: rgba(26,107,92,.15); color: #4BD1A0; }
body.theme-dark .tag-gray { background: #383838; color: #999; }
body.theme-dark .btn-ghost { border-color: rgba(255,255,255,.15); color: #e0e0e0; }
body.theme-dark .btn-ghost:hover { border-color: #6BA3E8; color: #6BA3E8; }
body.theme-dark .dash-checklist-progress { color: #4BD1A0; }
body.theme-dark .dash-t2-no-fly { background: rgba(91,71,217,.15); color: #A594F9; }

/* ── Interview Pending Widget ── */
.pv-widget-total-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--ntd-gold, #C9882A);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    margin-left: 6px;
}
.pv-widget-seeall {
    font-size: .74rem;
    color: var(--ntd-sky, #2560B8);
    text-decoration: none;
    white-space: nowrap;
}
.pv-widget-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--ntd-rule, #DDD8CF);
}
.pv-widget-row:last-child { border-bottom: none; }
.pv-widget-row:hover { background: var(--ntd-sand, #F8F5F0); }
.pv-widget-left { flex: 1; min-width: 0; }
.pv-widget-job {
    font-size: .84rem;
    font-weight: 600;
    color: var(--ntd-ink, #0D1B2A);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pv-widget-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}
.pv-widget-slot-badge {
    font-size: .7rem;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(201,136,42,.12);
    color: var(--ntd-gold, #C9882A);
    font-weight: 600;
}
.pv-widget-next {
    font-size: .72rem;
    color: var(--ntd-muted, #7A7268);
}
.pv-widget-days {
    font-size: .68rem;
    color: var(--ntd-red, #c0392b);
    font-weight: 600;
}
.pv-widget-cands {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.pv-cand-pill {
    font-size: .69rem;
    padding: 1px 7px;
    border-radius: 10px;
    background: var(--ntd-sky-lt, #E8F0FB);
    color: var(--ntd-sky, #2560B8);
    font-weight: 500;
}
.pv-cand-more {
    background: var(--ntd-stone, #EDE9E2);
    color: var(--ntd-muted, #7A7268);
}
.pv-widget-action {
    flex-shrink: 0;
    white-space: nowrap;
    text-decoration: none;
}
/* dark mode */
body.theme-dark .pv-widget-row { border-bottom-color: rgba(255,255,255,.06); }
body.theme-dark .pv-widget-row:hover { background: #333; }
body.theme-dark .pv-widget-job { color: #e0e0e0; }
body.theme-dark .pv-widget-next { color: #999; }
body.theme-dark .pv-cand-pill { background: rgba(37,96,184,.18); color: #6BA3E8; }
body.theme-dark .pv-cand-more { background: #383838; color: #999; }
body.theme-dark .pv-widget-seeall { color: #6BA3E8; }
