/* ==========================================================================
   MALDIVES CAREERS — Premium Design System
   Tokens + components for the public site, auth, applicant portal & admin.
/* ========================================================================== */

:root {
  /* Brand palette - Maldives Careers Premium Design System */
  --navy: #10243A;
  --navy-800: #0C1A2E;
  --navy-700: #142D4A;
  --ocean: #20B8AD;
  --ocean-600: #17A096;
  --turquoise: #20B8AD;
  --turquoise-600: #17A096;
  --turquoise-soft: #E6F7F5;
  --gold: #F4BD45;
  --gold-soft: #FEF3E2;

  --bg: #F7F9FC;
  --bg-2: #EEF3F9;
  --surface: #FFFFFF;
  --text: #1C2733;
  --muted: #64748B;
  --border: #E4EAF2;
  --border-soft: #EFF3F8;

  --success: #15803D;
  --success-soft: #DCFCE7;
  --warning: #B45309;
  --warning-soft: #FEF3C7;
  --danger: #B91C1C;
  --danger-soft: #FEE2E2;
  --info: #20B8AD;
  --info-soft: #E6F7F5;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16,36,58,.05);
  --shadow-sm: 0 1px 2px rgba(16,36,58,.05), 0 2px 8px rgba(16,36,58,.06);
  --shadow-md: 0 6px 24px rgba(16,36,58,.08);
  --shadow-lg: 0 24px 60px rgba(16,36,58,.16);
  --shadow-glow: 0 12px 30px rgba(32,184,173,.28);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
  --maxw: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  font-size: 15.5px;
}

body { overflow-x: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 .5rem;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1rem; }
a { color: var(--ocean); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--turquoise-600); }
img { max-width: 100%; display: block; }
ul { margin: 0; }

::selection { background: var(--turquoise); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14.5px; letter-spacing: -.01em;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  text-decoration: none; line-height: 1; white-space: nowrap; position: relative;
}
.btn:hover { text-decoration: none; transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--turquoise-soft); outline-offset: 1px; }
.btn svg { width: 17px; height: 17px; }

