/**
 * Theme đồng bộ từ trang home: áp dụng cho mọi app.
 * - theme-dark: tham khảo Employer (nền #0f172a, accent blue)
 * - theme-light: tham khảo Candidate (gradient #f8fafc, accent green)
 */
body.theme-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%) !important;
    color: #0f172a !important;
}

/* Candidate light: cards, job-tag */
body.theme-light.candidate-dashboard-body .card,
body.theme-light.candidate-dashboard-body .stat-card,
body.theme-light.candidate-dashboard-body .widget-card {
    background: #fff !important;
    border-color: #e5e7eb !important;
    color: #1f2937;
}

body.theme-light.candidate-dashboard-body .job-card {
    background: #fff !important;
    border-color: #e5e7eb !important;
}

body.theme-light.candidate-dashboard-body .job-card:hover {
    border-color: #10b981 !important;
}

body.theme-light.candidate-dashboard-body .job-tag {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}

body.theme-light.candidate-dashboard-body .stat-label,
body.theme-light.candidate-dashboard-body .company-name {
    color: #6b7280 !important;
}

body.theme-light.candidate-dashboard-body .stat-value {
    color: #111827 !important;
}

body.theme-light.candidate-dashboard-body .section-header a {
    color: #059669 !important;
}

body.theme-light.candidate-dashboard-body .section-header a:hover {
    color: #10b981 !important;
}

body.theme-light.candidate-dashboard-body .stat-trend.trend-up {
    color: #10b981 !important;
}

/* Candidate navbar: nav-menu và nav-actions luôn 1 hàng (Nền trắng) */
body.theme-light .candidate-navbar {
    flex-wrap: nowrap !important;
    background-color: #fff !important;
    border-bottom-color: #e5e7eb !important;
}

body.theme-light .candidate-navbar .nav-item {
    color: #4b5563;
}

body.theme-light .candidate-navbar .nav-item:hover,
body.theme-light .candidate-navbar .nav-item.active {
    color: #10b981;
}

body.theme-light .candidate-navbar .nav-menu,
body.theme-light .candidate-navbar .nav-actions {
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

/* ===== Admin Portal Dashboard: Light mode (theme-light) – bảng màu thống nhất với Employer account_management ===== */
body.theme-light.admin-dashboard-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%) !important;
    color: #0f172a !important;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-overlay: rgba(255, 255, 255, 0.95);
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    --border-color: #e2e8f0;
    --glass-border: #e2e8f0;
}

body.theme-light .admin-navbar,
body.theme-light .premium-navbar.admin-navbar {
    background-color: #fff !important;
    border-bottom-color: #e2e8f0 !important;
}

body.theme-light .admin-navbar .nav-link-item {
    color: #4b5563 !important;
}

body.theme-light .admin-navbar .nav-link-item:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .admin-navbar .nav-link-item.active {
    color: #fff !important;
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%) !important;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

body.theme-light .admin-navbar .nav-icon-btn {
    color: #4b5563 !important;
}

body.theme-light .admin-navbar .nav-icon-btn:hover {
    color: #0f172a !important;
}

