/* =========================================================
   WorkBase Recruitment Ltd — styles.css
   Design tokens, layout, components, responsive rules
   ========================================================= */

:root {
  --navy: #1B3A6B;
  --navy-dark: #14284B;
  --ink: #0F1B2D;
  --white: #FFFFFF;
  --bg-light: #F4F6F9;
  --border: #E6E9EE;
  --text-muted: #46516B;
  --text-muted-2: #6B7688;
  --accent-light: #EEF2F8;
  --accent-mid: #9DB0D0;
  --font-main: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-md: 0 20px 50px rgba(15,27,45,0.14);
  --shadow-lg: 0 18px 44px rgba(15,27,45,0.4);
  --max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-dark); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
input, textarea, select, button { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section-sm { padding: clamp(32px, 4vw, 56px) 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--ink); color: var(--white); }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--navy); display: inline-block;
}
.eyebrow.on-dark { color: var(--accent-mid); }
.eyebrow.pill {
  background: var(--accent-light); padding: 7px 14px; border-radius: 999px;
}
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 34px; }
.section-head.center { align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font-weight: 700; font-size: 15.5px; padding: 13px 26px;
  border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
  text-align: center;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: #C9D2E0; }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--accent-light); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-mark span { font-size: 19px; font-weight: 800; color: var(--white); }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.brand-name .light { font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--navy); background: var(--accent-light); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 9px;
  padding: 8px; width: 42px; height: 42px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { margin: 4px auto; }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 12px 28px 20px;
  border-top: 1px solid var(--border); background: var(--white);
}
.mobile-nav a {
  padding: 12px 10px; border-radius: 9px; font-size: 16px; font-weight: 600; color: var(--ink);
}
.mobile-nav a[aria-current="page"] { color: var(--navy); }
.mobile-nav .btn-row { margin-top: 8px; }
body.nav-open .mobile-nav { display: flex; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(460px, 72vh, 680px); display: flex;
  align-items: center; overflow: hidden; color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(15,27,45,0.94) 0%, rgba(15,27,45,0.82) 42%, rgba(15,27,45,0.4) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 64px 0; width: 100%; }
.hero-content { max-width: 640px; display: flex; flex-direction: column; gap: 22px; }
.hero-content.wide { max-width: 760px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 62px); font-weight: 800; color: var(--white); }
.hero p.lead { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.55; color: #C9D6EA; max-width: 54ch; }

.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px);
}
.page-hero .eyebrow.pill { align-self: flex-start; margin-bottom: 4px; }
.page-hero-content { display: flex; flex-direction: column; gap: 18px; max-width: 780px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.page-hero p.lead { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--text-muted); max-width: 58ch; }

/* Search bar in homepage hero */
.hero-search {
  background: var(--white); border-radius: 14px; padding: 10px; display: flex; gap: 8px;
  flex-wrap: wrap; box-shadow: var(--shadow-lg); max-width: 560px;
}
.hero-search input, .hero-search select {
  border: none; outline: none; padding: 12px 14px; font-size: 15px; color: var(--ink);
  border-radius: 9px; background: var(--bg-light);
}
.hero-search input { flex: 1 1 180px; min-width: 0; }
.hero-search select { flex: 0 1 150px; }
.hero-search button { flex-shrink: 0; }
.hero-popular { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; }
.hero-popular span.label { font-size: 13.5px; color: var(--accent-mid); }
.hero-popular a {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: var(--white);
  font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px;
}
.hero-popular a:hover { background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.4); color: var(--white); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink); padding: clamp(32px, 4vw, 44px) 0; }
.stats-band .grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { display: flex; align-items: center; gap: 16px; }
.stat-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(143,176,232,0.16);
  color: #8FB0E8; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); line-height: 1; display: block; }
.stat-label { font-size: 13.5px; color: #94A0B4; line-height: 1.3; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-light);
  color: var(--navy); display: flex; align-items: center; justify-content: center;
}
.card h3 { font-size: 19px; font-weight: 800; }
.card p { font-size: 15px; line-height: 1.55; color: var(--text-muted); }

