/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --primary: #2563eb; --primary-dark: #1d4ed8; --primary-light: #eff6ff;
  --secondary: #64748b; --success: #16a34a; --warning: #d97706; --danger: #dc2626;
  --surface: #ffffff; --bg: #f8fafc; --bg-2: #f1f5f9;
  --border: #e2e8f0; --border-2: #cbd5e1;
  --text: #0f172a; --text-2: #475569; --text-3: #94a3b8;
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px; --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 6px rgba(0,0,0,.05);
  --shadow-md: 0 10px 25px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.1);
  --navbar-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
body.ltr { font-family: 'Inter', sans-serif; }
body.rtl { font-family: 'Cairo', sans-serif; }
body { background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; -webkit-text-size-adjust: 100%; display:flex; flex-direction:column; min-height:100vh; }
main { flex:1; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.min-w-0 { min-width: 0; }

/* NAVBAR */
.navbar { min-height: var(--navbar-h); background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important; border-bottom: 1px solid rgba(255,255,255,.08); padding-top: 0 !important; padding-bottom: 0 !important; }
.navbar .container { min-height: var(--navbar-h); }
.navbar-brand { font-size: 1.1rem; font-weight: 800; letter-spacing: -.5px; display: flex; align-items: center; gap: 8px; padding: 0; }
.navbar-brand .brand-icon { width: 32px; height: 32px; background: rgba(255,255,255,.2); border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.navbar .nav-link { font-size: .85rem; font-weight: 500; padding: .45rem .7rem !important; border-radius: var(--radius-sm); transition: background .15s; display: flex; align-items: center; gap: 5px; }
.navbar .nav-link:hover { background: rgba(255,255,255,.12); }
.navbar .nav-link.active-link { background: rgba(255,255,255,.15); }
.lang-toggle { font-size: .78rem; font-weight: 600; border: 1.5px solid rgba(255,255,255,.3); border-radius: 20px; padding: 4px 12px !important; }
.lang-toggle:hover { background: rgba(255,255,255,.15) !important; }
.nav-avatar { width: 32px; height: 32px; background: rgba(255,255,255,.25); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; color: #fff; flex-shrink: 0; border: 2px solid rgba(255,255,255,.3); }
.dropdown-menu { border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: .5rem; min-width: 200px; }
.dropdown-item { font-size: .875rem; padding: .6rem .9rem; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 8px; transition: background .15s; }
.dropdown-item:hover { background: var(--bg-2); }
.dropdown-divider { margin: .4rem 0; }
.navbar-toggler { border: none; padding: .4rem; color: rgba(255,255,255,.9) !important; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-collapse { padding: .5rem 0 .75rem; }
@media (min-width: 992px) { .navbar-collapse { padding: 0; } }

/* HERO */
.hero-section { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%); padding: 32px 0 28px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .hero-section { padding: 44px 0 36px; } }
@media (min-width: 992px) { .hero-section { padding: 56px 0 44px; } }
.hero-section::before { content: ''; position: absolute; top: -30%; right: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
[dir="rtl"] .hero-section::before { right: auto; left: -5%; }
.hero-title { font-size: clamp(1.75rem, 6vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.5px; }
.hero-sub { color: rgba(255,255,255,.75); font-size: clamp(.9rem, 2.5vw, 1.1rem); line-height: 1.7; }
.hero-search-box { background: rgba(255,255,255,.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-xl); padding: 8px; display: flex; gap: 6px; flex-direction: column; }
@media (min-width: 576px) { .hero-search-box { flex-direction: row; flex-wrap: wrap; } }
.hero-search-box .form-control { background: rgba(255,255,255,.95); border: none; border-radius: var(--radius); padding: 12px 16px; font-size: .95rem; flex: 1; min-width: 0; box-shadow: none; }
.hero-search-box .form-control:focus { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.hero-search-box .btn-search { background: #f59e0b; color: #fff; border: none; border-radius: var(--radius); padding: 12px 20px; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: background .2s; width: 100%; }
@media (min-width: 576px) { .hero-search-box .btn-search { width: auto; } }
.hero-search-box .btn-search:hover { background: #d97706; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); padding: 5px 14px; border-radius: 20px; font-size: .8rem; font-weight: 500; border: 1px solid rgba(255,255,255,.2); transition: background .2s; cursor: pointer; }
.hero-tag:hover { background: rgba(255,255,255,.25); color: #fff; }

/* STATS BAR */
.stats-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px 0; box-shadow: var(--shadow-sm); }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-size: 1.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
@media (min-width: 768px) { .stat-number { font-size: 1.6rem; } }
.stat-label { font-size: .72rem; color: var(--text-3); margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 767px) { .stats-bar .col-6 { border-bottom: 1px solid var(--border); } .stats-bar .col-6:nth-child(odd) { border-right: 1px solid var(--border); } [dir="rtl"] .stats-bar .col-6:nth-child(odd) { border-right: none; border-left: 1px solid var(--border); } }
@media (min-width: 768px) { .stats-bar .col-md-3:not(:last-child) { border-right: 1px solid var(--border); } [dir="rtl"] .stats-bar .col-md-3:not(:last-child) { border-right: none; border-left: 1px solid var(--border); } }

/* SECTION HEADERS */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .75rem; }
.section-title { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 800; color: var(--text); margin: 0; letter-spacing: -.3px; }
.section-title span { color: var(--primary); }

/* JOB CARDS */
.job-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; position: relative; height: 100%; display: flex; flex-direction: column; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.job-card-featured { border-color: #f59e0b; border-width: 2px; }
.featured-badge { background: linear-gradient(90deg, #f59e0b, #d97706); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; letter-spacing: .3px; text-transform: uppercase; }
.job-card-body { padding: 1.1rem; flex: 1; }
@media (min-width: 576px) { .job-card-body { padding: 1.4rem; } }
.job-card-footer { padding: .8rem 1.1rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--bg); }
@media (min-width: 576px) { .job-card-footer { padding: .9rem 1.4rem; } }
.job-title a { color: var(--text); font-weight: 700; font-size: .95rem; line-height: 1.4; transition: color .15s; }
.job-title a:hover { color: var(--primary); }
.company-name-sm { font-size: .82rem; color: var(--text-2); font-weight: 500; }

/* JOB LIST CARDS */
.job-list-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1rem; transition: box-shadow .2s, border-color .2s; position: relative; }
@media (min-width: 576px) { .job-list-card { padding: 1.25rem 1.4rem; } }
.job-list-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.job-list-featured { border-color: #f59e0b; border-width: 2px; }
.featured-ribbon { position: absolute; top: 0; right: 0; background: linear-gradient(90deg, #f59e0b, #d97706); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 12px; border-radius: 0 var(--radius-lg) 0 var(--radius-sm); text-transform: uppercase; letter-spacing: .3px; }
[dir="rtl"] .featured-ribbon { right: auto; left: 0; border-radius: var(--radius-lg) 0 var(--radius-sm) 0; }
.job-list-title a { color: var(--text); font-weight: 700; font-size: .95rem; transition: color .15s; }
.job-list-title a:hover { color: var(--primary); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: var(--text-2); margin-top: 6px; }
.job-meta span { display: flex; align-items: center; gap: 4px; }
.job-meta i { color: var(--text-3); font-size: .82rem; }

/* TAGS */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; font-size: .72rem; font-weight: 600; letter-spacing: .2px; }
.tag-type { background: #eff6ff; color: #2563eb; }
.tag-salary { background: #f0fdf4; color: #16a34a; }
.tag-primary { background: #eff6ff; color: #2563eb; }
.tag-featured { background: #fffbeb; color: #d97706; }
.tag-remote { background: #f0fdf4; color: #16a34a; }
.skill-tag { background: var(--bg-2); color: var(--text-2); border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 500; transition: background .15s, border-color .15s; }
.skill-tag:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.skill-tag-link:hover { background: var(--primary); color: #fff !important; border-color: var(--primary); }

/* COMPANY LOGOS */
.company-logo { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--border); padding: 4px; background: var(--surface); flex-shrink: 0; }
.company-logo-placeholder { width: 48px; height: 48px; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; border: 1px solid #bfdbfe; }
.company-logo-lg { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 7px; background: var(--surface); flex-shrink: 0; }
.company-logo-placeholder-lg { width: 72px; height: 72px; background: var(--primary-light); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.8rem; flex-shrink: 0; border: 1px solid #bfdbfe; }
@media (min-width: 576px) { .company-logo, .company-logo-placeholder { width: 52px; height: 52px; } .company-logo-lg, .company-logo-placeholder-lg { width: 80px; height: 80px; } .company-logo-placeholder-lg { font-size: 2rem; } }

/* FILTER CARD */
.filter-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.filter-title { font-weight: 700; font-size: .9rem; margin-bottom: 1rem; color: var(--text); display: flex; align-items: center; gap: 6px; }
.filter-title i { color: var(--primary); }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); padding: 24px 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .page-header { padding: 32px 0; } }
.page-header::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.page-title { color: #fff; font-weight: 800; margin: 0; font-size: clamp(1.3rem, 4vw, 1.7rem); letter-spacing: -.3px; position: relative; }
.page-subtitle { color: rgba(255,255,255,.65); font-size: .875rem; margin-top: 4px; position: relative; }
.breadcrumb-item a { color: rgba(255,255,255,.6); transition: color .15s; }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: rgba(255,255,255,.9); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* AUTH */
.auth-page { min-height: calc(100vh - var(--navbar-h)); display: flex; align-items: center; padding: 32px 0; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f0fdf4 100%); }
@media (min-width: 768px) { .auth-page { padding: 48px 0; } }
.auth-card { background: var(--surface); border-radius: var(--radius-xl); padding: 1.75rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
@media (min-width: 576px) { .auth-card { padding: 2.5rem; } }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-logo a { font-size: 1.4rem; font-weight: 800; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }
.auth-logo .logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.auth-title { font-weight: 800; text-align: center; margin-bottom: .5rem; font-size: 1.4rem; color: var(--text); letter-spacing: -.3px; }
.auth-subtitle { text-align: center; color: var(--text-2); font-size: .875rem; margin-bottom: 1.5rem; }
.role-selector { display: flex; gap: 10px; }
.role-option { flex: 1; cursor: pointer; }
.role-option input { display: none; }
.role-option span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border: 2px solid var(--border); border-radius: var(--radius-lg); font-size: .82rem; font-weight: 600; transition: all .2s; text-align: center; color: var(--text-2); }
.role-option span i { font-size: 1.5rem; }
.role-option input:checked + span { border-color: var(--primary); background: var(--primary-light); color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }

/* STAT CARDS */
.stat-card { border-radius: var(--radius-lg); padding: 1.1rem; color: #fff; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
@media (min-width: 576px) { .stat-card { padding: 1.4rem; } }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card::before { content: ''; position: absolute; top: -30px; right: -30px; width: 90px; height: 90px; background: rgba(255,255,255,.08); border-radius: 50%; }
[dir="rtl"] .stat-card::before { right: auto; left: -30px; }
.stat-card-blue   { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.stat-card-green  { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.stat-card-yellow { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); }
.stat-card-purple { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }
.stat-card-red    { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.stat-card-teal   { background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%); }
.stat-card-icon { font-size: 1.4rem; opacity: .85; margin-bottom: .5rem; display: block; }
@media (min-width: 576px) { .stat-card-icon { font-size: 1.6rem; } }
.stat-card-value { font-size: 1.6rem; font-weight: 800; line-height: 1; letter-spacing: -.5px; }
@media (min-width: 576px) { .stat-card-value { font-size: 2rem; } }
.stat-card-label { font-size: .72rem; opacity: .8; margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }

/* DASHBOARD */
.dash-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1.25rem 0; margin-bottom: 1.25rem; }
.dash-welcome { font-size: clamp(1.1rem, 3vw, 1.4rem); font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.dash-sub { color: var(--text-2); font-size: .875rem; margin-top: 2px; }
.dash-list-item { padding: .85rem 1.2rem; border-bottom: 1px solid var(--border); transition: background .15s; }
.dash-list-item:last-child { border-bottom: none; }
.dash-list-item:hover { background: var(--bg); }
.dash-quick-link { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: .75rem .5rem; font-size: .82rem; font-weight: 600; color: var(--text-2); text-align: center; transition: all .15s; min-height: 52px; }
.dash-quick-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.dash-quick-link i { font-size: 1rem; flex-shrink: 0; }

/* ADMIN SIDEBAR */
.admin-layout { display: flex; flex-direction: column; min-height: calc(100vh - var(--navbar-h)); }
.admin-menu-toggle { display: flex; align-items: center; gap: 10px; background: #0f172a; color: rgba(255,255,255,.85); border: none; padding: .65rem 1rem; width: 100%; font-size: .88rem; font-weight: 600; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-menu-toggle i { font-size: 1.1rem; }
.admin-menu-toggle:hover { background: #1e293b; }
.admin-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1039; backdrop-filter: blur(2px); }
.admin-sidebar-overlay.show { display: block; }
.admin-sidebar { position: fixed; top: 0; z-index: 1040; width: 260px; height: 100vh; background: #0f172a; overflow-y: auto; overflow-x: hidden; padding: 0; transition: transform .28s cubic-bezier(.4,0,.2,1); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent; }
[dir="ltr"] .admin-sidebar { left: 0; transform: translateX(-100%); }
[dir="rtl"] .admin-sidebar { right: 0; transform: translateX(100%); }
.admin-sidebar.open { transform: translateX(0) !important; }
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }
.sidebar-brand { display: flex; color: rgba(255,255,255,.5); font-weight: 700; font-size: .78rem; padding: .9rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: .5rem; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .8px; justify-content: space-between; }
.sidebar-close-btn { background: none; border: none; color: rgba(255,255,255,.4); font-size: 1.2rem; cursor: pointer; padding: 0; line-height: 1; }
.sidebar-close-btn:hover { color: #fff; }
.admin-sidebar .nav { flex-direction: column !important; flex-wrap: wrap; gap: 0; }
.admin-sidebar .nav-link { color: rgba(255,255,255,.6); padding: .65rem 1.25rem; font-size: .875rem; font-weight: 500; border-radius: 0; transition: all .15s; display: flex; align-items: center; gap: 9px; white-space: normal; border-left: 3px solid transparent; }
.admin-sidebar .nav-link:hover { color: rgba(255,255,255,.9); background: rgba(255,255,255,.07); border-left-color: rgba(255,255,255,.2); }
.admin-sidebar .nav-link.active { color: #fff; background: rgba(37,99,235,.2); border-left-color: var(--primary); }
.admin-sidebar .nav-link i { font-size: .95rem; flex-shrink: 0; }
[dir="rtl"] .admin-sidebar .nav-link { border-left: none; border-right: 3px solid transparent; }
[dir="rtl"] .admin-sidebar .nav-link:hover { border-right-color: rgba(255,255,255,.2); }
[dir="rtl"] .admin-sidebar .nav-link.active { border-right-color: var(--primary); }
.admin-content { flex: 1; min-width: 0; padding: 1rem; background: var(--bg); }
@media (min-width: 992px) {
  .admin-menu-toggle { display: none; }
  .admin-sidebar-overlay { display: none !important; }
  .admin-layout { flex-direction: row; }
  .admin-sidebar { position: sticky; top: var(--navbar-h); height: calc(100vh - var(--navbar-h)); width: 230px; flex-shrink: 0; transform: none !important; padding: 1.25rem 0 0; border-bottom: none; border-right: 1px solid rgba(255,255,255,.06); }
  [dir="rtl"] .admin-sidebar { border-right: none; border-left: 1px solid rgba(255,255,255,.06); }
  .sidebar-brand { padding: 0 1.25rem .9rem; justify-content: flex-start; }
  .sidebar-close-btn { display: none; }
  .admin-content { padding: 2rem; }
}

/* HOW IT WORKS */
.how-it-works { background: var(--bg-2); }
.how-step { background: var(--surface); border-radius: var(--radius-lg); padding: 1.75rem 1.25rem; text-align: center; border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; height: 100%; }
.how-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.how-icon { width: 68px; height: 68px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; margin: 0 auto 1.1rem; position: relative; }
.how-step-num { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; background: var(--text); color: #fff; border-radius: 50%; font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
[dir="rtl"] .how-step-num { right: auto; left: -4px; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%); position: relative; overflow: hidden; }

/* FOOTER */
.site-footer { background: #0f172a; color: rgba(255,255,255,.6); }
.footer-main { padding: 1.5rem 0 1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand { font-size: 1rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 7px; }
.footer-brand-icon { width: 26px; height: 26px; background: var(--primary); border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; color: #fff; flex-shrink: 0; }
.footer-desc { font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.55; max-width: 300px; }
.footer-social { display: flex; gap: 6px; }
.footer-social-btn { width: 28px; height: 28px; border-radius: 7px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; transition: all .2s; }
.footer-social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-contact { display: flex; flex-direction: column; gap: 5px; }
.footer-contact-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.5); font-size: .78rem; transition: color .15s; text-decoration: none; }
.footer-contact-item:hover { color: rgba(255,255,255,.9); }
.footer-contact-item i { font-size: .78rem; color: rgba(255,255,255,.3); flex-shrink: 0; width: 14px; text-align: center; }
.footer-wa { color: #25d366 !important; }
.footer-wa i { color: #25d366 !important; }
.footer-wa:hover { color: #4ade80 !important; }
.footer-heading { color: rgba(255,255,255,.85); font-weight: 700; font-size: .68rem; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .25rem; }
.footer-links a { color: rgba(255,255,255,.45); font-size: .78rem; transition: color .15s, padding .15s; display: inline-flex; align-items: center; gap: 5px; }
.footer-links a i { font-size: .6rem; opacity: 0; transition: opacity .15s; }
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-links a:hover i { opacity: 1; }
.footer-lang-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.15); border-radius: 7px; padding: 5px 12px; font-size: .78rem; font-weight: 600; transition: all .2s; text-decoration: none; }
.footer-lang-btn:hover { background: rgba(255,255,255,.13); color: #fff; border-color: rgba(255,255,255,.3); }
.footer-bottom { padding: .6rem 0; font-size: .72rem; color: rgba(255,255,255,.3); text-align: center; }
@media (max-width: 991px) {
  .footer-main { padding: .75rem 0 .5rem; }
  .footer-main .row { --bs-gutter-y: .6rem; }
  .footer-desc { display: none; }
  .footer-social { margin-bottom: .4rem !important; }
  .footer-contact { gap: 3px; }
  .footer-heading { margin-bottom: .35rem; font-size: .65rem; }
  .footer-links li { margin-bottom: .15rem; }
  .footer-links a, .footer-contact-item { font-size: .74rem; }
  .footer-lang-btn { padding: 4px 10px; font-size: .74rem; }
  .footer-bottom { padding: .4rem 0; font-size: .7rem; }
}

/* CARDS */
.card { border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.card-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; border-bottom: 1px solid var(--border); background: var(--surface); padding: .9rem 1.2rem; }
.card-body { padding: 1.2rem; }
@media (min-width: 576px) { .card-header { padding: 1rem 1.4rem; } .card-body { padding: 1.4rem; } }

/* TABLES */
.table th { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); padding: .75rem .9rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { font-size: .875rem; vertical-align: middle; padding: .75rem .9rem; border-bottom: 1px solid var(--bg-2); color: var(--text); }
.table tbody tr:last-child td { border-bottom: none; }
.table-hover tbody tr:hover td { background: var(--bg); }

/* FORMS */
.form-label { font-size: .875rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.form-control, .form-select { border-radius: var(--radius); border: 1.5px solid var(--border); font-size: .9rem; padding: .6rem .9rem; color: var(--text); background: var(--surface); transition: border-color .15s, box-shadow .15s; min-height: 44px; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); outline: none; }
.form-control::placeholder { color: var(--text-3); }
.input-group-text { background: var(--bg-2); border: 1.5px solid var(--border); color: var(--text-3); border-radius: var(--radius) 0 0 var(--radius); }
.input-group .form-control { border-radius: 0 var(--radius) var(--radius) 0; }
.input-group .form-control:focus { z-index: 3; }
[dir="rtl"] .input-group-text { border-radius: 0 var(--radius) var(--radius) 0; }
[dir="rtl"] .input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); }
.form-text { font-size: .8rem; color: var(--text-3); margin-top: .3rem; }

/* BUTTONS */
.btn { border-radius: var(--radius); font-weight: 600; font-size: .875rem; padding: .55rem 1.1rem; transition: all .15s; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.btn-lg { padding: .7rem 1.5rem; font-size: .95rem; min-height: 48px; }
.btn-sm { padding: .35rem .8rem; font-size: .8rem; min-height: 34px; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.btn-primary:active { transform: translateY(0); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-warning { background: #f59e0b; border-color: #f59e0b; color: #fff; }
.btn-warning:hover { background: #d97706; border-color: #d97706; color: #fff; }

/* PAGINATION */
.page-link { border-radius: var(--radius-sm) !important; margin: 0 2px; border: 1.5px solid var(--border); color: var(--text-2); font-size: .875rem; font-weight: 500; padding: .45rem .75rem; transition: all .15s; min-width: 38px; text-align: center; }
.page-link:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* ALERTS */
.alert { border-radius: var(--radius); border: none; font-size: .875rem; padding: .85rem 1.1rem; }
.alert-success { background: #f0fdf4; color: #15803d; border-left: 3px solid #16a34a; }
.alert-warning { background: #fffbeb; color: #92400e; border-left: 3px solid #f59e0b; }
.alert-danger  { background: #fef2f2; color: #991b1b; border-left: 3px solid #dc2626; }
.alert-info    { background: #eff6ff; color: #1e40af; border-left: 3px solid #2563eb; }
[dir="rtl"] .alert-success, [dir="rtl"] .alert-warning, [dir="rtl"] .alert-danger, [dir="rtl"] .alert-info { border-left: none; border-right: 3px solid; }
[dir="rtl"] .alert-success { border-right-color: #16a34a; }
[dir="rtl"] .alert-warning { border-right-color: #f59e0b; }
[dir="rtl"] .alert-danger  { border-right-color: #dc2626; }
[dir="rtl"] .alert-info    { border-right-color: #2563eb; }

/* BADGES */
.badge { font-size: .72rem; font-weight: 600; padding: .35em .65em; border-radius: 6px; letter-spacing: .2px; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-3); }
.empty-state-icon { width: 72px; height: 72px; background: var(--bg-2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--text-3); margin-bottom: 1.1rem; }
.empty-state h5 { color: var(--text-2); font-weight: 700; margin-bottom: .5rem; }
.empty-state p { color: var(--text-3); font-size: .9rem; margin-bottom: 1.1rem; }

/* MODALS */
.modal-content { border-radius: var(--radius-xl); border: none; box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--border); padding: 1.1rem 1.4rem; }
.modal-body { padding: 1.4rem; }
.modal-footer { border-top: 1px solid var(--border); padding: 1rem 1.4rem; }

/* PLAN CARDS */
.plan-card { background: var(--surface); border-radius: var(--radius-xl); border: 2px solid var(--border); padding: 1.75rem 1.5rem; transition: transform .2s, box-shadow .2s, border-color .2s; height: 100%; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.plan-popular { border-color: var(--primary); position: relative; }
.plan-popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--text); line-height: 1; }
.plan-price sup { font-size: 1rem; font-weight: 600; vertical-align: top; margin-top: .4rem; }
.plan-price span { font-size: .9rem; font-weight: 500; color: var(--text-3); }
.plan-feature { display: flex; align-items: center; gap: 8px; font-size: .875rem; padding: .4rem 0; }
.plan-feature i { color: var(--success); font-size: .9rem; flex-shrink: 0; }
.plan-feature.disabled { color: var(--text-3); }
.plan-feature.disabled i { color: var(--text-3); }

/* SETTINGS TABS */
.settings-nav .nav-link { color: var(--text-2); font-size: .875rem; font-weight: 500; padding: .6rem 1rem; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 7px; transition: all .15s; white-space: nowrap; }
.settings-nav .nav-link:hover { background: var(--bg-2); color: var(--text); }
.settings-nav .nav-link.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.settings-nav .nav-link i { font-size: .95rem; }

/* STICKY APPLY BAR */
.sticky-apply-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040; background: var(--surface); border-top: 1px solid var(--border); padding: .75rem 1rem; box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
@media (max-width: 991px) { .sticky-apply-bar { display: block; } .job-detail-main { padding-bottom: 80px; } }

/* NOTIFICATIONS */
.notif-badge { position: absolute; top: 2px; right: 2px; background: #dc2626; color: #fff; font-size: .6rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1; }
[dir="rtl"] .notif-badge { right: auto; left: 2px; }
.notif-dropdown { width: 320px; max-height: 420px; overflow: hidden; }
.notif-dropdown.show { display: flex !important; flex-direction: column; }
.notif-header { border-bottom: 1px solid var(--border); background: var(--bg); flex-shrink: 0; }
.notif-list { overflow-y: auto; flex: 1; }
.notif-item { display: block; padding: .75rem 1rem; border-bottom: 1px solid var(--border); transition: background .15s; text-decoration: none; color: var(--text); }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg); color: var(--text); }
.notif-unread { background: #eff6ff; }
.notif-unread:hover { background: #dbeafe; }
.notif-title { font-size: .82rem; font-weight: 700; margin-bottom: 2px; }
.notif-msg { font-size: .78rem; color: var(--text-2); line-height: 1.4; }
.notif-time { font-size: .72rem; color: var(--text-3); margin-top: 4px; }

/* APPLICATION PROGRESS */
.app-progress { display: flex; align-items: center; gap: 0; margin: 1rem 0 .5rem; overflow: hidden; }
.app-step { flex: 1; text-align: center; position: relative; }
.app-step-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; color: var(--text-3); position: relative; z-index: 1; transition: all .2s; }
.app-step.done .app-step-dot { background: var(--success); border-color: var(--success); color: #fff; }
.app-step.active .app-step-dot { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.app-step.rejected .app-step-dot { background: var(--danger); border-color: var(--danger); color: #fff; }
.app-step-label { font-size: .68rem; color: var(--text-3); margin-top: 4px; font-weight: 500; }
.app-step.done .app-step-label, .app-step.active .app-step-label { color: var(--text-2); font-weight: 600; }
.app-step::before { content: ''; position: absolute; top: 14px; left: calc(-50% + 14px); right: calc(50% + 14px); height: 2px; background: var(--border); }
.app-step:first-child::before { display: none; }
.app-step.done::before { background: var(--success); }

/* MESSAGES */
.page-header-icon { width: 46px; height: 46px; background: rgba(255,255,255,.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.msg-avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%); }
.msg-avatar.support { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); }
.msg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 639px) { .msg-grid { grid-template-columns: 1fr; } }
.msg-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 16px; text-decoration: none !important; color: var(--text) !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.msg-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--text) !important; }
.msg-card--unread { background: #eff6ff; border-color: #bfdbfe; }
.msg-card__top { display: flex; align-items: center; gap: 12px; }
.msg-card__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.msg-card__name { font-size: .9rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-card__time { font-size: .72rem; color: var(--text-3); }
.msg-card__badge { background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; flex-shrink: 0; }
.msg-card__preview { font-size: .8rem; color: var(--text-3); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.msg-card__you { color: var(--text-2); font-weight: 600; }
.msg-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--border); }
.msg-card__job { display: inline-flex; align-items: center; gap: 5px; background: var(--primary-light); color: var(--primary); font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.msg-card__profile-btn { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-3); display: flex; align-items: center; justify-content: center; font-size: .82rem; flex-shrink: 0; transition: all .15s; text-decoration: none; }
.msg-card__profile-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* CONTACT PAGE */
.contact-icon-box { width: 40px; height: 40px; background: var(--primary-light, #eff6ff); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 575px) { .container { padding-left: 1rem; padding-right: 1rem; } .section-header { flex-direction: column; align-items: flex-start; } .hero-tags { justify-content: flex-start; } }

/* PHONE PICKER */
.phone-picker-btn { background: var(--bs-body-bg, #fff); }
.phone-picker-item:hover { background: var(--bs-primary-bg-subtle, #eff6ff); }
.phone-picker-active { background: var(--bs-primary-bg-subtle, #eff6ff); font-weight: 600; }

/* =============================================
   DARK MODE
   ============================================= */
html.dark-mode {
  --surface: #1e2d3d; --bg: #111827; --bg-2: #1a2535;
  --border: #2d3f55; --border-2: #3d5068;
  --text: #f0f6ff; --text-2: #a8bdd4; --text-3: #6b8299;
  --primary: #4d9fff; --primary-dark: #3b8fe0; --primary-light: #1a3050;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow: 0 4px 6px rgba(0,0,0,.3);
  --shadow-md: 0 10px 25px rgba(0,0,0,.45);
}
html.dark-mode body { background: var(--bg); color: var(--text); }
html.dark-mode .card { background: var(--surface); border-color: var(--border); }
html.dark-mode .form-control, html.dark-mode .form-select { background: #1a2535; border-color: var(--border); color: var(--text); }
html.dark-mode .form-control:focus, html.dark-mode .form-select:focus { background: #1a2535; color: var(--text); border-color: var(--primary); }
html.dark-mode .table { --bs-table-bg: #1e2d3d; --bs-table-striped-bg: #1a2838; --bs-table-hover-bg: #243347; --bs-table-border-color: #2d3f55; --bs-table-color: #f0f6ff; color: #f0f6ff; border-color: #2d3f55; }
html.dark-mode .table > :not(caption) > * > * { background-color: var(--bs-table-bg) !important; color: var(--bs-table-color, #f0f6ff) !important; border-bottom-color: #2d3f55 !important; }
html.dark-mode .table-light { --bs-table-bg: #152030 !important; --bs-table-color: #a8bdd4 !important; }
html.dark-mode .table thead th, html.dark-mode .table thead td { background-color: #152030 !important; color: #a8bdd4 !important; border-color: #2d3f55 !important; }
html.dark-mode .table tbody tr:nth-child(even) > * { background-color: #1a2838 !important; }
html.dark-mode .table-hover tbody tr:hover > * { background-color: #243347 !important; color: #f0f6ff !important; }
html.dark-mode .dropdown-menu { background: #1e2d3d; border-color: var(--border); }
html.dark-mode .dropdown-item:hover { background: #2d3f55; }
html.dark-mode .dropdown-item { color: var(--text); }
html.dark-mode .admin-sidebar { background: #0d1b2a; border-color: var(--border); }
html.dark-mode .admin-sidebar .nav-link { color: #a8bdd4; }
html.dark-mode .admin-sidebar .nav-link:hover, html.dark-mode .admin-sidebar .nav-link.active { background: rgba(255,255,255,.1); color: #fff; }
html.dark-mode .filter-card { background: var(--surface); border-color: var(--border); }
html.dark-mode .job-list-card { background: var(--surface); border-color: var(--border); }
html.dark-mode .job-card { background: var(--surface); border-color: var(--border); }
html.dark-mode .job-card-footer { background: var(--bg-2); border-color: var(--border); }
html.dark-mode .job-card-featured { border-color: #f59e0b; }
html.dark-mode .company-logo { background: var(--surface); border-color: var(--border); }
html.dark-mode .company-logo-placeholder { background: #1a3050; border-color: #3b82f6; }
html.dark-mode .page-header { background: linear-gradient(135deg, #0d1b2a 0%, #1e3a8a 100%); }
html.dark-mode .nav-tabs .nav-link { color: var(--text-2); }
html.dark-mode .nav-tabs .nav-link.active { background: var(--surface); color: var(--text); border-color: var(--border); }
html.dark-mode .alert-info { background: #1a3050; border-color: #3b82f6; color: #93c5fd; }
html.dark-mode .alert-success { background: #0f3320; border-color: #22c55e; color: #86efac; }
html.dark-mode .alert-warning { background: #3a1f00; border-color: #f59e0b; color: #fcd34d; }
html.dark-mode .alert-danger { background: #3a0f0f; border-color: #ef4444; color: #fca5a5; }
html.dark-mode .modal-content { background: var(--surface); border-color: var(--border); }
html.dark-mode .modal-header, html.dark-mode .modal-footer { border-color: var(--border); }
html.dark-mode .offcanvas { background: #0d1b2a !important; }
html.dark-mode .site-footer { background: #090f1a; }
html.dark-mode .footer-main { background: #090f1a; border-color: #1e2d3d; }
html.dark-mode .footer-bottom { background: #060b12; }
html.dark-mode .skill-tag { background: #1a3050; color: #93c5fd; border-color: #3b82f6; }
html.dark-mode .tag { background: #1e2d3d; color: var(--text-2); border-color: var(--border); }
html.dark-mode .tag-type { background: #1a3050; color: #93c5fd; }
html.dark-mode .tag-primary { background: #1a3050; color: #93c5fd; }
html.dark-mode .tag-salary { background: #0f3320; color: #86efac; }
html.dark-mode .tag-featured { background: #3a1f00; color: #fcd34d; }
html.dark-mode .tag-remote { background: #0f3320; color: #86efac; }
html.dark-mode .notif-dropdown { background: #1e2d3d; border-color: var(--border); }
html.dark-mode .notif-item { border-color: var(--border); color: var(--text); }
html.dark-mode .notif-item:hover { background: #2d3f55; }
html.dark-mode .notif-unread { background: #1a3050; }
html.dark-mode .badge.bg-light { background: #2d3f55 !important; color: var(--text) !important; }
html.dark-mode input[type="color"] { background: #1e2d3d; border-color: var(--border); }
html.dark-mode .btn-outline-secondary { color: var(--text-2); border-color: var(--border); }
html.dark-mode .btn-outline-secondary:hover { background: #2d3f55; color: var(--text); }
html.dark-mode .btn-close { filter: invert(1); }
html.dark-mode hr { border-color: var(--border); }
html.dark-mode .text-muted { color: var(--text-2) !important; }
html.dark-mode .stats-bar { background: var(--surface); border-color: var(--border); }
html.dark-mode .how-it-works { background: var(--bg-2); }
html.dark-mode .how-step { background: var(--surface); border-color: var(--border); }
html.dark-mode .auth-page { background: linear-gradient(135deg, #0d1b2a 0%, #111827 50%, #0d1b2a 100%); }
html.dark-mode .auth-card { background: var(--surface); border-color: var(--border); }
html.dark-mode .role-option span { border-color: var(--border); color: var(--text-2); background: var(--bg-2); }
html.dark-mode .role-option input:checked + span { background: #1a3050; border-color: var(--primary); color: #93c5fd; }
html.dark-mode .input-group-text { background: #152030; border-color: var(--border); color: var(--text-2); }
html.dark-mode .page-link { background: var(--surface); border-color: var(--border); color: var(--text-2); }
html.dark-mode .page-link:hover { background: #1a3050; border-color: var(--primary); color: #93c5fd; }
html.dark-mode .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
html.dark-mode .plan-card { background: var(--surface); border-color: var(--border); }
html.dark-mode .plan-card.plan-popular { border-color: var(--primary); }
html.dark-mode .settings-nav .nav-link { color: var(--text-2); }
html.dark-mode .settings-nav .nav-link:hover { background: var(--bg-2); color: var(--text); }
html.dark-mode .settings-nav .nav-link.active { background: #1a3050; color: #93c5fd; }
html.dark-mode .sticky-apply-bar { background: var(--surface); border-color: var(--border); box-shadow: 0 -4px 20px rgba(0,0,0,.5); }
html.dark-mode .dash-header { background: var(--surface); border-color: var(--border); }
html.dark-mode .dash-list-item { border-color: var(--border); }
html.dark-mode .dash-list-item:hover { background: var(--bg-2); }
html.dark-mode .dash-quick-link { background: var(--surface); border-color: var(--border); color: var(--text-2); }
html.dark-mode .dash-quick-link:hover { background: #1a3050; border-color: var(--primary); color: #93c5fd; }
html.dark-mode .msg-card { background: var(--surface); border-color: var(--border); color: var(--text) !important; }
html.dark-mode .msg-card:hover { border-color: var(--primary); }
html.dark-mode .msg-card--unread { background: #1a3050; border-color: #3b82f6; }
html.dark-mode .msg-card__footer { border-color: var(--border); }
html.dark-mode .msg-card__job { background: #1a3050; color: #93c5fd; }
html.dark-mode .card-header { background: var(--surface); border-color: var(--border); }
html.dark-mode .empty-state-icon { background: var(--bg-2); }
html.dark-mode .notif-header { background: var(--bg-2); border-color: var(--border); }
html.dark-mode .bg-white, html.dark-mode .bg-light { background: var(--surface) !important; }
html.dark-mode .border, html.dark-mode .border-bottom, html.dark-mode .border-top { border-color: var(--border) !important; }
html.dark-mode .list-group-item { background: var(--surface); border-color: var(--border); color: var(--text); }
html.dark-mode .list-group-item:hover { background: var(--bg-2); }
html.dark-mode select option { background: #1e2d3d; color: var(--text); }
html.dark-mode .form-check-input { background-color: var(--bg-2); border-color: var(--border); }
html.dark-mode .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
html.dark-mode .progress { background: var(--bg-2); }
html.dark-mode .nav-pills .nav-link { color: var(--text-2); }
html.dark-mode .nav-pills .nav-link.active { background: var(--primary); color: #fff; }
html.dark-mode .contact-icon-box { background: #1e3a5f; }
html.dark-mode .phone-picker-drop { background: #1e2d3d !important; border-color: #2d3f55 !important; }
html.dark-mode .phone-picker-item:hover { background: #2d3f55; }
html.dark-mode .phone-picker-active { background: #1a3050; }
html.dark-mode .phone-picker-btn { background: var(--bs-body-bg); }