body.theme-light .admin-navbar .language-btn,
body.theme-light .admin-navbar .theme-btn {
    color: #1f2937 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

body.theme-light .admin-navbar .language-btn:hover,
body.theme-light .admin-navbar .theme-btn:hover {
    background: rgba(0, 0, 0, 0.08) !important;
}

body.theme-light .admin-navbar .language-dropdown,
body.theme-light .admin-navbar .theme-dropdown {
    background: #fff !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.theme-light .admin-navbar .language-option,
body.theme-light .admin-navbar .theme-option {
    color: #1f2937 !important;
}

body.theme-light .admin-navbar .language-option:hover,
body.theme-light .admin-navbar .theme-option:hover,
body.theme-light .admin-navbar .language-option.active,
body.theme-light .admin-navbar .theme-option.active {
    background: rgba(244, 63, 94, 0.08) !important;
    color: #e11d48 !important;
}

body.theme-light.admin-dashboard-body .premium-sidebar {
    background: var(--bg-card) !important;
    border-right-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .sidebar-link-item {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .sidebar-link-item:hover,
body.theme-light.admin-dashboard-body .sidebar-link-item.active {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

body.theme-light.admin-dashboard-body .sidebar-link-item.active {
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .sidebar-category-title {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .badge-count {
    background: var(--bg-hover) !important;
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .premium-table-wrapper {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .premium-data-table th {
    color: var(--text-muted) !important;
    border-bottom-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .premium-data-table td {
    color: #1e293b !important;
    border-bottom-color: #f1f5f9 !important;
}

body.theme-light.admin-dashboard-body .premium-data-table .text-muted {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .request-management-title,
body.theme-light.admin-dashboard-body .request-account-verification-title,
body.theme-light.admin-dashboard-body .request-job-approval-title,
body.theme-light.admin-dashboard-body .admin-settings-title {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-light.admin-dashboard-body .request-management-sub {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .tag-filter-container .tag-item {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .tag-filter-container .tag-item:hover {
    background: var(--bg-hover) !important;
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .tag-filter-container .tag-item.active {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

body.theme-light.admin-dashboard-body .tag-filter-container .tag-item span:last-child {
    background: rgba(0, 0, 0, 0.06) !important;
}

body.theme-light.admin-dashboard-body .tag-filter-container .tag-item.active span:last-child {
    background: rgba(255, 255, 255, 0.3) !important;
}

body.theme-light.admin-dashboard-body .tag-item-mini {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #2563eb !important;
}

body.theme-light.admin-dashboard-body .status-pill.status-pending {
    background: rgba(251, 146, 60, 0.15) !important;
    color: #d97706 !important;
}

body.theme-light.admin-dashboard-body .status-pill.status-approved {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
}

body.theme-light.admin-dashboard-body .status-pill.status-rejected {
    background: rgba(244, 63, 94, 0.15) !important;
    color: #dc2626 !important;
}

body.theme-light.admin-dashboard-body .premium-btn.btn-approve {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
}

body.theme-light.admin-dashboard-body .premium-btn.btn-approve:hover {
    background: rgba(16, 185, 129, 0.2) !important;
}

body.theme-light.admin-dashboard-body .premium-btn.btn-reject {
    background: rgba(244, 63, 94, 0.12) !important;
    color: #dc2626 !important;
}

body.theme-light.admin-dashboard-body .premium-btn.btn-reject:hover {
    background: rgba(244, 63, 94, 0.2) !important;
}

body.theme-light.admin-dashboard-body .premium-btn.btn-detail {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #1f2937 !important;
}

body.theme-light.admin-dashboard-body .premium-btn.btn-detail:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Account Verification & Job Approval filter bar - light mode (Employer palette) */
body.theme-light.admin-dashboard-body .account-filter-bar,
body.theme-light.admin-dashboard-body .job-filter-bar {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .job-filter-bar .premium-input,
body.theme-light.admin-dashboard-body .job-filter-bar .filter-select {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .job-filter-bar .filter-display-only {
    background: var(--bg-hover) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .job-filter-bar .filter-display-only .filter-display-label {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .job-filter-bar .filter-display-only .filter-display-value {
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .job-approval-status-label {
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .status-filter-group .status-radio {
    color: #475569 !important;
}

body.theme-light.admin-dashboard-body .job-detail-modal {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .job-detail-modal .modal-header {
    background: var(--bg-hover) !important;
    border-bottom-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .job-detail-modal .modal-header h2,
body.theme-light.admin-dashboard-body .job-detail-modal .detail-value {
    color: #1e293b !important;
}

body.theme-light.admin-dashboard-body .job-detail-modal .detail-label,
body.theme-light.admin-dashboard-body .job-detail-modal .close-modal {
    color: #64748b !important;
}

body.theme-light.admin-dashboard-body .job-detail-modal .modal-footer {
    border-top-color: #e5e7eb !important;
}

body.theme-light.admin-dashboard-body .sidebar-toggle-btn {
    background: #fff !important;
    border-color: #e5e7eb !important;
    color: #374151 !important;
}

body.theme-light.admin-dashboard-body .sidebar-toggle-btn:hover {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .notification-dropdown {
    background: #fff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.theme-light.admin-dashboard-body .admin-navbar .notification-header {
    border-bottom-color: #e2e8f0 !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .notification-header h3 {
    color: #0f172a !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .notification-item {
    border-bottom-color: #f1f5f9 !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .notification-item:hover {
    background: #f8fafc !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .notification-item-unread {
    background: rgba(244, 63, 94, 0.06) !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .notif-message {
    color: #1e293b !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .notif-meta {
    color: #64748b !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .admin-avatar-dropdown {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

body.theme-light.admin-dashboard-body .admin-navbar .admin-avatar-menu-item {
    color: #1f2937 !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .admin-avatar-menu-item:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #0f172a !important;
}

body.theme-light.admin-dashboard-body .admin-navbar .nav-avatar.admin-nav-avatar {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(244, 63, 94, 0.45) !important;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light.admin-dashboard-body .admin-navbar .nav-avatar.admin-nav-avatar:hover {
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

body.theme-light.admin-dashboard-body .account-filter-bar .premium-input,
body.theme-light.admin-dashboard-body .account-filter-bar .filter-select {
    background: #fff !important;
    border-color: #e5e7eb !important;
    color: #1f2937 !important;
}

body.theme-light.admin-dashboard-body .account-filter-bar .date-separator {
    color: #6b7280 !important;
}

body.theme-light.admin-dashboard-body .account-filter-bar .premium-btn.btn-secondary {
    background: #f9fafb !important;
    color: #374151 !important;
    border-color: #e5e7eb !important;
}

body.theme-light.admin-dashboard-body .tag-item-mini.tag-portal-admin,
body.theme-light.admin-dashboard-body .tag-item-mini.tag-portal-admin_portal {
    background: rgba(244, 63, 94, 0.12) !important;
    color: #dc2626 !important;
}

body.theme-light.admin-dashboard-body .tag-item-mini.tag-portal-employer {
    background: rgba(59, 130, 246, 0.12) !important;
    color: #2563eb !important;
}

body.theme-light.admin-dashboard-body .tag-item-mini.tag-portal-hrorg {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
}

body.theme-light.admin-dashboard-body .pagination-container .page-btn {
    background: #fff !important;
    border-color: #e5e7eb !important;
    color: #374151 !important;
}

body.theme-light.admin-dashboard-body .pagination-container .page-btn:hover {
    background: #f9fafb !important;
}

body.theme-light.admin-dashboard-body .pagination-container .page-btn.active {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

body.theme-light.admin-dashboard-body .admin-index-title,
body.theme-light.admin-dashboard-body .welcome-title {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-light.admin-dashboard-body .admin-index-desc,
body.theme-light.admin-dashboard-body .welcome-subtitle {
    color: #6b7280 !important;
}

/* Dashboard index: stat cards, panels, action cards – light theme */
body.theme-light.admin-dashboard-body .dashboard-stat-card,
body.theme-light.admin-dashboard-body .dashboard-panel {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .dashboard-stat-card .stat-label,
body.theme-light.admin-dashboard-body .dashboard-stat-card .stat-trend.stat-muted,
body.theme-light.admin-dashboard-body .panel-title,
body.theme-light.admin-dashboard-body .system-status-label {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .dashboard-stat-card .stat-value,
body.theme-light.admin-dashboard-body .section-title,
body.theme-light.admin-dashboard-body .action-label {
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .dashboard-stat-card .stat-trend.trend-up {
    color: #059669 !important;
}

body.theme-light.admin-dashboard-body .action-card {
    background: #f8fafc !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .action-card:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

body.theme-light.admin-dashboard-body .dashboard-container .premium-table-wrapper {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .dashboard-container .premium-data-table td {
    color: #1e293b !important;
    border-bottom-color: #f1f5f9 !important;
}

body.theme-light.admin-dashboard-body .system-status-value.status-ok {
    color: #059669 !important;
}

body.theme-light.admin-dashboard-body .system-status-value.status-warn {
    color: #d97706 !important;
}

/* ===== Inquiry Management – light theme ===== */
body.theme-light.admin-dashboard-body .inquiry-management-sub {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .inquiry-search-input {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .inquiry-search-input::placeholder {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .tab-bar {
    background: rgba(0, 0, 0, 0.06) !important;
}

body.theme-light.admin-dashboard-body .tab-item {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .tab-item:hover {
    color: var(--text-main) !important;
    background: rgba(0, 0, 0, 0.06) !important;
}

body.theme-light.admin-dashboard-body .tab-item.active {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%) !important;
    color: #fff !important;
}

body.theme-light.admin-dashboard-body .inquiry-sender,
body.theme-light.admin-dashboard-body .inquiry-subject {
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .status-pill.status-unread {
    background: rgba(244, 63, 94, 0.12) !important;
    color: #dc2626 !important;
}

body.theme-light.admin-dashboard-body .status-pill.status-in-progress {
    background: rgba(251, 146, 60, 0.12) !important;
    color: #d97706 !important;
}

body.theme-light.admin-dashboard-body .status-pill.status-resolved {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
}

body.theme-light.admin-dashboard-body .btn-inquiry-detail {
    background: rgba(0, 0, 0, 0.06) !important;
    color: var(--text-main) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .btn-inquiry-detail:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* ===== Admin Calendar – light theme ===== */
body.theme-light.admin-dashboard-body .calendar-category-label {
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .calendar-page-title {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-light.admin-dashboard-body .calendar-nav-btn {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .calendar-nav-btn:hover {
    background: var(--bg-hover) !important;
}

body.theme-light.admin-dashboard-body .calendar-nav-today {
    background: rgba(244, 63, 94, 0.1) !important;
}

body.theme-light.admin-dashboard-body .calendar-grid-monthly {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .calendar-header-day {
    background: var(--bg-hover) !important;
    border-color: var(--border-color) !important;
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .calendar-day-cell {
    background: #fff !important;
    border-color: #f1f5f9 !important;
}

body.theme-light.admin-dashboard-body .calendar-day-cell.other-month {
    opacity: 0.5;
    background: #f8fafc !important;
}

body.theme-light.admin-dashboard-body .calendar-day-cell.today {
    background: rgba(244, 63, 94, 0.08) !important;
}

body.theme-light.admin-dashboard-body .calendar-day-cell .day-number {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .calendar-day-cell.today .day-number {
    color: #dc2626 !important;
}

body.theme-light.admin-dashboard-body .event-dot.dot-interview {
    background: rgba(244, 63, 94, 0.12) !important;
    color: #dc2626 !important;
    border-left-color: #f43f5e !important;
}

body.theme-light.admin-dashboard-body .event-dot.dot-meeting {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #0284c7 !important;
    border-left-color: #0ea5e9 !important;
}

body.theme-light.admin-dashboard-body .event-dot.dot-deadline {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #059669 !important;
    border-left-color: #10b981 !important;
}

body.theme-light.admin-dashboard-body .modal-content {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .modal-close {
    background: var(--bg-hover) !important;
    border-color: var(--border-color) !important;
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .modal-close:hover {
    background: rgba(244, 63, 94, 0.12) !important;
    color: #dc2626 !important;
}

body.theme-light.admin-dashboard-body .modal-event-title,
body.theme-light.admin-dashboard-body .modal-rsvp p,
body.theme-light.admin-dashboard-body .p-name {
    color: var(--text-main) !important;
}

body.theme-light.admin-dashboard-body .modal-event-time,
body.theme-light.admin-dashboard-body .modal-details-list p,
body.theme-light.admin-dashboard-body .p-role,
body.theme-light.admin-dashboard-body .participants-sub {
    color: var(--text-muted) !important;
}

body.theme-light.admin-dashboard-body .modal-details-list {
    background: var(--bg-hover) !important;
}

body.theme-light.admin-dashboard-body .participant-item {
    background: var(--bg-hover) !important;
}

body.theme-light.admin-dashboard-body .participant-avatar-circle {
    background: rgba(0, 0, 0, 0.06) !important;
}

body.theme-light.admin-dashboard-body .participant-status-badge {
    border-color: var(--bg-card) !important;
}

body.theme-light.admin-dashboard-body .modal-rsvp {
    border-top-color: var(--border-color) !important;
}

body.theme-light.admin-dashboard-body .rsvp-btn {
    background: var(--bg-hover) !important;
    border-color: var(--border-color) !important;
    color: var(--text-main) !important;
}

body.theme-light .admin-global-messages li {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.theme-light .admin-global-messages .admin-message-success,
body.theme-light .admin-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 .admin-global-messages .admin-message-error,
body.theme-light .admin-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 .admin-global-messages .admin-message-warning,
body.theme-light .admin-global-messages li.warning {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.12) 0%, rgba(244, 63, 94, 0.08) 100%);
    color: #d97706;
}

body.theme-light .admin-global-messages .admin-message-info,
body.theme-light .admin-global-messages li.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #2563eb;
}

body.theme-light,
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light .card-title,
body.theme-light .premium-label {
    color: #0f172a;
}

body.theme-light p,
body.theme-light .card-desc,
body.theme-light .auth-header p {
    color: rgba(15, 23, 42, 0.75);
}

body.theme-light .premium-input {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
}

body.theme-light .premium-input:focus {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.25);
}

body.theme-light .auth-link {
    color: #059669;
}

/* Auth màn login (Candidate, etc.) */
body.theme-light.auth-body,
body.theme-light .auth-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%) !important;
}

body.theme-light .auth-card-premium {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .auth-btn-secondary {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
}

body.theme-light .auth-btn-secondary:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.25);
}

body.theme-light .premium-input-error {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.06);
}

body.theme-light .field-error {
    color: #b91c1c;
}

/* ===== Candidate Dashboard: Dark mode (theme-dark) ===== */
body.theme-dark.candidate-dashboard-body,
body.theme-dark .candidate-dashboard-body {
    background: #0f172a !important;
    color: #f8fafc;
}

body.theme-dark .candidate-navbar {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    height: 64px !important;
    min-height: 64px !important;
}

body.theme-dark .candidate-navbar .nav-menu {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
}

body.theme-dark .candidate-navbar .nav-actions {
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
}

body.theme-dark .candidate-navbar .nav-item {
    color: #94a3b8;
}

body.theme-dark .candidate-navbar .nav-item:hover,
body.theme-dark .candidate-navbar .nav-item.active {
    color: #38bdf8;
}

body.theme-dark .main-container {
    background: transparent;
}

body.theme-dark .welcome-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-dark .welcome-title,
body.theme-dark .welcome-subtitle {
    color: #f8fafc !important;
}

body.theme-dark .welcome-subtitle {
    opacity: 0.95;
}

body.theme-dark .card,
body.theme-dark .stat-card,
body.theme-dark .widget-card {
    background-color: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc;
}

body.theme-dark .stat-label,
body.theme-dark .company-name,
body.theme-dark .event-time,
body.theme-dark .notif-meta {
    color: #94a3b8 !important;
}

body.theme-dark .stat-value {
    color: #f8fafc !important;
}

body.theme-dark .section-header a {
    color: #38bdf8 !important;
}

body.theme-dark .section-header a:hover {
    color: #0ea5e9 !important;
}

body.theme-dark .form-select {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #f8fafc !important;
}

body.theme-dark .help-content p,
body.theme-dark .help-link span {
    color: #cbd5e1 !important;
}

body.theme-dark .help-link:hover span {
    color: #38bdf8 !important;
}

body.theme-dark .event-date {
    background-color: rgba(14, 165, 233, 0.2) !important;
    color: #7dd3fc !important;
}

body.theme-dark .widget-title,
body.theme-dark .section-header h3,
body.theme-dark .job-title,
body.theme-dark .event-title {
    color: #f8fafc !important;
}

body.theme-dark .language-btn,
body.theme-dark .theme-btn {
    color: #f8fafc;
}

body.theme-dark .profile-trigger {
    color: #f8fafc !important;
}

body.theme-dark .profile-trigger:hover {
    color: #38bdf8 !important;
}

body.theme-dark .profile-name {
    color: inherit !important;
}

body.theme-dark .language-btn:hover,
body.theme-dark .theme-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
}

body.theme-dark .profile-dropdown,
body.theme-dark .notification-dropdown {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.theme-dark .profile-menu-item,
body.theme-dark .notification-header h3 {
    color: #f8fafc !important;
}

body.theme-dark .notification-item:hover,
body.theme-dark .profile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
}

body.theme-dark .language-dropdown,
body.theme-dark .theme-dropdown {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.theme-dark .language-option,
body.theme-dark .theme-option {
    color: #f1f5f9;
}

body.theme-dark .language-option:hover,
body.theme-dark .theme-option:hover,
body.theme-dark .language-option.active,
body.theme-dark .theme-option.active {
    background-color: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
}

body.theme-dark .job-card {
    background-color: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.theme-dark .job-card:hover {
    border-color: rgba(56, 189, 248, 0.5) !important;
}

body.theme-dark .job-tag {
    background-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

body.theme-dark .stat-trend.trend-up {
    color: #38bdf8 !important;
}

body.theme-dark .help-widget {
    background-color: rgba(30, 41, 59, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Theme selector (light/dark) - dùng chung với language */
.theme-wrapper {
    position: relative;
    display: inline-block;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    color: #1F2937;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.theme-btn:hover {
    background-color: #F3F4F6;
    color: #10b981;
}

.theme-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 140px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #E5E7EB;
    z-index: 10000;
    overflow: hidden;
}

.theme-dropdown.show {
    display: block;
}

.theme-option {
    display: block;
    padding: 10px 16px;
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.theme-option:hover,
.theme-option.active {
    background-color: #ECFDF5;
    color: #10b981;
}
