/* ================================================================
   mumtazJobs — style.css
   Full design system: matches expatriate.com/naukrigulf aesthetic
   ================================================================ */

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a6fc4;
  --blue-dk:    #0f5298;
  --blue-lt:    #e8f1fb;
  --blue-mid:   #c5ddf5;
  --navy:       #071e3d;
  --green:      #16a34a;
  --green-bg:   #dcfce7;
  --amber:      #d97706;
  --amber-bg:   #fef3c7;
  --red:        #dc2626;
  --red-bg:     #fee2e2;
  --purple:     #7c3aed;
  --purple-bg:  #ede9fe;
  --g50:  #f8fafc; --g100: #f1f5f9; --g200: #e2e8f0;
  --g300: #cbd5e1; --g400: #94a3b8; --g500: #64748b;
  --g600: #475569; --g700: #334155; --g900: #0f172a;
  --font:   'Inter', 'Trebuchet MS', sans-serif;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

body { font-family: var(--font); background: #f0f3f8; color: var(--g900); font-size: 14px; line-height: 1.6; }
a    { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img  { max-width: 100%; }
ul   { list-style: none; }

/* ── Layout ────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.page-wrap { max-width: 860px; margin: 28px auto; padding: 0 20px 60px; }
.page-wrap-wide { max-width: 1100px; margin: 28px auto; padding: 0 20px 60px; }
.two-col  { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.three-col{ display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.four-col { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g200); position: sticky; top: 0; z-index: 500;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 4px 20px rgba(0,0,0,0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { font-size: 20px; font-weight: 800; color: #f5c518; letter-spacing: -0.5px; white-space: nowrap; }
.logo span { color: #92400e; }
.main-nav { display: flex; gap: 2px; }
.main-nav a { font-size: 13px; font-weight: 500; color: var(--g600); padding: 7px 13px; border-radius: 8px; transition: background .15s, color .15s; }
.main-nav a:hover { background: var(--g100); color: var(--g900); text-decoration: none; }
.main-nav a.active { background: var(--blue-lt); color: var(--blue); }
.header-actions { display: flex; gap: 8px; align-items: center; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--blue); color: #fff; border: none; padding: 9px 20px;
  border-radius: 9px; font-size: 13px; font-weight: 600; font-family: var(--font);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(26,111,196,0.3);
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); text-decoration: none; color: #fff; }
.btn-primary:active { transform: scale(0.97); }
.btn-primary.lg { padding: 12px 28px; font-size: 15px; border-radius: 11px; }
.btn-primary.sm { padding: 6px 14px; font-size: 12px; }

.btn-ghost {
  background: transparent; color: var(--blue); border: 1.5px solid var(--blue);
  padding: 8px 18px; border-radius: 9px; font-size: 13px; font-weight: 600;
  font-family: var(--font); cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost:hover { background: var(--blue-lt); text-decoration: none; }

.btn-green  { background: var(--green);  color: #fff; }
.btn-green:hover { background: #15803d; }
.btn-red    { background: var(--red);    color: #fff; }
.btn-red:hover { background: #b91c1c; }
.btn-gray   { background: var(--g100); color: var(--g700); border: 1px solid var(--g200); }
.btn-gray:hover { background: var(--g200); }

.btn-ghost, .btn-primary, .btn-gray { text-decoration: none !important; }

/* ── Form Elements ──────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--g200); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 16px; }
.form-card-head { padding: 20px 24px; border-bottom: 1px solid var(--g100); }
.form-card-head h2 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.form-card-head p  { font-size: 13px; color: var(--g500); }
.form-card-body { padding: 24px; }
.form-card-foot { padding: 16px 24px; border-top: 1px solid var(--g100); display: flex; justify-content: flex-end; gap: 10px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1/-1; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; font-weight: 600; color: var(--g700); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--g200); border-radius: 9px; padding: 10px 13px;
  font-size: 14px; font-family: var(--font); color: var(--g900); background: #fff; outline: none;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,111,196,0.1);
}
.field input[readonly] { background: var(--g50); color: var(--g500); }
.field textarea { resize: vertical; min-height: 100px; }
.field .hint { font-size: 11px; color: var(--g400); }

.section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--g400); margin-bottom: 14px;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #071e3d 0%, #0d3d6e 40%, #1a6fc4 100%);
  padding: 64px 24px 52px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero::after {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,136,232,0.3) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 740px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 22px;
}
.hero-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }
.hero h1 { font-size: 46px; font-weight: 800; color: #fff; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 14px; }
.hero h1 span { color: #60b4ff; }
.hero p { font-size: 17px; color: rgba(255,255,255,.72); margin-bottom: 32px; line-height: 1.6; }

/* Search bar */
.search-bar {
  background: #fff; border-radius: 14px; padding: 6px; display: flex; gap: 6px;
  max-width: 680px; margin: 0 auto 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
.search-bar input, .search-bar select {
  border: none; outline: none; padding: 11px 16px; font-size: 14px;
  font-family: var(--font); color: var(--g900); background: transparent;
}
.search-bar input { flex: 1; }
.search-bar .divider { width: 1px; background: var(--g200); margin: 8px 0; }
.search-bar select { min-width: 140px; cursor: pointer; }
.search-bar button { padding: 11px 26px; font-size: 14px; font-weight: 700; border-radius: 10px; flex-shrink: 0; }

/* Category pills */
.cat-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.cat-pill {
  font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08); cursor: pointer; transition: all .15s;
  text-decoration: none;
}
.cat-pill:hover { background: rgba(255,255,255,.2); color: #fff; text-decoration: none; }

/* Trust bar */
.trust-bar {
  background: #fff; border-bottom: 1px solid var(--g200);
  display: flex; overflow-x: auto;
}
.trust-item {
  display: flex; align-items: center; gap: 10px; padding: 13px 24px;
  font-size: 13px; color: var(--g600); white-space: nowrap;
  border-right: 1px solid var(--g200); flex-shrink: 0;
}
.trust-item:last-child { border-right: none; }
.trust-item strong { color: var(--g900); font-weight: 700; }

/* ── Job Cards ──────────────────────────────────────────────────── */
.jobs-layout { display: flex; gap: 20px; max-width: 1100px; margin: 24px auto; padding: 0 20px; align-items: flex-start; }
.sidebar { width: 220px; flex-shrink: 0; position: sticky; top: 76px; }
.jobs-col { flex: 1; min-width: 0; }

.filter-card { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.filter-head span { font-size: 13px; font-weight: 700; }
.filter-reset { font-size: 11px; color: var(--blue); cursor: pointer; background: none; border: none; font-family: var(--font); font-weight: 500; }
.filter-group { margin-bottom: 16px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-lbl { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--g400); margin-bottom: 10px; display: block; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--g700); margin-bottom: 8px; cursor: pointer; }
.filter-group input[type="checkbox"] { accent-color: var(--blue); width: 14px; height: 14px; flex-shrink: 0; }
.filter-divider { border: none; border-top: 1px solid var(--g100); margin: 14px 0; }

.jobs-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.results-label { font-size: 13px; color: var(--g500); }
.results-label strong { color: var(--g900); font-weight: 600; }
.sort-select { border: 1.5px solid var(--g200); border-radius: 8px; padding: 7px 10px; font-size: 13px; font-family: var(--font); cursor: pointer; outline: none; }

.job-card {
  background: #fff; border: 1px solid var(--g200); border-radius: var(--radius);
  margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.job-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(26,111,196,0.12); transform: translateY(-1px); }
.job-card.featured { border-left: 3px solid var(--amber); }
.job-card.urgent::before {
  content: 'URGENT'; background: var(--red); color: #fff; font-size: 9px; font-weight: 800;
  padding: 2px 8px; position: absolute; top: 12px; right: 12px; border-radius: 4px; letter-spacing: .05em;
}
.job-card { position: relative; }

.job-card-body { padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; text-decoration: none; }
.job-card-body:hover { text-decoration: none; }
.company-logo {
  width: 48px; height: 48px; border-radius: 9px; background: var(--blue-lt);
  border: 1px solid var(--blue-mid); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--blue); flex-shrink: 0; overflow: hidden;
}
.company-logo img { width: 100%; height: 100%; object-fit: contain; }
.job-info { flex: 1; min-width: 0; }
.job-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.job-title { font-size: 15px; font-weight: 700; color: var(--g900); margin-bottom: 2px; }
.job-title:hover { color: var(--blue); }
.job-company { font-size: 13px; color: var(--g500); margin-bottom: 8px; }
.job-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill {
  font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 20px;
  background: var(--g100); color: var(--g600);
}
.pill.salary { background: var(--green-bg); color: var(--green); }
.pill.visa   { background: var(--blue-lt);  color: var(--blue); }
.pill.urgent { background: var(--red-bg);   color: var(--red); font-weight: 700; }
.pill.feat   { background: var(--amber-bg); color: var(--amber); font-weight: 700; }
.pill.new    { background: var(--green-bg); color: var(--green); font-weight: 700; font-size: 10px; }

.job-meta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.job-age { font-size: 11px; color: var(--g400); }

/* ── Status Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
}
.badge-submitted   { background: var(--blue-lt);  color: var(--blue); }
.badge-cv_viewed   { background: var(--amber-bg); color: var(--amber); }
.badge-shortlisted { background: var(--purple-bg); color: var(--purple); }
.badge-interview   { background: #fce7f3; color: #be185d; }
.badge-offered     { background: #d1fae5; color: #065f46; }
.badge-hired       { background: var(--green-bg); color: var(--green); }
.badge-rejected    { background: var(--red-bg);   color: var(--red); }
.badge-pending     { background: var(--amber-bg); color: var(--amber); }
.badge-approved    { background: var(--green-bg); color: var(--green); }
.badge-expired     { background: var(--g100);     color: var(--g500); }

/* ── CV Bank Cards (naukrigulf style) ───────────────────────────── */
.cv-bank-card {
  background: #fff; border: 1px solid var(--g200); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow); transition: border-color .15s, transform .1s;
  margin-bottom: 10px;
}
.cv-bank-card:hover { border-color: var(--blue-mid); transform: translateY(-1px); }
.cand-avatar {
  width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-lt), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--blue); flex-shrink: 0;
}
.cand-info { flex: 1; min-width: 0; }
.cand-name { font-size: 15px; font-weight: 700; color: var(--g900); margin-bottom: 2px; }
.cand-headline { font-size: 13px; color: var(--blue); margin-bottom: 6px; font-weight: 500; }
.cand-meta { font-size: 12.5px; color: var(--g500); display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.cand-meta span { display: flex; align-items: center; gap: 4px; }
.cand-active { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--green); background: var(--green-bg); padding: 2px 8px; border-radius: 20px; }