.btn-primary { background: linear-gradient(135deg, var(--gold), #E8A832); color: var(--navy); box-shadow: 0 8px 20px rgba(244,189,69,.35); }
.btn-primary:hover { background: linear-gradient(135deg, #E8A832, var(--gold)); box-shadow: 0 12px 28px rgba(244,189,69,.4); color: var(--navy); }
.btn-primary:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 1px; }
.btn-navy { background: linear-gradient(135deg, var(--navy-700), var(--navy)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: linear-gradient(135deg, var(--navy), var(--ocean-600)); box-shadow: var(--shadow-md); }
.btn-accent { background: linear-gradient(135deg, var(--turquoise), var(--turquoise-600)); color: #fff; box-shadow: 0 8px 20px rgba(32,184,173,.26); }
.btn-accent:hover { box-shadow: var(--shadow-glow); filter: brightness(1.03); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border); box-shadow: var(--shadow-xs); }
.btn-outline:hover { border-color: var(--turquoise); color: var(--ocean-600); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--bg-2); color: var(--navy); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-gold { background: linear-gradient(135deg, #F0D79B, var(--gold)); color: var(--navy); box-shadow: 0 8px 20px rgba(244,189,69,.35); }
.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-white:hover { box-shadow: var(--shadow-md); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: var(--radius-xs); }
.btn-lg { padding: 15px 30px; font-size: 15.5px; border-radius: var(--radius-sm); }
.btn-block { display: flex; width: 100%; }
.btn-link { background: none; border: none; color: var(--ocean); padding: 0; font-weight: 600; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after {
  content: ''; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5); border-top-color: #fff;
  animation: spin .6s linear infinite; margin-left: 2px;
}
.btn-outline.is-loading::after, .btn-ghost.is-loading::after { border-color: rgba(11,31,51,.25); border-top-color: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.card-hover { transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--turquoise-soft); }
.card-pad-sm { padding: 18px; }
.card-pad-lg { padding: 38px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; position: relative; }
.form-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 7px; color: var(--navy); letter-spacing: -.01em; }
.form-control, .form-select, .form-textarea {
  width: 100%; font-family: var(--font-sans); font-size: 14.5px; color: var(--text);
  padding: 12px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
  appearance: none;
}
.form-control::placeholder, .form-textarea::placeholder { color: #9AA7B8; }
.form-control:hover, .form-select:hover, .form-textarea:hover { border-color: #CBD5E1; }
.form-control:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 4px var(--turquoise-soft); background: #fff;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C6B7F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px;
}
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-error { font-size: 12.5px; color: var(--danger); margin-top: 6px; display: none; font-weight: 500; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-control,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.is-invalid { border-color: var(--danger) !important; }
.input-icon { position: relative; }
.input-icon .form-control { padding-left: 44px; }
.input-icon .icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--muted); width: 18px; height: 18px; pointer-events: none;
}
.input-icon .form-control:focus + .icon { color: var(--turquoise); }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--muted);
  padding: 6px; display: grid; place-items: center; border-radius: 8px;
}
.pw-toggle:hover { background: var(--bg-2); color: var(--navy); }
.pw-toggle svg { width: 18px; height: 18px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text); cursor: pointer; }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--turquoise); }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: var(--radius-pill); background: var(--turquoise-soft); color: var(--ocean-600);
  letter-spacing: .01em; white-space: nowrap;
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-muted { background: #F1F5F9; color: var(--muted); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-gold { background: var(--gold-soft); color: #8A6A1F; }
.badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: var(--radius-pill); background: var(--bg-2); color: var(--muted);
  font-size: 12.5px; font-weight: 500;
}
.chip svg { width: 14px; height: 14px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left; padding: 14px 16px; font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
  background: #F8FAFC; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #F8FAFC; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--success-soft); color: var(--success); border-color: #BBF7D0; }
.alert-danger { background: var(--danger-soft); color: var(--danger); border-color: #FECACA; }
.alert-warning { background: var(--warning-soft); color: var(--warning); border-color: #FDE68A; }
.alert-info { background: var(--info-soft); color: var(--info); border-color: #BAE6FD; }

/* ---------- Empty / skeleton ---------- */
.empty-state { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty-state .empty-icon { font-size: 46px; margin-bottom: 14px; opacity: .55; }
.skeleton { background: linear-gradient(90deg, #EEF2F7 25%, #F8FAFC 50%, #EEF2F7 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Utilities ---------- */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-gold { color: #B08A34; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-5 { margin-top: 52px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; }
.flex { display: flex; } .inline-flex { display: inline-flex; }
.items-center { align-items: center; } .items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; } .flex-col { flex-direction: column; }
.gap-1 { gap: 6px; } .gap-2 { gap: 10px; } .gap-3 { gap: 16px; } .gap-4 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Section rhythm ---------- */
.section { padding: 78px 0; }
.section-sm { padding: 48px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ocean-600); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--turquoise); }
.eyebrow.centered::after { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--turquoise); }

/* ==========================================================================
   PUBLIC HEADER — premium glass nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(11,31,51,.08);
}
.site-header .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 18px; letter-spacing: -.03em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--turquoise), var(--ocean-600) 70%, var(--navy-700));
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(20,184,166,.35); letter-spacing: -.02em;
}
.site-nav { display: flex; gap: 6px; align-items: center; }
.site-nav a {
  position: relative; color: var(--text); font-weight: 500; font-size: 14.5px;
  padding: 9px 15px; border-radius: var(--radius-xs); transition: color .16s var(--ease), background .16s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--turquoise); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.site-nav a:hover { color: var(--ocean-600); background: var(--bg-2); text-decoration: none; }
.site-nav a:hover::after { transform: scaleX(.4); }
.site-nav a.active { color: var(--navy); font-weight: 600; }
.site-nav a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--radius-xs);
  background: #fff; border: 1px solid var(--border); cursor: pointer; place-items: center; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); background: #fff; z-index: 120;
  transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; padding: 22px;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.nav-drawer a.drawer-link {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--radius-sm);
  color: var(--text); font-weight: 500; font-size: 15px;
}
.nav-drawer a.drawer-link:hover, .nav-drawer a.drawer-link.active { background: var(--turquoise-soft); color: var(--ocean-600); }
.nav-drawer .drawer-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--border); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11,31,51,.45); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); backdrop-filter: blur(2px); }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   FOOTER — premium
   ========================================================================== */
.site-footer {
  position: relative; background: var(--navy); color: #C6D2E0;
  padding: 72px 0 0; margin-top: 90px; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--turquoise), var(--gold), var(--ocean-600));
}
.site-footer::after {
  content: ''; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(20,184,166,.18), transparent 70%); pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; position: relative; z-index: 1; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #9FB0C4; font-size: 14px; max-width: 340px; line-height: 1.7; }
.footer-contact { color: #8FA2B8; font-size: 13.5px; line-height: 1.9; margin-top: 16px; }
.footer-contact a { color: #C6D2E0; }
.footer-contact a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 18px; }
.site-footer .footer-col a {
  display: flex; align-items: center; gap: 8px; color: #B4C2D3; font-size: 14px;
  padding: 7px 0; transition: color .16s var(--ease), transform .16s var(--ease);
}
.site-footer .footer-col a:hover { color: #fff; transform: translateX(3px); }
.site-footer .footer-col a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--turquoise); opacity: 0; transition: opacity .16s; }
.site-footer .footer-col a:hover::before { opacity: 1; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #C6D2E0; transition: all .18s var(--ease);
}
.social-row a:hover { background: var(--turquoise); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }
.footer-newsletter { display: flex; gap: 8px; margin-top: 18px; max-width: 360px; }
.footer-newsletter .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.footer-newsletter .form-control::placeholder { color: #8FA2B8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #8FA2B8; position: relative; z-index: 1;
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a { color: #B4C2D3; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; color: #fff; padding: 104px 0 84px; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 78% -8%, rgba(20,184,166,.28), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(14,116,144,.35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 45%, var(--ocean-600) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 760px; font-size: clamp(2.3rem, 5vw, 3.7rem); }
.hero h1 .grad {
  background: linear-gradient(100deg, #8FE9E0, var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: #D5E2EE; max-width: 580px; margin: 18px 0 30px; line-height: 1.65; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  font-size: 13px; font-weight: 500; color: #EAF2F8; backdrop-filter: blur(6px);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--gold); }
.hero-search {
  background: rgba(255,255,255,.98); border-radius: var(--radius-lg); padding: 12px; margin-top: 40px;
  display: grid; grid-template-columns: 1.6fr 1.3fr 1.3fr auto; gap: 10px; box-shadow: var(--shadow-lg);
  max-width: 940px; align-items: center;
}
.hero-search .input-icon .form-control { background: #F8FAFC; border-color: transparent; }
.hero-search .input-icon .form-control:focus { background: #fff; border-color: var(--turquoise); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-actions .btn-outline { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); color: #fff; }

/* Stats strip */
.stats-strip { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 3; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 34px 24px; }
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--border); }
.stat-item .num { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.stat-item .num span { color: var(--turquoise); }
.stat-item .lbl { font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 500; }

/* ==========================================================================
   JOB CARDS
   ========================================================================== */
.job-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.job-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--turquoise); transform: scaleY(0); transform-origin: top; transition: transform .28s var(--ease); }
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.job-card:hover::before { transform: scaleY(1); }
.job-card .job-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.job-card .job-logo {
  width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--turquoise-soft), #D3F1EE);
  display: grid; place-items: center; color: var(--ocean-600); font-weight: 800; font-size: 16px;
  border: 1px solid var(--turquoise-soft);
}
.job-card h3 { font-size: 17px; margin: 0 0 4px; }
.job-card h3 a { color: var(--navy); }
.job-card h3 a:hover { color: var(--ocean-600); }
.job-card .job-company { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.job-card .job-company svg { width: 14px; height: 14px; opacity: .7; }
.job-card .job-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 16px; }
.job-card .meta-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted);
  background: var(--bg); padding: 5px 10px; border-radius: var(--radius-xs); font-weight: 500;
}
.job-card .meta-chip svg { width: 14px; height: 14px; color: var(--ocean-600); }
.job-card .job-desc { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-card .job-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.job-card .salary { color: var(--success); font-weight: 800; font-size: 15.5px; font-family: var(--font-display); }
.job-card .salary small { color: var(--muted); font-weight: 500; font-size: 12px; font-family: var(--font-sans); }
.job-card .view-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--ocean-600);
  padding: 8px 14px; border-radius: var(--radius-xs); background: var(--turquoise-soft); transition: all .18s var(--ease);
}
.job-card:hover .view-link { background: var(--turquoise); color: #fff; }
.job-card .view-link svg { width: 15px; height: 15px; }

/* ==========================================================================
   CATEGORY / FEATURE TILES
   ========================================================================== */
.category-tile {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: all .22s var(--ease);
}
.category-tile:hover { border-color: var(--turquoise); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.category-tile .cat-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, var(--turquoise-soft), #D3F1EE);
}
.category-tile .cat-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.category-tile .cat-sub { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* Feature (why) cards */
.feature-card { display: flex; gap: 16px; align-items: flex-start; }
.feature-card .f-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--turquoise-soft); color: var(--ocean-600);
}
.feature-card .f-icon svg { width: 22px; height: 22px; }
.feature-card h4 { margin: 2px 0 6px; font-size: 15.5px; }
.feature-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* Steps */
.step-card { text-align: center; padding: 12px; }
.step-card .step-num {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--turquoise), var(--ocean-600)); color: #fff;
  display: grid; place-items: center; font-size: 22px; font-weight: 800; font-family: var(--font-display);
  box-shadow: 0 10px 24px rgba(20,184,166,.3); position: relative;
}
.step-card:not(:last-child) .step-num::after {
  content: ''; position: absolute; top: 50%; left: calc(100% + 12px); width: calc(100% + 24px - 60px);
  height: 2px; background: linear-gradient(90deg, var(--turquoise), var(--border)); transform: translateY(-50%);
}
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 13.5px; }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--ocean-600)); color: #fff;
  padding: 60px; text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(231,198,123,.18), transparent 60%),
              radial-gradient(500px 300px at 0% 100%, rgba(20,184,166,.25), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #D5E2EE; max-width: 640px; margin: 0 auto 28px; font-size: 16.5px; }

/* ==========================================================================
   JOB DETAIL
   ========================================================================== */
.job-hero {
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(20,184,166,.22), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-700) 60%, var(--ocean-600));
  color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden;
}
.job-hero .breadcrumb { color: #A9BACB; font-size: 13px; margin-bottom: 18px; }
.job-hero .breadcrumb a { color: #C6D2E0; }
.job-hero .breadcrumb a:hover { color: #fff; }
.job-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.job-hero .job-logo-lg {
  width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  font-weight: 800; font-size: 22px; color: #fff; backdrop-filter: blur(6px); flex-shrink: 0;
}
.job-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 10px; }
.job-hero .job-sub { display: flex; gap: 18px; flex-wrap: wrap; color: #C6D2E0; font-size: 14.5px; }
.job-hero .job-sub span { display: inline-flex; align-items: center; gap: 7px; }
.job-hero .job-sub svg { width: 16px; height: 16px; color: var(--gold); }
.job-hero .salary-lg { text-align: right; }
.job-hero .salary-lg .amt { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: #fff; }
.job-hero .salary-lg .sub { color: #A9BACB; font-size: 13px; margin-top: 4px; }
.job-hero .hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.job-hero .hero-tags .badge { background: rgba(255,255,255,.14); color: #EAF2F8; }

.job-layout { display: grid; grid-template-columns: 1fr 356px; gap: 32px; align-items: start; margin-top: -28px; position: relative; z-index: 3; }
.job-main .card { margin-bottom: 20px; }
.job-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.job-section-title .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--turquoise-soft); color: var(--ocean-600); flex-shrink: 0;
}
.job-section-title .ico svg { width: 19px; height: 19px; }
.job-section-title h3 { margin: 0; font-size: 18px; }
.job-body-text { white-space: pre-line; line-height: 1.75; color: #33414F; font-size: 15px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #33414F; line-height: 1.6; }
.check-list li .tick {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--turquoise-soft); color: var(--turquoise-600); display: grid; place-items: center;
}
.check-list li .tick svg { width: 12px; height: 12px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); background: var(--bg); }
.benefit-item .b-ico { color: var(--turquoise-600); flex-shrink: 0; }
.benefit-item .b-ico svg { width: 20px; height: 20px; }
.benefit-item .b-label { font-weight: 700; font-size: 13.5px; color: var(--navy); }
.benefit-item .b-val { color: var(--muted); font-size: 12.5px; }

/* Application Detail - Timeline */
.application-header {
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(20,184,166,.22), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-700) 60%, var(--ocean-600));
  color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden;
}
.application-header .breadcrumb { color: #A9BACB; font-size: 13px; margin-bottom: 18px; }
.application-header .breadcrumb a { color: #C6D2E0; }
.application-header .breadcrumb a:hover { color: #fff; }
.application-header-content {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.salary-display { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: #fff; }

.application-header .badge { font-size: 13px; padding: 8px 14px; }

/* Application Detail Layout */
.application-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.application-main .card { margin-bottom: 20px; }

/* Application Header Card */
.application-header-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.application-header-card header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.application-header-card h2 {
  margin: 0; font-size: 1.1rem;
  display: flex; align-items: center; gap: 12px;
}
.application-header-card header svg { color: var(--turquoise); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 22px;
}
.timeline-item .timeline-dot {
  position: absolute;
  left: -32px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  z-index: 1;
}
.timeline-item.completed .timeline-dot {
  background: var(--turquoise);
  border-color: var(--turquoise);
}
.timeline-item.current .timeline-dot {
  background: #fff;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 4px var(--turquoise-soft);
}
.timeline-item.pending .timeline-dot {
  background: #fff;
  border-color: var(--border);
}
.timeline-item .timeline-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--turquoise-soft);
  color: var(--ocean-600);
  flex-shrink: 0;
  margin-right: 12px;
}
.timeline-item .timeline-icon svg { width: 18px; height: 18px; }
.timeline-item.current .timeline-icon { background: var(--gold-soft); color: var(--gold); }
.timeline-item.completed .timeline-icon { background: var(--success-soft); color: var(--success); }
.timeline-item.history-item .timeline-icon { background: var(--info-soft); color: var(--info); }

.timeline-content { flex: 1; min-width: 0; }
.timeline-header {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 4px;
}
.timeline-label {
  font-weight: 600; font-size: 15px; color: var(--navy);
}
.timeline-badge { font-size: 11px; }
.timeline-notes {
  margin-top: 8px; padding-left: 44px;
  color: var(--muted); font-size: 13px; font-style: italic;
}
.timeline-item.current .timeline-label { color: var(--ocean); }
.timeline-item.completed .timeline-label { color: var(--navy); }
.timeline-item.pending .timeline-label { color: var(--muted); }
.timeline-item.history-item { opacity: .8; }
.timeline-item.history-item .timeline-dot {
  background: var(--info);
  border-color: var(--info);
  width: 14px; height: 14px; left: -29px; top: 3px;
}
.history-dot { background: var(--info) !important; border-color: var(--info) !important; }

/* Application Detail Layout */
.application-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.application-main .card { margin-bottom: 20px; }

/* Application Sidebar Card */
.application-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.application-sidebar-card header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.application-sidebar-card header h3 { margin: 0; font-size: 1rem; }
.application-sidebar-card dl { font-size: 13.5px; line-height: 2; padding: 0 24px 24px; margin: 0; }
.application-sidebar-card dt { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.application-sidebar-card dd { margin: 0 0 16px; font-weight: 500; color: var(--text); }
.application-sidebar-card .salary { color: var(--success); font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; }

/* Application Sidebar Actions */
.application-sidebar-card footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .application-detail-layout { grid-template-columns: 1fr; }
  .application-header-content { flex-direction: column; align-items: stretch; }
}
@media (max-width: 768px) {
  .application-header { padding: 30px 0 26px; }
  .application-header-content { flex-direction: column; }
  .application-header .salary-lg { text-align: left; }
}
.job-hero {
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(20,184,166,.22), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-700) 60%, var(--ocean-600));
  color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden;
}
.job-hero .breadcrumb { color: #A9BACB; font-size: 13px; margin-bottom: 18px; }
.job-hero .breadcrumb a { color: #C6D2E0; }
.job-hero .breadcrumb a:hover { color: #fff; }
.job-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.job-hero .job-logo-lg {
  width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  font-weight: 800; font-size: 22px; color: #fff; backdrop-filter: blur(6px); flex-shrink: 0;
}
.job-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 10px; }
.job-hero .job-sub { display: flex; gap: 18px; flex-wrap: wrap; color: #C6D2E0; font-size: 14.5px; }
.job-hero .job-sub span { display: inline-flex; align-items: center; gap: 7px; }
.job-hero .job-sub svg { width: 16px; height: 16px; color: var(--gold); }
.job-hero .salary-lg { text-align: right; }
.job-hero .salary-lg .amt { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: #fff; }
.job-hero .salary-lg .sub { color: #A9BACB; font-size: 13px; margin-top: 4px; }
.job-hero .hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.job-hero .hero-tags .badge { background: rgba(255,255,255,.14); color: #EAF2F8; }

.job-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; margin-top: -28px; position: relative; z-index: 3; }
.job-main .card { margin-bottom: 20px; }
.job-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.job-section-title .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--turquoise-soft); color: var(--ocean-600); flex-shrink: 0;
}
.job-section-title .ico svg { width: 19px; height: 19px; }
.job-section-title h2 { margin: 0; font-size: 18px; }
.job-body-text { white-space: pre-line; line-height: 1.75; color: #33414F; font-size: 15px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #33414F; line-height: 1.6; }
.check-list li .tick {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--turquoise-soft); color: var(--turquoise-600); display: grid; place-items: center;
}
.check-list li .tick svg { width: 12px; height: 12px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); background: var(--bg); }
.benefit-item .b-ico { color: var(--turquoise-600); flex-shrink: 0; }
.benefit-item .b-ico svg { width: 20px; height: 20px; }
.benefit-item .b-label { font-weight: 700; font-size: 13.5px; color: var(--navy); }
.benefit-item .b-val { color: var(--muted); font-size: 12.5px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px 4px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 600; width: 42%; font-size: 13px; }
.spec-table td { color: var(--text); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* Apply Card - Premium */
.apply-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.apply-card-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.apply-card-title {
  margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--navy);
}
.apply-card .salary-box {
  background: linear-gradient(135deg, var(--gold), #E8A832);
  padding: 24px; text-align: center;
}
.apply-card .salary-box .amt {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--navy);
}
.apply-card .salary-box .per { color: var(--navy); opacity: .7; font-size: 13px; margin-top: 4px; }

.apply-meta-list { padding: 20px 24px 0; display: grid; gap: 14px; }
.apply-meta-list .row { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; }
.apply-meta-list .row .k { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.apply-meta-list .row .k svg { width: 16px; height: 16px; }
.apply-meta-list .row .v { font-weight: 600; color: var(--navy); }

.apply-actions { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.apply-btn { padding: 16px; font-size: 16px; }
.save-btn { padding: 14px; }
.save-btn.btn-primary { background: var(--gold); color: var(--navy); }
.save-btn.btn-primary:hover { background: #E8A832; }
.save-label { font-weight: 600; }

.share-action { padding: 0 24px 24px; }
.share-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--ocean); font-weight: 600; font-size: 14px;
  transition: all .15s var(--ease);
}
.share-link:hover { background: var(--turquoise-soft); border-color: var(--turquoise); color: var(--ocean-600); }
.share-link svg { width: 20px; height: 20px; }

/* Sticky apply card - Desktop */
@media (min-width: 769px) {
  .apply-card { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* Mobile apply card - sticky bottom */
@media (max-width: 768px) {
  .job-layout { grid-template-columns: 1fr; gap: 20px; }
  .apply-card { position: static; }
  .job-hero { padding: 30px 0 26px; }
  .job-hero h1 { font-size: 1.5rem; }
  .job-hero .salary-lg { text-align: left; }
  .apply-card { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -8px 32px rgba(16,36,58,.15);
    max-height: 70vh; overflow-y: auto;
    animation: slideUp .3s var(--ease);
  }
  @keyframes slideUp { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
  .apply-card-header { padding: 16px; border-bottom: 1px solid var(--border); }
  .apply-card .salary-box { padding: 18px; }
  .apply-card .salary-box .amt { font-size: 1.5rem; }
  .apply-meta-list { padding: 16px 16px 0; gap: 10px; }
  .apply-actions { padding: 16px; gap: 10px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .apply-btn { width: 100%; padding: 16px; }
  .save-btn { width: 100%; }
  .share-action { padding: 0 16px 16px; }
  .job-hero-top { flex-direction: column; }
  .job-hero .salary-lg { text-align: left; }
  .job-hero .job-sub { gap: 12px; font-size: 13px; }
  .job-main .card { margin-bottom: 16px; }
  .job-section-title h2 { font-size: 16px; }
  .check-list li { font-size: 14px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .spec-table th, .spec-table td { padding: 10px 4px; }
}

/* Save button states */
.save-btn.btn-primary { background: var(--gold); color: var(--navy); border-color: transparent; }
.save-btn.btn-primary:hover { background: #E8A832; }
.save-btn.btn-primary .save-label::before { content: '★ '; }
.save-btn.btn-outline .save-label::before { content: '☆ '; }

/* Share link */
.share-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--ocean); font-weight: 600; font-size: 14px;
  transition: all .15s var(--ease);
}
.share-link:hover { background: var(--turquoise-soft); border-color: var(--turquoise); color: var(--ocean-600); }
.share-link svg { width: 20px; height: 20px; }
   ========================================================================== */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-aside {
  position: relative; overflow: hidden; color: #fff; padding: 56px;
  background:
    radial-gradient(700px 500px at 20% 10%, rgba(20,184,166,.3), transparent 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-700) 50%, var(--ocean-600) 100%);
  display: flex; flex-direction: column;
}
.auth-aside::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px; mask-image: linear-gradient(160deg, rgba(0,0,0,.5), transparent 75%);
}
.auth-aside .brand { color: #fff; position: relative; z-index: 1; }
.auth-aside .aside-body { position: relative; z-index: 1; margin: auto 0; max-width: 460px; }
.auth-aside h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 16px; }
.auth-aside p { color: #C6D2E0; font-size: 15.5px; line-height: 1.7; }
.auth-perks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.auth-perks li { display: flex; gap: 12px; align-items: center; color: #E2ECF4; font-size: 14.5px; }
.auth-perks .pk-ico { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.auth-perks .pk-ico svg { width: 16px; height: 16px; }
.auth-testimonial {
  position: relative; z-index: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(8px); max-width: 460px;
}
.auth-testimonial p { color: #EAF2F8; font-size: 14.5px; margin-bottom: 12px; font-style: italic; }
.auth-testimonial .who { display: flex; align-items: center; gap: 12px; }
.auth-testimonial .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--turquoise), var(--ocean-600)); display: grid; place-items: center; font-weight: 800; color: #fff; }
.auth-testimonial .who .name { color: #fff; font-weight: 700; font-size: 14px; }
.auth-testimonial .who .role { color: #9FB0C4; font-size: 12.5px; }

.auth-main { display: grid; place-items: center; padding: 48px 28px; background: var(--bg); position: relative; }
.auth-main .auth-mobile-brand { display: none; margin-bottom: 26px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card.wide { max-width: 520px; }
.auth-card .auth-head { margin-bottom: 26px; }
.auth-card .auth-head h2 { font-size: 1.7rem; margin-bottom: 8px; }
.auth-card .auth-head p { color: var(--muted); font-size: 14.5px; margin: 0; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-alt { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.auth-alt a { font-weight: 600; }

/* ==========================================================================
   APPLICANT PORTAL (kept, refined)
   ========================================================================== */
.portal-shell { display: flex; min-height: 100vh; }
.portal-sidebar { width: 256px; background: var(--navy); color: #fff; padding: 26px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.portal-sidebar .brand { color: #fff; margin-bottom: 30px; }
.portal-sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm); color: #B4C2D3; font-size: 14px; margin-bottom: 4px; transition: all .16s var(--ease); }
.portal-sidebar nav a svg { width: 18px; height: 18px; }
.portal-sidebar nav a:hover, .portal-sidebar nav a.active { background: rgba(20,184,166,.18); color: #fff; }
.portal-main { flex: 1; padding: 32px; background: var(--bg); min-width: 0; }
.portal-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }

.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.stat-card .stat-value { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--navy); }
.stat-card .stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 22px; }
.timeline-item .dot { position: absolute; left: -32px; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--border); }
.timeline-item.done .dot { background: var(--turquoise); border-color: var(--turquoise); }
.timeline-item.current .dot { background: #fff; border-color: var(--turquoise); box-shadow: 0 0 0 4px var(--turquoise-soft); }
.timeline-item .tl-title { font-weight: 600; font-size: 14px; }
.timeline-item .tl-date { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   WIZARD — premium stepper
   ========================================================================== */
.wizard-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.wizard-progress { height: 6px; background: var(--bg-2); border-radius: var(--radius-pill); overflow: hidden; margin: 18px 0 28px; }
.wizard-progress .bar { height: 100%; background: linear-gradient(90deg, var(--turquoise), var(--ocean-600)); border-radius: var(--radius-pill); transition: width .5s var(--ease); }
.stepper { display: flex; gap: 0; margin-bottom: 30px; overflow-x: auto; padding-bottom: 4px; }
.stepper .step {
  flex: 1; min-width: 92px; text-align: center; position: relative;
  font-size: 12px; color: var(--muted); padding-bottom: 0;
}
.stepper .step .dot {
  width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 10px;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: #fff; border: 2px solid var(--border); color: var(--muted);
  transition: all .25s var(--ease); position: relative; z-index: 2;
}
.stepper .step .lbl { font-weight: 500; }
.stepper .step::before {
  content: ''; position: absolute; top: 17px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 1;
}
.stepper .step:first-child::before { left: 50%; }
.stepper .step:last-child::before { right: 50%; }
.stepper .step.done .dot { background: var(--turquoise); border-color: var(--turquoise); color: #fff; }
.stepper .step.done::before { background: var(--turquoise); }
.stepper .step.active .dot { background: #fff; border-color: var(--turquoise); color: var(--ocean-600); box-shadow: 0 0 0 5px var(--turquoise-soft); }
.stepper .step.active .lbl { color: var(--ocean-600); font-weight: 700; }

.wizard-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.wizard-card .wc-body { padding: 30px 32px; }
.wizard-card .wc-head { padding: 24px 32px; border-bottom: 1px solid var(--border-soft); display: flex; align-items: center; gap: 14px; }
.wizard-card .wc-head .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--turquoise-soft); color: var(--ocean-600); display: grid; place-items: center; flex-shrink: 0; }
.wizard-card .wc-head .ico svg { width: 22px; height: 22px; }
.wizard-card .wc-head h3 { margin: 0 0 2px; font-size: 18px; }
.wizard-card .wc-head p { margin: 0; color: var(--muted); font-size: 13px; }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.wizard-actions .right { display: flex; gap: 10px; }
.fade-step { animation: fadeStep .35s var(--ease); }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   ADMIN PORTAL (kept)
   ========================================================================== */
.admin-sidebar { width: 264px; background: var(--navy); color: #fff; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 100; }
.admin-sidebar .brand { color: #fff; padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-nav { padding: 14px 12px; }
.admin-nav .nav-section { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #64748B; padding: 18px 12px 8px; font-weight: 700; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); color: #B4C2D3; font-size: 13.5px; margin-bottom: 2px; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(20,184,166,.16); color: #fff; }
.admin-nav a .badge { margin-left: auto; background: var(--danger); color: #fff; font-size: 10px; }
.admin-main { margin-left: 264px; padding: 28px 32px; background: var(--bg); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.breadcrumb a { color: var(--muted); }

/* Kanban */
.kanban { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; }
.kanban-column { min-width: 260px; flex: 1; background: #F1F5F9; border-radius: var(--radius); padding: 14px; }
.kanban-column .kanban-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; font-size: 13px; }
.kanban-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; cursor: grab; }
.kanban-card h4 { font-size: 13.5px; margin: 0 0 6px; }
.kanban-card .kb-meta { font-size: 12px; color: var(--muted); }

/* Charts */
.chart-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.chart-card h3 { font-size: 15px; margin-bottom: 18px; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(11,31,51,.55); display: grid; place-items: center; z-index: 200; padding: 20px; backdrop-filter: blur(3px); }
.modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; }

/* ==========================================================================
   TOASTS — premium
   ========================================================================== */
.toast-container {
  position: fixed; top: 20px; right: 20px; z-index: 400;
  display: flex; flex-direction: column; gap: 12px; width: min(380px, calc(100vw - 40px));
  pointer-events: none;
}
.toast {
  pointer-events: auto; position: relative; display: flex; gap: 13px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 15px 16px; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: toastIn .4s var(--ease); min-height: 64px;
}
.toast.leaving { animation: toastOut .3s var(--ease) forwards; }
.toast .t-icon {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; color: #fff;
}
.toast .t-icon svg { width: 18px; height: 18px; }
.toast .t-body { flex: 1; min-width: 0; }
.toast .t-title { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 2px; }
.toast .t-msg { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.toast .t-close { background: none; border: none; cursor: pointer; color: var(--muted); padding: 2px; border-radius: 6px; line-height: 0; }
.toast .t-close:hover { background: var(--bg-2); color: var(--navy); }
.toast .t-close svg { width: 16px; height: 16px; }
.toast .t-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: currentColor; opacity: .35; animation: toastBar linear forwards; }
.toast.success { border-left: 4px solid var(--success); } .toast.success .t-icon { background: var(--success); } .toast.success .t-progress { background: var(--success); }
.toast.error { border-left: 4px solid var(--danger); } .toast.error .t-icon { background: var(--danger); } .toast.error .t-progress { background: var(--danger); }
.toast.warning { border-left: 4px solid var(--warning); } .toast.warning .t-icon { background: var(--warning); } .toast.warning .t-progress { background: var(--warning); }
.toast.info { border-left: 4px solid var(--info); } .toast.info .t-icon { background: var(--info); } .toast.info .t-progress { background: var(--info); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px) scale(.96); } }
@keyframes toastBar { from { width: 100%; } to { width: 0; } }

/* ==========================================================================
   VERIFICATION
   ========================================================================== */
.verify-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px;
  background: radial-gradient(700px 500px at 80% 0%, rgba(20,184,166,.2), transparent 60%), linear-gradient(135deg, var(--navy), var(--ocean-600)); }
.verify-card { background: #fff; border-radius: var(--radius-lg); padding: 44px; max-width: 660px; width: 100%; box-shadow: var(--shadow-lg); }
.verify-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15px; }
.verify-badge.valid { background: var(--success-soft); color: var(--success); }
.verify-badge.invalid { background: var(--danger-soft); color: var(--danger); }
.verify-badge.expired { background: var(--warning-soft); color: var(--warning); }

/* ==========================================================================
   MOTION — scroll reveal (only hides content when JS is active)
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .08s; } html.js .reveal.d2 { transition-delay: .16s; } html.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   MOBILE APP — bottom navigation + app-like chrome
   ========================================================================== */
.mobile-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(11,31,51,.08);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
}
.mobile-nav .mn-items { display: grid; grid-template-columns: repeat(5, 1fr); }
.mobile-nav .mn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 2px 5px; color: var(--muted); font-size: 10.5px; font-weight: 600;
  text-decoration: none; position: relative; transition: color .16s var(--ease);
}
.mobile-nav .mn-item svg { width: 22px; height: 22px; }
.mobile-nav .mn-item.active { color: var(--ocean-600); }
.mobile-nav .mn-item.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--turquoise);
}
.mobile-nav .mn-item .mn-ico {
  width: 46px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.mobile-nav .mn-item.active .mn-ico { background: var(--turquoise-soft); transform: translateY(-1px); }
.mobile-nav .mn-item:active { transform: scale(.94); }
.mobile-nav .mn-item.mn-cta .mn-ico {
  background: linear-gradient(135deg, var(--turquoise), var(--ocean-600)); color: #fff;
  box-shadow: 0 6px 16px rgba(20,184,166,.35);
}

/* App-like body padding on mobile so content clears the tab bar */
@media (max-width: 900px) {
  body.has-mobile-nav { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* Mobile app header — compact, app-like */
@media (max-width: 900px) {
  .site-header .nav-inner { height: 60px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; font-size: 13px; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* Mobile auth — full-screen app feel */
@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { padding: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
  .auth-main .auth-mobile-brand { display: flex; justify-content: center; padding: 22px 0 6px; }
  .auth-card { max-width: 100%; padding: 26px 22px 34px; box-shadow: none; border: none; background: transparent; }
  .auth-card .form-control, .auth-card .form-select { padding: 15px 16px; font-size: 16px; } /* 16px prevents iOS zoom */
  .auth-card .btn-lg { padding: 16px 24px; font-size: 16px; }
  .auth-head h2 { font-size: 1.5rem; }
}

/* Mobile wizard — sticky bottom action bar, full-width buttons */
@media (max-width: 900px) {
  .wizard-card .wc-body { padding: 20px 16px; }
  .wizard-card .wc-head { padding: 18px 16px; }
  .stepper .step .dot { width: 30px; height: 30px; font-size: 12px; }
  .stepper .step .lbl { font-size: 10px; }
  .wizard-actions {
    position: sticky; bottom: 0; margin: 24px -16px -20px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border); flex-direction: column-reverse; align-items: stretch; gap: 10px;
  }
  .wizard-actions .right { flex-direction: column-reverse; }
  .wizard-actions .btn { width: 100%; padding: 15px; font-size: 15.5px; }
  .wizard-actions .btn-ghost { order: 2; }
}

/* Mobile job detail — apply card becomes a sticky bottom bar */
@media (max-width: 900px) {
  .job-layout { grid-template-columns: 1fr; gap: 20px; }
  .job-hero { padding: 30px 0 26px; }
  .job-hero h1 { font-size: 1.5rem; }
  .job-hero .salary-lg { text-align: left; }
  .apply-card .salary-box { padding: 14px; }
}

/* Final mobile polish for public and applicant experiences */
@media (max-width: 900px) {
  body.has-public-mobile-nav { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  body.has-public-mobile-nav .site-footer { margin-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .public-mobile-nav { display: block; padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px)); }
  .public-mobile-nav .mn-items { grid-template-columns: repeat(4, 1fr); }
  .public-mobile-nav .mn-item { min-height: 48px; }
  .hero { padding: 34px 0 32px; }
  .hero .container { padding-left: 20px; padding-right: 20px; }
  .hero-search { gap: 7px; padding: 12px; background: rgba(255,255,255,.98); box-shadow: 0 18px 44px rgba(9,30,50,.22); }
  .hero-search .search-field { min-height: 48px; padding: 0 10px; }
  .hero-search .search-submit { min-height: 50px; }
  .hero-cta-secondary { justify-content: stretch; }
  .hero-cta-secondary .btn { width: 100%; justify-content: center; }
  .auth-main { justify-content: center; padding: max(12px, env(safe-area-inset-top)) 0 max(18px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse at 100% 0%, rgba(32,184,173,.12), transparent 42%), #F7F9FC; }
  .auth-main .auth-mobile-brand { justify-content: flex-start; padding: 22px 24px 4px; }
  .auth-card { margin: auto; padding: 24px; background: #fff; border: 1px solid rgba(228,234,242,.8); border-radius: 24px; box-shadow: 0 18px 55px rgba(16,36,58,.08); }
  .auth-head h1 { font-size: 1.8rem; }
  .auth-card .auth-head { margin-bottom: 22px; }
  .auth-card .form-group { margin-bottom: 18px; }
  .auth-card .checkbox, .auth-card a, .auth-card button { min-height: 44px; }
  .install-app-button[hidden] { display: none !important; }
  .install-app-button:not([hidden]) { display: inline-flex; }
  .job-layout { padding-bottom: 98px; }
  .job-layout .apply-card { position: fixed; z-index: 89; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); max-height: none; overflow: visible; border-radius: 0; border: 0; border-top: 1px solid var(--border); box-shadow: 0 -8px 26px rgba(16,36,58,.1); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); animation: none; }
  .job-layout .apply-card-header, .job-layout .apply-card .salary-box, .job-layout .apply-card .apply-meta-list, .job-layout .apply-card .save-btn, .job-layout .apply-card .share-action { display: none; }
  .job-layout .apply-card .apply-actions { padding: 10px 16px; }
  .job-layout .apply-card .apply-btn { min-height: 48px; }
}
@media (max-width: 480px) {
  .hero-title { max-width: 12ch; }
  .hero-subtitle { max-width: 35ch; }
  .hero-brand { margin-bottom: 20px; }
  .auth-card { border-radius: 0; border: 0; box-shadow: none; background: transparent; padding: 22px 24px 30px; }
}

@media (max-width: 900px) {
  .mobile-bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mobile-bottom-nav .mbn-item { min-height: 48px; padding: 6px 1px 4px; }
  .mobile-bottom-nav .mbn-icon { width: 42px; height: 28px; }
  .mobile-bottom-nav .mbn-label { font-size: 10px; }
  body.portal-body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .portal-main { padding-bottom: 18px; }
}

/* Mobile job cards — compact, full-width */
@media (max-width: 900px) {
  .job-card { padding: 18px; }
  .job-card .job-logo { width: 44px; height: 44px; font-size: 14px; }
  .job-card .job-foot { flex-wrap: wrap; }
  .job-card .view-link { flex: 1; justify-content: center; }
}

/* Mobile hero — compact */
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero .lead { font-size: 1rem; }
  .hero-search { grid-template-columns: 1fr; padding: 10px; border-radius: var(--radius); }
  .hero-search .btn { padding: 14px; }
  .hero-actions .btn { flex: 1; padding: 13px 16px; font-size: 14px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 24px 18px; gap: 18px 0; }
  .stat-item .num { font-size: 1.5rem; }
}

/* Mobile footer — compact */
@media (max-width: 900px) {
  .site-footer { padding: 48px 0 0; margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

/* Keep the critical mobile treatments last so they win over legacy breakpoints. */
@media (max-width: 900px) {
  .hero { padding: 34px 0 32px; }
  .hero-search { gap: 7px; padding: 12px; }
  .hero-search .search-field { min-height: 48px; padding: 0 10px; }
  .hero-search .search-submit { min-height: 50px; }
  .auth-main { justify-content: center; padding: max(12px, env(safe-area-inset-top)) 0 max(18px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse at 100% 0%, rgba(32,184,173,.12), transparent 42%), #F7F9FC; }
  .auth-main .auth-mobile-brand { justify-content: flex-start; padding: 22px 24px 4px; }
  .auth-card { margin: auto; padding: 24px; background: #fff; border: 1px solid rgba(228,234,242,.8); border-radius: 24px; box-shadow: 0 18px 55px rgba(16,36,58,.08); }
  .auth-head h1 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .auth-card { border-radius: 24px; border: 1px solid rgba(228,234,242,.8); box-shadow: 0 18px 55px rgba(16,36,58,.08); background: #fff; }
}

@media (max-width: 900px) {
  .admin-sidebar { width: min(290px, 86vw); transform: translateX(-102%); transition: transform .22s var(--ease); box-shadow: var(--shadow-lg); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-nav-backdrop { display: block; position: fixed; inset: 0; z-index: 99; border: 0; background: rgba(12,26,46,.52); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .admin-nav-backdrop.open { opacity: 1; visibility: visible; }
  .admin-main { margin-left: 0; padding: 18px 16px; min-width: 0; overflow-x: hidden; }
  .admin-header { align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 0 -16px 20px; padding: 12px 16px 16px; background: #fff; border-bottom: 1px solid var(--border); }
  .admin-header > div:last-child { width: 100%; justify-content: space-between; }
  .admin-menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 0 8px; border: 1px solid var(--border); border-radius: 12px; color: var(--navy); background: #fff; font-size: 19px; }
  .admin-main table { display: block; max-width: 100%; overflow-x: auto; }
  .admin-main .card { min-width: 0; }
}
@media (min-width: 901px) {
  .admin-menu-toggle, .admin-nav-backdrop { display: none; }
}

/* Mobile toast — full-width top banner */
@media (max-width: 900px) {
  .toast-container { top: 10px; right: 10px; left: 10px; width: auto; }
  .toast { padding: 13px 14px; }
}

/* ==========================================================================
   MOBILE APP — Bottom Navigation & Top Bar
   ========================================================================== */
.portal-body { min-height: 100vh; min-height: 100dvh; padding-bottom: 0; }

/* Mobile Top Bar */
.mobile-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: none;
}
.mobile-top-bar .mtb-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  max-width: 100%;
  margin: 0 auto;
}
.mtb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display);
}
.mtb-logo {
  width: 32px;
  height: 32px;
  color: var(--navy);
  flex-shrink: 0;
}
.mtb-name {
  display: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
}
.mtb-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background .15s var(--ease);
}
.mtb-action:hover { background: var(--bg-2); }
.mtb-action svg { width: 22px; height: 22px; }
.mtb-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(16,36,58,.08);
  z-index: 90;
  padding: 6px env(safe-area-inset-right) calc(6px + env(safe-area-inset-bottom)) env(safe-area-inset-left);
  display: none;
}
.mobile-bottom-nav .mbn-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color .15s var(--ease);
}
.mbn-item svg { width: 24px; height: 24px; }
.mbn-item.active { color: var(--turquoise); }
.mbn-item.active .mbn-icon { background: var(--turquoise-soft); }
.mbn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  border-radius: 999px;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.mbn-item.active .mbn-icon { background: var(--turquoise-soft); }
.mbn-label { font-size: 10.5px; }
.mbn-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ==========================================================================
   PORTAL DESKTOP STYLES
   ========================================================================== */

/* Portal Top Bar (Desktop) */
.portal-topbar.desktop-only {
  display: flex;
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  padding: 0 24px;
}
.portal-topbar .ptb-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
}
.portal-topbar .ptb-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.portal-topbar .ptb-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.portal-topbar .ptb-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.portal-topbar .ptb-action:hover { background: var(--bg-2); color: var(--navy); }
.portal-topbar .ptb-action svg { width: 22px; height: 22px; }
.portal-topbar .ptb-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.portal-topbar .ptb-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.portal-topbar .ptb-email {
  font-size: 13.5px;
  color: var(--muted);
}

/* Portal Sidebar (Desktop) */
.portal-shell { display: flex; min-height: 100vh; }
.portal-sidebar {
  width: 260px;
  background: var(--navy);
  color: #fff;
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
}
.portal-sidebar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 28px;
  padding: 0 8px;
}
.portal-sidebar .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #E8A832);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}
.portal-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #B4C2D3;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  text-decoration: none;
  transition: all .16s var(--ease);
}
.portal-sidebar nav a svg { width: 20px; height: 20px; }
.portal-sidebar nav a:hover,
.portal-sidebar nav a.active {
  background: rgba(244,189,69,.18);
  color: var(--gold);
}
.portal-main {
  flex: 1;
  padding: 32px 32px 120px;
  background: var(--bg);
  min-width: 0;
}
.portal-topbar { margin-bottom: 24px; }

/* ==========================================================================
   HOMEPAGE PREMIUM STYLES
   ========================================================================== */

/* Hero Section */
.hero {
  position: relative;
  color: #fff;
  padding: 104px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 78% -8%, rgba(20,184,166,.28), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(14,116,144,.35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 45%, var(--ocean-600) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 80%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 100%; }
.hero-header { margin-bottom: 24px; }
.hero-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px;
}
.hero-logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #E8A832);
  display: grid; place-items: center; color: var(--navy); font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  margin: 0 0 16px;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: #D5E2EE;
  max-width: 580px;
  margin: 0 0 32px;
  line-height: 1.65;
}

/* Hero Search */
.hero-search {
  background: rgba(255,255,255,.98);
  border-radius: var(--radius-lg);
  padding: 12px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.6fr 1.3fr 1.3fr auto;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 940px;
  align-items: end;
}
.hero-search .search-field { display: flex; flex-direction: column; gap: 6px; }
.hero-search .search-input,
.hero-search .search-select {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: #F8FAFC;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.hero-search .search-input:focus,
.hero-search .search-select:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 4px var(--turquoise-soft);
  background: #fff;
}
.hero-search .search-select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C6B7F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.hero-search .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 20px; height: 20px;
  pointer-events: none;
}
.hero-search .search-field { position: relative; }
.hero-search .search-submit {
  padding: 14px 28px;
  font-size: 15px;
  white-space: nowrap;
}
.hero-cta-secondary {
  margin-top: 24px;
}
.hero-cta-secondary .btn-outline {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.hero-cta-secondary .btn-outline:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* Trust Strip */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 3;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 34px 24px;
}
.trust-item { text-align: center; position: relative; }
.trust-item + .trust-item::before {
  content: ''; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--border);
}
.trust-number {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.03em;
}
.trust-number span { color: var(--turquoise); }
.trust-label { font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 500; }

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.section-title { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.section-subtitle { color: var(--muted); font-size: 16px; margin: 0; max-width: 560px; }
.section-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ocean); font-size: 14px;
}
.section-link:hover { color: var(--turquoise); }
.section-link svg { width: 18px; height: 18px; transition: transform .15s var(--ease); }
.section-link:hover svg { transform: translateX(4px); }

/* Featured Jobs Grid */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
@media (max-width: 768px) {
  .job-grid { grid-template-columns: 1fr; }
}

/* Job Card */
.job-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.job-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--turquoise); transform: scaleY(0); transform-origin: top; transition: transform .28s var(--ease);
}
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.job-card:hover::before { transform: scaleY(1); }
.job-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.job-logo {
  width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--turquoise-soft), #D3F1EE);
  display: grid; place-items: center; color: var(--ocean-600); font-weight: 800; font-size: 16px;
  border: 1px solid var(--turquoise-soft);
}
.job-title { font-size: 17px; margin: 0 0 4px; }
.job-title a { color: var(--navy); text-decoration: none; }
.job-title a:hover { color: var(--ocean-600); }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 16px; }
.meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted);
  background: var(--bg); padding: 5px 10px; border-radius: var(--radius-xs); font-weight: 500;
}
.meta-item svg { width: 14px; height: 14px; color: var(--ocean-600); }
.job-excerpt { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-soft); margin-top: auto; }
.salary { color: var(--success); font-weight: 800; font-size: 15.5px; font-family: var(--font-display); }
.view-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 13.5px; color: var(--ocean-600);
  padding: 8px 14px; border-radius: var(--radius-xs); background: var(--turquoise-soft); transition: all .18s var(--ease);
}
.view-link:hover { background: var(--turquoise); color: #fff; }
.view-link svg { width: 15px; height: 15px; }

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.category-tile {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: all .22s var(--ease);
}
.category-tile:hover { border-color: var(--turquoise); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cat-icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, var(--turquoise-soft), #D3F1EE); }
.cat-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.cat-sub { color: var(--muted); font-size: 12.5px; margin-top: 4px; }

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; transition: all .22s var(--ease);
}
.benefit-card:hover { border-color: var(--turquoise); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.benefit-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, var(--turquoise-soft), #D3F1EE);
}
.benefit-icon svg { width: 28px; height: 28px; color: var(--turquoise); }
.benefit-card h3 { margin: 0 0 8px; font-size: 16px; }
.benefit-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step-card { text-align: center; padding: 24px; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--turquoise), var(--ocean-600)); color: #fff;
  display: grid; place-items: center; font-size: 22px; font-weight: 800; font-family: var(--font-display);
  box-shadow: 0 10px 24px rgba(20,184,173,.3);
}
.step-icon { font-size: 28px; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 13.5px; }

