:root { --navy: #0a1f44; --navy2: #123a7a; --red: #c8102e; --gold: #f2b705; --gold-dark: #c99700; --ink: #1a1a1a; --muted: #5a5a5a; --line: #e3e3e3; --bg: #f7f5ef; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
header { background: var(--navy); color: #fff; }
.header-in { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 12px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.logo-text { font-size: 21px; font-weight: 900; letter-spacing: .5px; line-height: 1; white-space: nowrap; }
.flag-badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: #fff; border: 3px solid var(--gold); overflow: hidden; position: relative; flex: none; }
.flag-badge svg { display: block; width: 100%; height: 100%; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* Header search: ONLY a small round magnifier icon button, to the left
   of the profile picture and to the right of the LIBERIAN JOBS logo.
   No search input box in the header — the full search lives lower
   on the homepage, under "Search & filter jobs". */
.search-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; aspect-ratio: 1 / 1; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); background: transparent; text-decoration: none; }
.search-icon-btn svg { display: block; }
.post-job { padding: 11px 18px; border-radius: 10px; font-size: 16px; }
.avatar-sm { width: 44px; height: 44px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); flex: none; }
.avatar-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: var(--navy); font-weight: 900; font-size: 20px; text-decoration: none; }
.header-row2 { display: flex; align-items: center; gap: 16px; padding: 8px 0 2px; }
.header-row2 .btn.gold { padding: 10px 18px; border-radius: 10px; font-size: 16px; }
.logout-link { color: #fff; text-decoration: none; font-weight: bold; font-size: 16px; }
.header-stripe { display: flex; height: 6px; }
.header-stripe span { display: block; height: 100%; }
.stripe-red { flex: 4; background: var(--red); }
.stripe-gold { flex: 4; background: var(--gold); }
.stripe-white { flex: 2; background: #fff; }
main { padding: 20px 0 40px; }
/* Homepage hero — matches the approved screenshot exactly in layout:
   navy panel, illustrated harbor scene, white brand card overlapping
   the illustration, large gold "Find work in Liberia." plate, gold
   No-CV pill, dark count pill, then "Open jobs". */
.hero-wrap { background: #0a2342; border-radius: 28px; padding: 18px 16px 26px; margin-top: 6px; }
/* Hero picture: the EXACT old artwork from the Muse version
   (public/hero.webp, 1920x1280), shown as a short BACKGROUND banner
   behind the hero only — never full-page, never oversized. Fixed
   heights match the original artifact (14rem desktop / 11rem phone),
   so the banner is roughly the top third of a phone screen, as in
   Musa's screenshot. A real <img> with object-fit: cover keeps every
   circle in the picture a true circle — nothing is stretched into a
   long oval. The white brand card overlaps the bottom of the banner. */
.hero-illustration { display: block; width: 100%; height: 224px; border-radius: 20px; object-fit: cover; object-position: center 35%; background: #16386e; }
.hero-card { position: relative; z-index: 2; background: #fff; border-radius: 24px; box-shadow: 0 10px 28px rgba(0,0,0,.35); padding: 22px 22px 20px; margin: -64px 10px 0; }
.hero-brand-row { display: flex; align-items: center; gap: 16px; }
.hero-brand-row .flag-badge { width: 72px; height: 72px; border-radius: 20px; border-width: 4px; }
.hero-brand { display: block; font-size: 30px; font-weight: 900; color: var(--navy); letter-spacing: .5px; line-height: 1.1; }
.hero-domain { display: block; color: var(--red); font-weight: 800; font-size: 17px; letter-spacing: 2px; margin-top: 4px; }
.hero-tagline { color: #4a5a73; font-size: 18px; font-weight: 600; line-height: 1.45; margin: 16px 0 4px; }
.hero-gold { background: var(--gold); border-radius: 22px; padding: 22px 24px; margin: 22px 0 16px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.hero-gold h1 { margin: 0; color: var(--navy); font-size: 42px; font-weight: 900; line-height: 1.12; }
.hero-gold h1 em { color: var(--red); font-style: italic; }
.hero-liberia { border-bottom: 6px solid var(--red); padding-bottom: 2px; }
.no-cv-pill { background: var(--gold); color: var(--navy); font-weight: 800; font-size: 18px; line-height: 1.4; border-radius: 999px; padding: 14px 22px; margin: 0 0 14px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.count-pill { display: inline-block; background: #081a38; color: var(--gold); font-weight: 800; font-size: 18px; border-radius: 999px; padding: 10px 20px; margin: 0 0 8px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.open-jobs-heading { color: #fff; font-size: 32px; margin: 18px 0 4px; }
.open-jobs-heading em { color: var(--gold); font-style: italic; }
.filter-details { margin: 14px 0; }
.filter-details summary { cursor: pointer; color: #fff; font-weight: bold; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 10px 14px; }
.filter-details .filters { margin: 10px 0 0; }
.count-line { font-weight: bold; margin: 18px 0 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.filters select, .filters input { padding: 8px; border: 1px solid #bbb; border-radius: 6px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 14px 0; box-shadow: 0 4px 14px rgba(10,31,68,.12); }
.job-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.job-top h3 { margin: 0; }
.job-top h3 a { color: var(--navy); text-decoration: none; }
.status { white-space: nowrap; font-weight: bold; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.green { background: #1e9e4a; } .dot.red { background: var(--red); }
.company { font-weight: bold; margin: 6px 0 2px; }
.verified { color: #1e7a3c; font-size: 13px; }
.meta, .desc, .contact { color: var(--muted); margin: 4px 0; }
.pay { font-weight: bold; color: var(--navy); margin: 6px 0; }
.countdown { font-weight: bold; color: #8a5a00; background: #fff4d6; border: 1px solid #f2b705; border-radius: 6px; padding: 6px 8px; margin: 6px 0; }
.badge-world { background: #eef3ff; display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 13px; margin: 4px 0; }
.card-actions { margin-top: 10px; }
.btn { display: inline-block; background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 6px; text-decoration: none; font-weight: bold; border: none; cursor: pointer; }
.btn.red { background: var(--red); }
.btn.gold { background: var(--gold); color: var(--navy); }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.category-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.category-picks a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; text-decoration: none; color: var(--navy); font-weight: bold; }
.note-para { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
form.form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; max-width: 640px; }
/* Job-interest checkboxes: each interest is one round row — the box
   and its text sit on the same line, the box straight in front of
   the text. The old form CSS made every input 100% wide, which pushed
   the checkbox up and away from its label. */
.interest-list { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 4px; }
form.form label.interest-row, form.form .interest-list label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 2px solid var(--navy); border-radius: 999px; background: #eef3ff; color: var(--navy); font-weight: 700; cursor: pointer; }
form.form label.interest-row input[type="checkbox"], form.form .interest-list input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--navy); }
form.form label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 10px; }
form.form label:has(input[type="checkbox"]) input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--navy); }
form.form label { display: block; font-weight: bold; margin: 12px 0 4px; }
form.form input, form.form select, form.form textarea { width: 100%; padding: 9px; border: 1px solid #bbb; border-radius: 6px; font: inherit; }
form.form small { color: var(--muted); font-weight: normal; }
.alert { background: #fff3cd; border: 1px solid #e6c200; border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.error { background: #fde8e8; border: 1px solid var(--red); border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tabs a { background: #fff; border: 1px solid var(--line); padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--navy); font-weight: bold; }
.tabs a.on { background: var(--navy); color: #fff; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
th { background: var(--navy); color: #fff; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.thumb { width: 110px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
footer { background: var(--navy); color: #fff; padding: 22px 0; margin-top: 20px; }
footer p { margin: 4px 0; }
@media (max-width: 640px) {
  .hero-illustration { height: 176px; }
  .hero-card { margin: -56px 4px 0; padding: 18px; }
  .hero-brand { font-size: 25px; }
  .hero-domain { font-size: 15px; }
  .hero-tagline { font-size: 16px; }
  .hero-gold { padding: 18px; }
  .hero-gold h1 { font-size: 34px; }
  .no-cv-pill, .count-pill { font-size: 16px; }
  .open-jobs-heading { font-size: 28px; }
  .logo-text { font-size: 18px; }
  .post-job { padding: 10px 13px; font-size: 14px; }
  .search-icon-btn, .avatar-sm { width: 40px; height: 40px; }
  .header-actions { gap: 8px; }
}