/* ── Stats ──────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card {
  background: #fff; border: 1px solid var(--g200); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.stat-card.blue  { border-top: 3px solid var(--blue); }
.stat-card.green { border-top: 3px solid var(--green); }
.stat-card.amber { border-top: 3px solid var(--amber); }
.stat-card.red   { border-top: 3px solid var(--red); }
.stat-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--g400); margin-bottom: 8px; }
.stat-val { font-size: 28px; font-weight: 800; color: var(--g900); line-height: 1; margin-bottom: 4px; }
.stat-sub { font-size: 12px; color: var(--g500); }

/* ── Tables ─────────────────────────────────────────────────────── */
.table-card { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 20px; }
.table-head { padding: 16px 20px; border-bottom: 1px solid var(--g100); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.table-head h3 { font-size: 15px; font-weight: 700; }
table { width: 100%; border-collapse: collapse; }
table th {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--g400); padding: 10px 16px; text-align: left;
  background: var(--g50); border-bottom: 1px solid var(--g100);
}
table td { padding: 13px 16px; font-size: 13px; color: var(--g700); border-bottom: 1px solid var(--g100); vertical-align: middle; }
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: var(--g50); }
.td-name  { font-weight: 600; color: var(--g900); }
.td-sub   { font-size: 11.5px; color: var(--g400); display: block; }