/* Employers Carousel */
.employers-carousel {
  display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 16px;
  scroll-snap-type: x mandatory; scroll-padding: 0 24px;
}
.employer-card {
  flex: 0 0 180px; scroll-snap-align: start;
  text-align: center; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.employer-logo {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--turquoise-soft), #D3F1EE);
  color: var(--ocean-600); font-weight: 800; font-size: 18px;
}
.employer-name { font-weight: 700; color: var(--navy); font-size: 14px; margin: 0 0 4px; }
.employer-tagline { color: var(--muted); font-size: 12px; margin: 0 0 12px; }

/* Steps Grid (How it works) */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-card { text-align: center; padding: 24px; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--turquoise), var(--ocean-600)); color: #fff;
  display: grid; place-items: center; font-size: 22px; font-weight: 800; font-family: var(--font-display);
  box-shadow: 0 10px 24px rgba(20,184,173,.3);
}
.step-icon { font-size: 28px; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 13.5px; }

/* Testimonials */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .22s var(--ease);
}
.testimonial-card:hover { border-color: var(--turquoise); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-quote { color: var(--text); font-size: 15px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #E8A832);
  display: grid; place-items: center; color: var(--navy); font-weight: 800; font-size: 16px;
}
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.testimonial-role { color: var(--muted); font-size: 13px; }

/* CTA Banner */
.cta-banner-section { padding: 78px 0; }
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-700) 60%, var(--ocean-600));
  color: #fff; padding: 60px; text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(244,189,69,.18), transparent 60%),
              radial-gradient(500px 300px at 0% 100%, rgba(32,184,173,.25), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: #D5E2EE; max-width: 640px; margin: 0 auto 28px; font-size: 16.5px; }

/* Employers Carousel */
.employers-carousel {
  display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 16px;
  scroll-snap-type: x mandatory; scroll-padding: 0 24px;
}
.employer-card {
  flex: 0 0 180px; scroll-snap-align: start;
  text-align: center; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.employer-logo {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--turquoise-soft), #D3F1EE);
  color: var(--ocean-600); font-weight: 800; font-size: 18px;
}
.employer-name { font-weight: 700; color: var(--navy); font-size: 14px; margin: 0 0 4px; }
.employer-tagline { color: var(--muted); font-size: 12px; margin: 0 0 12px; }

/* CTA Banner */
.cta-banner-section { padding: 78px 0; }
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-700) 60%, var(--ocean-600));
  color: #fff; padding: 60px; text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(244,189,69,.18), transparent 60%),
              radial-gradient(500px 300px at 0% 100%, rgba(32,184,173,.25), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: #D5E2EE; max-width: 640px; margin: 0 auto 28px; font-size: 16.5px; }

/* CTA Banner */
.cta-banner-section { padding: 78px 0; }
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-700) 60%, var(--ocean-600));
  color: #fff; padding: 60px; text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(244,189,69,.18), transparent 60%),
              radial-gradient(500px 300px at 0% 100%, rgba(32,184,173,.25), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: #D5E2EE; max-width: 640px; margin: 0 auto 28px; font-size: 16.5px; }

/* ==========================================================================
   APPLICATION WIZARD - DOCUMENT UPLOAD & PREMIUM STYLES
   ========================================================================== */

/* Document Upload Zones */
.document-upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.document-upload-zone { position: relative; }
.document-upload-zone .card { transition: all .2s var(--ease); }
.document-upload-zone .card:hover { border-color: var(--turquoise); box-shadow: var(--shadow-md); }
.document-upload-zone .doc-file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 10; }
.document-upload-zone .upload-zone {
  padding: 24px; text-align: center;
  border: 2px dashed var(--border); border-radius: var(--radius);
  cursor: pointer; transition: all .2s var(--ease); position: relative;
}
.document-upload-zone .upload-zone:hover,
.document-upload-zone .upload-zone.drag-over {
  border-color: var(--turquoise);
  background: var(--turquoise-soft);
}
.document-upload-zone .upload-zone:focus { outline: none; box-shadow: 0 0 0 3px var(--turquoise-soft); }
.document-upload-zone .upload-icon {
  width: 48px; height: 48px; border-radius: 12px;
  margin: 0 auto 12px; display: grid; place-items: center;
  background: var(--turquoise-soft); color: var(--ocean-600);
}
.document-upload-zone .upload-icon svg { width: 24px; height: 24px; }
.document-upload-zone .upload-label { font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.document-upload-zone .upload-hint { font-size: 12px; color: var(--muted); }
.document-upload-zone .upload-requirement { font-size: 11px; color: var(--muted); margin-top: 8px; }
.document-upload-zone .badge-gold { position: absolute; top: 8px; right: 8px; font-size: 10px; }

.document-upload-zone .upload-zone.drag-over {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.document-upload-zone .upload-preview {
  display: none; margin-top: 12px; padding: 12px;
  background: var(--bg); border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 12px;
}
.document-upload-zone .upload-preview.show { display: flex; }
.document-upload-zone .upload-preview .preview-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--turquoise-soft); color: var(--ocean-600);
  display: grid; place-items: center; flex-shrink: 0;
}
.document-upload-zone .upload-preview .preview-icon svg { width: 18px; height: 18px; }
.document-upload-zone .upload-preview .preview-info { flex: 1; text-align: left; }
.document-upload-zone .upload-preview .preview-name { font-weight: 600; color: var(--navy); font-size: 13px; }
.document-upload-zone .upload-preview .preview-size { font-size: 12px; color: var(--muted); }
.document-upload-zone .remove-file {
  width: 28px; height: 28px; border-radius: 50%;
  border: none; background: var(--danger-soft); color: var(--danger);
  cursor: pointer; display: grid; place-items: center; transition: all .15s var(--ease);
}
.document-upload-zone .remove-file:hover { background: var(--danger); color: #fff; }
.document-upload-zone .remove-file svg { width: 14px; height: 14px; }

/* Drag over state */
.document-upload-zone .upload-zone.drag-over {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: scale(1.01);
}

/* Invalid state */
.document-upload-zone .upload-zone.is-invalid {
  border-color: var(--danger);
  background: var(--danger-soft);
}

/* Review Section */
.review-section { padding: 16px 0; }
.review-section h4 { font-size: 14px; margin-bottom: 12px; color: var(--navy); }
.review-section dl { margin: 0; }
.review-section dt { font-weight: 600; color: var(--muted); margin-bottom: 4px; font-size: 13px; }
.review-section dd { margin: 0 0 10px 0; color: var(--text); font-size: 14px; }

/* Document upload grid responsive */
@media (max-width: 768px) {
  .document-upload-grid { grid-template-columns: 1fr; }
  .document-upload-zone .upload-zone { padding: 20px; }
}

/* Application wizard mobile */
@media (max-width: 768px) {
  .wizard-card .wc-body { padding: 20px 16px; }
  .wizard-card .wc-head { padding: 18px 16px; }
  .stepper .step .dot { width: 30px; height: 30px; font-size: 12px; }
  .stepper .step .lbl { font-size: 10px; }
  .wizard-actions {
    position: sticky; bottom: 0; margin: 24px -16px -20px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    flex-direction: column-reverse; align-items: stretch; gap: 10px;
  }
  .wizard-actions .right { flex-direction: column-reverse; }
  .wizard-actions .btn { width: 100%; padding: 15px; font-size: 15.5px; }
  .wizard-actions .btn-ghost { order: 2; }
  
  .document-upload-grid { grid-template-columns: 1fr; }
}

/* Application wizard review section */
.review-section dt { font-weight: 600; color: var(--muted); margin-bottom: 4px; font-size: 13px; }
.review-section dd { margin: 0 0 10px 0; color: var(--text); font-size: 14px; }
.review-section h4 { font-size: 14px; margin-bottom: 12px; color: var(--navy); }

/* Jobs Hero */
.jobs-hero {
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(20,184,166,.22), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-700) 60%, var(--ocean-600));
  color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden;
}
.jobs-hero .breadcrumb { color: #A9BACB; font-size: 13px; margin-bottom: 18px; }
.jobs-hero .breadcrumb a { color: #C6D2E0; }
.jobs-hero .breadcrumb a:hover { color: #fff; }
.jobs-hero-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 10px; }
.jobs-hero-subtitle { color: #C6D2E0; font-size: 14.5px; margin: 0; max-width: 560px; }

/* Filter Trigger (Mobile) */
.filter-trigger {
  display: none;
  align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s var(--ease);
}
.filter-trigger:hover { background: var(--bg-2); border-color: var(--turquoise); }
.filter-trigger svg { width: 20px; height: 20px; }
.filter-count {
  min-width: 18px; height: 18px; border-radius: 999px;
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}

/* Filters Sidebar (Desktop) */
.filters-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 88px;
  height: fit-content;
}
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.sidebar-header h3 { margin: 0; font-size: 16px; }
.sidebar-close {
  display: none;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--border);
  cursor: pointer; color: var(--muted);
  transition: all .15s var(--ease);
}
.sidebar-close:hover { background: var(--bg-2); color: var(--navy); }
.sidebar-close svg { width: 20px; height: 20px; }

.filter-section { margin-bottom: 24px; }
.filter-section h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.filter-section .form-control,
.filter-section .form-select { font-size: 14px; padding: 11px 14px; }
.filter-section .checkbox { font-size: 13.5px; }
.filter-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* Jobs Layout */
.jobs-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; align-items: start; }

/* Results Header */
.results-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.results-count { margin: 0; font-size: 14.5px; color: var(--muted); }
.results-count strong { color: var(--navy); font-size: 1.1em; }
.results-sort { display: flex; align-items: center; gap: 12px; }
.results-sort .form-select { width: auto; padding: 9px 36px 9px 14px; font-size: 13.5px; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 32px; flex-wrap: wrap;
}
.pagination .btn-sm { min-width: 40px; }

/* Mobile Filter Bottom Sheet */
.filter-bottom-sheet {
  position: fixed; inset: 0; z-index: 200;
  display: none;
}
.filter-bottom-sheet[hidden] { display: none; }
.filter-bottom-sheet:not([hidden]) { display: block; }

.filter-sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(16,36,58,.55);
  backdrop-filter: blur(3px);
}
.filter-sheet-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg); max-height: 90vh;
  display: flex; flex-direction: column;
  animation: sheetSlideUp .3s var(--ease);
}
@keyframes sheetSlideUp {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: none; }
}
.filter-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.filter-sheet-header h2 { margin: 0; font-size: 18px; }
.filter-sheet-close {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--border);
  cursor: pointer; color: var(--muted); display: grid; place-items: center;
  transition: all .15s var(--ease);
}
.filter-sheet-close:hover { background: var(--bg-2); color: var(--navy); }
.filter-sheet-close svg { width: 22px; height: 22px; }

.filter-sheet-body { padding: 24px; overflow-y: auto; max-height: 60vh; }
.filter-sheet-body .filter-section { margin-bottom: 24px; }
.filter-sheet-body .filter-section h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.filter-sheet-body .form-control,
.filter-sheet-body .form-select { padding: 12px 15px; font-size: 15px; }

.filter-sheet-footer {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
}
.filter-sheet-footer .btn { width: 100%; }

/* ==========================================================================
   RESPONSIVE - Jobs Listing
   ========================================================================== */