.step-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.step-num {
  width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--white);
  font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.step-card p { font-size: 15.5px; line-height: 1.5; font-weight: 600; color: var(--ink); }

/* Sector image cards */
.sector-card {
  text-align: left; padding: 0; border: none; cursor: pointer; position: relative;
  border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; background: var(--ink); display: block;
}
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sector-card .overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,27,45,0) 38%, rgba(15,27,45,0.88) 100%);
}
.sector-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px;
  display: flex; flex-direction: column; gap: 6px; color: var(--white);
}
.sector-card .label strong { font-size: 22px; font-weight: 800; }
.sector-card .label span { font-size: 14px; font-weight: 700; color: var(--accent-mid); }

/* Split panels (candidates/employers callouts) */
.split-panel {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 320px;
  display: flex; align-items: flex-end;
}
.split-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.split-panel .overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,27,45,0.15) 30%, rgba(15,27,45,0.9) 100%);
}
.split-panel .content { position: relative; z-index: 2; padding: 32px; display: flex; flex-direction: column; gap: 12px; color: var(--white); max-width: 40ch; }
.split-panel .content h3 { font-size: 25px; font-weight: 800; }
.split-panel .content p { font-size: 15.5px; line-height: 1.5; color: #C9D6EA; }

/* Image + text feature blocks */
.feature-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature-split .copy { display: flex; flex-direction: column; gap: 18px; }
.feature-split .copy p { font-size: 16.5px; line-height: 1.62; color: var(--text-muted); }
.feature-media { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-md); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonial */
.testimonial-quote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
.testimonial-attrib strong { font-size: 15px; display: block; color: var(--ink); }
.testimonial-attrib span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-muted-2); }