/* ── Pagination ─────────────────────────────────────────────────── */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pag-btn {
  min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--g200); border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--g700); background: #fff; cursor: pointer; transition: all .15s;
  text-decoration: none;
}
.pag-btn:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.pag-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pag-btn:disabled { opacity: .4; cursor: default; }

/* ── Modal ──────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  z-index: 900; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
  max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 64px rgba(0,0,0,.2);
  animation: modalIn .2s ease;
}
@keyframes modalIn { from{opacity:0;transform:translateY(14px) scale(.98)} to{opacity:1;transform:none} }
.modal-head { padding: 20px 24px 16px; border-bottom: 1px solid var(--g100); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.modal-head h2 { font-size: 18px; font-weight: 700; }
.modal-close { background: var(--g100); border: none; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; color: var(--g500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-close:hover { background: var(--g200); }
.modal-body   { padding: 20px 24px; }
.modal-footer { padding: 14px 24px; border-top: 1px solid var(--g100); display: flex; gap: 10px; justify-content: flex-end; }

/* ── Upload Zone ────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--g300); border-radius: 10px; padding: 28px;
  text-align: center; cursor: pointer; transition: all .2s; background: var(--g50); position: relative;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--blue); background: var(--blue-lt); }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-icon { font-size: 32px; margin-bottom: 8px; }
.upload-text { font-size: 14px; font-weight: 600; color: var(--g700); margin-bottom: 4px; }
.upload-hint { font-size: 12px; color: var(--g400); }
.upload-name { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 8px; }

/* ── Alert / Toast ──────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: var(--g900); color: #fff; border-radius: 10px; padding: 13px 20px;
  font-size: 13px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }
.toast.ok  { background: var(--green); }
.toast.err { background: var(--red); }

.alert { padding: 12px 16px; border-radius: 9px; font-size: 13px; margin-bottom: 16px; }
.alert.ok  { background: var(--green-bg); color: #14532d; border: 1px solid #bbf7d0; }
.alert.err { background: var(--red-bg);   color: #7f1d1d; border: 1px solid #fca5a5; }
.alert.info{ background: var(--blue-lt);  color: #1e3a5f; border: 1px solid var(--blue-mid); }

/* ── Admin ──────────────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-nav {
  width: 220px; flex-shrink: 0; background: var(--navy); padding: 20px 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-nav .logo { padding: 0 18px 20px; display: block; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 10px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 13px; color: rgba(255,255,255,.7); transition: all .15s; font-weight: 500; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.admin-nav a.active { border-right: 3px solid var(--blue); }
.admin-content { flex: 1; padding: 28px; min-width: 0; }
.admin-content h1 { font-size: 22px; font-weight: 800; margin-bottom: 24px; color: var(--g900); }

/* ── Page Headers ───────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, #071e3d, #1a6fc4);
  padding: 44px 24px 40px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-header-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.page-header h1 { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 8px; }
.page-header p { font-size: 15px; color: rgba(255,255,255,.72); }

/* ── Profile Completeness Bar ───────────────────────────────────── */
.progress-bar-wrap { background: var(--g100); border-radius: 99px; height: 8px; overflow: hidden; margin-top: 6px; }
.progress-bar { height: 100%; border-radius: 99px; background: var(--blue); transition: width .4s ease; }