@media (max-width: 1024px) {
  .jobs-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; margin-bottom: 24px; }
}
@media (max-width: 768px) {
  .filter-trigger { display: inline-flex; }
  .results-header { flex-direction: column; align-items: stretch; }
  .results-sort { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .filter-sheet-body { max-height: 70vh; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Homepage hero image and premium mobile app bar */
.hero { padding: 68px 0 58px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-bg .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,42,.88) 0%, rgba(12,38,57,.68) 52%, rgba(11,44,61,.38) 100%), linear-gradient(0deg, rgba(8,24,42,.34), transparent 55%); }
.hero::after { z-index: 1; opacity: .42; }
.hero-header { margin-bottom: 0; }
.hero-search { margin-top: 0; }
.hero-header .hero-brand { display: none; }

@media (max-width: 900px) {
  body.has-public-mobile-nav { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  body.has-public-mobile-nav .site-footer { margin-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  body.portal-body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .hero { padding: 34px 0 30px; }
  .hero-bg img { object-position: 58% center; }
  .hero-bg .hero-overlay { background: linear-gradient(180deg, rgba(8,24,42,.54) 0%, rgba(8,30,48,.74) 42%, rgba(8,24,42,.9) 100%); }
  .hero-title { max-width: 13ch; margin-bottom: 10px; font-size: clamp(2rem, 8.5vw, 2.65rem); line-height: 1.08; letter-spacing: -.04em; }
  .hero-subtitle { max-width: 35ch; margin-bottom: 18px; font-size: 15px; line-height: 1.5; }
  .hero-search { grid-template-columns: 1fr; gap: 7px; padding: 10px; margin: 0; border-radius: 20px; box-shadow: 0 16px 40px rgba(5,20,36,.24); }
  .hero-search .search-field { min-height: 44px; padding: 0 8px; }
  .hero-search .search-input, .hero-search .search-select { min-height: 44px; padding-top: 10px; padding-bottom: 10px; font-size: 15px; }
  .hero-search .search-submit { min-height: 48px; border-radius: 13px; }
  .hero-cta-secondary { display: flex; justify-content: flex-start; gap: 8px; margin-top: 10px; }
  .hero-cta-secondary .btn { width: auto; min-height: 42px; padding: 8px 12px; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
  .hero-cta-secondary .install-app-button:not([hidden]) { display: inline-flex; }
  .public-mobile-nav, .mobile-bottom-nav { left: 12px; right: 12px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; border: 1px solid rgba(226,232,240,.88); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 10px 32px rgba(16,36,58,.16); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
  .public-mobile-nav { padding: 6px 6px; }
  .public-mobile-nav .mn-items { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
  .public-mobile-nav .mn-item { min-height: 52px; padding: 5px 2px 3px; gap: 2px; border-radius: 14px; font-size: 10px; }
  .public-mobile-nav .mn-item svg { width: 21px; height: 21px; }
  .public-mobile-nav .mn-item.active::before { top: 2px; width: 18px; height: 2px; border-radius: 4px; }
  .public-mobile-nav .mn-item.active .mn-ico { background: transparent; transform: none; }
  .public-mobile-nav .mn-item.mn-cta .mn-ico { width: 36px; height: 30px; border-radius: 11px; color: var(--navy); background: linear-gradient(145deg, #FFE29B, var(--gold)); box-shadow: 0 4px 12px rgba(244,189,69,.32); }
  .public-mobile-nav .mn-item.mn-cta { color: var(--navy); }
  .mobile-bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px; }
  .mobile-bottom-nav .mbn-item { min-height: 52px; padding: 4px 1px; gap: 2px; border-radius: 14px; }
  .mobile-bottom-nav .mbn-icon { width: 38px; height: 29px; background: transparent; }
  .mobile-bottom-nav .mbn-item.active .mbn-icon { color: var(--navy); background: rgba(32,184,173,.13); }
  .mobile-bottom-nav .mbn-item.active { color: var(--navy); }
}
@media (max-width: 390px) {
  .hero { padding-top: 28px; }
  .hero-title { font-size: 2rem; }
  .hero-search { gap: 5px; }
  .public-mobile-nav { left: 9px; right: 9px; }
}

/* Admin employer contact data feeds the offer letterhead */
.employer-edit-row > td { padding: 0 !important; border: 0 !important; }
.employer-edit-details { margin: 0 0 9px; border: 1px solid #e6edf1; border-radius: 12px; background: #f8fafb; }
.employer-edit-details > summary { display: flex; min-height: 46px; align-items: center; padding: 10px 14px; color: #31495f; font-size: 11px; font-weight: 700; cursor: pointer; list-style: none; }
.employer-edit-details > summary::-webkit-details-marker { display: none; }
.employer-edit-details > summary::after { margin-left: auto; color: #158b85; content: '+'; font-size: 19px; }
.employer-edit-details[open] > summary::after { content: '−'; }
.employer-edit-details form { padding: 8px 14px 14px; border-top: 1px solid #e7edf1; }
.employer-edit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
.employer-edit-grid .form-group { margin: 9px 0; }
.employer-edit-grid .form-control,.employer-edit-grid .form-textarea,.employer-edit-grid .form-select { min-height: 40px; font-size: 11px; }
.employer-edit-grid .form-group small { display: block; margin-top: 5px; color: #8190a0; font-size: 9px; }
.employer-edit-grid .employer-edit-address { grid-column: 1/-1; }
.offer-employer-address { white-space: normal; }
.offer-candidate-layout { display: grid; grid-template-columns: 25mm minmax(0,1fr); align-items: stretch; gap: 5mm; }
.offer-candidate-photo { display: grid; width: 25mm; min-height: 32mm; place-items: center; overflow: hidden; border: 1px solid #dce6eb; border-radius: 2mm; background: #f4f8fa; color: #8192a0; text-align: center; }
.offer-candidate-photo img { display: block; width: 100%; height: 100%; min-height: 32mm; object-fit: cover; }
.offer-candidate-photo span { font-size: 6pt; font-weight: 800; letter-spacing: .08em; line-height: 1.5; }
.offer-authorized-signature { display: block; width: 36mm; height: 12mm; margin-top: 1mm; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.admin-offer-form-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 19px; }
.admin-offer-form-intro > div > span { color: #718295; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.admin-offer-form-intro h1 { margin: 5px 0 4px; color: #142b42; font-family: var(--font-display); font-size: clamp(24px,3vw,32px); font-weight: 800; letter-spacing: -.045em; }
.admin-offer-form-intro p { margin: 0; color: #728194; font-size: 12px; }
.admin-offer-form-intro .btn { min-height: 40px; border-radius: 10px; }
.admin-offer-select-card { display: grid; grid-template-columns: 48px minmax(190px,.8fr) minmax(340px,1.2fr); align-items: start; gap: 17px; padding: 24px; border: 1px solid #e4ebf0; border-radius: 17px; background: linear-gradient(125deg,#fff,#f7fbfc); box-shadow: 0 8px 24px rgba(16,36,58,.045); }

/* Compact, guided applicant creation inside the offer workflow. */
.admin-new-applicant { margin: 0 0 18px; overflow: hidden; border: 1px solid #dce7ec; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(16,36,58,.055); }
.admin-new-applicant > summary { display: flex; align-items: center; gap: 14px; padding: 19px 22px; cursor: pointer; list-style: none; }
.admin-new-applicant > summary::-webkit-details-marker { display: none; }
.admin-new-applicant > summary::after { content: '⌄'; margin-left: 2px; color: #71828e; font-size: 20px; transition: transform .2s ease; }
.admin-new-applicant[open] > summary::after { transform: rotate(180deg); }
.admin-new-applicant-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #047d87; background: #e8f8f7; }
.admin-new-applicant-icon svg { width: 21px; height: 21px; }
.admin-new-applicant-summary { display: grid; gap: 4px; min-width: 0; }
.admin-new-applicant-summary strong { color: #152e40; font-size: 15px; }
.admin-new-applicant-summary small { color: #687d8b; font-size: 12px; line-height: 1.5; }
.admin-new-applicant-action { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; color: #087a82; font-size: 13px; font-weight: 700; white-space: nowrap; }
.admin-new-applicant-action b { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #cde8e7; border-radius: 50%; font-size: 17px; }
.admin-new-applicant-form { border-top: 1px solid #e9eff2; }
.admin-new-applicant-section { padding: 22px 24px; border-bottom: 1px solid #edf1f3; }
.admin-new-applicant-section > span { color: #16818a; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.admin-new-applicant-section h3 { margin: 6px 0 4px; color: #173246; font-size: 17px; }
.admin-new-applicant-section > p { margin: 0 0 18px; color: #758894; font-size: 12px; }
.admin-new-applicant-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.admin-new-applicant-grid .form-group { min-width: 0; }
.admin-new-applicant-form .form-label { color: #344d5c; font-size: 12px; font-weight: 650; }
.admin-new-applicant-form .form-control, .admin-new-applicant-form .form-select { min-height: 43px; border-color: #dfe8ec; border-radius: 10px; background-color: #fbfdfe; }
.admin-new-applicant-photo { max-width: 540px; margin-top: 4px; }
.admin-new-applicant-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; background: #f8fbfc; }
.admin-new-applicant-footer > span { max-width: 440px; color: #6d818e; font-size: 12px; line-height: 1.6; }
@media (max-width: 720px) {
  .admin-new-applicant > summary { gap: 10px; padding: 15px; }
  .admin-new-applicant-icon { width: 38px; height: 38px; }
  .admin-new-applicant-action { font-size: 0; }
  .admin-new-applicant-action b { font-size: 17px; }
  .admin-new-applicant-section { padding: 18px 16px; }
  .admin-new-applicant-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .admin-new-applicant-footer { align-items: stretch; flex-direction: column; padding: 16px; }
  .admin-new-applicant-footer .btn { justify-content: center; width: 100%; }
}
.admin-offer-select-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #d8efec; border-radius: 14px; background: #edf8f6; color: #148b84; }
.admin-offer-select-icon svg { width: 23px; height: 23px; }
.admin-offer-select-copy > span,.offer-form-card-heading > span { color: #168d86; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.admin-offer-select-copy h2,.offer-form-card-heading h2 { margin: 5px 0; color: #1c354b; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.admin-offer-select-copy p,.offer-form-card-heading p { margin: 0; color: #7b8a99; font-size: 10px; line-height: 1.55; }
.admin-offer-application-picker { display: grid; gap: 8px; }
.admin-offer-application-picker .form-label { margin: 2px 0 0; color: #42586c; font-size: 10px; font-weight: 700; }
.admin-offer-application-picker .form-control,.admin-offer-application-picker .form-select { min-height: 42px; border: 1px solid #dfe7ed; border-radius: 10px; font-size: 11px; }
.admin-offer-application-picker select[size] { min-height: 162px; padding: 7px; }
.admin-offer-application-picker option { padding: 8px; border-radius: 6px; }
.admin-offer-application-picker button { justify-self: start; min-height: 42px; margin-top: 4px; border-radius: 10px; }
.admin-offer-no-applications { display: grid; align-content: center; justify-items: start; gap: 8px; min-height: 125px; color: #475d71; font-size: 11px; }
.admin-offer-no-applications span { color: #8291a0; font-size: 10px; }
.admin-offer-no-applications .btn { margin-top: 4px; }
.admin-offer-create-form .card { border: 1px solid #e5ecf1; border-radius: 15px; box-shadow: 0 4px 16px rgba(16,36,58,.03); }
.offer-form-card-heading { margin-bottom: 17px; }
.offer-form-card-heading h2 { margin: 5px 0 4px; font-size: 15px; }
.admin-offer-applicant-layout { display: grid; grid-template-columns: minmax(190px,.85fr) minmax(170px,1.15fr); align-items: center; gap: 18px; }
.passport-photo-picker { position: relative; display: grid; gap: 7px; }
.passport-photo-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.passport-photo-drop { display: flex; min-height: 132px; align-items: center; gap: 13px; padding: 12px; border: 1px dashed #b6c9d1; border-radius: 13px; background: #f9fbfc; color: #52697b; cursor: pointer; transition: border-color .18s ease,background .18s ease,box-shadow .18s ease; }
.passport-photo-drop:hover,.passport-photo-drop:focus-visible,.passport-photo-drop.is-dragging { border-color: #20a99f; background: #eff9f7; box-shadow: 0 0 0 3px rgba(32,184,173,.12); outline: none; }
.passport-photo-preview { display: grid; width: 78px; height: 104px; flex: 0 0 78px; place-items: center; overflow: hidden; border: 1px solid #dce5ea; border-radius: 9px; background: #eef3f5; }
.passport-photo-preview > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.passport-photo-placeholder { display: grid; justify-items: center; gap: 6px; color: #8697a3; }
.passport-photo-placeholder svg { width: 27px; height: 27px; }
.passport-photo-placeholder small { font-size: 8px; font-weight: 750; letter-spacing: .08em; line-height: 1.4; text-align: center; text-transform: uppercase; }
.passport-photo-pick-copy { display: grid; gap: 5px; }
.passport-photo-pick-copy strong { color: #30495e; font-size: 10px; }
.passport-photo-pick-copy small { color: #8291a0; font-size: 9px; line-height: 1.45; }
.passport-photo-pick-copy b { color: #148b84; }
.passport-photo-status { min-height: 13px; color: #8795a2; font-size: 9px; line-height: 1.45; }
.admin-offer-applicant-facts { display: grid; align-content: center; gap: 7px; min-height: 115px; padding: 13px; border: 1px solid #edf1f4; border-radius: 11px; background: #fbfcfd; color: #627386; font-size: 10px !important; line-height: 1.5 !important; }
.admin-offer-applicant-facts strong { color: #344b61; }
@media (max-width: 980px) {
  .admin-offer-select-card { grid-template-columns: 46px minmax(0,1fr); }
  .admin-offer-application-picker,.admin-offer-no-applications { grid-column: 2; }
}
@media (max-width: 680px) {
  .employer-edit-grid { grid-template-columns: 1fr; }
  .employer-edit-grid .employer-edit-address { grid-column: auto; }
  .admin-offer-form-intro { align-items: flex-start; flex-direction: column; }
  .admin-offer-select-card { grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 17px; }
  .admin-offer-select-icon { width: 38px; height: 38px; border-radius: 12px; }
  .admin-offer-application-picker,.admin-offer-no-applications { grid-column: 1/-1; }
  .admin-offer-application-picker button { width: 100%; }
  .admin-offer-applicant-layout { grid-template-columns: 1fr; }
  .passport-photo-drop { min-height: 118px; }
  .admin-offer-create-form .form-row { grid-template-columns: 1fr; }
}

/* Approval detail workspace */
.approval-detail-premium { gap: 15px; }
.approval-detail-premium-head { align-items: center; gap: 24px; padding: 23px 25px; border-color: #e1eaf0; border-radius: 18px; background: radial-gradient(ellipse at 100% 0%,rgba(32,184,173,.07),transparent 40%),linear-gradient(120deg,#fff,#f7fbfc); }
.approval-detail-title { min-width: 0; }
.approval-detail-title .approval-back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 15px; }
.approval-detail-title-row { display: flex; align-items: center; gap: 13px; }
.approval-detail-document-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #d9eeea; border-radius: 15px; background: linear-gradient(145deg,#eaf8f6,#f7fbfb); color: #16857f; }
.approval-detail-document-icon svg { width: 23px; height: 23px; }
.approval-detail-title-copy { min-width: 0; }
.approval-detail-title-copy .approval-detail-kicker { color: #7b8b98; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.approval-detail-title-copy h1 { overflow-wrap: anywhere; margin: 4px 0; color: #173149; font-family: var(--font-display); font-size: clamp(23px,3vw,30px); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; }
.approval-detail-title-copy p { display: flex; align-items: center; gap: 8px; margin: 0; color: #758696; font-size: 10px; }
.approval-detail-title-copy p i { width: 3px; height: 3px; border-radius: 50%; background: #1aa198; }
.approval-detail-control-area { display: grid; justify-items: end; gap: 12px; }
.approval-detail-statuses { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.approval-detail-statuses .approval-record-status { min-height: 29px; padding-inline: 10px; font-size: 8px; }
.approval-detail-statuses .approval-index-badge { font-size: 8px; }
.approval-detail-premium-actions { align-items: center; gap: 7px; }
.approval-detail-premium-actions .btn { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; padding-inline: 12px; border-radius: 9px; font-size: 10px; white-space: nowrap; }
.approval-detail-premium-actions .btn svg { width: 15px; height: 15px; }
.approval-detail-premium-actions .approval-approve-button { box-shadow: 0 5px 12px rgba(14,126,119,.15); }
.approval-detail-notice { grid-template-columns: 26px minmax(0,1fr); align-items: start; gap: 10px; padding: 13px 16px; border-color: #eedfbe; border-left: 3px solid #d0a347; border-radius: 12px; background: #fffaf0; color: #70571f; }
.approval-detail-notice-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #f6edda; color: #886b2e; font-size: 13px; font-weight: 800; }
.approval-detail-notice > div { display: grid; gap: 3px; }
.approval-detail-notice strong { color: #6c551f; font-size: 10px; }
.approval-detail-notice span { color: #81704b; font-size: 9px; line-height: 1.55; }
.approval-detail-notice.is-verified { border-color: #cfe8da; border-left-color: #2d9c70; background: #f2faf6; color: #236c4d; }
.approval-detail-notice.is-verified .approval-detail-notice-icon { background: #e0f2e9; color: #237651; }
.approval-detail-notice.is-verified strong { color: #1d6849; }
.approval-detail-notice.is-verified span { color: #5d7c6e; }
.approval-detail-premium-grid { align-items: stretch; gap: 13px; }
.approval-detail-premium-card { padding: 18px 19px; border-color: #e4ebef; border-radius: 14px; box-shadow: 0 4px 15px rgba(16,36,58,.03); transition: border-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.approval-detail-premium-card:hover { transform: translateY(-1px); border-color: #d5e4e9; box-shadow: 0 8px 23px rgba(16,36,58,.055); }
.approval-detail-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.approval-detail-card-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 11px; background: #edf8f6; color: #16847d; }
.approval-detail-card-icon svg { width: 17px; height: 17px; }
.approval-detail-card-icon.timeline { background: #eef4fc; color: #527dac; }
.approval-detail-card-icon.conditions { background: #f4f1fb; color: #7865a4; }
.approval-detail-card-heading > div:not(.approval-detail-heading-wrap) { min-width: 0; }
.approval-detail-card-heading h2 { margin: 3px 0 0; color: #213a50; font-size: 13px; }
.approval-detail-card-heading .approval-card-label { color: #8593a0; font-size: 7px; letter-spacing: .13em; }
.approval-detail-premium-card dl { column-gap: 14px; }
.approval-detail-premium-card dl div { padding: 9px 0; border-top-color: #eef2f4; }
.approval-detail-premium-card dt { font-size: 8px; }
.approval-detail-premium-card dd { color: #344a5e; font-size: 10px; line-height: 1.45; }
.approval-detail-premium-card dd small { color: #81909d; font-size: 9px; font-weight: 500; }
.approval-reference-value { color: #177f79; font-weight: 750; }
.approval-employer-card-head { align-items: center; }
.approval-detail-heading-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }
.approval-employer-card-head form { flex-wrap: wrap; justify-content: flex-end; }
.approval-conditions > p { min-height: 36px; color: #53697b; font-size: 10px; line-height: 1.65; }
.approval-condition-meta { display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: wrap; padding-top: 11px; border-top: 1px solid #eef2f4; color: #85929e; font-size: 8px; }
.approval-condition-meta span { display: inline-flex; align-items: center; gap: 4px; }
.approval-condition-meta strong { color: #4b6376; font-size: 8px; }
@media (max-width: 980px) {
  .approval-detail-premium-head { align-items: flex-start; flex-direction: column; }
  .approval-detail-control-area { justify-items: start; width: 100%; }
  .approval-detail-statuses { justify-content: flex-start; }
  .approval-detail-premium-actions { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .approval-detail-premium { gap: 12px; }
  .approval-detail-premium-head { gap: 16px; padding: 17px 15px; border-radius: 14px; }
  .approval-detail-title .approval-back-link { margin-bottom: 12px; }
  .approval-detail-document-icon { width: 39px; height: 39px; flex-basis: 39px; border-radius: 12px; }
  .approval-detail-document-icon svg { width: 19px; height: 19px; }
  .approval-detail-title-row { align-items: flex-start; gap: 9px; }
  .approval-detail-title-copy h1 { font-size: 22px; }
  .approval-detail-title-copy p { align-items: flex-start; flex-direction: column; gap: 3px; }
  .approval-detail-title-copy p i { display: none; }
  .approval-detail-statuses { align-items: flex-start; }
  .approval-detail-premium-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .approval-detail-premium-actions form { grid-column: 1/-1; }
  .approval-detail-premium-actions form .btn { width: 100%; }
  .approval-detail-premium-actions > .btn { width: 100%; }
  .approval-detail-premium-card { padding: 15px; }
  .approval-detail-premium-card dl { grid-template-columns: 1fr; }
  .approval-employer-card-head { align-items: flex-start; flex-direction: column; }
  .approval-employer-card-head form { justify-content: flex-start; }
  .approval-conditions > p { min-height: 0; }
}

.admin-offers-page { max-width: 1500px; margin: 0 auto; }
.admin-offers-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 3px 0 20px; }
.admin-offers-intro > div > span { color: #7d8d9d; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.admin-offers-intro h1 { margin: 4px 0; color: #152d44; font-family: var(--font-display); font-size: clamp(1.45rem,2.4vw,1.9rem); font-weight: 800; letter-spacing: -.04em; }
.admin-offers-intro p { margin: 0; color: #788899; font-size: 12px; }
.admin-offers-intro .btn { min-height: 42px; border-radius: 10px; }
.offer-list-filters { display: grid; grid-template-columns: minmax(210px,1fr) minmax(170px,220px) auto auto; gap: 9px; margin-bottom: 14px; padding: 13px; border: 1px solid #e6edf2; border-radius: 13px; background: #fff; }
.offer-list-filters .form-control, .offer-list-filters .form-select { min-height: 40px; border-radius: 9px; font-size: 11px; }
.offer-list-filters .btn { min-height: 40px; border-radius: 9px; padding: 8px 13px; font-size: 11px; }
.admin-offers-table-wrap { border-color: #e6edf2; border-radius: 13px; box-shadow: 0 4px 15px rgba(16,36,58,.03); }
.admin-offers-table { min-width: 1040px; }
.admin-offers-table th { color: #7c8b99; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.admin-offers-table td { color: #566a7e; font-size: 11px; }
.admin-offers-table td strong, .admin-offers-table td small { display: block; }
.admin-offers-table td strong { color: #283f54; font-size: 11px; }
.admin-offers-table td small { margin-top: 4px; color: #8794a1; font-size: 9px; }
.admin-offers-table td .btn { border-radius: 8px; font-size: 10px; }
.admin-offers-empty { border: 1px dashed #d9e3e9; border-radius: 14px; background: #fff; }
@media (max-width: 760px) {
  .admin-offers-intro { align-items: flex-start; }
  .admin-offers-intro .btn { white-space: nowrap; }
  .offer-list-filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .offer-list-filters input { grid-column: 1/-1; }
  .offer-list-filters .btn, .offer-list-filters a { width: 100%; justify-content: center; }
  .admin-offers-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .admin-offers-table, .admin-offers-table tbody, .admin-offers-table tr, .admin-offers-table td { display: block; width: 100%; min-width: 0; }
  .admin-offers-table thead { display: none; }
  .admin-offers-table tr { margin-bottom: 10px; padding: 8px 13px; border: 1px solid #e6edf2; border-radius: 13px; background: #fff; box-shadow: 0 3px 12px rgba(16,36,58,.03); }
  .admin-offers-table td { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eff3f5; text-align: right; }
  .admin-offers-table td::before { flex: 0 0 auto; color: #8996a3; content: attr(data-label); font-size: 9px; font-weight: 700; text-align: left; }
  .admin-offers-table td:first-child { display: block; padding: 10px 0; text-align: left; }
  .admin-offers-table td:first-child::before { display: none; }
  .admin-offers-table td:last-child { border-bottom: 0; }
  .admin-offers-table td[data-label="Action"] { justify-content: flex-end; }
}

/* Employer workspace */
.employer-body { min-height: 100dvh; background: #f4f7fa; color: #26394d; }
.employer-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 100; display: flex; width: 258px; flex-direction: column; padding: 16px 13px; border-right: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg,#10243a,#0c1b2c); color: #fff; }
.employer-brand { display: flex; min-height: 70px; flex-direction: column; justify-content: center; gap: 7px; padding: 0 13px 16px; border-bottom: 1px solid rgba(255,255,255,.09); color: #fff; text-decoration: none; }
.employer-brand img { width: auto; height: auto; max-width: 180px; max-height: 40px; object-fit: contain; object-position: left center; }
.employer-wordmark { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.03em; }
.employer-brand small { color: #86a0b4; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.employer-sidebar nav { display: grid; gap: 4px; padding: 18px 0; }
.employer-sidebar nav a { display: flex; min-height: 43px; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; color: #b5c5d3; font-size: 12px; font-weight: 600; text-decoration: none; transition: .18s ease; }
.employer-sidebar nav a svg { width: 18px; height: 18px; color: #8fa8ba; }
.employer-sidebar nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.employer-sidebar nav a.active { border-color: rgba(76,203,191,.16); background: rgba(32,184,173,.16); box-shadow: inset 3px 0 #43c4b8; color: #fff; }
.employer-sidebar nav a.active svg { color: #67dbd0; }
.employer-sidebar-bottom { display: grid; gap: 7px; margin-top: auto; padding: 14px 12px 8px; border-top: 1px solid rgba(255,255,255,.09); }
.employer-sidebar-bottom span { overflow: hidden; color: #c6d3df; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.employer-sidebar-bottom a { color: #8fa8ba; font-size: 11px; text-decoration: none; }
.employer-main { min-height: 100dvh; margin-left: 258px; }
.employer-topbar { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(22px,4vw,48px); border-bottom: 1px solid #e8edf1; background: rgba(255,255,255,.92); }
.employer-topline { color: #8190a0; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.employer-topbar h1 { margin: 3px 0 0; color: #183149; font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.employer-top-actions { display: flex; align-items: center; gap: 16px; color: #5e6f80; font-size: 11px; }
.employer-top-actions a { color: #168e88; font-weight: 650; text-decoration: none; }
.employer-content { max-width: 1450px; margin: 0 auto; padding: 27px clamp(22px,4vw,48px) 50px; }
.employer-welcome { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.employer-welcome h2 { margin: 4px 0 5px; color: #162e45; font-family: var(--font-display); font-size: clamp(1.4rem,2.3vw,1.9rem); font-weight: 800; letter-spacing: -.04em; }
.employer-welcome p { margin: 0; color: #718194; font-size: 12px; }
.employer-welcome .btn { min-height: 39px; border-radius: 9px; font-size: 11px; }
.employer-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 17px; }
.employer-kpi { display: grid; min-width: 0; gap: 7px; padding: 18px; border: 1px solid #e5ecf1; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(16,36,58,.03); }
.employer-kpi > span { color: #758598; font-size: 11px; font-weight: 650; }
.employer-kpi strong { color: #173149; font-family: var(--font-display); font-size: 29px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.employer-kpi small { color: #8a98a7; font-size: 10px; }
.employer-panel { padding: 21px 23px; border: 1px solid #e5ecf1; border-radius: 15px; background: #fff; box-shadow: 0 4px 15px rgba(16,36,58,.03); }
.employer-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.employer-panel > header h2 { margin: 3px 0 0; color: #1a334b; font-family: var(--font-display); font-size: 15px; font-weight: 800; }
.employer-panel > header p { margin: 5px 0 0; color: #788899; font-size: 11px; }
.employer-panel > header > a { color: #168e88; font-size: 11px; font-weight: 700; text-decoration: none; }
.employer-count { padding: 7px 10px; border-radius: 999px; background: #edf8f6; color: #147f79; font-size: 10px; font-weight: 750; white-space: nowrap; }
.employer-application-list { display: grid; }
.employer-application-list article { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf1f4; }
.candidate-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: #eef7f7; color: #168e88; font-size: 11px; font-weight: 800; }
.candidate-details { display: grid; min-width: 0; flex: 1; gap: 3px; }
.candidate-details strong { overflow: hidden; color: #263c50; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.candidate-details span { overflow: hidden; color: #8390a0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.employer-application-list time { color: #8996a4; font-size: 10px; white-space: nowrap; }
.employer-status-form { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.employer-status-form select { max-width: 156px; min-height: 34px; padding: 0 27px 0 9px; border: 1px solid #e4ebef; border-radius: 8px; background: #fff; color: #40566a; font: inherit; font-size: 10px; }
.employer-status-form button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 8px; background: #147f79; color: #fff; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.employer-status-form button:hover { transform: translateY(-1px); background: #106d68; }
.approval-detail-shell { display: grid; gap: 17px; }
.approval-detail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 22px 24px; border: 1px solid #e5ecf1; border-radius: 16px; background: linear-gradient(120deg,#fff,#f7fbfc); box-shadow: 0 5px 20px rgba(16,36,58,.035); }
.approval-back-link { display: block; margin-bottom: 18px; color: #168e88; font-size: 11px; font-weight: 700; text-decoration: none; }
.approval-detail-kicker,.approval-card-label { color: #748598; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.approval-detail-head h1 { margin: 5px 0; color: #142b42; font-family: var(--font-display); font-size: clamp(22px,3vw,30px); font-weight: 800; letter-spacing: -.04em; }
.approval-detail-head p { margin: 0; color: #6d7d8e; font-size: 12px; }
.approval-detail-actions { display: flex; align-items: center; gap: 8px; }
.approval-detail-actions .btn { min-height: 39px; border-radius: 9px; font-size: 11px; }
.approval-status-pill { padding: 8px 10px; border: 1px solid #f3dfb3; border-radius: 999px; background: #fff8e9; color: #926811; font-size: 9px; font-weight: 750; white-space: nowrap; }
.approval-status-pill.is-verified { border-color: #c9e9dc; background: #effaf4; color: #22724d; }
.approval-detail-notice { display: grid; gap: 3px; padding: 13px 16px; border: 1px solid #f0dfb8; border-radius: 12px; background: #fffaf0; color: #795a1d; font-size: 11px; line-height: 1.5; }
.approval-detail-notice span { color: #8a7447; font-size: 10px; }
.approval-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.approval-detail-card { min-width: 0; padding: 19px 21px; border: 1px solid #e5ecf1; border-radius: 14px; background: #fff; box-shadow: 0 4px 15px rgba(16,36,58,.025); }
.approval-detail-card h2 { margin: 7px 0 15px; color: #21394f; font-family: var(--font-display); font-size: 15px; font-weight: 800; }
.approval-detail-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 17px; margin: 0; }
.approval-detail-card dl div { min-width: 0; padding: 10px 0; border-top: 1px solid #eff2f4; }
.approval-detail-card dt { color: #8794a2; font-size: 9px; }
.approval-detail-card dd { margin: 4px 0 0; overflow-wrap: anywhere; color: #334a60; font-size: 11px; font-weight: 650; }
.approval-conditions p { margin: 0; color: #5d7083; font-size: 11px; line-height: 1.7; }
.approval-condition-meta { display: flex; align-items: center; gap: 9px; margin-top: 14px; color: #8492a0; font-size: 9px; }
.approval-condition-meta i { width: 3px; height: 3px; border-radius: 50%; background: #20b8ad; }
.approval-detail-actions form { display: inline-flex; margin: 0; }
.approval-approve-button { min-height: 39px; border-radius: 10px; box-shadow: 0 5px 12px rgba(14,126,119,.17); }
.approval-record-status { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid #cce8df; border-radius: 999px; background: #f1faf6; color: #187451; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.approval-employer-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.approval-employer-card-head h2 { margin: 5px 0 0; }
.approval-employer-card-head form { display: flex; align-items: center; gap: 8px; margin: 0; }
.approval-employer-active { display: inline-flex; align-items: center; gap: 6px; color: #748594; font-size: 9px; font-weight: 750; white-space: nowrap; }
.approval-employer-active i { width: 7px; height: 7px; border-radius: 50%; background: #aab5bd; }
.approval-employer-active.is-active { color: #187a58; }
.approval-employer-active.is-active i { background: #24a36e; box-shadow: 0 0 0 3px #e3f5ed; }
.approval-employer-toggle { min-height: 31px; padding: 0 9px; border: 1px solid #dce6eb; border-radius: 8px; background: #fff; color: #52687a; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; transition: .18s ease; }
.approval-employer-toggle:hover { border-color: #aac9d0; background: #f6fafb; color: #183e55; }
@media (max-width: 720px) {
  .approval-detail-actions { align-items: stretch; width: 100%; }
  .approval-detail-actions form { flex: 1 1 auto; }
  .approval-detail-actions .approval-approve-button { width: 100%; justify-content: center; }
  .approval-employer-card-head { align-items: flex-start; flex-direction: column; }
  .approval-employer-card-head form { flex-wrap: wrap; }
}
.approval-create-page { display: grid; gap: 16px; max-width: 1160px; margin: 0 auto; }
.approval-create-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 21px 24px; border: 1px solid #e3ebef; border-radius: 17px; background: linear-gradient(125deg,#fff,#f6fbfc); box-shadow: 0 6px 22px rgba(16,36,58,.035); }
.approval-create-back { display: inline-block; margin-bottom: 14px; color: #16817d; font-size: 11px; font-weight: 700; text-decoration: none; }
.approval-create-kicker { display: block; color: #7b8d9b; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.approval-create-header h1 { margin: 5px 0 5px; color: #142f46; font-family: var(--font-display); font-size: clamp(25px,3vw,32px); font-weight: 800; letter-spacing: -.045em; }
.approval-create-header p { max-width: 620px; margin: 0; color: #718292; font-size: 12px; line-height: 1.6; }
.approval-create-header > .btn { min-height: 39px; border-radius: 10px; white-space: nowrap; }
.approval-create-notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 17px; border: 1px solid #f0dfb8; border-left: 3px solid #d9a63c; border-radius: 12px; background: #fffaf0; }
.approval-notice-icon { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; background: #f8edcf; color: #886923; font-family: Georgia,serif; font-size: 16px; font-weight: 800; }
.approval-create-notice strong { display: block; margin: 1px 0 3px; color: #70571f; font-size: 12px; }
.approval-create-notice p { margin: 0; color: #786c4e; font-size: 11px; line-height: 1.55; }
.approval-create-form { display: grid; gap: 15px; }
.approval-create-card { min-width: 0; padding: 21px 23px; border: 1px solid #e4ebef; border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(16,36,58,.035); }
.approval-create-section-head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 18px; }
.approval-create-section-head > span { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 10px; background: #e9f7f5; color: #16857f; font-size: 10px; font-weight: 800; }
.approval-create-section-head h2 { margin: 1px 0 3px; color: #1b354a; font-family: var(--font-display); font-size: 15px; font-weight: 800; }
.approval-create-section-head p { margin: 0; color: #7e8c9a; font-size: 11px; line-height: 1.5; }
.approval-create-card .form-group { min-width: 0; margin: 0; }
.approval-create-card .form-label { display: block; margin: 0 0 7px; color: #405568; font-size: 11px; font-weight: 700; }
.approval-create-card .form-label b { color: #c35555; }
.approval-create-card .form-label small { color: #8795a1; font-size: 9px; font-weight: 500; }
.approval-create-card .form-control,.approval-create-card .form-select,.approval-create-card .form-textarea { min-height: 42px; border-color: #dfe7ec; border-radius: 9px; background-color: #fbfdfe; color: #263f53; font-size: 12px; }
.approval-create-card .form-control:focus,.approval-create-card .form-select:focus,.approval-create-card .form-textarea:focus { border-color: #61bcb5; background: #fff; box-shadow: 0 0 0 3px rgba(32,184,173,.12); }
.approval-create-card .form-control[readonly] { background: #f4f7f8; color: #6f8090; }
.approval-create-card .form-group > small,.approval-create-help { display: block; margin-top: 6px; color: #8795a1; font-size: 10px; line-height: 1.45; }
.approval-create-application { padding-bottom: 19px; }
.approval-create-application .form-group { max-width: 760px; }
.approval-create-application .form-select { min-height: 48px; }
.approval-selected-summary { display: flex; align-items: center; gap: 10px; max-width: 760px; margin-top: 14px; padding: 11px 13px; border: 1px solid #dceeea; border-radius: 11px; background: #f4fbf9; }
.approval-selected-summary[hidden] { display: none; }
.approval-summary-check { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 9px; background: #e0f3ef; color: #13877e; font-size: 13px; font-weight: 800; }
.approval-selected-summary div { display: grid; min-width: 0; gap: 3px; }
.approval-selected-summary strong { overflow: hidden; color: #294458; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.approval-selected-summary span:last-child { overflow: hidden; color: #758898; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.approval-create-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.approval-create-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 13px; }
.approval-span-2 { grid-column: 1/-1; }
.approval-input-suffix { position: relative; }
.approval-input-suffix input { padding-right: 48px; }
.approval-input-suffix span { position: absolute; top: 50%; right: 12px; color: #8493a0; font-size: 10px; transform: translateY(-50%); pointer-events: none; }
.approval-dates-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.approval-create-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 3px 2px; }
.approval-create-actions > span { color: #7a8997; font-size: 11px; line-height: 1.5; }
.approval-create-actions > div { display: flex; align-items: center; gap: 9px; }
.approval-create-actions .btn { min-height: 42px; border-radius: 10px; }
.approval-create-empty { display: grid; justify-items: center; gap: 9px; padding: 42px 24px; border: 1px solid #e4ebef; border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 5px 18px rgba(16,36,58,.035); }
.approval-empty-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: #eaf7f4; color: #16847d; font-size: 20px; font-weight: 800; }
.approval-create-empty h2 { margin: 3px 0 0; color: #203b51; font-size: 17px; }
.approval-create-empty p { max-width: 520px; margin: 0 0 8px; color: #788999; font-size: 12px; line-height: 1.65; }
@media (max-width: 820px) { .approval-create-columns { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .approval-create-page { gap: 12px; }
  .approval-create-header { align-items: flex-start; flex-direction: column; padding: 18px; }
  .approval-create-header > .btn { align-self: flex-start; }
  .approval-create-back { margin-bottom: 10px; }
  .approval-create-card { padding: 17px 15px; border-radius: 13px; }
  .approval-create-columns { gap: 12px; }
  .approval-create-grid,.approval-dates-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .approval-span-2 { grid-column: auto; }
  .approval-create-actions { align-items: stretch; flex-direction: column; padding: 4px 0; }
  .approval-create-actions > div { display: grid; grid-template-columns: .75fr 1.25fr; }
  .approval-create-actions .btn { justify-content: center; padding-inline: 10px; font-size: 11px; }
}
.employer-empty { display: grid; min-height: 140px; align-content: center; justify-items: center; gap: 7px; text-align: center; }
.employer-empty strong { color: #30475c; font-size: 13px; }
.employer-empty span { max-width: 390px; color: #8291a0; font-size: 11px; line-height: 1.6; }
.employer-table-scroll { overflow-x: auto; }
.employer-table { width: 100%; border-collapse: collapse; text-align: left; }
.employer-table th { padding: 10px 12px; border-bottom: 1px solid #e9eff3; color: #7c8b99; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.employer-table td { padding: 13px 12px; border-bottom: 1px solid #eef2f5; color: #586b7e; font-size: 11px; }
.employer-table tr:last-child td { border-bottom: 0; }
.employer-table td strong, .employer-table td small { display: block; }
.employer-table td strong { color: #263c50; font-size: 11px; }
.employer-table td small { margin-top: 4px; color: #8a98a6; font-size: 9px; }
.company-profile-logo { max-width: 180px; max-height: 64px; margin: 0 0 18px; object-fit: contain; object-position: left; }
.employer-company-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; margin: 0; }
.employer-company-facts > div { padding: 13px 0; border-top: 1px solid #eef2f5; }
.employer-company-facts dt { color: #8290a0; font-size: 10px; }
.employer-company-facts dd { margin: 5px 0 0; color: #293f53; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.employer-mobile-nav { display: none; }
@media (max-width: 900px) {
  .employer-sidebar { width: 218px; }
  .employer-main { margin-left: 218px; }
  .employer-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .employer-sidebar { display: none; }
  .employer-main { margin-left: 0; }
  .employer-topbar { min-height: 66px; padding: 10px 16px; }
  .employer-top-actions span { display: none; }
  .employer-top-actions { gap: 0; }
  .employer-content { padding: 21px 15px calc(94px + env(safe-area-inset-bottom)); }
  .employer-welcome { align-items: flex-start; flex-direction: column; }
  .employer-welcome .btn { align-self: flex-start; }
  .employer-panel { padding: 17px 15px; border-radius: 13px; }
  .employer-table-scroll { overflow: visible; }
  .employer-table, .employer-table tbody, .employer-table tr, .employer-table td { display: block; width: 100%; }
  .employer-table thead { display: none; }
  .employer-table tr { margin-bottom: 10px; padding: 6px 12px; border: 1px solid #eaf0f3; border-radius: 12px; background: #fff; }
  .employer-table tr:last-child { margin-bottom: 0; }
  .employer-table td { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f0f3f5; text-align: right; }
  .employer-table td::before { flex: 0 0 auto; color: #8794a2; content: attr(data-label); font-size: 9px; font-weight: 700; text-align: left; }
  .employer-table td:first-child { display: block; padding: 9px 0; text-align: left; }
  .employer-table td:first-child::before { display: none; }
  .employer-table td:last-child { border-bottom: 0; }
  .employer-application-list article { gap: 8px; }
  .employer-application-list article time { display: none; }
  .employer-applications-list article { flex-wrap: wrap; }
  .employer-applications-list article .badge { margin-left: 46px; }
  .employer-status-form { width: calc(100% - 46px); margin: 2px 0 0 46px; }
  .employer-status-form select { min-width: 0; max-width: none; flex: 1; }
  .employer-mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 90; display: grid; grid-template-columns: repeat(4,1fr); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid #e8edf1; background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px rgba(16,36,58,.08); backdrop-filter: blur(16px); }
  .employer-mobile-nav a { display: grid; min-height: 48px; align-content: center; justify-items: center; gap: 2px; border-radius: 11px; color: #8190a0; font-size: 9px; font-weight: 650; text-decoration: none; }
  .employer-mobile-nav a span { font-size: 17px; line-height: 1.1; }
  .employer-mobile-nav a.active { background: #edf8f6; color: #138b84; }
}
@media (max-width: 900px) {
  .approval-detail-head { align-items: flex-start; flex-direction: column; }
  .approval-detail-actions { flex-wrap: wrap; }
  .approval-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .employer-kpis { gap: 8px; }
  .employer-kpi { padding: 14px; }
  .employer-company-facts { grid-template-columns: 1fr; }
}

/* Mobile site chrome: compact app header, real slide-over menu and bottom tabs */
@media (max-width: 900px) {
  .site-header { background: rgba(255,255,255,.94); border-bottom-color: rgba(226,232,240,.8); box-shadow: 0 4px 18px rgba(16,36,58,.045); }
  .site-header .container.nav-inner { height: 62px; gap: 12px; padding-left: 16px; padding-right: 16px; }
  .site-header .brand { min-width: 0; gap: 9px; font-size: 15px; letter-spacing: -.025em; }
  .site-header .brand-mark { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 12px; font-size: 13px; }
  .site-header .site-nav, .site-header .nav-cta { display: none !important; }
  .site-header .nav-toggle { display: grid; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #E4EAF2; border-radius: 14px; background: #F7F9FC; color: var(--navy); box-shadow: 0 2px 8px rgba(16,36,58,.05); }
  .site-header .nav-toggle:active { transform: scale(.96); background: var(--turquoise-soft); }
  .drawer-backdrop { z-index: 110; }
  .nav-drawer { top: 8px; right: 8px; bottom: 8px; width: min(88vw, 360px); padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); border: 1px solid rgba(226,232,240,.85); border-radius: 26px; box-shadow: 0 24px 70px rgba(7,23,42,.24); transform: translateX(calc(100% + 20px)); overflow-y: auto; overscroll-behavior: contain; }
  .nav-drawer.open { transform: translateX(0); }
  .nav-drawer .drawer-head { padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
  .nav-drawer .brand { font-size: 16px; }
  .nav-drawer .drawer-close { display: grid !important; width: 42px; height: 42px; border-radius: 14px; }
  .nav-drawer nav { display: grid; gap: 5px; }
  .nav-drawer a.drawer-link { min-height: 54px; gap: 13px; padding: 8px 12px; border-radius: 15px; color: #334155; font-size: 15px; font-weight: 600; }
  .nav-drawer a.drawer-link.active { background: #E8F7F5; color: #087E77; }
  .nav-drawer .drawer-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 12px; background: #F1F5F9; color: var(--navy); font-size: 19px; line-height: 1; }
  .nav-drawer a.drawer-link.active .drawer-icon { background: #D8F1EE; color: #087E77; }
  .nav-drawer .drawer-cta { gap: 9px; padding-top: 18px; }
  .nav-drawer .drawer-cta .btn { min-height: 50px; border-radius: 14px; }
  .mobile-bottom-nav { display: grid !important; }
  .public-mobile-nav { display: block !important; }
}

/* Keep auth screens inside the same mobile site navigation frame. */
@media (max-width: 900px) {
  body.auth-page { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  body.auth-page .auth-main { min-height: calc(100dvh - 92px - env(safe-area-inset-bottom, 0px)); }
  body.auth-page .wizard-actions { bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .toast-container { top: max(12px, env(safe-area-inset-top, 0px)); right: 12px; left: 12px; width: auto; }
  .toast { align-items: center; min-height: 68px; padding: 14px 15px; border-radius: 18px; border-color: rgba(226,232,240,.9); box-shadow: 0 16px 42px rgba(16,36,58,.19); backdrop-filter: blur(14px); }
  .toast .t-icon { width: 38px; height: 38px; border-radius: 13px; }
  .toast .t-msg { color: #475569; }
}

/* Administration workspace */
.admin-body { background: var(--bg); color: var(--text); }
.admin-sidebar { width: 258px; padding-bottom: 18px; background: linear-gradient(180deg,var(--navy) 0%,#0C1B2D 100%); border-right: 1px solid rgba(255,255,255,.07); box-shadow: 8px 0 30px rgba(10,27,47,.08); }
.admin-sidebar .brand { min-height: 78px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; color: #fff; font-size: 14px; letter-spacing: -.01em; }
.admin-sidebar .brand small { display: block; margin-top: 3px; color: #91A6BB; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.admin-sidebar .brand .brand-mark { flex: 0 0 40px; }
.admin-nav { padding: 12px 12px 20px; }
.admin-nav .nav-section { padding: 19px 11px 7px; color: #7F94A9; font-size: 9.5px; letter-spacing: .13em; }
.admin-nav a { min-height: 42px; gap: 11px; margin: 2px 0; padding: 9px 11px; border: 1px solid transparent; border-radius: 12px; color: #BBC9D8; font-size: 12.5px; font-weight: 550; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.055); transform: translateX(2px); }
.admin-nav a.active { color: #fff; background: linear-gradient(100deg,rgba(32,184,173,.24),rgba(32,184,173,.09)); border-color: rgba(57,210,195,.18); box-shadow: inset 3px 0 #33C5B9; }
.admin-nav-icon { width: 22px; height: 22px; display: grid; place-items: center; color: #91A6BB; font-size: 16px; line-height: 1; flex: 0 0 22px; }
.admin-nav a.active .admin-nav-icon { color: #66D9CF; }
.admin-main { min-height: 100vh; margin-left: 258px; padding: 25px 30px 36px; background: var(--bg); }
.admin-header { align-items: center; gap: 16px; margin: -25px -30px 26px; padding: 17px 30px; min-height: 82px; background: rgba(255,255,255,.92); border-bottom: 1px solid #E7EDF4; box-shadow: 0 3px 15px rgba(16,36,58,.035); }
.admin-header h2 { margin: 0; font-size: 1.28rem !important; letter-spacing: -.035em; }
.admin-header .breadcrumb { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: #8190A2; font-size: 11px; }
.admin-header .breadcrumb-separator { color: #BCC6D2; }
.admin-header > div:last-child { gap: 20px !important; }
.admin-header .admin-view-site { min-height: 38px; border-radius: 11px; }
.admin-main > .card, .admin-main .chart-card { border: 1px solid #E7EDF4; border-radius: 18px; box-shadow: 0 5px 20px rgba(16,36,58,.045); }
.admin-main .stat-card { border: 1px solid #E7EDF4; border-radius: 18px; box-shadow: 0 5px 18px rgba(16,36,58,.045); }
.admin-main .data-table th { color: #708197; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.admin-main .data-table td { padding-top: 14px; padding-bottom: 14px; }
.admin-sidebar .brand-logo-img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 40px; }
.brand-logo-img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; }

.settings-page { max-width: 1280px; margin: 0 auto; }
.settings-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; padding: 27px 30px; border-radius: 20px; color: #fff; background: radial-gradient(430px 220px at 90% -50%,rgba(32,184,173,.45),transparent 70%),linear-gradient(120deg,#10243A,#173B55 70%,#126F72); box-shadow: 0 14px 34px rgba(16,36,58,.14); }
.settings-intro h2 { margin: 7px 0 8px; color: #fff; font-size: clamp(1.65rem,3vw,2.15rem); letter-spacing: -.045em; }
.settings-intro p { max-width: 610px; margin: 0; color: #D1DCE7; font-size: 13.5px; }
.settings-kicker { color: #9FE6DD; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.settings-live { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: rgba(255,255,255,.09); color: #E2F0F0; font-size: 10px; white-space: nowrap; }
.settings-live i { width: 7px; height: 7px; border-radius: 50%; background: #68DBB2; box-shadow: 0 0 0 4px rgba(104,219,178,.14); }
.settings-layout { display: grid; grid-template-columns: 188px minmax(0,1fr); align-items: start; gap: 20px; }
.settings-nav { position: sticky; top: 18px; display: grid; gap: 4px; padding: 9px; border: 1px solid #E7EDF4; border-radius: 16px; background: #fff; box-shadow: 0 4px 15px rgba(16,36,58,.04); }
.settings-nav a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 10px; border-radius: 11px; color: #627287; font-size: 11px; font-weight: 650; }
.settings-nav a span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; background: #F1F5F9; color: #77899D; }
.settings-nav a.active, .settings-nav a:hover { color: #10243A; background: #ECF8F6; text-decoration: none; }
.settings-nav a.active span { color: #108D85; background: #D9F2EF; }
.settings-sections { display: grid; gap: 16px; min-width: 0; }
.settings-card { scroll-margin-top: 22px; padding: 22px 24px; border: 1px solid #E7EDF4; border-radius: 18px; background: #fff; box-shadow: 0 4px 18px rgba(16,36,58,.04); }
.settings-card-head { display: flex; align-items: flex-start; gap: 13px; padding-bottom: 17px; margin-bottom: 18px; border-bottom: 1px solid #EEF2F6; }
.settings-card-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; border-radius: 13px; background: #E7F7F5; color: #118E86; font-size: 17px; }
.settings-card-head h3 { margin: 0 0 4px; color: #10243A; font-size: 15px; letter-spacing: -.025em; }
.settings-card-head p { margin: 0; color: #738398; font-size: 11px; line-height: 1.55; }
.settings-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.settings-fields .form-group { min-width: 0; margin-bottom: 14px; }
.settings-fields .form-label { margin-bottom: 6px; color: #4B5B6F; font-size: 10.5px; font-weight: 700; }
.settings-fields .form-control, .settings-fields .form-select, .settings-fields .form-textarea { min-height: 42px; padding: 10px 12px; border-color: #DFE7EF; border-radius: 10px; background-color: #FBFCFE; font-size: 12px; }
.settings-fields .form-control:focus, .settings-fields .form-select:focus, .settings-fields .form-textarea:focus { border-color: #28B8AC; box-shadow: 0 0 0 3px rgba(32,184,173,.12); background: #fff; }
.settings-fields small { display: block; margin-top: 6px; color: #8A98A9; font-size: 9.5px; line-height: 1.45; }
.settings-wide { grid-column: 1/-1; }
.color-control { display: flex; align-items: center; gap: 8px; }
.color-control input[type=color] { width: 42px; height: 42px; padding: 4px; border: 1px solid #DFE7EF; border-radius: 10px; background: #FBFCFE; cursor: pointer; }
.color-control .color-hex { flex: 1; }
.brand-upload { display: flex; align-items: center; gap: 10px; }
.brand-preview { width: 50px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border: 1px dashed #CBD6E2; border-radius: 10px; background: #F8FAFC; color: #10243A; font-size: 12px; font-weight: 800; }
.brand-preview img { width: 100%; height: 100%; object-fit: contain; }
.icon-preview { width: 42px; }
.upload-control { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 12px; border: 1px solid #DDE6EF; border-radius: 10px; background: #fff; color: #334155; font-size: 10px; font-weight: 700; cursor: pointer; }
.upload-control input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-control:focus-within { outline: 3px solid #D5F3F0; }
.settings-submit { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 14px 12px 18px; border: 1px solid #E2EAF2; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 8px 30px rgba(16,36,58,.1); backdrop-filter: blur(14px); }
.settings-submit > span { color: #8391A1; font-size: 10px; }
.settings-submit > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.settings-submit .btn { min-height: 42px; padding: 10px 15px; border-radius: 11px; font-size: 11px; }
.settings-submit .btn-lg { font-size: 12px; }

@media (max-width: 900px) {
  .admin-sidebar { z-index: 130; }
  .admin-nav-backdrop { z-index: 125; }
  .admin-main { padding: 14px 14px 26px; }
  .admin-header { margin: -14px -14px 19px; padding: 12px 14px; min-height: 70px; }
  .admin-header > div:first-child { display: grid; grid-template-columns: 42px minmax(0,1fr); column-gap: 10px; align-items: center; width: 100%; }
  .admin-header .admin-menu-toggle { grid-row: 1/3; margin: 0; }
  .admin-header .breadcrumb { grid-column: 2; }
  .admin-header h2 { grid-column: 2; font-size: 1.1rem !important; }
  .admin-header > div:last-child { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .admin-header > div:last-child > div { display: flex; align-items: center; gap: 10px; }
  .settings-intro { align-items: flex-start; flex-direction: column; padding: 21px; }
  .settings-live { align-self: flex-start; }
  .settings-layout { grid-template-columns: 1fr; gap: 12px; }
  .settings-nav { position: sticky; top: 0; z-index: 10; display: flex; overflow-x: auto; gap: 5px; padding: 7px; border-radius: 13px; }
  .settings-nav a { flex: 0 0 auto; min-height: 38px; padding: 6px 9px; font-size: 10px; white-space: nowrap; }
  .settings-nav a span { width: 22px; height: 22px; }
  .settings-card { padding: 18px; border-radius: 16px; }
  .settings-submit { bottom: 8px; align-items: flex-start; flex-direction: column; }
  .settings-submit > div { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .settings-submit .btn { width: 100%; white-space: normal; }
}
@media (max-width: 560px) {
  .settings-fields { grid-template-columns: 1fr; }
  .settings-wide { grid-column: auto; }
  .settings-intro { margin-bottom: 14px; border-radius: 16px; }
  .settings-card-head { gap: 10px; }
  .settings-card-icon { width: 35px; height: 35px; flex-basis: 35px; }
  .settings-submit > span { font-size: 9px; }
  .admin-main .grid-4, .admin-main .grid-2 { grid-template-columns: 1fr; }
}

/* Unified admin application refinement */
body.admin-body { --admin-surface: #fff; --admin-line: #e8edf3; --admin-ink: #1c2733; background: #f5f7fa; }
.admin-main { background: #f5f7fa; }
.admin-main :is(.card,.panel,.chart-card,.dashboard-welcome,.admin-quick-actions,.offer-edit-card,.approval-detail-card) { border-color: var(--admin-line); border-radius: 17px; box-shadow: 0 3px 14px rgba(16,36,58,.045); }
.admin-main :is(.card,.panel) { background: #fff; }
.admin-main :is(h1,h2,h3,h4) { color: #10243a; letter-spacing: -.025em; }
.admin-main .admin-page-header, .admin-main .page-header { align-items: center; gap: 14px; }
.admin-main :is(.form-control,.form-select,.form-textarea) { border-color: #dfe6ed; border-radius: 11px; box-shadow: none; }
.admin-main :is(.form-control,.form-select,.form-textarea):focus { border-color: #20b8ad; box-shadow: 0 0 0 3px rgba(32,184,173,.13); }
.admin-main .data-table thead th { color: #607285; background: #f7f9fb; font-size: 11px; font-weight: 750; letter-spacing: .035em; }
.admin-main .data-table tbody tr:hover { background: #f8fbfc; }
.admin-sidebar { background: linear-gradient(180deg,#10243a,#102033); }
.admin-sidebar .admin-nav a { min-height: 44px; border-radius: 11px; }
.admin-sidebar .admin-nav a.active { background: rgba(32,184,173,.15); box-shadow: inset 3px 0 #20b8ad; }
.admin-nav-backdrop { cursor: pointer; }
body.admin-nav-open { overflow: hidden; }
.admin-main :is(button,a,.btn,input,select,textarea) { -webkit-tap-highlight-color: transparent; }
.admin-main :is(button,a,.btn):focus-visible, .admin-sidebar a:focus-visible { outline: 3px solid rgba(32,184,173,.42); outline-offset: 2px; }
@media (max-width: 900px) {
  body.admin-body { padding-bottom: calc(84px + env(safe-area-inset-bottom,0px)); }
  .admin-main { padding-top: 0; }
  .admin-header { border-bottom: 1px solid rgba(232,237,243,.9); }
  .admin-header .breadcrumb { margin-bottom: 2px; font-size: 10px; letter-spacing: .02em; }
  .admin-header h2 { font-size: 17px !important; line-height: 1.2; }
  .admin-header .admin-menu-toggle { width: 40px; height: 40px; border-color: #e8edf3; background: #f8fafb; }
  .admin-bottom-nav { bottom: max(8px,env(safe-area-inset-bottom,0px)); }
  .admin-bottom-item { min-height: 54px; }
  .admin-bottom-item.active { background: #f1faf9; }
  .admin-bottom-item.active .admin-bottom-icon { background: #def5f2; color: #087f78; }
  .admin-sidebar { border-radius: 0 22px 22px 0; }
  .admin-sidebar .admin-nav { padding-bottom: 28px; }
  .admin-sidebar .nav-section { margin-top: 18px; }
  .admin-main .table-wrap, .admin-main .table-responsive { overscroll-behavior-inline: contain; }
  .admin-main .dashboard-welcome { padding: 20px; }
}
@media (max-width: 380px) {
  .admin-main { padding-right: 10px; padding-left: 10px; }
  .admin-header { margin-right: -10px; margin-left: -10px; padding-right: 10px; padding-left: 10px; }
  .admin-header > .admin-header-title { grid-template-columns: 38px 30px minmax(0,1fr) !important; }
  .admin-header .admin-mobile-mark { width: 30px; height: 30px; }
  .admin-header .admin-notification-action { width: 35px; height: 35px; }
  .admin-header .admin-avatar { width: 33px; height: 33px; }
}
@media (prefers-reduced-motion: reduce) { .admin-body *, .admin-body *::before, .admin-body *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Refined authentication experience */
.auth-shell { min-height: 100svh; min-height: 100dvh; background: #f5f8fb; }
.auth-aside {
  padding: clamp(30px, 5vw, 68px);
  background: radial-gradient(ellipse at 85% 18%,rgba(32,184,173,.24),transparent 36%), linear-gradient(145deg,#10243a,#0d5963);
}
.auth-aside::after { background: radial-gradient(ellipse at 75% 18%,rgba(45,198,184,.20),transparent 44%); }
.auth-aside .brand, .auth-mobile-brand .brand { display: inline-flex; align-items: center; min-height: 48px; }
.auth-aside .brand-logo-img, .auth-mobile-brand .brand-logo-img { display: block; width: auto; height: auto; max-width: min(210px, 52vw); max-height: 48px; object-fit: contain; border-radius: 0; }
.brand-wordmark { color: inherit; font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -.035em; }
.site-header .brand-logo-img, .nav-drawer .brand-logo-img { display: block; width: auto; height: auto; max-width: 176px; max-height: 42px; object-fit: contain; border-radius: 0; }
.auth-aside .brand-wordmark { color: #fff; }
.auth-aside .aside-body { max-width: 500px; }
.auth-aside h2 { max-width: 470px; font-size: clamp(2.25rem, 4vw, 3.35rem); letter-spacing: -.045em; line-height: 1.08; }
.auth-aside p { max-width: 430px; font-size: 16px; }
.auth-perks { gap: 16px; }
.auth-perks .pk-ico { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.08); }
.auth-testimonial { max-width: 500px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.auth-testimonial p { font-size: 14px; line-height: 1.65; }
.auth-main { padding: clamp(24px, 4vw, 64px); background: radial-gradient(ellipse at 100% 0%,rgba(32,184,173,.09),transparent 34%), #f5f8fb; }
.auth-card { max-width: 470px; padding: clamp(28px, 4vw, 44px); border: 1px solid #e7edf2; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(16,36,58,.09),0 3px 10px rgba(16,36,58,.025); }
.auth-card.wide { max-width: 660px; }
.auth-card .auth-head h1, .auth-card .auth-head h2 { color: #10243a; font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; line-height: 1.16; }
.auth-card .auth-head h1 { font-size: clamp(1.85rem,3vw,2.2rem); }
.auth-card .auth-head p { line-height: 1.6; }
.auth-card .form-label { margin-bottom: 8px; color: #33465a; font-size: 13px; font-weight: 650; }
.auth-card .form-control, .auth-card .form-select, .auth-card .form-textarea { min-height: 48px; border: 1px solid #dce5ec; border-radius: 11px; background: #fbfcfd; box-shadow: inset 0 1px 1px rgba(16,36,58,.02); transition: border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.auth-card .form-control:focus, .auth-card .form-select:focus, .auth-card .form-textarea:focus { border-color: #25a99f; background: #fff; box-shadow: 0 0 0 4px rgba(32,184,173,.13); outline: none; }
.auth-card .input-icon .form-control { padding-left: 45px; }
.auth-card .btn-primary { min-height: 50px; border-radius: 11px; box-shadow: 0 8px 18px rgba(14,111,118,.18); font-weight: 700; }
.auth-card .auth-alt { padding-top: 20px; border-top: 1px solid #eef2f5; }
.auth-card .auth-stepper { margin-bottom: 16px; }
.auth-stepper .stepper { gap: 8px; }
.auth-stepper .step .dot { box-shadow: 0 0 0 4px #f0f5f6; }
.auth-card .wizard-actions .btn { min-height: 46px; border-radius: 10px; }
.auth-card .checkbox { align-items: flex-start; gap: 9px; color: #556679; line-height: 1.5; }
.auth-card .checkbox input { margin-top: 3px; accent-color: #159d94; }
.auth-card .alert { border-radius: 12px; }
.auth-card :focus-visible, .auth-card a:focus-visible { outline: 3px solid rgba(32,184,173,.5); outline-offset: 3px; }

/* Admin console identity and icon system */
.admin-sidebar .brand { position: relative; display: flex; flex-wrap: wrap; align-content: center; gap: 7px 11px; padding: 17px 20px 15px; }
.admin-sidebar .brand-logo-img { width: auto; height: auto; max-width: 176px; max-height: 42px; flex: 0 1 auto; object-fit: contain; border-radius: 0; }
.admin-sidebar .brand-wordmark { max-width: 176px; font-size: 16px; }
.admin-sidebar .admin-brand-caption { flex-basis: 100%; margin-left: 1px; color: #91A6BB; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.admin-sidebar .admin-nav { padding: 12px 12px 20px; }
.admin-sidebar .admin-nav a { min-height: 42px; margin: 2px 0; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; color: #bdc9d6; font-size: 13px; font-weight: 550; transition: background .16s ease,color .16s ease,border .16s ease; }
.admin-sidebar .admin-nav a:hover { background: rgba(255,255,255,.065); color: #fff; }
.admin-sidebar .admin-nav a.active { border-color: rgba(72,201,187,.14); background: linear-gradient(90deg,rgba(32,184,173,.19),rgba(32,184,173,.08)); color: #fff; box-shadow: inset 3px 0 #32c3b4; }
.admin-sidebar .admin-nav-icon { width: 21px; height: 21px; flex-basis: 21px; color: #8fa5b8; }
.admin-sidebar .admin-nav-icon svg { display: block; width: 18px; height: 18px; }
.admin-sidebar .admin-nav a.active .admin-nav-icon { color: #62ddd1; }
.admin-sidebar .nav-section { margin: 20px 12px 7px; color: #70869a; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.admin-main { background: #f4f7fa; }
.dashboard-welcome { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 4px 0 20px; }
.dashboard-welcome h1 { margin: 3px 0 4px; color: #10243a; font-family: var(--font-display); font-size: clamp(1.6rem,2.5vw,2rem); font-weight: 800; letter-spacing: -.04em; }
.dashboard-welcome p { margin: 0; color: #728194; font-size: 13px; }
.dashboard-kicker { color: #70869a; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.dashboard-welcome .btn { min-height: 42px; border-radius: 10px; }
.dashboard-kpis { gap: 14px; }
.admin-main .dashboard-kpi { position: relative; min-width: 0; padding: 19px 18px 17px; overflow: hidden; border: 1px solid #e7edf2; border-radius: 15px; background: #fff; box-shadow: 0 4px 15px rgba(16,36,58,.035); }
.dashboard-kpi::after { position: absolute; right: -21px; bottom: -32px; width: 98px; height: 98px; border-radius: 50%; background: rgba(32,184,173,.045); content: ''; }
.dashboard-kpi .kpi-icon { display: grid; width: 37px; height: 37px; margin-bottom: 15px; place-items: center; border: 1px solid #dff2f0; border-radius: 11px; background: #eff9f8; color: #138e88; }
.dashboard-kpi .kpi-icon svg { width: 19px; height: 19px; }
.dashboard-kpi .stat-label { color: #657589; font-size: 11px; font-weight: 650; letter-spacing: .01em; }
.dashboard-kpi .stat-value { margin-top: 3px; color: #142b42; font-size: clamp(24px,2.1vw,31px); line-height: 1.2; letter-spacing: -.04em; }
.dashboard-kpi .kpi-note { position: relative; z-index: 1; margin-top: 7px; color: #8a98a7; font-size: 10px; line-height: 1.45; }
.admin-main .chart-card { border-color: #e6edf2; border-radius: 15px; box-shadow: 0 4px 16px rgba(16,36,58,.035); }
.admin-main .chart-card h3 { color: #1a3046; font-size: 14px; font-weight: 750; }
.admin-main .chart-card > div[style*="margin-bottom"] { line-height: 1.5; }

@media (max-width: 800px) {
  .auth-card, .auth-card.wide { max-width: 620px; }
}
@media (max-width: 640px) {
  .auth-shell { min-height: 100dvh; }
  .auth-main { min-height: 100dvh; align-items: flex-start; justify-content: center; padding: max(24px,env(safe-area-inset-top)) 16px max(26px,env(safe-area-inset-bottom)); }
  .auth-main .auth-mobile-brand { display: flex; justify-content: center; margin: 0 0 20px; padding: 0; }
  .auth-card, .auth-card.wide { margin: 0 auto; padding: 26px 21px; border-radius: 19px; }
  .auth-card .auth-head { margin-top: 0 !important; }
  .auth-card .form-row { grid-template-columns: 1fr; gap: 0; }
  .auth-card .form-row[style*="grid-template-columns: 1fr auto"] { grid-template-columns: 1fr auto; }
  .auth-card .form-group { margin-bottom: 16px; }
  .auth-card .auth-alt { margin-bottom: 0; }
  .auth-stepper .stepper .lbl { font-size: 9px; }
  .auth-card .wizard-actions { position: static; padding-top: 2px; background: transparent; }
  .admin-main .dashboard-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .admin-main .dashboard-kpi { padding: 14px 13px; border-radius: 13px; }
  .dashboard-kpi .kpi-icon { width: 33px; height: 33px; margin-bottom: 12px; }
  .dashboard-kpi .kpi-note { font-size: 9px; }
  .dashboard-welcome { align-items: flex-start; }
  .dashboard-welcome .btn { min-height: 40px; padding: 8px 11px; font-size: 11px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-card *, .admin-sidebar * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Admin mobile app shell */
.admin-bottom-nav { display: none; }
@media (max-width: 900px) {
  body.admin-body { min-height: 100dvh; padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); background: #f4f7fa; }
  .admin-sidebar { width: min(310px, 88vw); padding-bottom: max(22px, env(safe-area-inset-bottom, 0px)); border-radius: 0 22px 22px 0; }
  .admin-sidebar .brand { min-height: 72px; }
  .admin-main { min-height: 100dvh; padding: 0 14px calc(28px + env(safe-area-inset-bottom, 0px)); overflow-x: clip; }
  .admin-header { position: sticky; top: 0; z-index: 80; align-items: center; gap: 10px; margin: 0 -14px 16px; padding: max(10px, env(safe-area-inset-top, 0px)) 14px 11px; min-height: 68px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 3px 14px rgba(16,36,58,.045); }
  .admin-header > div:first-child { grid-template-columns: 42px minmax(0,1fr); }
  .admin-header .admin-menu-toggle { display: grid; width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 2px 8px rgba(16,36,58,.05); }
  .admin-menu-toggle svg { width: 20px; height: 20px; }
  .admin-header > div:last-child { width: auto; flex: 0 0 auto; }
  .admin-header > div:last-child > .admin-account-area { display: block; }
  .admin-account-email { display: none; }
  .admin-signout-link { display: inline-flex; min-height: 36px; align-items: center; padding: 0 10px; border: 1px solid #e5ebef; border-radius: 10px; background: #fff; color: #52687a; font-size: 10px !important; font-weight: 650; text-decoration: none; }
  .admin-header .admin-view-site { min-height: 36px; padding-inline: 11px; font-size: 10px; }
  .admin-bottom-nav { position: fixed; z-index: 120; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); left: 10px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; padding: 6px; border: 1px solid rgba(226,232,240,.9); border-radius: 20px; background: rgba(255,255,255,.95); box-shadow: 0 12px 34px rgba(16,36,58,.16); backdrop-filter: blur(18px) saturate(175%); -webkit-backdrop-filter: blur(18px) saturate(175%); }
  .admin-bottom-item { display: flex; min-width: 0; min-height: 52px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 2px; border: 0; border-radius: 14px; background: transparent; color: #738295; font: inherit; text-decoration: none; cursor: pointer; }
  .admin-bottom-item > span:last-child { overflow: hidden; max-width: 100%; font-size: 9px; font-weight: 650; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
  .admin-bottom-icon { display: grid; width: 36px; height: 29px; place-items: center; border-radius: 11px; color: currentColor; }
  .admin-bottom-icon svg { width: 19px; height: 19px; }
  .admin-bottom-item.active { color: #102f49; }
  .admin-bottom-item.active .admin-bottom-icon { background: rgba(32,184,173,.13); color: #087f78; }
  .admin-main :is(.table-responsive,.table-wrap,.data-table-wrap,.approval-record-table-wrap,.data-table-container) { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
  .admin-main :is(.card,.panel,.chart-card,.offer-edit-card,.approval-detail-card) { min-width: 0; }
  .admin-main :is(input,select,textarea) { max-width: 100%; }
  .admin-main .btn { touch-action: manipulation; }
  .offer-record-page, .approval-detail-shell, .approval-index-page, .admin-offer-create, .approval-create-page { min-width: 0; }
  .approval-detail-grid { grid-template-columns: 1fr; }
  .approval-detail-premium-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .approval-detail-premium-actions form { grid-column: 1/-1; }
  .approval-detail-premium-actions form .btn, .approval-detail-premium-actions > .btn { width: 100%; justify-content: center; }
  .offer-record-workspace { grid-template-columns: minmax(0,1fr); }
  .offer-record-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .offer-record-sidebar .offer-workflow-card { grid-column: 1/-1; grid-row: auto; }
  .offer-record-savebar { position: sticky; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 30; box-shadow: 0 8px 24px rgba(16,36,58,.1); }
  .admin-main :is(.approval-detail-actions,.approval-detail-premium-actions) { gap: 7px; }
  .admin-main :is(.offer-record-header-actions,.offer-create-actions) .btn { min-width: 0; }
}
@media (max-width: 560px) {
  .admin-main { padding-right: 11px; padding-left: 11px; }
  .admin-header { margin-right: -11px; margin-left: -11px; padding-right: 11px; padding-left: 11px; }
  .admin-header h2 { font-size: 1rem !important; }
  .admin-bottom-nav { right: 8px; left: 8px; border-radius: 18px; }
  .admin-bottom-item { min-height: 48px; }
  .admin-bottom-item > span:last-child { font-size: 8px; }
  .admin-main .grid-4, .admin-main .grid-3, .admin-main .grid-2 { grid-template-columns: 1fr; }
  .approval-detail-premium-actions { grid-template-columns: 1fr 1fr; }
  .offer-record-sidebar { grid-template-columns: 1fr; }
  .offer-record-sidebar .offer-workflow-card { grid-column: auto; }
  .offer-record-savebar { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .settings-submit { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}

/* Login page refinements */
.auth-login-shell { display: grid; min-height: 100dvh; grid-template-columns: minmax(0,1.04fr) minmax(480px,.96fr); }
.auth-login-shell .auth-aside { grid-column: 1; grid-row: 1; min-height: 100dvh; }
.auth-login-shell .auth-main { grid-column: 2; grid-row: 1; min-height: 100dvh; }
.auth-login-card { max-width: 460px; }
.auth-login-card .auth-head { margin-bottom: 30px; }
.auth-login-card .auth-login-kicker { display: inline-flex; margin-bottom: 10px; color: #168f88; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.auth-login-card .auth-head h1 { margin-bottom: 9px; }
.auth-login-card .auth-head p { max-width: 340px; }
.auth-login-card form { display: grid; gap: 1px; }
.auth-login-card form .form-group { margin-bottom: 18px; }
.auth-login-card .input-icon:focus-within > .icon { color: #168f88; }
.auth-login-card .pw-toggle { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 9px; color: #76879a; }
.auth-login-card .pw-toggle:hover { background: #f0f6f7; color: #168f88; }
.auth-login-card .pw-toggle:focus-visible { outline: 3px solid rgba(32,184,173,.35); outline-offset: 1px; }
.auth-login-card .form-row { margin: 0 0 20px; }
.auth-login-card .form-row .checkbox { align-items: center; min-height: 24px; color: #596b7e; font-size: 13px; }
.auth-login-card .form-row .checkbox input { width: 16px; height: 16px; }
.auth-login-card .form-row .btn-link { display: inline-flex; min-height: 32px; align-items: center; justify-content: flex-end; color: #138f88; font-weight: 650; text-decoration: none; }
.auth-login-card .form-row .btn-link:hover { color: #0e6f76; text-decoration: underline; }
.auth-login-card #loginSubmit { margin-top: 2px; }
.auth-login-card .auth-alt { margin-top: 24px; padding-top: 20px; }
.auth-login-card .auth-alt a { color: #128d86; }
@media (max-width: 800px) {
  .auth-login-shell { grid-template-columns: 1fr; }
  .auth-login-shell .auth-aside { display: none; }
  .auth-login-shell .auth-main { grid-column: 1; grid-row: 1; }
}
@media (max-width: 640px) {
  .auth-login-shell .auth-main { align-items: center; }
  .auth-login-card { width: 100%; max-width: 440px !important; }
  .auth-login-card .auth-mobile-brand { justify-content: flex-start; margin-bottom: 27px; }
  .auth-login-card .auth-head { margin-bottom: 25px; }
  .auth-login-card .form-row { grid-template-columns: minmax(0,1fr) auto !important; gap: 8px; align-items: center; }
  .auth-login-card .form-row .btn-link { font-size: 12px !important; white-space: nowrap; }
}
@media (max-width: 360px) {
  .auth-login-card { padding: 23px 17px; }
  .auth-login-card .form-row { grid-template-columns: 1fr !important; }
  .auth-login-card .form-row .btn-link { justify-content: flex-start; }
}

/* Registration wizard: editorial left panel and calm, structured form */
.auth-register-shell { grid-template-columns: minmax(360px,.86fr) minmax(560px,1.14fr); }
.auth-register-shell .auth-aside { min-height: 100dvh; }
.auth-register-card { width: 100%; max-width: 720px !important; padding: clamp(28px,3.1vw,46px); }
.auth-register-card .auth-mobile-brand { display: none; }
.auth-register-card .auth-stepper { margin: 0 0 25px; }
.auth-register-card .stepper { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; overflow: visible; list-style: none; }
.auth-register-card .stepper .step { min-width: 0; padding: 0 4px; color: #8391a0; font-size: 10px; font-weight: 650; letter-spacing: .02em; }
.auth-register-card .stepper .step::before { top: 19px; height: 2px; background: #e5ebef; }
.auth-register-card .stepper .step .dot { width: 38px; height: 38px; margin: 0 auto 9px; border: 1px solid #dce5eb; background: #f7f9fb; color: #7a8998; font-size: 12px; box-shadow: 0 0 0 5px #fff; }
.auth-register-card .stepper .step.done .dot { border-color: #149c93; background: #149c93; color: #fff; }
.auth-register-card .stepper .step.done::before { background: #66c8bd; }
.auth-register-card .stepper .step.active .dot { border: 2px solid #159f96; background: #fff; color: #12877f; box-shadow: 0 0 0 5px #e9f7f5; }
.auth-register-card .stepper .step.active .lbl { color: #117f79; font-weight: 800; }
.auth-register-card .stepper-progress { height: 4px; margin: 15px 4px 0; overflow: hidden; border-radius: 999px; background: #edf2f5; }
.auth-register-card .stepper-progress .bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#158d88,#43c7b8); transition: width .35s ease; }
.auth-register-card .register-step-heading { margin: 0 0 24px !important; }
.auth-register-card .register-step-heading h2 { margin: 0 0 7px; font-size: clamp(1.45rem,2vw,1.75rem); }
.auth-register-card .register-step-heading h2:focus { outline: 0; }
.auth-register-card .register-step-heading p { margin: 0; color: #7a8998; font-size: 13px; }
.auth-register-card .step-panel { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.auth-register-card .step-panel[hidden] { display: none; }
.auth-register-card .step-panel .form-row { gap: 14px; }
.auth-register-card .step-panel .form-group { min-width: 0; margin-bottom: 15px; }
.auth-register-card .step-panel .form-textarea { min-height: 100px; }
.auth-register-card .step-panel .form-label { color: #3b4c5f; }
.auth-register-card .step-panel .alert-info { display: flex; gap: 12px; padding: 15px; border-radius: 12px; }
.auth-register-card .wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin: 22px 0 0 !important; padding: 15px 0 0 !important; border-top: 1px solid #edf1f4; background: transparent !important; }
.auth-register-card .wizard-actions .right { display: flex; gap: 10px; }
.auth-register-card .wizard-actions .btn { min-width: 126px; padding-inline: 18px; }
.auth-register-card .wizard-actions .btn-next,
.auth-register-card .wizard-actions .btn-submit { box-shadow: 0 7px 16px rgba(14,111,118,.14); }
.auth-register-card .auth-alt { margin: 20px 0 0; padding-top: 16px; font-size: 12px; }
.auth-register-card .auth-alt a { color: #128d86; }
.auth-register-card .checkbox { min-height: 32px; }
.auth-register-card .checkbox input { flex: 0 0 16px; width: 16px; height: 16px; }
.auth-register-card .checkbox span { font-size: 13px; }
.auth-register-card .form-error { line-height: 1.45; }
.auth-register-card .step-panel.fade-step { animation: fadeStep .24s ease both; }
@media (max-width: 1100px) and (min-width: 901px) {
  .auth-register-shell { grid-template-columns: minmax(330px,.78fr) minmax(540px,1.22fr); }
  .auth-register-shell .auth-aside { padding: 34px; }
  .auth-register-card { padding: 28px; }
}
@media (max-width: 900px) {
  .auth-register-shell { grid-template-columns: 1fr; }
  .auth-register-card { max-width: 700px !important; }
  .auth-register-card .auth-mobile-brand { display: flex; justify-content: flex-start; margin: 0 0 22px; }
}
@media (max-width: 640px) {
  .auth-register-card { padding: 23px 19px; }
  .auth-register-card .auth-stepper { margin-bottom: 20px; }
  .auth-register-card .stepper .step { padding: 0 1px; font-size: 9px; }
  .auth-register-card .stepper .step .dot { width: 34px; height: 34px; margin-bottom: 7px; box-shadow: 0 0 0 4px #fff; }
  .auth-register-card .stepper .step::before { top: 17px; }
  .auth-register-card .stepper-progress { margin-top: 12px; }
  .auth-register-card .register-step-heading { margin-bottom: 20px !important; }
  .auth-register-card .step-panel .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .auth-register-card .wizard-actions { flex-direction: row; align-items: center; }
  .auth-register-card .wizard-actions .btn-ghost { order: 0; }
  .auth-register-card .wizard-actions .right { flex: 1; justify-content: flex-end; }
  .auth-register-card .wizard-actions .btn { min-width: 0; min-height: 46px; }
  .auth-register-card .wizard-actions .btn-next,
  .auth-register-card .wizard-actions .btn-submit { flex: 1; }
}
@media (max-width: 380px) {
  .auth-register-card { padding-inline: 15px; }
  .auth-register-card .stepper .step { font-size: 8px; }
  .auth-register-card .wizard-actions .btn { padding-inline: 12px; font-size: 12px; }
}

/* Employment offer detail and document actions */
.offer-detail-page { max-width: 1180px; margin: 0 auto; padding: 8px 0 32px; }
.offer-back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-bottom: 12px; color: #68798c; font-size: 13px; font-weight: 650; text-decoration: none; }
.offer-back-link:hover { color: #138e88; }
.offer-detail-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 22px; padding: 25px 28px; border: 1px solid #e5edf1; border-radius: 19px; background: linear-gradient(120deg,#fff,#f5fbfa); box-shadow: 0 8px 26px rgba(16,36,58,.045); }
.offer-employer-brand { display: flex; align-items: center; gap: 15px; min-width: 0; }
.offer-employer-brand > img, .offer-employer-brand > span { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border: 1px solid #e2eaee; border-radius: 14px; background: #fff; color: #167c79; object-fit: contain; padding: 6px; font-size: 17px; font-weight: 800; }
.offer-employer-brand h1 { margin: 3px 0 4px; color: #142a40; font-family: var(--font-display); font-size: clamp(1.35rem,2.5vw,1.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.18; }
.offer-employer-brand p { margin: 0; color: #6d7d8f; font-size: 13px; }
.offer-overline, .offer-section-kicker { color: #168e88; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.offer-hero-meta { display: grid; justify-items: end; gap: 7px; color: #718194; font-size: 11px; text-align: right; }
.offer-reference strong { color: #21384c; }
.offer-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: start; gap: 20px; }
.offer-detail-content { display: grid; gap: 16px; min-width: 0; }
.offer-salary-card { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 23px 25px; border-radius: 17px; background: #102a40; color: #fff; box-shadow: 0 10px 26px rgba(16,42,64,.12); }
.offer-salary-card > div { display: grid; gap: 5px; }
.offer-salary-card .offer-overline { color: #85d9d0; }
.offer-salary-card > div:first-child > strong { color: #fff; font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.45rem); letter-spacing: -.04em; line-height: 1.05; }
.salary-frequency { color: #c0d0de; font-size: 11px; }
.salary-place { justify-items: end; text-align: right; }
.salary-place span { color: #a8bbc9; font-size: 10px; }
.salary-place strong { color: #fff; font-size: 13px; }
.offer-info-card { min-width: 0; padding: 21px 23px; border: 1px solid #e6edf2; border-radius: 16px; background: #fff; box-shadow: 0 4px 16px rgba(16,36,58,.035); }
.offer-info-card > header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.offer-info-card h2 { margin: 4px 0 0; color: #183149; font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.offer-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 17px; margin: 0; }
.offer-facts > div, .offer-benefit-list > div { min-width: 0; }
.offer-facts dt, .offer-benefit-list dt { margin-bottom: 4px; color: #8290a0; font-size: 10px; font-weight: 650; }
.offer-facts dd, .offer-benefit-list dd { margin: 0; color: #293f53; font-size: 12px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.offer-benefit-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; margin: 0; }
.offer-benefit-list > div { padding: 11px 0; border-top: 1px solid #eef2f5; }
.offer-terms-list { color: #5e6f81; font-size: 12px; line-height: 1.65; }
.offer-terms-list p { margin: 0; padding: 11px 0; border-top: 1px solid #eef2f5; }
.offer-terms-list strong { color: #293f53; }
.offer-detail-actions { position: sticky; top: 18px; display: grid; gap: 14px; }
.offer-actions-card > p { margin: 9px 0 16px; color: #7a8998; font-size: 11px; line-height: 1.55; }
.offer-actions-card .btn { min-height: 43px; margin-top: 9px; border-radius: 10px; font-size: 12px; }
.offer-pdf-pending { padding: 11px 12px; border: 1px dashed #d5e2e8; border-radius: 10px; color: #7c8998; font-size: 11px; line-height: 1.5; }
.offer-decision-form { margin-top: 9px; }
.offer-decision-result { margin: 14px 0 0; padding: 11px; border-radius: 10px; font-size: 11px; }
.offer-versions-card h2 { margin: 0 0 12px; }
.offer-version-link { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid #eef2f5; color: #31485d; font-size: 11px; text-decoration: none; }
.offer-version-link:hover { color: #138e88; }
.offer-version-link small { color: #8997a5; font-size: 10px; }
.offer-editor-section, .document-defaults-more { margin: 18px 0; border: 1px solid #e4ebef; border-radius: 13px; background: #fbfcfd; }
.offer-editor-section > summary, .document-defaults-more > summary { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 16px; color: #233b50; cursor: pointer; list-style: none; }
.offer-editor-section > summary::-webkit-details-marker, .document-defaults-more > summary::-webkit-details-marker { display: none; }
.offer-editor-section > summary::after, .document-defaults-more > summary::after { color: #168e88; content: '+'; font-size: 21px; line-height: 1; }
.offer-editor-section[open] > summary::after, .document-defaults-more[open] > summary::after { content: '−'; }
.offer-editor-section summary span { display: grid; gap: 3px; }
.offer-editor-section summary strong, .document-defaults-more summary { font-size: 13px; font-weight: 750; }
.offer-editor-section summary small { color: #8090a0; font-size: 10px; font-weight: 450; }
.offer-editor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 15px; padding: 5px 16px 14px; }
.offer-editor-grid-terms { grid-template-columns: 1fr; }
.offer-editor-grid .form-group { margin-bottom: 9px; }
.offer-editor-grid .form-textarea { min-height: 65px; }
.document-defaults-more { margin: 18px 0 0; padding: 0 15px; background: #fff; }
.document-defaults-more > summary { min-height: 52px; padding: 12px 0; }
.document-defaults-more > p { margin: 0 0 14px; font-size: 11px; }
.document-defaults-more .settings-fields { padding-bottom: 10px; }
@media (max-width: 900px) {
  .offer-detail-grid { grid-template-columns: minmax(0,1fr) 280px; gap: 14px; }
  .offer-detail-hero { align-items: flex-start; }
}
@media (max-width: 680px) {
  .offer-detail-page { padding: 0 0 24px; }
  .offer-detail-hero { flex-direction: column; gap: 14px; padding: 19px; border-radius: 15px; }
  .offer-hero-meta { justify-items: start; text-align: left; }
  .offer-detail-grid { grid-template-columns: 1fr; }
  .offer-detail-actions { position: static; grid-row: 1; }
  .offer-salary-card { padding: 18px; }
  .offer-info-card { padding: 18px; }
}
@media (max-width: 390px) {
  .offer-benefit-list, .offer-facts { grid-template-columns: 1fr; }
  .offer-salary-card { align-items: flex-start; flex-direction: column; }
  .salary-place { justify-items: start; text-align: left; }
}

/* Premium approval records workspace */
.approval-index-page { display: grid; gap: 16px; }
.approval-index-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; border: 1px solid #e2eaf0; border-radius: 17px; background: linear-gradient(120deg,#fff,#f6fbfc); box-shadow: 0 6px 21px rgba(16,36,58,.035); }
.approval-index-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.approval-index-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #d7eeea; border-radius: 15px; background: #edf8f6; color: #17837e; }
.approval-index-icon svg { width: 23px; height: 23px; }
.approval-index-kicker { color: #788998; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.approval-index-header h1 { margin: 4px 0; color: #173149; font-family: var(--font-display); font-size: clamp(24px,3vw,32px); font-weight: 800; letter-spacing: -.045em; }
.approval-index-header p { margin: 0; color: #788897; font-size: 12px; line-height: 1.5; }
.approval-index-create { display: inline-flex; min-height: 43px; align-items: center; gap: 8px; padding: 0 16px; border-radius: 11px; white-space: nowrap; box-shadow: 0 5px 13px rgba(14,126,119,.14); }
.approval-index-create svg { width: 17px; height: 17px; }
.approval-index-notice { display: flex; align-items: flex-start; gap: 11px; padding: 13px 16px; border: 1px solid #eadfbe; border-left: 3px solid #d1a547; border-radius: 12px; background: #fffaf0; }
.approval-index-notice-mark { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; background: #f6edda; color: #886b2e; font-family: Georgia,serif; font-size: 14px; font-weight: 800; }
.approval-index-notice p { margin: 1px 0 0; color: #756849; font-size: 10px; line-height: 1.6; }
.approval-index-notice strong { color: #68521f; }
.approval-index-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.approval-stat-card { display: grid; grid-template-columns: 39px minmax(0,1fr); align-items: center; gap: 4px 11px; min-width: 0; padding: 16px; border: 1px solid #e5ecf0; border-radius: 14px; background: #fff; box-shadow: 0 4px 15px rgba(16,36,58,.03); }
.approval-stat-icon { display: grid; width: 38px; height: 38px; grid-row: span 2; place-items: center; border-radius: 12px; background: #f0f5f7; color: #4f6b7d; font-size: 19px; font-weight: 700; }
.approval-stat-icon.draft { background: #fff7e7; color: #a27b2d; }.approval-stat-icon.approved { background: #eaf7f0; color: #21845c; }.approval-stat-icon.verified { background: #eef4fc; color: #537fb3; }
.approval-stat-card > div { display: grid; gap: 2px; min-width: 0; }.approval-stat-card small { overflow: hidden; color: #718394; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }.approval-stat-card strong { color: #203c52; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.approval-stat-caption { grid-column: 2; overflow: hidden; color: #98a4ae; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.approval-index-panel { overflow: hidden; border: 1px solid #e4ebef; border-radius: 15px; background: #fff; box-shadow: 0 5px 19px rgba(16,36,58,.035); }
.approval-index-filters { display: flex; align-items: center; gap: 9px; padding: 15px 17px; border-bottom: 1px solid #edf1f3; background: #fcfdfd; }
.approval-index-search { position: relative; display: flex; min-width: 220px; max-width: 490px; flex: 1; align-items: center; }.approval-index-search svg { position: absolute; left: 12px; width: 17px; height: 17px; color: #8a99a5; pointer-events: none; }
.approval-index-search input { width: 100%; min-height: 40px; padding: 0 13px 0 37px; border: 1px solid #dfe7ec; border-radius: 9px; outline: none; background: #fff; color: #273f54; font: inherit; font-size: 11px; }.approval-index-search input:focus { border-color: #66bdb7; box-shadow: 0 0 0 3px rgba(32,184,173,.11); }.approval-index-search input::placeholder { color: #9aa6b0; }
.approval-index-status { width: 150px; min-height: 40px; border-color: #dfe7ec; border-radius: 9px; background-color: #fff; color: #536a7b; font-size: 11px; }.approval-index-filters > .btn { min-height: 40px; border-radius: 9px; font-size: 10px; white-space: nowrap; }.approval-index-reset { padding: 8px 5px; color: #6d8292; font-size: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.approval-index-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 19px 13px; }.approval-index-panel-head h2 { margin: 0 0 3px; color: #20394e; font-family: var(--font-display); font-size: 14px; font-weight: 800; }.approval-index-panel-head p { margin: 0; color: #82909d; font-size: 10px; }.approval-list-count { padding: 6px 9px; border: 1px solid #e7edf0; border-radius: 999px; background: #f8fafb; color: #7d8b98; font-size: 9px; font-weight: 700; white-space: nowrap; }
.approval-record-table-wrap { overflow-x: auto; }.approval-record-table { width: 100%; border-collapse: collapse; text-align: left; }.approval-record-table th { padding: 9px 15px; border-top: 1px solid #edf1f3; border-bottom: 1px solid #edf1f3; background: #f9fbfc; color: #82909d; font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }.approval-record-table td { padding: 12px 15px; border-bottom: 1px solid #f0f3f5; color: #52687a; font-size: 10px; vertical-align: middle; }.approval-record-table tbody tr:last-child td { border-bottom: 0; }.approval-record-table tbody tr { transition: background .15s ease; }.approval-record-table tbody tr:hover { background: #fbfdfd; }
.approval-table-person { display: flex; align-items: center; gap: 9px; min-width: 185px; }.approval-table-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid #dcefeb; border-radius: 11px; background: #edf8f6; color: #147e78; font-size: 11px; font-weight: 800; }.approval-table-person div,.approval-table-employer { display: grid; min-width: 0; gap: 4px; }.approval-table-person strong,.approval-table-employer strong { overflow: hidden; max-width: 205px; color: #2a4053; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.approval-table-person span:not(.approval-table-avatar),.approval-table-employer span { color: #8a98a4; font-size: 9px; }.approval-table-employer { min-width: 145px; }.approval-table-dates { display: grid; gap: 4px; white-space: nowrap; }.approval-table-dates > span { display: flex; align-items: baseline; gap: 6px; color: #506579; font-size: 9px; }.approval-table-dates small { width: 39px; color: #9aa5ae; font-size: 8px; }
.approval-index-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #e6ebee; border-radius: 999px; background: #f8fafb; color: #6c7d8b; font-size: 8px; font-weight: 750; white-space: nowrap; }.approval-index-badge i { width: 6px; height: 6px; border-radius: 50%; background: #aab5be; }.verification-verified,.record-approved { border-color: #cce9da; background: #f2faf6; color: #23744f; }.verification-verified i { background: #28a26c; }.verification-pending { border-color: #f0e3c7; background: #fffaf0; color: #92702c; }.verification-pending i { background: #d7aa4a; }.verification-rejected { border-color: #f0d9d9; background: #fff6f6; color: #a34f4f; }.verification-rejected i { background: #d46b6b; }.record-draft { border-color: #e6ebee; background: #f8fafb; color: #71818e; }.record-issued { border-color: #d6e5f5; background: #f4f8fd; color: #4a719f; }
.approval-table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; white-space: nowrap; }.approval-table-actions a:not(.approval-view-link) { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #e5ebef; border-radius: 8px; background: #fff; color: #6c8191; text-decoration: none; transition: .15s ease; }.approval-table-actions a:not(.approval-view-link):hover { border-color: #b8d9d5; background: #f0f8f7; color: #137e77; }.approval-table-actions svg { width: 14px; height: 14px; }.approval-view-link { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; color: #137e77; font-size: 9px; font-weight: 750; text-decoration: none; }.approval-index-pagination { padding: 5px 16px 17px; }.approval-index-pagination .pagination { margin-top: 0; }
.approval-index-empty { display: grid; justify-items: center; gap: 8px; padding: 40px 20px 44px; border-top: 1px solid #edf1f3; text-align: center; }.approval-index-empty > span { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #dcefeb; border-radius: 14px; background: #eff8f6; color: #16857f; }.approval-index-empty svg { width: 22px; height: 22px; }.approval-index-empty h3 { margin: 5px 0 0; color: #263f54; font-family: var(--font-display); font-size: 15px; font-weight: 800; }.approval-index-empty p { max-width: 430px; margin: 0 0 8px; color: #84929f; font-size: 11px; line-height: 1.6; }.approval-index-empty .btn { min-height: 37px; border-radius: 9px; }
@media (max-width: 960px) { .approval-index-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }.approval-record-table th,.approval-record-table td { padding-inline: 10px; } }
@media (max-width: 680px) {
  .approval-index-page { gap: 12px; }.approval-index-header { align-items: flex-start; flex-direction: column; padding: 17px; border-radius: 14px; }.approval-index-heading { align-items: flex-start; gap: 11px; }.approval-index-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }.approval-index-icon svg { width: 20px; height: 20px; }.approval-index-create { width: 100%; justify-content: center; }
  .approval-index-stats { gap: 8px; }.approval-stat-card { grid-template-columns: 31px minmax(0,1fr); gap: 3px 8px; padding: 12px 10px; border-radius: 12px; }.approval-stat-icon { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }.approval-stat-card small { font-size: 9px; }.approval-stat-card strong { font-size: 19px; }.approval-stat-caption { font-size: 8px; }
  .approval-index-panel { border-radius: 13px; }.approval-index-filters { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; }.approval-index-search { grid-column: 1/-1; min-width: 0; }.approval-index-status { width: 100%; }.approval-index-filters > .btn { width: 100%; justify-content: center; }.approval-index-reset { grid-column: 1/-1; justify-self: start; padding: 2px 1px; }
  .approval-index-panel-head { padding: 14px 13px 11px; }.approval-record-table-wrap { overflow: visible; }.approval-record-table,.approval-record-table tbody,.approval-record-table tr,.approval-record-table td { display: block; width: 100%; }.approval-record-table thead { display: none; }.approval-record-table tbody { display: grid; gap: 9px; padding: 0 10px 11px; }.approval-record-table tbody tr { padding: 9px 12px; border: 1px solid #e8eef1; border-radius: 12px; background: #fff; box-shadow: 0 3px 10px rgba(16,36,58,.025); }.approval-record-table tbody tr:hover { background: #fff; }.approval-record-table td { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f0f3f5; text-align: right; }.approval-record-table td::before { flex: 0 0 auto; color: #929eaa; content: attr(data-label); font-size: 8px; font-weight: 750; text-align: left; }.approval-record-table td:first-child { display: block; padding: 5px 0 10px; text-align: left; }.approval-record-table td:first-child::before { display: none; }.approval-record-table td:last-child { justify-content: flex-end; border-bottom: 0; }.approval-table-person { min-width: 0; }.approval-table-person strong,.approval-table-employer strong { max-width: min(62vw,250px); }.approval-table-dates { justify-items: end; }.approval-table-actions { gap: 6px; }.approval-view-link { padding-inline: 4px; }
}

/* Final cascade for the approval detail page */
.approval-detail-premium .approval-detail-head { align-items: center; gap: 24px; padding: 23px 25px; border-color: #e1eaf0; border-radius: 18px; background: radial-gradient(ellipse at 100% 0%,rgba(32,184,173,.07),transparent 40%),linear-gradient(120deg,#fff,#f7fbfc); }
.approval-detail-premium .approval-detail-title-copy h1 { margin: 4px 0; color: #173149; font-family: var(--font-display); font-size: clamp(23px,3vw,30px); line-height: 1.15; }
.approval-detail-premium .approval-detail-title-copy p { display: flex; align-items: center; gap: 8px; margin: 0; color: #758696; font-size: 10px; }
.approval-detail-premium .approval-detail-notice { display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: start; gap: 10px; padding: 13px 16px; border-color: #eedfbe; border-left: 3px solid #d0a347; border-radius: 12px; background: #fffaf0; }
.approval-detail-premium .approval-detail-notice > div { display: grid; gap: 3px; }
.approval-detail-premium .approval-detail-notice strong { color: #6c551f; font-size: 10px; }
.approval-detail-premium .approval-detail-notice span { color: #81704b; font-size: 9px; line-height: 1.55; }
.approval-detail-premium .approval-detail-notice.is-verified { border-color: #cfe8da; border-left-color: #2d9c70; background: #f2faf6; }
.approval-detail-premium .approval-detail-notice.is-verified strong { color: #1d6849; }
.approval-detail-premium .approval-detail-notice.is-verified span { color: #5d7c6e; }
.approval-detail-premium .approval-detail-card-heading h2 { margin: 3px 0 0; color: #213a50; font-size: 13px; }
.approval-detail-premium .approval-detail-premium-card dd { color: #344a5e; font-size: 10px; line-height: 1.45; }
.approval-detail-premium .approval-detail-premium-card dt { font-size: 8px; }
.approval-detail-premium .approval-employer-card-head { align-items: center; }
@media (max-width: 980px) { .approval-detail-premium .approval-detail-head { align-items: flex-start; flex-direction: column; } }
@media (max-width: 620px) {
  .approval-detail-premium .approval-detail-head { gap: 16px; padding: 17px 15px; border-radius: 14px; }
  .approval-detail-premium .approval-detail-title-copy h1 { font-size: 22px; }
  .approval-detail-premium .approval-detail-title-copy p { align-items: flex-start; flex-direction: column; gap: 3px; }
  .approval-detail-premium .approval-detail-title-copy p i { display: none; }
  .approval-detail-premium .approval-employer-card-head { align-items: flex-start; flex-direction: column; }
}

/* Full offer record editor */
.offer-record-page { display: grid; gap: 16px; max-width: 1500px; margin: 0 auto; }
.offer-record-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 24px; border: 1px solid #e2eaf0; border-radius: 17px; background: radial-gradient(ellipse at 100% 0%,rgba(32,184,173,.075),transparent 42%),linear-gradient(120deg,#fff,#f7fbfc); box-shadow: 0 5px 19px rgba(16,36,58,.035); }
.offer-record-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 11px; color: #16827c; font-size: 10px; font-weight: 750; text-decoration: none; }
.offer-record-kicker { display: block; color: #7c8c99; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.offer-record-header h1 { margin: 4px 0; color: #173149; font-family: var(--font-display); font-size: clamp(23px,3vw,30px); font-weight: 800; letter-spacing: -.045em; }
.offer-record-header p { display: flex; align-items: center; gap: 8px; margin: 0; color: #748596; font-size: 10px; }
.offer-record-header p i { width: 3px; height: 3px; border-radius: 50%; background: #19a198; }
.offer-record-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.offer-record-header-actions .btn { min-height: 38px; border-radius: 9px; font-size: 10px; }
.offer-record-status { display: inline-flex; min-height: 29px; align-items: center; padding: 0 10px; border: 1px solid #e4ebef; border-radius: 999px; background: #f7f9fa; color: #627586; font-size: 8px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.offer-record-status.status-draft { border-color: #eee1c1; background: #fff9ed; color: #90702a; }.offer-record-status.status-offer_generated { border-color: #cbe8df; background: #eff9f6; color: #247a61; }.offer-record-status.status-offer_sent { border-color: #d7e5f4; background: #f3f8fd; color: #4b719c; }
.offer-record-lock-note { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid #dcece5; border-radius: 11px; background: #f3faf6; color: #387357; }
.offer-record-lock-note > span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: #e0f1e8; font-size: 12px; font-weight: 800; }
.offer-record-lock-note strong { display: block; font-size: 10px; }.offer-record-lock-note p { margin: 3px 0 0; color: #688875; font-size: 9px; }
.offer-record-workspace { display: grid; grid-template-columns: minmax(0,1fr) 305px; align-items: start; gap: 15px; }
.offer-record-editor { display: grid; min-width: 0; gap: 13px; }
.offer-edit-card,.offer-record-side-card { min-width: 0; padding: 19px 20px; border: 1px solid #e4ebef; border-radius: 14px; background: #fff; box-shadow: 0 4px 15px rgba(16,36,58,.03); }
.offer-edit-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.offer-edit-section-head > span { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 10px; background: #eaf7f5; color: #16857f; font-size: 9px; font-weight: 800; }
.offer-edit-section-head h2 { margin: 0 0 3px; color: #20394e; font-family: var(--font-display); font-size: 13px; font-weight: 800; }
.offer-edit-section-head p { margin: 0; color: #84929f; font-size: 9px; line-height: 1.5; }
.offer-edit-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 12px; }
.offer-edit-four-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.offer-edit-benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.offer-edit-terms-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.offer-edit-span-2 { grid-column: 1/-1; }
.offer-edit-card .form-group { min-width: 0; margin: 0; }
.offer-edit-card .form-label { display: block; margin: 0 0 6px; color: #40576a; font-size: 10px; font-weight: 700; }
.offer-edit-card .form-control,.offer-edit-card .form-select,.offer-edit-card .form-textarea { min-height: 40px; border-color: #dfe7ec; border-radius: 9px; background: #fbfdfe; color: #293f52; font-size: 10px; }
.offer-edit-card .form-textarea { min-height: 65px; resize: vertical; line-height: 1.55; }
.offer-edit-card .form-control:focus,.offer-edit-card .form-select:focus,.offer-edit-card .form-textarea:focus { border-color: #65bdb7; background: #fff; box-shadow: 0 0 0 3px rgba(32,184,173,.11); }
.offer-edit-candidate-grid { display: grid; grid-template-columns: 215px minmax(0,1fr); gap: 17px; }
.offer-edit-photo-column { min-width: 0; }.offer-record-photo-picker { margin: 0; }.offer-record-photo-picker .passport-photo-drop { min-height: 155px; padding: 12px; border-radius: 11px; }.offer-record-photo-picker .passport-photo-preview { width: 78px; height: 94px; flex: 0 0 78px; }.offer-record-photo-picker .passport-photo-preview img { width: 78px; height: 94px; }.offer-record-photo-picker .passport-photo-pick-copy strong { color: #284257; font-size: 10px; }.offer-record-photo-picker .passport-photo-pick-copy small { font-size: 8px; }.offer-record-photo-picker .passport-photo-status { font-size: 8px; }
.offer-edit-candidate-fields { min-width: 0; align-self: center; }.offer-edit-candidate-fields .offer-edit-field-grid { gap: 12px; }
.offer-record-savebar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid #dcebe9; border-radius: 13px; background: linear-gradient(110deg,#f5fbfa,#fff); }
.offer-record-savebar > div { display: grid; gap: 3px; }.offer-record-savebar strong { color: #27475a; font-size: 10px; }.offer-record-savebar span { color: #7b8d99; font-size: 9px; line-height: 1.5; }.offer-record-savebar .btn { min-height: 40px; border-radius: 9px; white-space: nowrap; }
.offer-record-sidebar { position: sticky; top: 18px; display: grid; gap: 12px; }
.offer-record-side-card { padding: 16px; border-radius: 13px; }.offer-side-kicker { color: #85939f; font-size: 7px; font-weight: 800; letter-spacing: .13em; }.offer-record-side-card h2 { margin: 4px 0 7px; color: #20394e; font-family: var(--font-display); font-size: 13px; font-weight: 800; }.offer-workflow-card > p { margin: 0 0 13px; color: #7d8c99; font-size: 9px; line-height: 1.55; }.offer-workflow-card form { margin: 8px 0 0; }.offer-workflow-card form .btn { display: flex; width: 100%; min-height: 36px; align-items: center; justify-content: center; border-radius: 9px; font-size: 9px; }
.offer-side-link { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eef2f4; color: #197f79; font-size: 9px; font-weight: 700; text-decoration: none; }.offer-side-link span { font-size: 13px; }
.offer-revoke-link { padding: 4px 0; border: 0; background: transparent; color: #b05b5b; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.offer-side-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }.offer-side-title h2 { margin-bottom: 0; }.offer-version-count { display: grid; min-width: 25px; height: 25px; padding: 0 6px; place-items: center; border-radius: 8px; background: #f0f6f7; color: #547286; font-size: 9px; font-weight: 800; }
.offer-version-list { display: grid; }.offer-version-item { display: grid; grid-template-columns: 31px minmax(0,1fr) 25px; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid #eef2f4; }.offer-version-number { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #edf7f5; color: #218178; font-size: 8px; font-weight: 800; }.offer-version-item > div { display: grid; gap: 3px; min-width: 0; }.offer-version-item strong { color: #334b5f; font-size: 9px; }.offer-version-item small { color: #8996a2; font-size: 8px; }.offer-version-item > a { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #e7edf0; border-radius: 7px; color: #6d8190; font-size: 12px; text-decoration: none; }
.offer-version-empty { display: grid; justify-items: center; gap: 5px; padding: 16px 8px 8px; border-top: 1px solid #eef2f4; text-align: center; }.offer-version-empty > span { color: #8aa0ad; font-size: 19px; }.offer-version-empty strong { color: #4c6273; font-size: 9px; }.offer-version-empty small { color: #8b98a4; font-size: 8px; }
.offer-acceptance-card { border-color: #cfe9dc; background: #f5fbf7; }.offer-acceptance-card h2 { color: #237752; }.offer-acceptance-card p { margin: 0; color: #6e8a79; font-size: 9px; }
@media (max-width: 1080px) { .offer-record-workspace { grid-template-columns: minmax(0,1fr) 270px; } .offer-edit-candidate-grid { grid-template-columns: 180px minmax(0,1fr); } }
@media (max-width: 860px) { .offer-record-workspace { grid-template-columns: 1fr; }.offer-record-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }.offer-workflow-card { grid-row: span 2; } }
@media (max-width: 620px) {
  .offer-record-page { gap: 12px; }.offer-record-header { align-items: flex-start; flex-direction: column; padding: 17px 15px; border-radius: 14px; }.offer-record-header-actions { width: 100%; justify-content: flex-start; }.offer-record-header-actions .btn { flex: 1; justify-content: center; }.offer-record-header p { align-items: flex-start; flex-direction: column; gap: 3px; }.offer-record-header p i { display: none; }
  .offer-edit-card { padding: 16px 14px; border-radius: 12px; }.offer-edit-candidate-grid { grid-template-columns: 1fr; }.offer-edit-photo-column { max-width: 100%; }.offer-record-photo-picker .passport-photo-drop { min-height: 118px; }.offer-edit-field-grid,.offer-edit-four-grid,.offer-edit-benefits-grid,.offer-edit-terms-grid { grid-template-columns: 1fr; gap: 11px; }.offer-edit-span-2 { grid-column: auto; }
  .offer-record-savebar { align-items: stretch; flex-direction: column; padding: 13px; }.offer-record-savebar .btn { width: 100%; justify-content: center; }.offer-record-sidebar { grid-template-columns: 1fr; }.offer-workflow-card { grid-row: auto; }
}

/* Admin content surfaces and dashboard mobile hierarchy */
@media (max-width: 900px) {
  .admin-main > .card, .admin-main .card { border: 1px solid #e6edf2; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(16,36,58,.045); }
  .admin-main > :is(.dashboard-welcome,.admin-page-header,.page-header) { margin-top: 8px; }
  .admin-main .chart-card { padding: 17px; border-radius: 15px; }
  .admin-main .chart-card h3 { margin-bottom: 14px; }
  .admin-main .table-wrap { max-width: 100%; }
  .admin-main :is(.grid-2,.grid-3,.grid-4,.form-row,.form-row-3,.form-group,.table-wrap,.kanban,.approval-create-grid,.offer-editor-grid,.offer-edit-field-grid) { min-width: 0; }
  .admin-main :is(img,video,svg) { max-width: 100%; }
  .admin-main .kanban { gap: 10px; padding: 2px 2px 12px; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .admin-main .kanban-column { min-width: min(78vw,280px); max-width: 86vw; padding: 12px; border: 1px solid #e5ecf1; border-radius: 14px; background: #f7f9fb; scroll-snap-align: start; }
  .admin-main .kanban-card { padding: 12px; border-color: #e5ebef; border-radius: 12px; box-shadow: 0 3px 12px rgba(16,36,58,.035); }
  .admin-main .pagination { display: flex; flex-wrap: wrap; gap: 5px; }
  body.admin-body .modal-backdrop { align-items: end; padding: 10px; padding-bottom: max(10px,env(safe-area-inset-bottom,0px)); }
  body.admin-body .modal { max-height: min(88dvh,760px); overflow-y: auto; border-radius: 20px 20px 14px 14px; }
}
@media (max-width: 640px) {
  .admin-main > .card { padding: 13px; }
  .dashboard-welcome { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; margin: 4px 0 13px; padding: 18px 16px; border: 1px solid #e2ecef; border-radius: 17px; background: radial-gradient(circle at 100% 0,rgba(32,184,173,.1),transparent 43%),linear-gradient(135deg,#fff,#f8fbfc); box-shadow: 0 5px 18px rgba(16,36,58,.045); }
  .dashboard-welcome h1 { font-size: 25px; }
  .dashboard-welcome p { font-size: 11px; line-height: 1.5; }
  .dashboard-welcome .btn { width: 100%; justify-content: center; }
  .admin-main .dashboard-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 12px !important; }
  .admin-main > .grid-4:not(.dashboard-kpis) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-main .dashboard-kpi { min-height: 140px; padding: 13px 12px; border-radius: 14px; }
  .dashboard-kpi .kpi-icon { width: 31px; height: 31px; margin-bottom: 9px; }
  .dashboard-kpi .stat-label { min-height: 28px; font-size: 9px; line-height: 1.35; }
  .dashboard-kpi .stat-value { font-size: 24px; }
  .dashboard-kpi .kpi-note { margin-top: 5px; font-size: 8px; line-height: 1.35; }
  .admin-main > .grid-2, .admin-main > .grid-3, .admin-main > .grid-4 { grid-template-columns: minmax(0,1fr); gap: 11px; margin-bottom: 11px !important; }
  .admin-main .chart-card { padding: 15px 13px; }
  .admin-main .chart-card > div[style*="height:220px"] { height: 175px !important; gap: 6px !important; }
  .admin-main .chart-card > div[style*="height:220px"] > div { min-width: 0; }
  .admin-main .chart-card > div[style*="height:220px"] > div > div:last-child { font-size: 9px !important; }
  .admin-main .table-wrap { overflow: visible; }
  .admin-main table.data-table.mobile-card-table { display: block; width: 100%; min-width: 0 !important; max-width: 100%; border: 0; border-collapse: separate; border-spacing: 0; overflow: visible; }
  .admin-main table.data-table.mobile-card-table thead { display: none; }
  .admin-main table.data-table.mobile-card-table tbody { display: grid; gap: 9px; }
  .admin-main table.data-table.mobile-card-table tbody tr { display: grid; padding: 8px 12px; border: 1px solid #e7edf1; border-radius: 13px; background: #fff; box-shadow: 0 3px 11px rgba(16,36,58,.035); }
  .admin-main table.data-table.mobile-card-table tbody tr.mobile-details-row { display: block; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .admin-main table.data-table.mobile-card-table tbody td { display: grid; grid-template-columns: minmax(78px,.72fr) minmax(0,1.4fr); align-items: start; gap: 10px; min-width: 0; padding: 8px 0; border-bottom: 1px solid #eef2f4; text-align: right; overflow-wrap: anywhere; }
  .admin-main table.data-table.mobile-card-table tbody tr.mobile-details-row > td { display: block; padding: 0; border: 0; }
  .admin-main table.data-table.mobile-card-table tbody td:last-child { border-bottom: 0; }
  .admin-main table.data-table.mobile-card-table tbody td:first-child { grid-template-columns: minmax(0,1fr); gap: 3px; padding-top: 7px; padding-bottom: 10px; text-align: left; }
  .admin-main table.data-table.mobile-card-table tbody td:first-child::before { color: #7e8e9d; font-size: 7px; }
  .admin-main table.data-table.mobile-card-table tbody td:first-child strong { color: #20394e; font-size: 12px; }
  .admin-main table.data-table.mobile-card-table tbody td::before { content: attr(data-label); color: #8492a0; font-size: 8px; font-weight: 750; letter-spacing: .035em; text-align: left; text-transform: uppercase; }
  .admin-main table.data-table.mobile-card-table tbody td[data-label=""]::before { content: none; }
  .admin-main table.data-table.mobile-card-table tbody td > :is(a,span,div) { min-width: 0; }
  .admin-main table.data-table.mobile-card-table tbody td .btn { justify-self: end; }
  .admin-main table.data-table.mobile-card-table tbody td:has(> .btn):before { align-self: center; }
  .admin-main .card > form.flex { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 7px; }
  .admin-main .card > form.flex .form-control { grid-column: 1/-1; width: 100%; max-width: none !important; }
  .admin-main .card > form.flex .btn { min-height: 40px; justify-content: center; padding-inline: 10px; }
  .admin-main :is(.form-row,.form-row-3) { grid-template-columns: minmax(0,1fr); gap: 0; }
  .admin-main :is(.form-control,.form-select,.form-textarea,input[type="date"],input[type="datetime-local"]) { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
  .admin-main textarea.form-control, .admin-main .form-textarea { min-height: 100px; }
  .admin-main .form-group { margin-bottom: 14px; }
  .admin-main :is(.btn,button[type="submit"]) { min-height: 42px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .admin-main :is(.admin-offers-intro,.admin-offer-form-intro,.approval-create-header,.offer-record-header,.approval-detail-head) { align-items: flex-start; flex-direction: column; gap: 12px; min-width: 0; }
  .admin-main :is(.admin-offers-intro,.admin-offer-form-intro,.approval-create-header) > :last-child { width: 100%; }
  .admin-main :is(.admin-offers-intro,.admin-offer-form-intro,.approval-create-header) > .btn { width: 100%; justify-content: center; }
  .admin-main .pager, .admin-main .pagination { max-width: 100%; overflow-x: auto; }
  .admin-main .flex.items-center.justify-between { flex-wrap: wrap; gap: 10px; }
}

/* Mobile admin app bar: compact identity, alerts and account controls. */
@media (max-width: 900px) {
  .admin-header > .admin-header-title { grid-template-columns: 42px 34px minmax(0,1fr) !important; }
  .admin-header .admin-mobile-mark { display: grid; grid-row: 1 / 3; grid-column: 2; width: 34px; height: 34px; place-items: center; overflow: hidden; border-radius: 11px; background: #e8f8f6; color: #107d77; font-size: 10px; font-weight: 800; text-decoration: none; }
  .admin-header .admin-mobile-mark img { width: 28px; max-height: 28px; object-fit: contain; }
  .admin-header .breadcrumb { grid-column: 3 !important; }
  .admin-header h2 { grid-column: 3 !important; }
  .admin-header .admin-header-actions { width: auto !important; flex: 0 0 auto; gap: 7px !important; }
  .admin-header .admin-notification-action { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #e5ebef; border-radius: 12px; background: #fff; color: #355068; }
  .admin-header .admin-notification-action svg { width: 18px; height: 18px; }
  .admin-header .admin-avatar { display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid #d9f0ed; border-radius: 50%; background: #eaf8f6; color: #0b7f78; font-size: 11px; font-weight: 800; }
  .admin-header .admin-view-site, .admin-header .admin-account-area { display: none !important; }
}
@media (min-width: 901px) {
  .admin-mobile-mark, .admin-notification-action, .admin-avatar { display: none; }
}

.admin-sidebar { display: flex; flex-direction: column; }
.admin-sidebar .admin-nav { flex: 1 1 auto; }
.admin-sidebar-account { display: flex; align-items: center; gap: 10px; margin: 12px; padding: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-sidebar-avatar { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; background: rgba(32,184,173,.18); color: #72dfd5; font-size: 11px; font-weight: 800; }
.admin-sidebar-account div { display: grid; min-width: 0; gap: 3px; }
.admin-sidebar-account strong { overflow: hidden; color: #d8e3ec; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar-account a { color: #82a2bb; font-size: 9px; text-decoration: none; }
.admin-sidebar-account .install-app-button { width: max-content; padding: 0; border: 0; background: transparent; color: #75d8d0; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; text-align: left; }

.admin-quick-actions { margin: 0 0 18px; padding: 17px; border: 1px solid #e5ecf1; border-radius: 16px; background: #fff; box-shadow: 0 4px 15px rgba(16,36,58,.03); }
.admin-section-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.admin-section-title span { display: block; color: #82919e; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.admin-section-title h2 { margin: 3px 0 0; color: #20394e; font-family: var(--font-display); font-size: 15px; letter-spacing: -.02em; }
.admin-section-title > a { color: #11837c; font-size: 10px; font-weight: 700; text-decoration: none; }
.admin-quick-action-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.admin-quick-action-grid a { display: grid; min-width: 0; gap: 3px; padding: 13px; border: 1px solid #e7edf1; border-radius: 13px; background: #fbfdfd; color: #213b50; text-decoration: none; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.admin-quick-action-grid a:hover { border-color: #bfe7e3; box-shadow: 0 5px 13px rgba(16,36,58,.06); transform: translateY(-1px); }
.admin-quick-action-grid span { display: grid; width: 28px; height: 28px; margin-bottom: 3px; place-items: center; border-radius: 9px; background: #e8f8f6; color: #10847d; font-size: 15px; font-weight: 700; }
.admin-quick-action-grid strong { overflow: hidden; color: #2b465a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-quick-action-grid small { overflow: hidden; color: #82919e; font-size: 8px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .admin-quick-actions { padding: 14px; border-radius: 15px; }
  .admin-quick-action-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .admin-quick-action-grid a { min-height: 95px; padding: 11px; }
  .admin-quick-action-grid strong, .admin-quick-action-grid small { white-space: normal; }
}