/* ---------- Pricing / guarantee blocks ---------- */
.promo-card { border-radius: 20px; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.promo-card.dark { background: var(--navy); color: var(--white); }
.promo-card.light { background: var(--white); border: 1px solid var(--border); }
.promo-card .eyebrow-inline { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.promo-card.dark .eyebrow-inline { color: var(--accent-mid); }
.promo-card.light .eyebrow-inline { color: var(--navy); }
.promo-card .headline { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.promo-card.light .headline { color: var(--ink); }
.promo-card p { font-size: 15.5px; line-height: 1.6; }
.promo-card.dark p { color: #C9D6EA; }
.promo-card.light p { color: var(--text-muted); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--text-muted); }
.checklist li::before { content: '✓'; color: var(--navy); font-weight: 800; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: var(--white); border: 1px solid var(--border); color: var(--ink);
  font-size: 14px; font-weight: 600; padding: 8px 15px; border-radius: 999px;
}
.role-list { display: flex; flex-direction: column; gap: 10px; }
.role-list-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px; font-size: 15.5px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.role-list-item::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); flex-shrink: 0; }

/* ---------- FAQ (native details/summary — accessible, zero-JS) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.faq-item summary {
  padding: 22px 24px; font-size: 16.5px; font-weight: 700; color: var(--ink); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; font-weight: 400; color: var(--navy); flex-shrink: 0; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 22px; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: clamp(24px, 3vw, 34px); }
.form-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.form-card .form-sub { font-size: 14.5px; line-height: 1.5; color: var(--text-muted); margin-bottom: 22px; display: block; }
form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  border: 1px solid #D5DCE6; border-radius: 10px; padding: 12px 14px; font-size: 15px;
  color: var(--ink); background: #FBFCFD; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--navy); }
input:invalid[data-touched="true"], textarea:invalid[data-touched="true"] { border-color: #C0392B; }
.error-msg { font-size: 12.5px; color: #C0392B; display: none; }
.error-msg.show { display: block; }
textarea { resize: vertical; }
.file-drop {
  border: 1.5px dashed #C9D2E0; border-radius: 12px; padding: 22px; text-align: center;
  color: var(--text-muted-2); font-size: 14px; background: #FBFCFD; cursor: pointer; position: relative;
}
.file-drop strong { color: var(--navy); font-weight: 700; }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop.has-file { border-color: var(--navy); color: var(--navy); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--text-muted); flex-direction: row; }
.checkbox-row input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.form-note { font-size: 13px; color: var(--text-muted-2); }
.form-success {
  display: none; background: var(--accent-light); border: 1px solid #DCE5F2; border-radius: 12px;
  padding: 16px 18px; color: var(--navy); font-weight: 600; font-size: 14.5px;
}
.form-success.show { display: block; }
form.is-submitted .form-fields { display: none; }
.form-error-banner {
  display: none; background: #FDEEEC; border: 1px solid #F2C6C0; border-radius: 12px;
  padding: 14px 16px; color: #A5311F; font-weight: 600; font-size: 14px;
}
.form-error-banner.show { display: block; }

/* ---------- Contact info card ---------- */
.contact-info-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.contact-info-item { display: flex; flex-direction: column; gap: 2px; }
.contact-info-item .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted-2); }
.contact-info-item .value { font-size: 16px; font-weight: 600; line-height: 1.4; }
.map-embed { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.notice-banner {
  background: var(--accent-light); border: 1px solid #DCE5F2; border-radius: 16px;
  padding: 20px 26px; display: flex; align-items: center; gap: 14px;
}
.notice-banner .check { font-size: 22px; color: var(--navy); font-weight: 800; }
.notice-banner p { font-size: 15.5px; line-height: 1.5; color: var(--navy); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px; padding: clamp(40px, 6vw, 72px); display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 20px;
}
.cta-band.navy { background: var(--navy); }
.cta-band.ink { background: var(--ink); }
.cta-band h2 { font-size: clamp(26px, 4vw, 46px); font-weight: 800; color: var(--white); max-width: 22ch; }
.cta-band p { font-size: 16px; line-height: 1.5; color: #C9D6EA; max-width: 48ch; }
.cta-band.ink p { color: #94A0B4; }

/* ---------- Values / legal content ---------- */
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.value-card h3 { font-size: 19px; font-weight: 800; }
.value-card p { font-size: 15.5px; line-height: 1.6; color: var(--text-muted); }

.legal-doc { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.legal-doc h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.legal-doc h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.legal-doc p, .legal-doc li { font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }
.legal-doc ul, .legal-doc ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.legal-doc section { border-top: 1px solid var(--border); padding-top: 28px; }
.legal-doc section:first-of-type { border-top: none; padding-top: 0; }
.legal-updated { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted-2); }
.legal-toc { background: var(--bg-light); border-radius: 14px; padding: 20px 24px; }
.legal-toc p { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc a { font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D2E0; }
.footer-top { padding: clamp(44px, 6vw, 64px) 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.55; color: #94A0B4; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; color: #C9D2E0;
}
.footer-social a:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .heading { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #6B7A94; }
.footer-col a { color: #C9D2E0; font-size: 14px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #1E2C42; padding: 24px 0 32px; display: flex; flex-wrap: wrap;
  gap: 8px 24px; justify-content: space-between; align-items: center;
}
.footer-bottom .copy { font-size: 13px; color: #6B7A94; }
.footer-bottom .reg { font-family: var(--font-mono); font-size: 12px; color: #6B7A94; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: auto; background: var(--navy); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 10px 0; z-index: 1000;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero-content { max-width: 100%; }
  .split-panel { min-height: 260px; }
  .container { padding: 0 20px; }
}

/* =========================================================
   WorkBase — CRM/ATS, job board, portal & CMS additions
   ========================================================= */

/* ---------- Not-connected banner ---------- */
.not-connected-banner {
  background: #FFF4E5; border: 1px solid #F0C36D; color: #6B4A12;
  border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 24px;
  font-size: 14.5px; line-height: 1.5;
}
.not-connected-banner strong { color: #4A3208; }

/* ---------- Success message (pairs with existing .error-msg) ---------- */
.success-msg {
  background: #EAF7EF; border: 1px solid #B7E4C7; color: #1E5631;
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: 15px; margin-top: 16px;
}

/* ---------- Filter bar (job board) ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-bar input[type="text"] {
  flex: 1 1 260px; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px;
}
.filter-bar select {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; background: var(--white); min-width: 180px;
}

/* ---------- Job board cards ---------- */
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--white); flex-wrap: wrap;
}
.job-card-main { flex: 1 1 auto; min-width: 240px; }
.job-card-sector {
  display: inline-block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy);
  background: var(--accent-light); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.job-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.job-card-meta { font-size: 14.5px; color: var(--text-muted); margin-bottom: 8px; }
.job-card-desc { font-size: 14.5px; color: var(--text-muted-2); line-height: 1.55; max-width: 62ch; }

/* ---------- Resources (Career Resources / CMS output) ---------- */
.resources-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.resource-card {
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px;
  background: var(--white); display: flex; flex-direction: column; gap: 10px;
}
.resource-card h3 { font-size: 19px; font-weight: 800; }
.resource-body-preview, .resource-body-full { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.resource-toggle { align-self: flex-start; font-weight: 700; }

/* ---------- Generic small link-style button used in tables ---------- */
.btn-link {
  background: none; border: none; color: var(--navy); font-weight: 700; font-size: 14px;
  padding: 0; cursor: pointer; text-decoration: underline;
}
.btn-link:hover { color: var(--navy-dark); }
.btn-link-danger { color: #B3261E; }
.btn-link-danger:hover { color: #7F1B15; }

/* ---------- Status pills ---------- */
.status-pill {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: capitalize;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.01em;
}
.status-new, .status-published { background: #E4F3E9; color: #1E5631; }
.status-draft, .status-reviewing { background: #FFF4E5; color: #6B4A12; }
.status-shortlisted, .status-contacted, .status-converted { background: #E7EEFB; color: var(--navy); }
.status-rejected, .status-closed { background: #F6E4E3; color: #7F1B15; }
.status-placed { background: var(--navy); color: var(--white); }

/* ---------- Data tables (dashboard) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table th {
  text-align: left; padding: 14px 16px; background: var(--bg-light); color: var(--text-muted);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.data-table td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.data-table .row-actions { white-space: nowrap; display: flex; gap: 14px; }
.empty-row { padding: 24px; color: var(--text-muted-2); text-align: center; }
.data-table .empty-row { display: table-cell; }
.status-select {
  padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13.5px; background: var(--white); text-transform: capitalize;
}

/* ---------- Dashboard shell ---------- */
.dashboard-shell { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.dashboard-sidebar { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
.dash-tab-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: none; border: none; text-align: left; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; color: var(--text-muted); cursor: pointer;
}
.dash-tab-btn:hover { background: var(--bg-light); }
.dash-tab-btn.active { background: var(--navy); color: var(--white); }
.dash-count {
  font-size: 11.5px; font-weight: 800; background: #B3261E; color: var(--white);
  padding: 1px 7px; border-radius: 999px; min-width: 18px; text-align: center;
}
.dash-tab-btn.active .dash-count { background: var(--white); color: var(--navy); }
.dashboard-main { min-width: 0; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-panel h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.dash-panel-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-bottom: 18px; flex-wrap: wrap;
}

/* ---------- KPI cards ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 8px; }
.kpi-card {
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px;
  display: flex; flex-direction: column; gap: 6px; background: var(--white);
}
.kpi-value { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1; }
.kpi-label { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Modals (job editor / resource editor) ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,27,45,0.55); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-md);
}
.modal-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.modal-card form label {
  display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600;
  color: var(--text-muted); margin-bottom: 14px;
}
.modal-card form input, .modal-card form select, .modal-card form textarea {
  font-weight: 400; color: var(--ink); padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px;
}
.modal-card .btn-row { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-sidebar {
    position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px;
  }
  .dash-tab-btn { white-space: nowrap; }
  .job-card { flex-direction: column; align-items: flex-start; }
}
