/* ============================================================
   Keerja.com - Main Stylesheet
   Colors: #FFD700 (yellow), #FFC107 (amber), #fff (white)
   ============================================================ */

@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'EmiratesEssentials'; src: url('../fonts/EmiratesEssentials-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --yellow:      #FFB800;
  --yellow-dark: #E6A500;
  --yellow-light:#FFF3CC;
  --yellow-soft: #FFFBEE;
  --white:       #ffffff;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-400:    #374151;
  --gray-500:    #1f2937;
  --gray-600:    #111827;
  --gray-700:    #0d1117;
  --gray-800:    #0d1117;
  --gray-900:    #000000;
  --success:     #10b981;
  --info:        #3b82f6;
  --warning:     #f59e0b;
  --danger:      #ef4444;
  --dark:        #1f2937;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
  --shadow-md:   0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-lg:   0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.03);
  --transition:  all .2s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; color: var(--gray-900); }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
a  { color: var(--yellow-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--yellow); }
p  { color: var(--gray-600); }

/* ── Navbar Public ── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.navbar-brand { display: flex; align-items: center; gap: .5rem; font-size: 1.4rem; font-weight: 800; color: var(--gray-900); }
.navbar-brand .brand-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.25rem; color: #111827; letter-spacing: -.01em; }
.navbar-logo { width: 36px; height: 36px; background: transparent; border-radius: 8px; border: 2px solid #FFB800; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.navbar-nav  { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.navbar-nav a { color: var(--gray-600); font-weight: 500; font-size: .9rem; padding: .4rem .6rem; border-radius: var(--radius-sm); display:flex;align-items:center;gap:.2rem; }
.navbar-nav a:hover { color: var(--gray-900); background: var(--gray-50); }
.navbar-actions { display: flex; align-items: center; gap: .75rem; }
.nav-arrow { font-size: 1.1rem !important; transition: transform .2s; }
.navbar-hamburger { display:none; background:none; border:none; cursor:pointer; padding:.25rem; color:var(--gray-700); }

/* ── Mega Menu ── */
.nav-has-mega { position: static !important; }
.nav-mega-trigger { cursor: pointer; }
.mega-menu {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 64px;
  background: #fff;
  border-top: 3px solid var(--yellow);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  z-index: 999;
  padding: 2rem 0;
}
.nav-has-mega:hover .mega-menu,
.nav-has-mega.mega-open .mega-menu { display: block; }
.nav-has-mega:hover .nav-arrow { transform: rotate(180deg); }
.mega-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.25rem; }
.mega-header span { font-weight:700; font-size:1rem; color:var(--gray-900); }
.mega-all { font-size:.875rem; color:var(--yellow-dark); font-weight:600; text-decoration:none; }
.mega-all:hover { text-decoration:underline; }
.mega-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:.6rem; }
.mega-item { display:flex; align-items:center; gap:.75rem; padding:.7rem .9rem; border-radius:var(--radius-sm); text-decoration:none; transition:var(--transition); border:1px solid transparent; }
.mega-item:hover { background:#FBF5DD; border-color:#e8d98a; }
.mega-item-icon { font-size:1.5rem; color:var(--yellow-dark); flex-shrink:0; }
.mega-item-name { font-size:.875rem; font-weight:600; color:var(--gray-900); line-height:1.3; }
.mega-item-count { font-size:.75rem; color:var(--gray-500); margin-top:.1rem; }

/* ── Daftar Dropdown ── */
.nav-dropdown { position:relative; }
.nav-dropdown-trigger { cursor:pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  right: 0; top: calc(100% + .5rem);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 260px;
  z-index: 1001;
  overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-item { display:flex; align-items:flex-start; gap:.75rem; padding:1rem 1.25rem; text-decoration:none; transition:background .15s; border-bottom:1px solid var(--gray-100); }
.nav-dropdown-item:last-child { border-bottom:none; }
.nav-dropdown-item:hover { background:var(--gray-50); }
.nav-dropdown-item .material-icons-outlined { font-size:1.5rem; color:var(--yellow-dark); flex-shrink:0; margin-top:.1rem; }
.nav-dropdown-item-title { font-size:.9rem; font-weight:600; color:var(--gray-900); }
.nav-dropdown-item-desc { font-size:.78rem; color:var(--gray-500); margin-top:.15rem; }

/* ── Mobile Drawer ── */
.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px;
  background: #fff;
  z-index: 2000;
  box-shadow: var(--shadow-md);
  transform: translateX(-100%);
  transition: transform .3s ease;
  flex-direction: column;
}
.nav-mobile-drawer.open { transform: translateX(0); }
.nav-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:1999; }
.nav-overlay.open { display:block; }
.nav-mobile-header { display:flex; align-items:center; justify-content:space-between; padding:1rem 1.25rem; border-bottom:1px solid var(--gray-100); }
.nav-mobile-header button { background:none; border:none; cursor:pointer; color:var(--gray-600); }
.nav-mobile-body { padding:1rem; display:flex; flex-direction:column; gap:.25rem; overflow-y:auto; }
.nav-mobile-body a { display:block; padding:.75rem 1rem; border-radius:var(--radius-sm); color:var(--gray-700); font-weight:500; text-decoration:none; font-size:.95rem; }
.nav-mobile-body a:hover { background:var(--gray-50); color:var(--gray-900); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .875rem;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary  { background: var(--yellow); color: var(--gray-900); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--gray-900); }
.btn-outline  { background: transparent; color: var(--gray-700); border-color: var(--gray-300); }
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); color: var(--gray-900); }
.btn-success  { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #059669; border-color: #059669; color: #fff; }
.btn-danger   { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #dc2626; border-color: #dc2626; color: #fff; }
.btn-info     { background: var(--info); color: #fff; border-color: var(--info); }
.btn-dark     { background: var(--gray-800); color: #fff; border-color: var(--gray-800); }
.btn-sm       { padding: .2rem .6rem; font-size: .75rem; border-width: 1px; }
.btn-lg       { padding: .75rem 1.75rem; font-size: 1rem; }
.btn-block    { width: 100%; justify-content: center; }
.btn-icon     { padding: .45rem; width: 36px; height: 36px; justify-content: center; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body   { padding: 1.5rem; }
.card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.card-header h3, .card-header h4 { margin: 0; }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--gray-100); background: var(--gray-50); }

/* ── Job Cards ── */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  cursor: pointer;
}
.job-card:hover { border-color: var(--yellow); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.job-card-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.company-logo {
  width: 52px; height: 52px; border-radius: 10px;
  background: #FCF9EA; border: 1px solid #e8e0b8; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; overflow: hidden;
}
.company-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.company-logo .material-icons-outlined { font-size: 1.5rem; color: #b5930a; }
.job-card-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .2rem; }
.job-card-company { font-size: .85rem; color: var(--gray-600); font-weight: 500; }
.job-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 5px; font-size: .78rem; font-weight: 500; background: var(--gray-100); color: var(--gray-600); }
.tag .material-icons-outlined { font-size: .95rem; line-height: 1; }
.tag-yellow { background: var(--yellow-light); color: var(--yellow-dark); }
.tag-green  { background: #d1fae5; color: #065f46; }
.tag-blue   { background: #dbeafe; color: #1d4ed8; }
.tag-cat  { background: #FBF5DD; color: var(--gray-700); border: 1px solid #e8d98a; }
.tag-type { background: #FBF5DD; color: var(--gray-700); border: 1px solid #e8d98a; }
.tag-loc  { background: #FBF5DD; color: var(--gray-700); border: 1px solid #e8d98a; }

/* ── Hero Section ── */
.hero {
  background: linear-gradient(135deg, #fffbee 0%, #fff9e6 50%, #ffffff 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(255,184,0,.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255,184,0,.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-title { font-size: 3rem; font-weight: 900; color: var(--gray-900); margin-bottom: 1rem; line-height: 1.2; }
.hero-title span { color: var(--yellow); }
.hero-subtitle { font-size: 1.1rem; color: var(--gray-500); max-width: 540px; margin: 0 auto 2.5rem; }

/* ── Search Bar ── */
.search-bar {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  max-width: 780px; margin: 0 auto;
  border: 2px solid var(--gray-100);
}
.search-bar:focus-within { border-color: var(--yellow); }
.search-input-group { flex: 1; display: flex; align-items: center; gap: .5rem; }
.search-input-group svg { color: var(--gray-400); flex-shrink: 0; }
.search-input { border: none; outline: none; font-size: .95rem; width: 100%; background: transparent; color: var(--gray-800); }
.search-divider { width: 1px; height: 28px; background: var(--gray-200); }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--gray-700); margin-bottom: .4rem; }
.form-label .required { color: var(--danger); margin-left: .2rem; }
.form-control {
  width: 100%; padding: .6rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,184,0,.12); }
.form-control:disabled { background: var(--gray-50); color: var(--gray-400); cursor: not-allowed; }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-hint { font-size: .78rem; color: var(--gray-400); margin-top: .3rem; }
.form-error { font-size: .78rem; color: var(--danger); margin-top: .3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .25rem .65rem; border-radius: 20px;
  font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.badge-success  { background: #d1fae5; color: #065f46; }
.badge-warning  { background: #fef3c7; color: #92400e; }
.badge-danger   { background: #fee2e2; color: #991b1b; }
.badge-info     { background: #dbeafe; color: #1e40af; }
.badge-primary  { background: #dbeafe; color: #1e40af; }
.badge-dark     { background: #e5e7eb; color: #374151; }
.badge-secondary{ background: #f3f4f6; color: #6b7280; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; }
.table th {
  background: var(--gray-50); padding: .5rem .75rem;
  text-align: left; font-size: .72rem; font-weight: 700;
  color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid var(--gray-200);
}
.table td {
  padding: .45rem .75rem; border-bottom: 1px solid var(--gray-100);
  vertical-align: middle; font-size: .8rem; color: var(--gray-700);
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--gray-50); }
.table-actions { display: flex; align-items: center; gap: .3rem; flex-wrap: nowrap; }
.table-actions .btn { padding: .2rem .55rem; font-size: .72rem; border-width: 1px; gap: .25rem; }
.table-actions .btn-icon { width: 28px; height: 28px; padding: .2rem; font-size: .8rem; }

/* ── Stats Cards ── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.stat-icon-yellow { background: var(--yellow-light); color: var(--yellow-dark); }
.stat-icon-green  { background: #d1fae5; color: #059669; }
.stat-icon-blue   { background: #dbeafe; color: #2563eb; }
.stat-icon-red    { background: #fee2e2; color: #dc2626; }
.stat-icon-purple { background: #ede9fe; color: #7c3aed; }
.stat-icon-orange { background: #ffedd5; color: #ea580c; }
.stat-value { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.stat-label { font-size: .82rem; color: var(--gray-500); margin-top: .2rem; }
.stat-change { font-size: .8rem; font-weight: 600; margin-top: .3rem; }
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ── Section ── */
.section { padding: 4rem 0; }
.section-title { font-size: 1.75rem; font-weight: 800; text-align: center; margin-bottom: .5rem; }
.section-subtitle { color: var(--gray-500); text-align: center; margin-bottom: 2.5rem; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

/* ── Modal ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 9999;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white); border-radius: var(--radius);
  max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn .2s ease;
}
.modal-lg { max-width: 860px; }
.modal-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 1.4rem; line-height: 1;
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-700); }
.modal-body   { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--gray-100); display: flex; gap: .75rem; justify-content: flex-end; }
@keyframes modalIn { from { opacity:0; transform:scale(.95) translateY(-10px); } to { opacity:1; transform:none; } }

/* ── Toast ── */
.toast-notification {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--gray-900); color: #fff;
  padding: .85rem 1.25rem; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-lg); z-index: 10000;
  animation: toastIn .3s ease, toastOut .3s ease 3.7s forwards;
  max-width: 360px;
}
.toast-success { background: #064e3b; border-left: 4px solid var(--success); }
.toast-error   { background: #7f1d1d; border-left: 4px solid var(--danger); }
.toast-warning { background: #78350f; border-left: 4px solid var(--warning); }
.toast-info    { background: #1e3a5f; border-left: 4px solid var(--info); }
.toast-close   { background: none; border: none; color: rgba(255,255,255,.6); cursor: pointer; margin-left: auto; font-size: 1.1rem; line-height: 1; }
.toast-close:hover { color: #fff; }
@keyframes toastIn  { from { opacity:0; transform:translateX(100%); } to { opacity:1; transform:none; } }
@keyframes toastOut { from { opacity:1; } to { opacity:0; transform:translateX(100%); } }

/* ── Pagination ── */
.pagination { display: flex; align-items: center; gap: .3rem; justify-content: center; padding: 1.5rem 0; }
.page-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; color: var(--gray-600);
  border: 1.5px solid var(--gray-200); transition: var(--transition);
  background: var(--white);
}
.page-btn:hover { border-color: var(--yellow); color: var(--yellow-dark); background: var(--yellow-soft); }
.page-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--gray-900); }
.page-dots { color: var(--gray-400); padding: 0 .25rem; }

/* ── Filter Bar ── */
.filter-bar {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end;
  margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.filter-group { display: flex; flex-direction: column; gap: .3rem; min-width: 160px; }
.filter-group label { font-size: .8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; }
.filter-group select, .filter-group input {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: .5rem .8rem; font-size: .875rem; outline: none;
  background: var(--white); color: var(--gray-800); transition: var(--transition);
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--yellow); }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .4; }
.empty-state h3 { font-size: 1.1rem; color: var(--gray-600); margin-bottom: .5rem; }
.empty-state p  { font-size: .875rem; color: var(--gray-400); }

/* ── Alert ── */
.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  font-size: .875rem; display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: 1rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ── Footer ── */
.footer {
  background: var(--gray-900); color: var(--gray-300);
  padding: 3rem 0 1.5rem;
}
.footer-brand { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.footer-brand span { color: #fff; }
.footer-desc { font-size: .875rem; color: #f5f0e8; max-width: 280px; }
.footer-links h4 { color: #fff; font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links ul a { color: #f5f0e8; font-size: .875rem; }
.footer-links ul a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--gray-800); margin-top: 2rem; padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: #f5f0e8; }

/* ── Category Cards ── */
.cat-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center; transition: var(--transition); cursor: pointer;
}
.cat-card:hover { border-color: var(--yellow); background: var(--yellow-soft); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-icon { font-size: 2rem; margin-bottom: .75rem; }
.cat-icon .material-icons-outlined { font-size: 3rem; color: var(--yellow-dark); display: block; }
.cat-name { font-size: .9rem; font-weight: 600; color: var(--gray-700); }
.cat-count { font-size: .8rem; color: var(--gray-400); margin-top: .2rem; }

/* ── Stats Row ── */
.stats-row {
  background: var(--yellow);
  padding: 2.5rem 0;
}
.stats-row .stat-item { text-align: center; }
.stats-row .stat-num  { font-size: 2.5rem; font-weight: 900; color: var(--gray-900); line-height: 1; }
.stats-row .stat-lbl  { font-size: .875rem; font-weight: 600; color: rgba(0,0,0,.6); margin-top: .3rem; }

/* ── File Upload ── */
.file-upload-area {
  border: 2px dashed var(--gray-300); border-radius: var(--radius-sm);
  padding: 2rem; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--gray-50);
}
.file-upload-area:hover, .file-upload-area.dragover { border-color: var(--yellow); background: var(--yellow-soft); }
.file-upload-area .upload-icon { font-size: 2.5rem; color: var(--gray-300); margin-bottom: .75rem; }
.file-upload-area p { font-size: .875rem; color: var(--gray-500); }
.file-upload-area strong { color: var(--yellow-dark); }
.file-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.file-item {
  display: flex; align-items: center; gap: .4rem;
  background: var(--gray-100); border-radius: var(--radius-sm);
  padding: .3rem .6rem; font-size: .8rem; color: var(--gray-600);
}
.file-item button { background: none; border: none; cursor: pointer; color: var(--danger); font-size: .9rem; line-height: 1; }

/* ── Image Preview Grid ── */
.evidence-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.evidence-thumb {
  width: 72px; height: 72px; border-radius: var(--radius-sm);
  object-fit: cover; cursor: pointer; border: 2px solid var(--gray-100);
  transition: var(--transition);
}
.evidence-thumb:hover { border-color: var(--yellow); transform: scale(1.05); }

/* ── Jobs Page Sidebar Filter ── */
.filter-section { background:#fff; border:1px solid var(--gray-200); border-radius:var(--radius); margin-bottom:.75rem; overflow:hidden; }
.filter-section-head { display:flex; align-items:center; justify-content:space-between; padding:.85rem 1.1rem; cursor:pointer; font-weight:600; font-size:.9rem; color:var(--gray-900); user-select:none; }
.filter-section-head:hover { background:var(--gray-50); }
.filter-section-head .material-icons-outlined { font-size:1.2rem; color:var(--gray-500); }
.filter-section-body { padding:.25rem 1.1rem .9rem; border-top:1px solid var(--gray-100); }
.filter-check { display:flex; align-items:center; gap:.6rem; padding:.4rem 0; cursor:pointer; font-size:.875rem; color:var(--gray-700); }
.filter-check input[type=checkbox] { width:16px; height:16px; accent-color:var(--yellow-dark); cursor:pointer; flex-shrink:0; }
.filter-radio { display:flex; align-items:center; gap:.6rem; padding:.4rem 0; cursor:pointer; font-size:.875rem; color:var(--gray-700); }
.filter-radio input[type=radio] { width:16px; height:16px; accent-color:var(--yellow-dark); cursor:pointer; flex-shrink:0; }
.sort-pill { display:inline-flex; align-items:center; padding:.4rem 1rem; border-radius:20px; border:1.5px solid var(--gray-300); font-size:.82rem; font-weight:500; cursor:pointer; color:var(--gray-700); transition:var(--transition); }
.sort-pill.active { border-color:var(--yellow-dark); background:#FBF5DD; color:var(--gray-900); font-weight:600; }
.filter-chip { display:inline-flex; align-items:center; gap:.3rem; padding:.25rem .7rem; background:#FBF5DD; border:1px solid #e8d98a; border-radius:20px; font-size:.75rem; color:var(--gray-700); text-decoration:none; font-weight:500; }
.filter-chip:hover { background:#f5e9a0; }

/* ── Job Card V2 (jobs.php) ── */
.jobs-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; }
.job-card-link { text-decoration:none; display:block; height:100%; }
.jc-header { display:flex; justify-content:flex-end; margin-bottom:.5rem; }
.job-card-v2 {
  background:#fff;
  border:1.5px solid var(--gray-200);
  border-radius:var(--radius);
  padding:.9rem 1rem;
  height:100%;
  display:flex;
  flex-direction:column;
  gap:.3rem;
  transition:var(--transition);
}
.job-card-v2:hover { border-color:var(--yellow); box-shadow:0 6px 20px rgba(0,0,0,.09); transform:translateY(-2px); }

.jc-top { display:flex; align-items:flex-start; gap:.6rem; }
.jc-title { font-size:.9rem; font-weight:700; color:var(--gray-900); line-height:1.3; }
.jc-meta-row { display:flex; align-items:center; justify-content:space-between; gap:.5rem; }
.jc-salary { font-size:.82rem; font-weight:700; white-space:nowrap; }
.jc-salary.has-salary { color:#1d6fc4; }
.jc-salary.no-salary { color:var(--gray-400); font-weight:400; font-size:.75rem; }

.jc-tags { display:flex; flex-wrap:wrap; gap:.3rem; margin:.2rem 0; }
.jc-tag { display:inline-flex; align-items:center; padding:.18rem .5rem; background:#f3f4f6; border-radius:5px; font-size:.68rem; font-weight:500; color:var(--gray-700); white-space:nowrap; }

.jc-logo { width:40px; height:40px; border-radius:8px; background:#FCF9EA; border:1px solid #e8e0b8; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; }
.jc-logo img { width:100%; height:100%; object-fit:contain; }
.jc-logo .material-icons-outlined { font-size:1.3rem; color:#b5930a; }
.jc-company-name { font-size:.8rem; font-weight:600; color:var(--gray-600); display:flex; align-items:center; gap:.25rem; }
.jc-verified .material-icons-outlined { font-size:.9rem; color:#1d9bf0; vertical-align:middle; }
.jc-badge-new { font-size:.6rem; font-weight:700; background:#dcfce7; color:#15803d; padding:.1rem .4rem; border-radius:4px; white-space:nowrap; flex-shrink:0; }
.jc-loc { display:flex; align-items:center; gap:.2rem; font-size:.75rem; color:var(--gray-400); }
.jc-loc .material-icons-outlined { font-size:.85rem; }

.jc-footer { display:flex; align-items:center; gap:.5rem; margin-top:auto; padding-top:.5rem; border-top:1px solid var(--gray-100); }
.jc-ago { font-size:.72rem; color:var(--gray-400); }
.jc-deadline { font-size:.7rem; color:var(--danger); font-weight:500; }
.jc-actions { display:flex; gap:.35rem; flex-shrink:0; }
.jc-btn-detail {
  padding:.28rem .7rem; font-size:.72rem; font-weight:600; border-radius:5px;
  border:1.5px solid var(--gray-300); color:var(--gray-600);
  background:#fff; text-decoration:none; transition:var(--transition);
}
.jc-btn-detail:hover { background:#FEB21A; border-color:#FEB21A; color:#1a1a1a; }
.jc-btn-apply {
  padding:.28rem .7rem; font-size:.72rem; font-weight:600; border-radius:5px;
  border:1.5px solid var(--gray-300); color:var(--gray-600);
  background:#fff; text-decoration:none; transition:var(--transition);
}
.jc-btn-apply:hover { background:#FEB21A; border-color:#FEB21A; color:#1a1a1a; }
.jc-bookmark { font-size:1.25rem; color:var(--gray-400); cursor:pointer; flex-shrink:0; transition:color .15s; }
.jc-bookmark:hover { color:var(--yellow-dark); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .navbar-nav { display: none; }
  .navbar-actions { display: none; }
  .navbar-hamburger { display: flex; }
  .nav-mobile-drawer { display: flex; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  #filterSidebar { display: none; }
  [style*="grid-template-columns:280px"] { grid-template-columns: 1fr !important; }
  .search-bar { flex-direction: column; }
  .search-divider { width: 100%; height: 1px; }
  .filter-bar { flex-direction: column; }
  .filter-group { min-width: unset; width: 100%; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.75rem; }
}

/* ── Misc ── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--gray-400); }
.fw-bold     { font-weight: 700; }
.fw-600      { font-weight: 600; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.gap-1       { gap: .25rem; }
.gap-2       { gap: .5rem; }
.gap-3       { gap: .75rem; }
.gap-4       { gap: 1rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.w-100 { width: 100%; }
.img-fluid { max-width: 100%; height: auto; }
.rounded { border-radius: var(--radius); }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.overflow-hidden { overflow: hidden; }

/* ── Loading Spinner ── */
.spinner {
  display: inline-block; width: 18px; height: 18px;
  border: 2.5px solid rgba(0,0,0,.1);
  border-top-color: var(--yellow-dark);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Skeleton ── */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Company Card ── */
.company-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 1.5rem;
  transition: var(--transition); text-align: center;
}
.company-card:hover { border-color: var(--yellow); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.company-logo-lg {
  width: 72px; height: 72px; border-radius: 14px;
  background: #FCF9EA; border: 1px solid #e8e0b8; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 1rem; overflow: hidden;
}
.company-logo-lg img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.company-logo-lg .material-icons-outlined { font-size: 2rem; color: #b5930a; }