/* ── Tags input ──────────────────────────────────────────────────── */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1.5px solid var(--g200); border-radius: 9px; min-height: 44px; cursor: text; }
.tags-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,111,196,0.1); }
.tag-item { display: flex; align-items: center; gap: 5px; background: var(--blue-lt); color: var(--blue); border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.tag-item button { background: none; border: none; color: var(--blue); cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.tags-input { border: none; outline: none; font-size: 13px; font-family: var(--font); min-width: 80px; flex: 1; }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); margin-top: 60px; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; margin-top: 10px; }
.site-footer h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.site-footer a { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; transition: color .15s; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 16px 0; }

/* ── User Dropdown ──────────────────────────────────────────────── */
.user-menu { position: relative; }
.user-btn { background: var(--g100); border: 1px solid var(--g200); border-radius: 9px; padding: 7px 14px; font-size: 13px; font-weight: 600; font-family: var(--font); cursor: pointer; color: var(--g700); }
.user-btn:hover { background: var(--g200); }
.user-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0; background: #fff;
  border: 1px solid var(--g200); border-radius: 12px; box-shadow: var(--shadow-lg);
  min-width: 180px; display: none; z-index: 400; overflow: hidden;
}
.user-dropdown.open { display: block; animation: modalIn .15s ease; }
.user-dropdown a { display: flex; align-items: center; padding: 11px 16px; font-size: 13px; color: var(--g700); border-bottom: 1px solid var(--g100); transition: background .1s; }
.user-dropdown a:last-child { border-bottom: none; }
.user-dropdown a:hover { background: var(--g50); color: var(--blue); text-decoration: none; }

/* ── Hamburger ───────────────────────────────────────────────────── */
.hamburger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--g700); }

/* ── Empty states ────────────────────────────────────────────────── */
.empty { text-align: center; padding: 60px 20px; }
.empty .e-icon { font-size: 48px; margin-bottom: 12px; }
.empty h3 { font-size: 16px; color: var(--g700); margin-bottom: 6px; }
.empty p  { font-size: 13px; color: var(--g400); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid, .four-col { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .jobs-layout { flex-direction: column; }
  .sidebar { width: 100%; position: static; }
}
@media (max-width: 640px) {
  .main-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; box-shadow: var(--shadow-lg); z-index: 400; }
  .main-nav.open { display: flex; }
  .hamburger { display: block; }
  .hero h1 { font-size: 28px; }
  .search-bar { flex-direction: column; }
  .search-bar .divider { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .four-col, .three-col, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-nav { display: none; }
}
