/*
 * ════════════════════════════════════════════════════════════════════════
 *  JOBBERRECRUIT — EMPLOYER DASHBOARD DESIGN SYSTEM  v2.0
 *  Shared across all employer views via layouts/employer.php
 * ════════════════════════════════════════════════════════════════════════
 */

/* ══ DESIGN TOKENS ══ */
:root {
  color-scheme: light;
  --brand: #0861A9; --brand-dark: #064A85; --brand-deep: #0A2F57; --brand-light: #E6F0F8;
  --accent: #ED9020; --accent-dark: #C8770E; --accent-light: #FDF1E0;
  --text: #141926; --muted: #5b6577; --bg: #f5f7fb; --white: #fff; --border: #e2e8f2;
  --success: #16a34a; --success-light: #e8f7ee; --danger: #dc2626; --danger-light: #fdeaea;
  --radius: 10px; --radius-lg: 14px;
  --shadow: 0 2px 14px rgba(10,47,87,.08); --shadow-lg: 0 14px 40px rgba(10,47,87,.16);
  --transition: .18s ease; --sidebar-w: 262px;
}

/* Global custom cursor (layouts/app.php pulls this in via global-core.css too;
   layouts/employer.php only loads this file, so it must be defined here as well) */
html, body, a, button, select, input, textarea, [role="button"] {
  cursor: url('../images/favicon_cursor.png'), auto !important;
}

/* ══ RESET + BASE ══ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.emp-shell {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overflow-x: hidden;
}
body.emp-shell h1, body.emp-shell h2, body.emp-shell h3,
body.emp-shell .sora { font-family: 'Sora', 'Inter', sans-serif; letter-spacing: -.02em; }
body.emp-shell a:not(.btn) { color: var(--brand); text-decoration: none; }
body.emp-shell button { font-family: inherit; }
body.emp-shell img, body.emp-shell svg { display: block; }
body.emp-shell :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; top: -50px; left: 16px; background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 0 0 6px 6px; font-weight: 600; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ══ BUTTONS ══ */
.emp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 20px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: .86rem; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; transition: var(--transition); text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; min-height: 44px; white-space: nowrap; }
.emp-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.emp-btn-primary { background: var(--brand); color: #fff !important; border-color: var(--brand); }
.emp-btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff !important; }
.emp-btn-outline { background: var(--white); color: var(--brand) !important; border-color: var(--border); }
.emp-btn-outline:hover { background: var(--brand); color: #fff !important; border-color: var(--brand); }
.emp-btn-accent { background: var(--accent); color: var(--brand-deep) !important; border-color: var(--accent); }
.emp-btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--brand-deep) !important; }
.emp-btn-ghost-w { background: rgba(255,255,255,.1); color: #fff !important; border-color: rgba(255,255,255,.28); }
.emp-btn-ghost-w:hover { background: rgba(255,255,255,.2); color: #fff !important; }
.emp-btn-danger { background: #fff; color: var(--danger) !important; border-color: var(--border); }
.emp-btn-danger:hover { background: var(--danger); color: #fff !important; border-color: var(--danger); }
.emp-btn-sm { padding: 8px 14px; font-size: .78rem; min-height: 38px; }
.emp-btn-block { width: 100%; }

/* Icon button */
.ic-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; color: var(--muted); cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.ic-btn:hover { border-color: var(--brand); color: var(--brand); }
.ic-btn svg { width: 15px; height: 15px; }
.ic-btn--danger:hover { border-color: var(--danger); color: var(--danger); }

/* ══ STATUS PILLS ══ */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 700; padding: 4px 11px; border-radius: 20px; letter-spacing: .02em; white-space: nowrap; }
.pill svg { width: 11px; height: 11px; }
.pill--pending { background: var(--accent-light); color: var(--accent-dark); }
.pill--reviewed { background: var(--brand-light); color: var(--brand); }
.pill--rejected { background: var(--danger-light); color: var(--danger); }
.pill--hired, .pill--open, .pill--success, .pill--active { background: var(--success-light); color: var(--success); }
.pill--closed, .pill--expired { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.pill--immediate { background: var(--brand-light); color: var(--brand); }
.pill--shortlisted { background: #ede9fe; color: #7c3aed; }

/* ══ LAYOUT SHELL ══ */
.emp-shell-wrap { display: flex; min-height: 100vh; }
.emp-main { flex: 1; min-width: 0; margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-height: 100vh; }
@media (max-width: 1024px) { .emp-main { margin-left: 0; } }

/* ══ SIDEBAR ══ */
.emp-sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: 1200;
  display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(ellipse 90% 40% at 100% 0%, rgba(237,144,32,.14) 0%, transparent 55%),
              linear-gradient(175deg, #0A2F57 0%, #083a6b 60%, #064A85 100%);
  padding-top: env(safe-area-inset-top, 0);
}
.emp-sidebar::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 100% 55% at 50% 0%, #000 25%, transparent 85%);
  mask-image: radial-gradient(ellipse 100% 55% at 50% 0%, #000 25%, transparent 85%);
}
.sb-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; position: relative; }
.sb-logo { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.28rem; color: #fff; display: inline-flex; align-items: baseline; letter-spacing: -.02em; }
.sb-logo-img { height: 28px; width: auto; display: block; }
.sb-close { display: none; background: none; border: none; color: rgba(255,255,255,.8); cursor: pointer; padding: 10px; line-height: 0; -webkit-tap-highlight-color: transparent; }
.sb-close svg { width: 20px; height: 20px; }
.sb-scroll { flex: 1; overflow-y: auto; padding: 4px 14px 14px; position: relative; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.sb-group { margin-top: 16px; }
.sb-label { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 0 12px 7px; }
.sb-link { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 9px; font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.82) !important; transition: var(--transition); min-height: 44px; position: relative; }
.sb-link svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .85; color: rgba(255,255,255,.7) !important; }
.sb-link:hover { background: rgba(255,255,255,.08); color: #fff !important; text-decoration: none; }
.sb-link:hover svg { color: #fff !important; opacity: 1; }
.sb-link[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff !important; font-weight: 600; }
.sb-link[aria-current="page"] svg { color: #fff !important; opacity: 1; }
.sb-link[aria-current="page"]::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3.5px; border-radius: 0 4px 4px 0; background: var(--accent); }
.sb-count { margin-left: auto; background: var(--accent); color: var(--brand-deep); font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; line-height: 1.5; }
/* Sidebar wallet card */
.sb-wallet { margin: 20px 2px 6px; padding: 15px 15px 14px; border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); position: relative; overflow: hidden; }
.sb-wallet::after { content: ''; position: absolute; top: -30px; right: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(237,144,32,.28), transparent 70%); }
.sb-wallet-label { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.sb-wallet-amt { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.32rem; margin: 2px 0 10px; color: #fff; }
.sb-wallet .emp-btn { width: 100%; position: relative; z-index: 1; }
.sb-foot { padding: 12px 20px 16px; padding-bottom: max(16px, env(safe-area-inset-bottom, 0)); font-size: .7rem; color: rgba(255,255,255,.4); position: relative; border-top: 1px solid rgba(255,255,255,.1); }
/* Mobile sidebar scrim */
.emp-scrim { position: fixed; inset: 0; background: rgba(10,25,45,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); z-index: 1100; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s; }
.emp-scrim.show { opacity: 1; visibility: visible; }
@media (max-width: 1024px) {
  .emp-sidebar { transform: translateX(-100%); transition: transform .26s ease; box-shadow: var(--shadow-lg); }
  .emp-sidebar.open { transform: translateX(0); }
  .sb-close { display: block; }
}

/* ══ TOPBAR ══ */
.emp-topbar { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top, 0); }
.topbar-inner { display: flex; align-items: center; gap: 12px; height: 66px; padding: 0 clamp(16px, 3vw, 32px); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 10px; color: var(--text); line-height: 0; -webkit-tap-highlight-color: transparent; margin-left: -8px; }
.hamburger svg { width: 22px; height: 22px; }
@media (max-width: 1024px) { .hamburger { display: block; } }
.tb-search { flex: 1; max-width: 420px; position: relative; }
.tb-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.tb-search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 38px; border: 1.5px solid var(--border); border-radius: 9px; font-family: 'Inter', sans-serif; font-size: 16px; background: var(--bg); color: var(--text); transition: var(--transition); }
.tb-search input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(8,97,169,.12); }
.tb-crumb { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; max-width: 420px; }
.tb-crumb a { color: var(--muted); font-weight: 500; }
.tb-crumb a:hover { color: var(--brand); text-decoration: none; }
.tb-crumb svg { width: 12px; height: 12px; flex-shrink: 0; }
.tb-crumb b { color: var(--brand-deep); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.tb-wallet { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 9px; background: #fff; font-size: .8rem; font-weight: 600; color: var(--brand-deep); min-height: 44px; transition: var(--transition); }
.tb-wallet:hover { border-color: var(--brand); text-decoration: none; }
.tb-wallet svg { width: 16px; height: 16px; color: var(--brand); }
.tb-wallet b { font-family: 'Sora', sans-serif; font-weight: 700; }
.tb-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 9px; border: 1.5px solid var(--border); background: #fff; color: var(--muted); cursor: pointer; transition: var(--transition); }
.tb-icon:hover { border-color: var(--brand); color: var(--brand); }
.tb-icon svg { width: 18px; height: 18px; }
.tb-dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.tb-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; flex-shrink: 0; }
@media (max-width: 640px) { .tb-wallet span.lbl { display: none; } .tb-search { display: none; } .tb-crumb { display: none; } }
/* Topbar dropdowns */
.tb-drop { position: relative; }
.tb-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 230px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.tb-drop.open .tb-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tb-menu a, .tb-menu .tb-menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: .84rem; font-weight: 500; color: var(--text); transition: var(--transition); min-height: 42px; }
.tb-menu a:hover { background: var(--brand-light); color: var(--brand); text-decoration: none; }
.tb-menu a svg { width: 15px; height: 15px; color: var(--muted); flex-shrink: 0; }
.tb-menu a:hover svg { color: var(--brand); }
.tb-menu hr { border: none; border-top: 1px solid var(--border); margin: 7px 4px; }
.tb-menu .tm-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.tb-menu .tm-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .86rem; color: var(--brand-deep); }
.tb-menu .tm-mail { font-size: .72rem; color: var(--muted); overflow-wrap: anywhere; }
.tb-menu a.tm-out { color: var(--danger); }
.tb-menu a.tm-out svg { color: var(--danger); }
.tb-menu a.tm-out:hover { background: var(--danger-light); }
.tb-menu--notif { min-width: 300px; }
.tn-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; transition: var(--transition); }
.tn-item:hover { background: var(--bg); text-decoration: none; }
.tn-ic { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--brand-light); color: var(--brand); }
.tn-ic--accent { background: var(--accent-light); color: var(--accent-dark); }
.tn-ic svg { width: 14px; height: 14px; }
.tn-item b { font-size: .78rem; color: var(--brand-deep); display: block; line-height: 1.4; font-weight: 600; }
.tn-item i { font-style: normal; font-size: .68rem; color: var(--muted); }
@media (max-width: 480px) { .tb-menu { right: 0; max-width: calc(100vw - 24px); } .tb-menu--notif { min-width: min(300px, calc(100vw - 24px)); } }

/* ══ PAGE CONTENT WRAPPER ══ */
.emp-content { flex: 1; padding: clamp(18px, 3vw, 32px); padding-bottom: 96px; display: flex; flex-direction: column; gap: clamp(16px, 2.2vw, 24px); }
@media (max-width: 576px) { .emp-content { padding: 12px; padding-bottom: 80px; gap: 12px; } }
@media (min-width: 1025px) { .emp-content { padding-bottom: clamp(18px, 3vw, 32px); } }

/* ══ PAGE HEADER ROW ══ */
.page-hd, .page-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; width: 100%; margin-bottom: clamp(16px, 2.5vw, 24px); }
.page-hd > div, .page-head > div, .page-hd-left, .page-head-left { display: flex; flex-direction: column; gap: 2px; }
.page-hd h1, .page-head h1, .page-hd-left h1, .page-head-left h1 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 800; color: var(--brand-deep); font-family: 'Sora', sans-serif; display: inline-flex; align-items: center; gap: 10px; }
.page-hd h1 svg, .page-head h1 svg, .page-hd-left h1 svg, .page-head-left h1 svg { width: 22px !important; height: 22px !important; color: var(--brand) !important; flex-shrink: 0; }
.page-hd p, .page-head p, .page-hd-left p, .page-head-left p { color: var(--muted); font-size: .86rem; margin-top: 2px; }
.page-hd-actions, .page-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ══ GENERIC CARD ══ */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-title { display: inline-flex; align-items: center; gap: 9px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .94rem; color: var(--brand-deep); }
.card-title svg { width: 16px; height: 16px; color: var(--brand); }
.card-link { font-size: .76rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; margin: -8px -10px; border-radius: 8px; }
.card-link:hover { background: var(--brand-light); text-decoration: none; }
.card-link svg { width: 13px; height: 13px; }
.card-body { padding: 18px 20px; }

/* ══ FILTER BAR ══ */
.filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-bar .f-search { flex: 1; min-width: 200px; position: relative; }
.filter-bar .f-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.filter-bar .f-search input { width: 100%; padding: 9px 12px 9px 36px; border: 1.5px solid var(--border); border-radius: 9px; font-size: .86rem; background: var(--white); color: var(--text); transition: var(--transition); min-height: 40px; font-family: 'Inter', sans-serif; }
.filter-bar .f-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,97,169,.1); }
.filter-bar select { padding: 9px 28px 9px 12px; border: 1.5px solid var(--border); border-radius: 9px; font-size: .82rem; background: var(--white); color: var(--text); cursor: pointer; min-height: 40px; font-family: 'Inter', sans-serif; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b6577' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }

/* ══ CARD-HEAD TOOLBARS: prevent horizontal overflow on narrow screens ══ */
@media (max-width: 560px) {
    .card-head { flex-wrap: wrap; }
    .toolbar, .filter-bar { width: 100%; }
    .toolbar .search-wrap, .filter-bar .f-search { min-width: 0; flex: 1 1 100%; }
    .toolbar .select, .filter-bar select { min-width: 0; flex: 1 1 100%; }
}

/* ══ STAT CARDS ══ */
.stats-grid, .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); margin-bottom: 24px; }
@media (max-width: 1200px) { .stats-grid, .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid, .stats { grid-template-columns: 1fr 1fr; gap: 10px; } }
.stat-card, .stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 18px 14px; position: relative; overflow: hidden; transition: var(--transition); }
.stat-card:hover, .stat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card::before, .stat::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3.5px; border-radius: 0 4px 4px 0; background: var(--st-bar, var(--brand)); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.stat-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--st-icbg, var(--brand-light)); color: var(--st-ic, var(--brand)); }
.stat-ic svg { width: 18px; height: 18px; }
.trend { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.trend svg { width: 11px; height: 11px; }
.trend--up { background: var(--success-light); color: var(--success); }
.trend--flat { background: var(--bg); color: var(--muted); }
.trend--down { background: var(--danger-light); color: var(--danger); }
.stat-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--brand-deep); line-height: 1.1; }
.stat-lbl { font-size: .76rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.stat-spark { position: absolute; right: 12px; bottom: 10px; width: 74px; height: 26px; opacity: .9; }
@media (max-width: 640px) { .stat-spark { display: none; } .stat-card, .stat { padding: 14px; } }
/* stat colour variants */
.stat--jobs   { --st-bar: var(--brand); }
.stat--active { --st-bar: var(--accent); --st-icbg: var(--accent-light); --st-ic: var(--accent-dark); }
.stat--apps   { --st-bar: var(--brand-dark); }
.stat--hires  { --st-bar: var(--success); --st-icbg: var(--success-light); --st-ic: var(--success); }

/* ══ DATA TABLE ══ */
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.data-table th { font-family: 'Sora', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; text-align: left; background: var(--bg); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--bg); }

/* ══ FORM ELEMENTS ══ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-.form-grid label, .cv-card label, .profile-wrap label, .post-wrap label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--text); background: var(--white); transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,97,169,.1); }
.form-hint { font-size: .74rem; color: var(--muted); }
.form-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.form-section-head { padding: 16px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.form-section-head h2 { font-family: 'Sora', sans-serif; font-size: .94rem; font-weight: 700; color: var(--brand-deep); }
.form-section-body { padding: 22px; display: grid; gap: 18px; }

/* ══ FORM CONTROLS (standalone) ══ */
.input, .select, textarea.input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 9px; font-family: 'Inter', sans-serif; font-size: 16px; background: var(--white); color: var(--text); transition: var(--transition); }
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,97,169,.12); }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6577' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
label.lbl { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }

/* ══ TOOLBAR ══ */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar .select { width: auto; min-width: 150px; }

/* ══ DATA TABLE (short) ══ */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 11px 14px; background: var(--bg); border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--border); font-size: .84rem; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #fafbfe; }
.row-actions { display: flex; gap: 7px; }

/* ══ PAGINATION ══ */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--border); font-size: .78rem; color: var(--muted); }
.pager-nav { display: flex; gap: 6px; align-items: center; }
.pager-btn { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: 8px; background: var(--white); font-size: .8rem; font-weight: 600; color: var(--text); cursor: pointer; transition: var(--transition); text-decoration: none; }
.pager-btn:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pager-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ══ AVATAR CHIPS ══ */
.ava { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-light); border: 1px solid var(--border); color: var(--brand); font-family: 'Sora', sans-serif; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ava--round { border-radius: 50%; }

/* ══ SKILL CHIPS ══ */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .66rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }



/* ══ CANDIDATE SEARCH LAYOUT ══ */
.cand-layout { display: grid; grid-template-columns: 270px 1fr; gap: clamp(14px, 1.8vw, 20px); align-items: start; }
@media (max-width: 1024px) { .cand-layout { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 82px; }
@media (max-width: 1024px) {
  .filters { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); z-index: 1300; background: var(--white); border-radius: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .26s ease; box-shadow: var(--shadow-lg); padding-bottom: env(safe-area-inset-bottom, 0); }
  .filters.open { transform: translateX(0); }
}
.f-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.f-head b { font-family: 'Sora', sans-serif; font-size: .94rem; color: var(--brand-deep); display: inline-flex; gap: 8px; align-items: center; }
.f-head b svg { width: 15px; height: 15px; color: var(--brand); }
.f-close { display: none; background: none; border: none; color: var(--muted); cursor: pointer; padding: 8px; line-height: 0; }
.f-close svg { width: 18px; height: 18px; }
@media (max-width: 1024px) { .f-close { display: block; } }
.f-group { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.f-group:last-child { border-bottom: none; }
.f-label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.f-opt { display: flex; align-items: center; gap: 9px; font-size: .82rem; padding: 7px 0; cursor: pointer; color: var(--text); min-height: 36px; }
.f-opt input { width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; cursor: pointer; }
.f-opt .n { margin-left: auto; font-size: .66rem; font-weight: 700; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 1px 8px; }
.f-clear { margin: 14px 18px; width: calc(100% - 36px); }

/* ══ CANDIDATE CARD ══ */
.cand-card { display: grid; grid-template-columns: auto 1.2fr 1fr 1fr auto; gap: 14px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.cand-card:last-child { border-bottom: none; }
.cand-card:hover { background: #fafbfe; }
@media (max-width: 900px) {
  .cand-card { grid-template-columns: auto 1fr; grid-template-areas: "ava id" "meta meta" "skill skill" "act act"; }
  .cc-id { grid-area: id; }
  .cc-ava { grid-area: ava; }
  .cc-meta { grid-area: meta; }
  .cc-skill { grid-area: skill; }
  .cc-act { grid-area: act; justify-content: stretch; }
  .cc-act .emp-btn { flex: 1; }
}
.cc-name { font-weight: 700; font-size: .88rem; color: var(--brand-deep); display: flex; align-items: center; gap: 6px; }
.cc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.cc-role { font-size: .74rem; color: var(--muted); }
.cc-meta { font-size: .76rem; color: var(--text); display: flex; flex-direction: column; gap: 3px; }
.cc-meta span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.cc-meta svg { width: 12px; height: 12px; flex-shrink: 0; }
.cc-meta b { color: var(--brand-deep); font-weight: 600; }
.cc-act { display: flex; gap: 8px; align-items: center; }
.cc-act .ic-btn { width: 38px; height: 38px; }
.cand-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.result-count { font-size: .8rem; color: var(--muted); }
.result-count b { color: var(--brand-deep); font-family: 'Sora', sans-serif; }
.mob-filter-btn { display: none; }
@media (max-width: 1024px) { .mob-filter-btn { display: inline-flex; } }

/* ══ UNLOCK PAYWALL MODAL ══ */
.unlock-price { font-family: 'Sora', sans-serif; font-weight: 700; }
.modal-scrim { position: fixed; inset: 0; background: rgba(10,25,45,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); z-index: 1400; display: none; align-items: flex-end; justify-content: center; padding: 0; }
@media (min-width: 641px) { .modal-scrim { align-items: center; padding: 24px; } }
.modal-scrim.show { display: flex; }
.modal-scrim .modal { background: var(--white); border-radius: 16px 16px 0 0; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
@media (min-width: 641px) { .modal-scrim .modal { border-radius: 16px; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-title { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.02rem; color: var(--brand-deep); display: inline-flex; align-items: center; gap: 9px; }
.modal-title svg { width: 18px; height: 18px; color: var(--brand); }
.modal-close { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--white); color: var(--muted); cursor: pointer; transition: var(--transition); }
.modal-close:hover { border-color: var(--danger); color: var(--danger); }
.modal-close svg { width: 16px; height: 16px; }
.modal-body { padding: 18px 22px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; padding-bottom: max(14px, env(safe-area-inset-bottom, 0)); border-top: 1px solid var(--border); flex-wrap: wrap; }
@media (max-width: 480px) { .modal-foot .emp-btn { flex: 1; } }
.unlock-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.unlock-list li { display: flex; gap: 9px; align-items: center; font-size: .82rem; color: var(--text); }
.unlock-list svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }
.unlock-total { display: flex; align-items: center; justify-content: space-between; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 15px; font-size: .84rem; font-weight: 600; color: var(--brand-deep); }
.unlock-total b { font-family: 'Sora', sans-serif; font-size: 1.05rem; }



/* ══ TEXT CAPITALIZE ══ */
.text-capitalize { text-transform: capitalize; }

/* ══ EMPTY STATE ══ */
.empty-state, .empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 24px; width: 100%; }
.empty-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.empty-ic svg { width: 28px; height: 28px; color: var(--brand) !important; }
.empty-state h3, .empty h3 { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700; color: var(--brand-deep); margin-top: 8px; }
.empty-state p, .empty p { font-size: .84rem; color: var(--muted); max-width: 360px; line-height: 1.5; }

/* ══ SEARCH WRAPPER ══ */
.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px !important; height: 16px !important; color: var(--muted) !important; pointer-events: none; }
.search-wrap .input { padding-left: 42px !important; }

/* ══ AI HERO CARD ══ */
.ai-hero {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff;
  padding: clamp(20px, 3vw, 30px);
  background: radial-gradient(ellipse 60% 90% at 88% 10%, rgba(237,144,32,.22) 0%, transparent 55%),
              linear-gradient(150deg, #0A2F57 0%, #064A85 55%, #0861A9 100%);
  box-shadow: var(--shadow);
}
.ai-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 70% 20%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 90% at 70% 20%, #000 25%, transparent 80%);
}
.ai-hero-grid { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.ai-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(237,144,32,.18); border: 1px solid rgba(237,144,32,.45); color: #FDD9A8; padding: 5px 13px; border-radius: 20px; margin-bottom: 12px; }
.ai-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(237,144,32,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(237,144,32,.55); } 70% { box-shadow: 0 0 0 9px rgba(237,144,32,0); } 100% { box-shadow: 0 0 0 0 rgba(237,144,32,0); } }
.ai-hero h2 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.ai-hero h2 span { color: var(--accent); }
.ai-sub { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.85); flex-wrap: wrap; }
.ai-avatars { display: inline-flex; }
.ai-avatars span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #0A2F57; background: linear-gradient(135deg, #1d6fb8, #0861A9); color: #fff; font-size: .62rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; }
.ai-avatars span + span { margin-left: -9px; }
.ai-avatars .more { background: var(--accent); color: var(--brand-deep); }
.ai-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
@media (max-width: 640px) { .ai-actions { width: 100%; } .ai-actions .emp-btn { flex: 1; min-width: 130px; } }

/* ══ CAC ALERT ══ */
.cac-alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid rgba(8,97,169,.25); background: rgba(8,97,169,.06); }
.cac-alert svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.cac-alert p { font-size: .84rem; color: var(--text); margin: 0; }
.cac-alert a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* ══ GREETING ROW ══ */
.greet-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.greet h1 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; color: var(--brand-deep); }
.greet p { color: var(--muted); font-size: .86rem; margin-top: 2px; }
.greet p b { color: var(--brand); }
.greet-date { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 7px 14px; }
.greet-date svg { width: 14px; height: 14px; color: var(--brand); }

/* ══ INLINE SVG BAR CHARTS ══ */
.charts-grid, .charts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 900px) { .charts-grid, .charts { grid-template-columns: 1fr; } }
.chart-legend { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); font-weight: 500; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.bar-chart { width: 100%; height: auto; display: block; }
.bar-chart .grid-line { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 4; }
.bar-chart .axis-lbl { font-family: 'Inter', sans-serif; font-size: 10.5px; fill: var(--muted); }
.bar-chart .val-lbl { font-family: 'Sora', sans-serif; font-size: 10.5px; font-weight: 700; fill: var(--brand-deep); }
.bar-chart .bar { rx: 5; transition: opacity var(--transition); }
.bar-chart .bar:hover { opacity: .8; }
.bar-chart .bar--zero { fill: var(--border) !important; }
.chart-note { font-size: .72rem; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.chart-note svg { width: 13px; height: 13px; color: var(--accent-dark); flex-shrink: 0; }

/* ══ PIPELINE ══ */
.pipe { display: flex; flex-direction: column; gap: 14px; }
.pipe-stage { display: grid; grid-template-columns: 150px 1fr 42px; align-items: center; gap: 12px; }
@media (max-width: 520px) { .pipe-stage { grid-template-columns: 112px 1fr 36px; } }
.pipe-lbl { font-size: .78rem; font-weight: 600; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.pipe-lbl svg { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }
.pipe-track { height: 26px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.pipe-fill { height: 100%; border-radius: 8px; display: flex; align-items: center; min-width: 4px; }
.pipe-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: .92rem; color: var(--brand-deep); text-align: right; }
.pipe-hint { margin-top: 4px; font-size: .74rem; color: var(--muted); display: flex; gap: 7px; align-items: flex-start; background: var(--bg); border: 1px dashed var(--border); border-radius: 10px; padding: 11px 13px; }
.pipe-hint svg { width: 14px; height: 14px; color: var(--accent-dark); flex-shrink: 0; margin-top: 2px; }

/* ══ PROFILE COMPLETION RING ══ */
.pf { display: flex; align-items: center; gap: 18px; }
.pf-ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.pf-ring svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.pf-ring .track { fill: none; stroke: var(--bg); stroke-width: 9; }
.pf-ring .prog { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 264; }
.pf-ring .pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--brand-deep); }
.pf-tasks { list-style: none; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pf-task { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--text); }
.pf-task svg { width: 15px; height: 15px; flex-shrink: 0; }
.pf-task.done { color: var(--muted); text-decoration: line-through; }
.pf-task.done svg { color: var(--success); }
.pf-task.todo svg { color: var(--accent-dark); }
.pf-task a { font-weight: 600; }

/* ══ JOB CARD (list variant) ══ */
.job-list-table { display: flex; flex-direction: column; }
.job-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.job-row:last-child { border-bottom: none; }
.job-row-info h3 { font-size: .88rem; font-weight: 700; color: var(--brand-deep); line-height: 1.4; }
.job-row-info h3 a { color: inherit; }
.job-row-info h3 a:hover { color: var(--brand); }
.job-row-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: .74rem; color: var(--muted); }
.job-row-meta svg { width: 12px; height: 12px; }
.job-row-actions { display: flex; gap: 6px; flex-wrap: nowrap; align-items: center; }

/* ══ RECENTLY POSTED JOBS (dashboard) ══ */
.job-list { list-style: none; display: flex; flex-direction: column; }
.job-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.job-item:last-child { border-bottom: none; padding-bottom: 2px; }
.job-item:first-child { padding-top: 2px; }
.job-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--brand); flex-shrink: 0; }
.job-ic svg { width: 16px; height: 16px; }
.job-info { min-width: 0; flex: 1; }
.job-title { font-weight: 600; font-size: .82rem; color: var(--text); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-title a { color: inherit; }
.job-title a:hover { color: var(--brand); text-decoration: none; }
.job-sub { font-size: .7rem; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.job-sub svg { width: 11px; height: 11px; }
.job-views { flex-shrink: 0; text-align: right; }
.job-views b { display: block; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .86rem; color: var(--brand-deep); line-height: 1.2; }
.job-views i { font-style: normal; font-size: .64rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ══ CANDIDATE / APP AVATAR ══ */
.app-ava { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-light); border: 1px solid var(--border); color: var(--brand); font-family: 'Sora', sans-serif; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ══ CATEGORY BARS ══ */
.cat-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cat-item { display: flex; flex-direction: column; gap: 6px; }
.cat-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; }
.cat-name { font-weight: 600; color: var(--text); display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.cat-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-dot { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.cat-jobs { font-size: .72rem; font-weight: 700; color: var(--muted); flex-shrink: 0; }
.cat-track { height: 7px; border-radius: 20px; background: var(--bg); overflow: hidden; }
.cat-fill { height: 100%; border-radius: 20px; }

/* ══ INSIGHT ROWS ══ */
.ins-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.ins-item:first-child { padding-top: 2px; }
.ins-item:last-child { border-bottom: none; padding-bottom: 2px; }
.ins-title { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.ins-nums { font-size: .7rem; color: var(--muted); white-space: nowrap; text-align: right; }
.ins-nums b { color: var(--brand-deep); font-family: 'Sora', sans-serif; }
.ins-bar-row { grid-column: 1/-1; display: flex; align-items: center; gap: 10px; }
.ins-track { flex: 1; height: 7px; border-radius: 20px; background: var(--bg); overflow: hidden; }
.ins-fill { height: 100%; border-radius: 20px; min-width: 3px; }
.ins-rate { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .74rem; color: var(--brand-deep); width: 44px; text-align: right; flex-shrink: 0; }
.ins-hint { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ins-tip { font-size: .7rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.ins-tip svg { width: 12px; height: 12px; color: var(--accent-dark); flex-shrink: 0; }
.ins-tip--good svg { color: var(--success); }

/* ══ CLOSING SOON ══ */
.close-item { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.close-item:first-child { padding-top: 2px; }
.close-item:last-child { border-bottom: none; padding-bottom: 2px; }.close-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.close-ic svg { width: 16px; height: 16px; }
.close-ic--warn { background: var(--danger-light); color: var(--danger); }
.close-ic--ok { background: var(--brand-light); color: var(--brand); }
.close-info { min-width: 0; flex: 1; }
.close-title { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; }
.close-sub { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.close-sub b { color: var(--brand-deep); }

/* ══ THREE-COLUMN ROW ══ */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 1100px) { .tri { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .tri { grid-template-columns: 1fr; } }

/* ══ DUO ROW ══ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* ══ INS-BENCH ══ */
.ins-bench { font-size: .7rem; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; align-items: center; gap: 6px; }

/* ══ APP LIST ══ */
.app-list { list-style: none; display: flex; flex-direction: column; }
.app-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.app-item:last-child { border-bottom: none; }
.app-info { min-width: 0; flex: 1; }
.app-name { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; }
.app-meta { font-size: .7rem; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.app-meta svg { width: 11px; height: 11px; }

/* ══ DASHBOARD FOOTER ══ */
.dash-foot { border-top: 1px solid var(--border); background: #fff; padding: 16px clamp(16px, 3vw, 32px); padding-bottom: max(16px, env(safe-area-inset-bottom, 0)); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .74rem; color: var(--muted); }
.dash-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.dash-foot a { color: var(--muted); font-weight: 500; }
.dash-foot a:hover { color: var(--brand); text-decoration: none; }

/* ══ MOBILE CTA BAR ══ */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; gap: 10px; padding: 10px clamp(14px, 4vw, 18px); padding-bottom: max(10px, env(safe-area-inset-bottom, 0)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid var(--border); transition: transform .28s ease; }
.mobile-cta.hidden { transform: translateY(110%); }
.mobile-cta .emp-btn { flex: 1; }
@media (max-width: 1024px) { .mobile-cta { display: flex; } }

/* ══ TRANSACTION STATS ══ */
.stats--txn { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .stats--txn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats--txn { grid-template-columns: 1fr; } }

/* ══ PROGRESS BAR (profile-edit, post-job) ══ */
.progress-bar { position: sticky; top: 70px; z-index: 900; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 0; box-shadow: 0 2px 8px rgba(10,47,87,.06); }
.progress-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.progress-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.progress-track { flex: 1; max-width: 360px; height: 8px; background: var(--border); border-radius: 20px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), #1a7fd4); border-radius: 20px; transition: width .6s ease; }
.progress-text { font-size: .82rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.progress-tip { font-size: .78rem; color: var(--accent-dark); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.progress-tip svg { width: 13px; height: 13px; }
.progress-actions { display: flex; gap: 8px; flex-shrink: 0; }
@keyframes bar-pulse { 0%,100% { opacity:1; } 50% { opacity:.65; } }
.progress-fill.pulse { animation: bar-pulse .5s ease 2; }
@media (max-width: 640px) { .progress-inner { flex-direction: column; align-items: flex-start; gap: 10px; } .progress-tip { display: none; } }

/* ══ PROFILE EDIT PAGE ══ */
.profile-page { padding: 16px 0 72px; }
.profile-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

/* ══ CV CARD (accordion sections) ══ */
.cv-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.cv-card.is-complete { border-left-color: var(--brand); }
.cv-card-header { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 20px 24px 16px; flex-wrap: wrap; -webkit-tap-highlight-color: transparent; user-select: none; }
.cv-card-header::-webkit-details-marker { display: none; }
.cv-card-header::marker { display: none; }
.cv-card-header:hover { background: #fafbfd; }
.cv-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.cv-card-title svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.cv-card-done { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; white-space: nowrap; margin-left: auto; }
.cv-card-done.complete  { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.cv-card-done.incomplete { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.cv-card-done.optional  { background: var(--brand-light); color: var(--brand); }
.cv-chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .22s ease; }
.cv-card:not([open]) .cv-chev { transform: rotate(-90deg); }
.cv-card .cv-card-body { padding: 0 24px 24px; animation: cv-open .18s ease; }
@keyframes cv-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cv-card .cv-card-body { animation: none; } .cv-chev { transition: none; } }
.cv-card-hint { font-size: .84rem; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; line-height: 1.6; }
.cv-gain-tip { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-dark); background: #fff3e0; border: 1px solid #fde3bf; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; white-space: nowrap; margin-left: auto; margin-right: 8px; }
.cv-gain-tip svg { width: 11px; height: 11px; }
@keyframes next-glow { 0% { box-shadow: 0 0 0 0 rgba(8,97,169,.35); } 60% { box-shadow: 0 0 0 6px rgba(8,97,169,0); } 100% { box-shadow: none; } }
.cv-card.next-up { animation: next-glow .7s ease forwards; border-color: var(--brand) !important; }

/* ══ FORM GRID ══ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-grid.cols-1 { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: 1/-1; }
.form-grid label, .cv-card label, .profile-wrap label, .post-wrap label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-grid label .opt, .cv-card label .opt, .profile-wrap label .opt, .post-wrap label .opt { font-weight: 400; color: var(--muted); font-size: .78rem; }
.char-count { font-size: .74rem; color: var(--muted); text-align: right; margin-top: 3px; }
.required-star { color: #e53e3e; font-size: .8rem; margin-left: 2px; }
.form-check { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--text); cursor: pointer; }
.form-check input[type=checkbox] { width: 16px; height: 16px; min-height: 16px; accent-color: var(--brand); cursor: pointer; }

@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } .form-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .form-grid.cols-3 { grid-template-columns: 1fr; } }

/* ══ LOGO UPLOAD ══ */
.logo-upload { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.logo-preview { width: 96px; height: 96px; border-radius: 12px; border: 2px dashed var(--border); background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; transition: var(--transition); cursor: pointer; position: relative; }
.logo-preview:hover { border-color: var(--brand); background: var(--brand-light); }
.logo-preview svg { width: 36px; height: 36px; color: var(--muted); }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-overlay { position: absolute; inset: 0; background: rgba(8,97,169,.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); border-radius: 10px; }
.logo-preview:hover .logo-overlay { opacity: 1; }
.logo-overlay svg { width: 22px; height: 22px; color: var(--white); }
.logo-upload-body { display: flex; flex-direction: column; gap: 5px; }
.logo-upload-body p { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .logo-upload { flex-direction: column; align-items: flex-start; } }

/* ══ PREFERENCE PILLS ══ */
.pref-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pref-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 20px; font-size: .84rem; font-weight: 500; cursor: pointer; transition: var(--transition); user-select: none; background: var(--white); }
.pref-pill input { width: 14px; height: 14px; min-height: 14px; accent-color: var(--brand); cursor: pointer; }
.pref-pill:has(input:checked) { background: var(--brand-light); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ══ FORM ACTIONS ══ */
.form-actions { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); margin-top: 20px; flex-wrap: wrap; }
.form-actions .autosave-note { font-size: .76rem; color: var(--muted); margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.form-actions .autosave-note svg { width: 13px; height: 13px; color: var(--success); }

/* ══ VERIFIED BANNER ══ */
.verified-banner { display: flex; align-items: center; gap: 14px; background: var(--brand-light); border: 1px solid #c8dff2; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.verified-banner svg { width: 28px; height: 28px; color: var(--brand); flex-shrink: 0; }
.verified-banner-body { flex: 1; }
.verified-banner-body strong { display: block; font-size: .9rem; font-weight: 700; color: var(--brand-deep); margin-bottom: 2px; }
.verified-banner-body p { font-size: .8rem; color: var(--muted); margin: 0; }
.verified-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--brand); color: var(--white); padding: 4px 11px; border-radius: 20px; flex-shrink: 0; }
.verified-tag svg { width: 12px; height: 12px; }

/* ══ DOC UPLOAD ZONE ══ */
.doc-upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg); position: relative; }
.doc-upload-zone:hover, .doc-upload-zone.drag-over { border-color: var(--brand); background: var(--brand-light); }
.doc-upload-zone.drag-over { transform: scale(1.01); }
.doc-upload-idle { display: flex; flex-direction: column; align-items: center; }
.doc-upload-done { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.doc-file-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.doc-file-size { font-size: .78rem; color: var(--muted); }
.doc-remove-btn { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); border-radius: 6px; padding: 4px 8px; cursor: pointer; display: inline-flex; align-items: center; line-height: 0; transition: var(--transition); margin-left: 4px; }
.doc-remove-btn:hover { background: #fee2e2; }
.verify-status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 20px; margin-top: 12px; }
.verify-status.pending  { background: #fff7ed; color: var(--accent-dark); border: 1px solid #fde3bf; }
.verify-status.approved { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.verify-status svg { width: 14px; height: 14px; }

/* ══ BOTTOM ACTIONS ══ */
.bottom-actions { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; border-top: 1px solid var(--border); background: var(--white); border-radius: 12px; }
@media (max-width: 640px) { .bottom-actions { flex-direction: column; } }

/* ══ POST JOB WRAP ══ */
.post-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px 100px; }
@media (max-width: 640px) { .post-wrap { padding-bottom: 72px; } }

.post-wrap input[type="text"],
.post-wrap input[type="email"],
.post-wrap input[type="tel"],
.post-wrap input[type="url"],
.post-wrap input[type="date"],
.post-wrap input[type="number"],
.post-wrap select,
.post-wrap textarea,
.profile-wrap input[type="text"],
.profile-wrap input[type="email"],
.profile-wrap input[type="tel"],
.profile-wrap input[type="url"],
.profile-wrap input[type="date"],
.profile-wrap input[type="number"],
.profile-wrap select,
.profile-wrap textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
}

.post-wrap input[type="text"]:focus,
.post-wrap input[type="email"]:focus,
.post-wrap input[type="tel"]:focus,
.post-wrap input[type="url"]:focus,
.post-wrap input[type="date"]:focus,
.post-wrap input[type="number"]:focus,
.post-wrap select:focus,
.post-wrap textarea:focus,
.profile-wrap input[type="text"]:focus,
.profile-wrap input[type="email"]:focus,
.profile-wrap input[type="tel"]:focus,
.profile-wrap input[type="url"]:focus,
.profile-wrap input[type="date"]:focus,
.profile-wrap input[type="number"]:focus,
.profile-wrap select:focus,
.profile-wrap textarea:focus {
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(8, 97, 169, 0.12);
}

.post-wrap select,
.profile-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6577' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.post-wrap textarea,
.profile-wrap textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.65;
}

/* ══ JOB CARD (accordion sections for post/edit) ══ */
.job-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; overflow: hidden; }
.job-card[open] .job-card-body { display: block; }
.job-card-header { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 18px 24px; -webkit-tap-highlight-color: transparent; user-select: none; }
.job-card-header::-webkit-details-marker { display: none; }
.job-card-header::marker { display: none; }
.job-card-header:hover { background: #fafbfd; }
.job-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-family: 'Sora', 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); }
.job-card-title svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.job-card-body { padding: 0 24px 24px; }
.job-card-chev { width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); transition: transform .2s ease; }
.job-card:not([open]) .job-card-chev { transform: rotate(-90deg); }

/* ══ TOGGLE ══ */
.toggle-wrap { display: flex; align-items: center; gap: 12px; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 24px; cursor: pointer; transition: .25s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: .25s; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.toggle input:checked + .toggle-slider { background: var(--brand); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }
.toggle-sub { font-size: .76rem; color: var(--muted); display: block; margin-top: 2px; }

/* ══ METHOD PILLS ══ */
.method-group { display: flex; flex-wrap: wrap; gap: 8px; }
.method-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-size: .85rem; font-weight: 500; cursor: pointer; transition: var(--transition); background: var(--white); }
.method-pill input { accent-color: var(--brand); width: 15px; height: 15px; min-height: 15px; }
.method-pill:has(input:checked) { background: var(--brand-light); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ══ TAG INPUT ══ */
.tag-input-wrap { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: var(--bg); min-height: 48px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; cursor: text; transition: border-color var(--transition); }
.tag-input-wrap:focus-within { border-color: var(--brand); background: var(--white); }
.skill-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--brand-light); color: var(--brand); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.skill-tag button { background: none; border: none; cursor: pointer; color: var(--brand); line-height: 0; padding: 0; font-size: 1rem; opacity: .7; }
.skill-tag button:hover { opacity: 1; }
.tag-input { border: none; outline: none; background: transparent; font-family: 'Inter', sans-serif; font-size: .88rem; min-width: 140px; color: var(--text); padding: 2px 4px; }

/* ══ SALARY CONDITIONAL ══ */
.salary-conditional { display: none; }
.salary-conditional.visible { display: grid; }
.salary-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.salary-range span { text-align: center; color: var(--muted); font-size: .85rem; }
@media (max-width: 640px) { .salary-range { grid-template-columns: 1fr; } .salary-range span { display: none; } }

/* ══ LANGUAGE ROW ══ */
.lang-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.lang-row .remove-lang { background: none; border: none; cursor: pointer; color: var(--muted); padding: 8px; border-radius: 6px; line-height: 0; transition: var(--transition); }
.lang-row .remove-lang:hover { color: var(--danger); }
.lang-row .remove-lang svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .lang-row { grid-template-columns: 1fr 1fr auto; } }

/* ══ BOOST ROW ══ */
.boost-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.boost-row.featured { border-color: #fde3bf; background: #fff9f0; }
.boost-row.urgent { border-color: #fecaca; background: #fef9f9; }
.boost-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.boost-icon.orange { background: #fff3e0; }
.boost-icon.red { background: #fef2f2; }
.boost-icon svg { width: 18px; height: 18px; }
.boost-icon.orange svg { color: var(--accent); }
.boost-icon.red svg { color: var(--danger); }
.boost-body { flex: 1; min-width: 0; }
.boost-body-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.boost-body-hd strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.boost-body-desc { font-size: .78rem; color: var(--muted); line-height: 1.55; }
.boost-tag { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 9px; border-radius: 20px; flex-shrink: 0; }
.boost-tag.plan { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }

/* ══ PUBLISH BAR ══ */
.publish-bar { position: fixed; bottom: 0; left: var(--sidebar-w); right: 0; z-index: 1000; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(10,47,87,.15); padding: 14px 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0)); transition: transform .3s ease; }
.publish-bar.bar-hidden { transform: translateY(110%); }
.publish-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 clamp(16px, 3vw, 32px); }
.publish-bar-info { display: flex; flex-direction: column; }
.publish-bar-info strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.publish-bar-info span { font-size: .76rem; color: var(--muted); }
.publish-bar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1024px) { .publish-bar { display: none !important; } }


/* ══ QUESTION ITEMS (custom questions) ══ */
.question-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: var(--bg); margin-bottom: 10px; }
.question-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.question-handle { cursor: grab; color: var(--muted); }
.question-handle svg { width: 16px; height: 16px; }
.question-num { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--border); padding: 2px 7px; border-radius: 20px; }
.question-remove { background: none; border: none; cursor: pointer; color: var(--muted); margin-left: auto; line-height: 0; padding: 4px; border-radius: 6px; }
.question-remove:hover { color: var(--danger); background: #fef2f2; }
.question-remove svg { width: 14px; height: 14px; }

/* ══ MILESTONES ══ */
.milestone-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; z-index: 2; background: var(--white); border: 2px solid #c8dff2; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.milestone-marker.achieved { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(237,144,32,.22); }
.milestone-marker.next { border-color: var(--accent); animation: marker-pulse 1.6s ease infinite; }
@keyframes marker-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(237,144,32,.4); } 50% { box-shadow: 0 0 0 5px rgba(237,144,32,0); } }
.milestone-label { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 700; white-space: nowrap; letter-spacing: .03em; color: #b0bec5; transition: color .35s ease; }
.milestone-marker.achieved .milestone-label, .milestone-marker.next .milestone-label { color: var(--accent-dark); }
.wallet-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-deep); color: var(--white); padding: 5px 13px; border-radius: 20px; font-size: .78rem; font-weight: 700; flex-shrink: 0; cursor: default; user-select: none; transition: background .3s ease; }
.wallet-chip svg { width: 13px; height: 13px; }
.wallet-chip.has-balance { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: var(--brand-deep); }
.milestone-toast { position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-160px); z-index: 1200; background: var(--white); border-radius: 16px; padding: 18px 20px 18px 18px; box-shadow: 0 20px 60px rgba(10,47,87,.22), 0 4px 16px rgba(10,47,87,.1); border-left: 5px solid var(--accent); display: flex; align-items: center; gap: 14px; min-width: 320px; max-width: 480px; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; opacity: 0; pointer-events: none; }
.milestone-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.toast-emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.toast-body { flex: 1; }
.toast-body strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.toast-body p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.toast-close { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1.3rem; line-height: 1; padding: 4px; border-radius: 6px; flex-shrink: 0; align-self: flex-start; transition: var(--transition); }
.toast-close:hover { background: var(--bg); color: var(--text); }
.milestone-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-size: .8rem; flex-wrap: wrap; }
.milestone-item { display: inline-flex; align-items: center; gap: 6px; }
.milestone-item .m-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: .73rem; font-weight: 700; }
.milestone-item .m-badge.locked { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.milestone-item .m-badge.next { background: #fff3e0; color: var(--accent-dark); border: 1px solid #fde3bf; }
.milestone-item .m-badge.achieved { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.milestone-divider { color: var(--border); font-size: 1rem; }
@media (max-width: 640px) { .milestone-toast { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); } .wallet-chip span.wallet-label { display: none; } }

/* ══ INFO NOTE ══ */
.info-note { display: flex; align-items: flex-start; gap: 10px; background: var(--brand-light); border: 1px solid #c8dff2; border-radius: var(--radius); padding: 12px 14px; font-size: .82rem; color: var(--brand-deep); line-height: 1.6; }
.info-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--brand); margin-top: 1px; }

/* ══ REFERRAL STYLES ══ */
.ref-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; }
.ref-toggle-row label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }
.ref-entry { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); margin-bottom: 14px; position: relative; }
.ref-entry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ref-entry-num { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* ══ CONTENT ANIMATION ══ */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.emp-content > *:not(.modal-overlay) { animation: rise .34s ease both; }
.emp-content > *:nth-child(2) { animation-delay: .05s; }
.emp-content > *:nth-child(3) { animation-delay: .1s; }
.emp-content > *:nth-child(4) { animation-delay: .15s; }
.emp-content > *:nth-child(5) { animation-delay: .2s; }
.emp-content > *:nth-child(n+6) { animation-delay: .24s; }
.app-ava { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-light); border: 1px solid var(--border); color: var(--brand); font-family: Sora, sans-serif; font-weight: 700; font-size: .8rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.close-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.close-ic svg { width: 16px; height: 16px; }
.close-ic--warn { background: var(--danger-light); color: var(--danger); }
.close-ic--ok { background: var(--brand-light); color: var(--brand); }
.close-info { min-width: 0; flex: 1; }
.close-title { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; }
.close-sub { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.close-sub b { color: var(--brand-deep); }

/* ══ THREE-COLUMN ROW ══ */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 1100px) { .tri { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .tri { grid-template-columns: 1fr; } }

/* ══ DUO ROW ══ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* ══ INS-BENCH ══ */
.ins-bench { font-size: .7rem; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; align-items: center; gap: 6px; }

/* ══ APP LIST ══ */
.app-list { list-style: none; display: flex; flex-direction: column; }
.app-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.app-item:last-child { border-bottom: none; }
.app-info { min-width: 0; flex: 1; }
.app-name { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; }
.app-meta { font-size: .7rem; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.app-meta svg { width: 11px; height: 11px; }

/* ══ DASHBOARD FOOTER ══ */
.dash-foot { border-top: 1px solid var(--border); background: #fff; padding: 16px clamp(16px, 3vw, 32px); padding-bottom: max(16px, env(safe-area-inset-bottom, 0)); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .74rem; color: var(--muted); }
.dash-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.dash-foot a { color: var(--muted); font-weight: 500; }
.dash-foot a:hover { color: var(--brand); text-decoration: none; }

/* ══ MOBILE CTA BAR ══ */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; gap: 10px; padding: 10px clamp(14px, 4vw, 18px); padding-bottom: max(10px, env(safe-area-inset-bottom, 0)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid var(--border); transition: transform .28s ease; }
.mobile-cta.hidden { transform: translateY(110%); }
.mobile-cta .emp-btn { flex: 1; }
@media (max-width: 1024px) { .mobile-cta { display: flex; } }

/* ══ TRANSACTION STATS ══ */
.stats--txn { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .stats--txn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats--txn { grid-template-columns: 1fr; } }

/* ══ PROGRESS BAR (profile-edit, post-job) ══ */
.progress-bar { position: sticky; top: 70px; z-index: 900; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 0; box-shadow: 0 2px 8px rgba(10,47,87,.06); }
.progress-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.progress-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.progress-track { flex: 1; max-width: 360px; height: 8px; background: var(--border); border-radius: 20px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), #1a7fd4); border-radius: 20px; transition: width .6s ease; }
.progress-text { font-size: .82rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.progress-tip { font-size: .78rem; color: var(--accent-dark); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.progress-tip svg { width: 13px; height: 13px; }
.progress-actions { display: flex; gap: 8px; flex-shrink: 0; }
@keyframes bar-pulse { 0%,100% { opacity:1; } 50% { opacity:.65; } }
.progress-fill.pulse { animation: bar-pulse .5s ease 2; }
@media (max-width: 640px) { .progress-inner { flex-direction: column; align-items: flex-start; gap: 10px; } .progress-tip { display: none; } }

/* ══ PROFILE EDIT PAGE ══ */
.profile-page { padding: 16px 0 72px; }
.profile-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

/* ══ CV CARD (accordion sections) ══ */
.cv-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.cv-card.is-complete { border-left-color: var(--brand); }
.cv-card-header { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 20px 24px 16px; flex-wrap: wrap; -webkit-tap-highlight-color: transparent; user-select: none; }
.cv-card-header::-webkit-details-marker { display: none; }
.cv-card-header::marker { display: none; }
.cv-card-header:hover { background: #fafbfd; }
.cv-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.cv-card-title svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.cv-card-done { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; white-space: nowrap; margin-left: auto; }
.cv-card-done.complete  { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.cv-card-done.incomplete { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.cv-card-done.optional  { background: var(--brand-light); color: var(--brand); }
.cv-chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .22s ease; }
.cv-card:not([open]) .cv-chev { transform: rotate(-90deg); }
.cv-card .cv-card-body { padding: 0 24px 24px; animation: cv-open .18s ease; }
@keyframes cv-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cv-card .cv-card-body { animation: none; } .cv-chev { transition: none; } }
.cv-card-hint { font-size: .84rem; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; line-height: 1.6; }
.cv-gain-tip { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-dark); background: #fff3e0; border: 1px solid #fde3bf; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; white-space: nowrap; margin-left: auto; margin-right: 8px; }
.cv-gain-tip svg { width: 11px; height: 11px; }
@keyframes next-glow { 0% { box-shadow: 0 0 0 0 rgba(8,97,169,.35); } 60% { box-shadow: 0 0 0 6px rgba(8,97,169,0); } 100% { box-shadow: none; } }
.cv-card.next-up { animation: next-glow .7s ease forwards; border-color: var(--brand) !important; }

/* ══ FORM GRID ══ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }


/* ══ LOGO UPLOAD ══ */
.logo-upload { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.logo-preview { width: 96px; height: 96px; border-radius: 12px; border: 2px dashed var(--border); background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; transition: var(--transition); cursor: pointer; position: relative; }
.logo-preview:hover { border-color: var(--brand); background: var(--brand-light); }
.logo-preview svg { width: 36px; height: 36px; color: var(--muted); }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-overlay { position: absolute; inset: 0; background: rgba(8,97,169,.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); border-radius: 10px; }
.logo-preview:hover .logo-overlay { opacity: 1; }
.logo-overlay svg { width: 22px; height: 22px; color: var(--white); }
.logo-upload-body { display: flex; flex-direction: column; gap: 5px; }
.logo-upload-body p { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .logo-upload { flex-direction: column; align-items: flex-start; } }

/* ══ PREFERENCE PILLS ══ */
.pref-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pref-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 20px; font-size: .84rem; font-weight: 500; cursor: pointer; transition: var(--transition); user-select: none; background: var(--white); }
.pref-pill input { width: 14px; height: 14px; min-height: 14px; accent-color: var(--brand); cursor: pointer; }
.pref-pill:has(input:checked) { background: var(--brand-light); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ══ FORM ACTIONS ══ */
.form-actions { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); margin-top: 20px; flex-wrap: wrap; }
.form-actions .autosave-note { font-size: .76rem; color: var(--muted); margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.form-actions .autosave-note svg { width: 13px; height: 13px; color: var(--success); }

/* ══ VERIFIED BANNER ══ */
.verified-banner { display: flex; align-items: center; gap: 14px; background: var(--brand-light); border: 1px solid #c8dff2; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.verified-banner svg { width: 28px; height: 28px; color: var(--brand); flex-shrink: 0; }
.verified-banner-body { flex: 1; }
.verified-banner-body strong { display: block; font-size: .9rem; font-weight: 700; color: var(--brand-deep); margin-bottom: 2px; }
.verified-banner-body p { font-size: .8rem; color: var(--muted); margin: 0; }
.verified-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--brand); color: var(--white); padding: 4px 11px; border-radius: 20px; flex-shrink: 0; }
.verified-tag svg { width: 12px; height: 12px; }

/* ══ DOC UPLOAD ZONE ══ */
.doc-upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg); position: relative; }
.doc-upload-zone:hover, .doc-upload-zone.drag-over { border-color: var(--brand); background: var(--brand-light); }
.doc-upload-zone.drag-over { transform: scale(1.01); }
.doc-upload-idle { display: flex; flex-direction: column; align-items: center; }
.doc-upload-done { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.doc-file-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.doc-file-size { font-size: .78rem; color: var(--muted); }
.doc-remove-btn { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); border-radius: 6px; padding: 4px 8px; cursor: pointer; display: inline-flex; align-items: center; line-height: 0; transition: var(--transition); margin-left: 4px; }
.doc-remove-btn:hover { background: #fee2e2; }
.verify-status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 20px; margin-top: 12px; }
.verify-status.pending  { background: #fff7ed; color: var(--accent-dark); border: 1px solid #fde3bf; }
.verify-status.approved { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.verify-status svg { width: 14px; height: 14px; }

/* ══ BOTTOM ACTIONS ══ */
.bottom-actions { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; border-top: 1px solid var(--border); background: var(--white); border-radius: 12px; }
@media (max-width: 640px) { .bottom-actions { flex-direction: column; } }

/* ══ POST JOB WRAP ══ */
.post-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px 100px; }
@media (max-width: 640px) { .post-wrap { padding-bottom: 72px; } }

/* ══ JOB CARD (accordion sections for post/edit) ══ */
.job-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; overflow: hidden; }
.job-card[open] .job-card-body { display: block; }
.job-card-header { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 18px 24px; -webkit-tap-highlight-color: transparent; user-select: none; }
.job-card-header::-webkit-details-marker { display: none; }
.job-card-header::marker { display: none; }
.job-card-header:hover { background: #fafbfd; }
.job-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-family: 'Sora', 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); }
.job-card-title svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.job-card-body { padding: 0 24px 24px; }
.job-card-chev { width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); transition: transform .2s ease; }
.job-card:not([open]) .job-card-chev { transform: rotate(-90deg); }

/* ══ TOGGLE ══ */
.toggle-wrap { display: flex; align-items: center; gap: 12px; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 24px; cursor: pointer; transition: .25s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: .25s; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.toggle input:checked + .toggle-slider { background: var(--brand); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }
.toggle-sub { font-size: .76rem; color: var(--muted); display: block; margin-top: 2px; }

/* ══ METHOD PILLS ══ */
.method-group { display: flex; flex-wrap: wrap; gap: 8px; }
.method-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-size: .85rem; font-weight: 500; cursor: pointer; transition: var(--transition); background: var(--white); }
.method-pill input { accent-color: var(--brand); width: 15px; height: 15px; min-height: 15px; }
.method-pill:has(input:checked) { background: var(--brand-light); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ══ TAG INPUT ══ */
.tag-input-wrap { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: var(--bg); min-height: 48px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; cursor: text; transition: border-color var(--transition); }
.tag-input-wrap:focus-within { border-color: var(--brand); background: var(--white); }
.skill-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--brand-light); color: var(--brand); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.skill-tag button { background: none; border: none; cursor: pointer; color: var(--brand); line-height: 0; padding: 0; font-size: 1rem; opacity: .7; }
.skill-tag button:hover { opacity: 1; }
.tag-input { border: none; outline: none; background: transparent; font-family: 'Inter', sans-serif; font-size: .88rem; min-width: 140px; color: var(--text); padding: 2px 4px; }

/* ══ SALARY CONDITIONAL ══ */
.salary-conditional { display: none; }
.salary-conditional.visible { display: grid; }
.salary-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.salary-range span { text-align: center; color: var(--muted); font-size: .85rem; }
@media (max-width: 640px) { .salary-range { grid-template-columns: 1fr; } .salary-range span { display: none; } }

/* ══ LANGUAGE ROW ══ */
.lang-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.lang-row .remove-lang { background: none; border: none; cursor: pointer; color: var(--muted); padding: 8px; border-radius: 6px; line-height: 0; transition: var(--transition); }
.lang-row .remove-lang:hover { color: var(--danger); }
.lang-row .remove-lang svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .lang-row { grid-template-columns: 1fr 1fr auto; } }

/* ══ BOOST ROW ══ */
.boost-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.boost-row.featured { border-color: #fde3bf; background: #fff9f0; }
.boost-row.urgent { border-color: #fecaca; background: #fef9f9; }
.boost-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.boost-icon.orange { background: #fff3e0; }
.boost-icon.red { background: #fef2f2; }
.boost-icon svg { width: 18px; height: 18px; }
.boost-icon.orange svg { color: var(--accent); }
.boost-icon.red svg { color: var(--danger); }
.boost-body { flex: 1; min-width: 0; }
.boost-body-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.boost-body-hd strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.boost-body-desc { font-size: .78rem; color: var(--muted); line-height: 1.55; }
.boost-tag { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 9px; border-radius: 20px; flex-shrink: 0; }
.boost-tag.plan { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }

/* ══ PUBLISH BAR ══ */
.publish-bar { position: fixed; bottom: 0; left: var(--sidebar-w); right: 0; z-index: 1000; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(10,47,87,.15); padding: 14px 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0)); transition: transform .3s ease; }
.publish-bar.bar-hidden { transform: translateY(110%); }
.publish-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 clamp(16px, 3vw, 32px); }
.publish-bar-info { display: flex; flex-direction: column; }
.publish-bar-info strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.publish-bar-info span { font-size: .76rem; color: var(--muted); }
.publish-bar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1024px) { .publish-bar { display: none !important; } }

/* ══ QUESTION ITEMS (custom questions) ══ */
.question-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: var(--bg); margin-bottom: 10px; }
.question-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.question-handle { cursor: grab; color: var(--muted); }
.question-handle svg { width: 16px; height: 16px; }
.question-num { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--border); padding: 2px 7px; border-radius: 20px; }
.question-remove { background: none; border: none; cursor: pointer; color: var(--muted); margin-left: auto; line-height: 0; padding: 4px; border-radius: 6px; }
.question-remove:hover { color: var(--danger); background: #fef2f2; }
.question-remove svg { width: 14px; height: 14px; }

/* ══ MILESTONES ══ */
.milestone-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; z-index: 2; background: var(--white); border: 2px solid #c8dff2; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.milestone-marker.achieved { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(237,144,32,.22); }
.milestone-marker.next { border-color: var(--accent); animation: marker-pulse 1.6s ease infinite; }
@keyframes marker-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(237,144,32,.4); } 50% { box-shadow: 0 0 0 5px rgba(237,144,32,0); } }
.milestone-label { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 700; white-space: nowrap; letter-spacing: .03em; color: #b0bec5; transition: color .35s ease; }
.milestone-marker.achieved .milestone-label, .milestone-marker.next .milestone-label { color: var(--accent-dark); }
.wallet-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-deep); color: var(--white); padding: 5px 13px; border-radius: 20px; font-size: .78rem; font-weight: 700; flex-shrink: 0; cursor: default; user-select: none; transition: background .3s ease; }
.wallet-chip svg { width: 13px; height: 13px; }
.wallet-chip.has-balance { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: var(--brand-deep); }
.milestone-toast { position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-160px); z-index: 1200; background: var(--white); border-radius: 16px; padding: 18px 20px 18px 18px; box-shadow: 0 20px 60px rgba(10,47,87,.22), 0 4px 16px rgba(10,47,87,.1); border-left: 5px solid var(--accent); display: flex; align-items: center; gap: 14px; min-width: 320px; max-width: 480px; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; opacity: 0; pointer-events: none; }
.milestone-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.toast-emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.toast-body { flex: 1; }
.toast-body strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.toast-body p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.toast-close { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1.3rem; line-height: 1; padding: 4px; border-radius: 6px; flex-shrink: 0; align-self: flex-start; transition: var(--transition); }
.toast-close:hover { background: var(--bg); color: var(--text); }
.milestone-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-size: .8rem; flex-wrap: wrap; }
.milestone-item { display: inline-flex; align-items: center; gap: 6px; }
.milestone-item .m-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: .73rem; font-weight: 700; }
.milestone-item .m-badge.locked { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.milestone-item .m-badge.next { background: #fff3e0; color: var(--accent-dark); border: 1px solid #fde3bf; }
.milestone-item .m-badge.achieved { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.milestone-divider { color: var(--border); font-size: 1rem; }
@media (max-width: 640px) { .milestone-toast { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); } .wallet-chip span.wallet-label { display: none; } }

/* ══ INFO NOTE ══ */
.info-note { display: flex; align-items: flex-start; gap: 10px; background: var(--brand-light); border: 1px solid #c8dff2; border-radius: var(--radius); padding: 12px 14px; font-size: .82rem; color: var(--brand-deep); line-height: 1.6; }
.info-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--brand); margin-top: 1px; }

/* ══ REFERRAL STYLES ══ */
.ref-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; }
.ref-toggle-row label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }
.ref-entry { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); margin-bottom: 14px; position: relative; }
.ref-entry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ref-entry-num { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* ══ CONTENT ANIMATION ══ */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.emp-content > *:not(.modal-overlay) { animation: rise .34s ease both; }
.emp-content > *:nth-child(2) { animation-delay: .05s; }
.emp-content > *:nth-child(3) { animation-delay: .1s; }
.emp-content > *:nth-child(4) { animation-delay: .15s; }
.emp-content > *:nth-child(5) { animation-delay: .2s; }
.emp-content > *:nth-child(n+6) { animation-delay: .24s; }
 svg { width: 16px; height: 16px; }.close-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.close-ic svg { width: 16px; height: 16px; }
.close-ic--warn { background: var(--danger-light); color: var(--danger); }
.close-ic--ok { background: var(--brand-light); color: var(--brand); }
.close-info { min-width: 0; flex: 1; }
.close-title { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; }
.close-sub { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.close-sub b { color: var(--brand-deep); }

/* ══ THREE-COLUMN ROW ══ */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 1100px) { .tri { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .tri { grid-template-columns: 1fr; } }

/* ══ DUO ROW ══ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* ══ INS-BENCH ══ */
.ins-bench { font-size: .7rem; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; align-items: center; gap: 6px; }

/* ══ APP LIST ══ */
.app-list { list-style: none; display: flex; flex-direction: column; }
.app-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.app-item:last-child { border-bottom: none; }
.app-info { min-width: 0; flex: 1; }
.app-name { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; }
.app-meta { font-size: .7rem; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.app-meta svg { width: 11px; height: 11px; }

/* ══ DASHBOARD FOOTER ══ */
.dash-foot { border-top: 1px solid var(--border); background: #fff; padding: 16px clamp(16px, 3vw, 32px); padding-bottom: max(16px, env(safe-area-inset-bottom, 0)); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .74rem; color: var(--muted); }
.dash-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.dash-foot a { color: var(--muted); font-weight: 500; }
.dash-foot a:hover { color: var(--brand); text-decoration: none; }

/* ══ MOBILE CTA BAR ══ */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; gap: 10px; padding: 10px clamp(14px, 4vw, 18px); padding-bottom: max(10px, env(safe-area-inset-bottom, 0)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid var(--border); transition: transform .28s ease; }
.mobile-cta.hidden { transform: translateY(110%); }
.mobile-cta .emp-btn { flex: 1; }
@media (max-width: 1024px) { .mobile-cta { display: flex; } }

/* ══ TRANSACTION STATS ══ */
.stats--txn { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .stats--txn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats--txn { grid-template-columns: 1fr; } }

/* ══ PROGRESS BAR (profile-edit, post-job) ══ */
.progress-bar { position: sticky; top: 70px; z-index: 900; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 0; box-shadow: 0 2px 8px rgba(10,47,87,.06); }
.progress-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.progress-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.progress-track { flex: 1; max-width: 360px; height: 8px; background: var(--border); border-radius: 20px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), #1a7fd4); border-radius: 20px; transition: width .6s ease; }
.progress-text { font-size: .82rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.progress-tip { font-size: .78rem; color: var(--accent-dark); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.progress-tip svg { width: 13px; height: 13px; }
.progress-actions { display: flex; gap: 8px; flex-shrink: 0; }
@keyframes bar-pulse { 0%,100% { opacity:1; } 50% { opacity:.65; } }
.progress-fill.pulse { animation: bar-pulse .5s ease 2; }
@media (max-width: 640px) { .progress-inner { flex-direction: column; align-items: flex-start; gap: 10px; } .progress-tip { display: none; } }

/* ══ PROFILE EDIT PAGE ══ */
.profile-page { padding: 16px 0 72px; }
.profile-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

/* ══ CV CARD (accordion sections) ══ */
.cv-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.cv-card.is-complete { border-left-color: var(--brand); }
.cv-card-header { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 20px 24px 16px; flex-wrap: wrap; -webkit-tap-highlight-color: transparent; user-select: none; }
.cv-card-header::-webkit-details-marker { display: none; }
.cv-card-header::marker { display: none; }
.cv-card-header:hover { background: #fafbfd; }
.cv-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.cv-card-title svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.cv-card-done { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; white-space: nowrap; margin-left: auto; }
.cv-card-done.complete  { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.cv-card-done.incomplete { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.cv-card-done.optional  { background: var(--brand-light); color: var(--brand); }
.cv-chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .22s ease; }
.cv-card:not([open]) .cv-chev { transform: rotate(-90deg); }
.cv-card .cv-card-body { padding: 0 24px 24px; animation: cv-open .18s ease; }
@keyframes cv-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cv-card .cv-card-body { animation: none; } .cv-chev { transition: none; } }
.cv-card-hint { font-size: .84rem; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; line-height: 1.6; }
.cv-gain-tip { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-dark); background: #fff3e0; border: 1px solid #fde3bf; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; white-space: nowrap; margin-left: auto; margin-right: 8px; }
.cv-gain-tip svg { width: 11px; height: 11px; }
@keyframes next-glow { 0% { box-shadow: 0 0 0 0 rgba(8,97,169,.35); } 60% { box-shadow: 0 0 0 6px rgba(8,97,169,0); } 100% { box-shadow: none; } }
.cv-card.next-up { animation: next-glow .7s ease forwards; border-color: var(--brand) !important; }

/* ══ FORM GRID ══ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }


/* ══ LOGO UPLOAD ══ */
.logo-upload { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.logo-preview { width: 96px; height: 96px; border-radius: 12px; border: 2px dashed var(--border); background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; transition: var(--transition); cursor: pointer; position: relative; }
.logo-preview:hover { border-color: var(--brand); background: var(--brand-light); }
.logo-preview svg { width: 36px; height: 36px; color: var(--muted); }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-overlay { position: absolute; inset: 0; background: rgba(8,97,169,.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); border-radius: 10px; }
.logo-preview:hover .logo-overlay { opacity: 1; }
.logo-overlay svg { width: 22px; height: 22px; color: var(--white); }
.logo-upload-body { display: flex; flex-direction: column; gap: 5px; }
.logo-upload-body p { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .logo-upload { flex-direction: column; align-items: flex-start; } }

/* ══ PREFERENCE PILLS ══ */
.pref-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pref-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 20px; font-size: .84rem; font-weight: 500; cursor: pointer; transition: var(--transition); user-select: none; background: var(--white); }
.pref-pill input { width: 14px; height: 14px; min-height: 14px; accent-color: var(--brand); cursor: pointer; }
.pref-pill:has(input:checked) { background: var(--brand-light); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ══ FORM ACTIONS ══ */
.form-actions { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); margin-top: 20px; flex-wrap: wrap; }
.form-actions .autosave-note { font-size: .76rem; color: var(--muted); margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.form-actions .autosave-note svg { width: 13px; height: 13px; color: var(--success); }

/* ══ VERIFIED BANNER ══ */
.verified-banner { display: flex; align-items: center; gap: 14px; background: var(--brand-light); border: 1px solid #c8dff2; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.verified-banner svg { width: 28px; height: 28px; color: var(--brand); flex-shrink: 0; }
.verified-banner-body { flex: 1; }
.verified-banner-body strong { display: block; font-size: .9rem; font-weight: 700; color: var(--brand-deep); margin-bottom: 2px; }
.verified-banner-body p { font-size: .8rem; color: var(--muted); margin: 0; }
.verified-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--brand); color: var(--white); padding: 4px 11px; border-radius: 20px; flex-shrink: 0; }
.verified-tag svg { width: 12px; height: 12px; }

/* ══ DOC UPLOAD ZONE ══ */
.doc-upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg); position: relative; }
.doc-upload-zone:hover, .doc-upload-zone.drag-over { border-color: var(--brand); background: var(--brand-light); }
.doc-upload-zone.drag-over { transform: scale(1.01); }
.doc-upload-idle { display: flex; flex-direction: column; align-items: center; }
.doc-upload-done { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.doc-file-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.doc-file-size { font-size: .78rem; color: var(--muted); }
.doc-remove-btn { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); border-radius: 6px; padding: 4px 8px; cursor: pointer; display: inline-flex; align-items: center; line-height: 0; transition: var(--transition); margin-left: 4px; }
.doc-remove-btn:hover { background: #fee2e2; }
.verify-status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 20px; margin-top: 12px; }
.verify-status.pending  { background: #fff7ed; color: var(--accent-dark); border: 1px solid #fde3bf; }
.verify-status.approved { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.verify-status svg { width: 14px; height: 14px; }

/* ══ BOTTOM ACTIONS ══ */
.bottom-actions { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; border-top: 1px solid var(--border); background: var(--white); border-radius: 12px; }
@media (max-width: 640px) { .bottom-actions { flex-direction: column; } }

/* ══ POST JOB WRAP ══ */
.post-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px 100px; }
@media (max-width: 640px) { .post-wrap { padding-bottom: 72px; } }

/* ══ JOB CARD (accordion sections for post/edit) ══ */
.job-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; overflow: hidden; }
.job-card[open] .job-card-body { display: block; }
.job-card-header { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 18px 24px; -webkit-tap-highlight-color: transparent; user-select: none; }
.job-card-header::-webkit-details-marker { display: none; }
.job-card-header::marker { display: none; }
.job-card-header:hover { background: #fafbfd; }
.job-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-family: 'Sora', 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); }
.job-card-title svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.job-card-body { padding: 0 24px 24px; }
.job-card-chev { width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); transition: transform .2s ease; }
.job-card:not([open]) .job-card-chev { transform: rotate(-90deg); }

/* ══ TOGGLE ══ */
.toggle-wrap { display: flex; align-items: center; gap: 12px; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 24px; cursor: pointer; transition: .25s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: .25s; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.toggle input:checked + .toggle-slider { background: var(--brand); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }
.toggle-sub { font-size: .76rem; color: var(--muted); display: block; margin-top: 2px; }

/* ══ METHOD PILLS ══ */
.method-group { display: flex; flex-wrap: wrap; gap: 8px; }
.method-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-size: .85rem; font-weight: 500; cursor: pointer; transition: var(--transition); background: var(--white); }
.method-pill input { accent-color: var(--brand); width: 15px; height: 15px; min-height: 15px; }
.method-pill:has(input:checked) { background: var(--brand-light); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ══ TAG INPUT ══ */
.tag-input-wrap { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: var(--bg); min-height: 48px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; cursor: text; transition: border-color var(--transition); }
.tag-input-wrap:focus-within { border-color: var(--brand); background: var(--white); }
.skill-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--brand-light); color: var(--brand); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.skill-tag button { background: none; border: none; cursor: pointer; color: var(--brand); line-height: 0; padding: 0; font-size: 1rem; opacity: .7; }
.skill-tag button:hover { opacity: 1; }
.tag-input { border: none; outline: none; background: transparent; font-family: 'Inter', sans-serif; font-size: .88rem; min-width: 140px; color: var(--text); padding: 2px 4px; }

/* ══ SALARY CONDITIONAL ══ */
.salary-conditional { display: none; }
.salary-conditional.visible { display: grid; }
.salary-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.salary-range span { text-align: center; color: var(--muted); font-size: .85rem; }
@media (max-width: 640px) { .salary-range { grid-template-columns: 1fr; } .salary-range span { display: none; } }

/* ══ LANGUAGE ROW ══ */
.lang-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.lang-row .remove-lang { background: none; border: none; cursor: pointer; color: var(--muted); padding: 8px; border-radius: 6px; line-height: 0; transition: var(--transition); }
.lang-row .remove-lang:hover { color: var(--danger); }
.lang-row .remove-lang svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .lang-row { grid-template-columns: 1fr 1fr auto; } }

/* ══ BOOST ROW ══ */
.boost-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.boost-row.featured { border-color: #fde3bf; background: #fff9f0; }
.boost-row.urgent { border-color: #fecaca; background: #fef9f9; }
.boost-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.boost-icon.orange { background: #fff3e0; }
.boost-icon.red { background: #fef2f2; }
.boost-icon svg { width: 18px; height: 18px; }
.boost-icon.orange svg { color: var(--accent); }
.boost-icon.red svg { color: var(--danger); }
.boost-body { flex: 1; min-width: 0; }
.boost-body-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.boost-body-hd strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.boost-body-desc { font-size: .78rem; color: var(--muted); line-height: 1.55; }
.boost-tag { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 9px; border-radius: 20px; flex-shrink: 0; }
.boost-tag.plan { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }

/* ══ PUBLISH BAR ══ */
.publish-bar { position: fixed; bottom: 0; left: var(--sidebar-w); right: 0; z-index: 1000; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(10,47,87,.15); padding: 14px 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0)); transition: transform .3s ease; }
.publish-bar.bar-hidden { transform: translateY(110%); }
.publish-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 clamp(16px, 3vw, 32px); }
.publish-bar-info { display: flex; flex-direction: column; }
.publish-bar-info strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.publish-bar-info span { font-size: .76rem; color: var(--muted); }
.publish-bar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1024px) { .publish-bar { display: none !important; } }

/* ══ QUESTION ITEMS (custom questions) ══ */
.question-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: var(--bg); margin-bottom: 10px; }
.question-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.question-handle { cursor: grab; color: var(--muted); }
.question-handle svg { width: 16px; height: 16px; }
.question-num { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--border); padding: 2px 7px; border-radius: 20px; }
.question-remove { background: none; border: none; cursor: pointer; color: var(--muted); margin-left: auto; line-height: 0; padding: 4px; border-radius: 6px; }
.question-remove:hover { color: var(--danger); background: #fef2f2; }
.question-remove svg { width: 14px; height: 14px; }

/* ══ MILESTONES ══ */
.milestone-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; z-index: 2; background: var(--white); border: 2px solid #c8dff2; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.milestone-marker.achieved { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(237,144,32,.22); }
.milestone-marker.next { border-color: var(--accent); animation: marker-pulse 1.6s ease infinite; }
@keyframes marker-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(237,144,32,.4); } 50% { box-shadow: 0 0 0 5px rgba(237,144,32,0); } }
.milestone-label { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 700; white-space: nowrap; letter-spacing: .03em; color: #b0bec5; transition: color .35s ease; }
.milestone-marker.achieved .milestone-label, .milestone-marker.next .milestone-label { color: var(--accent-dark); }
.wallet-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-deep); color: var(--white); padding: 5px 13px; border-radius: 20px; font-size: .78rem; font-weight: 700; flex-shrink: 0; cursor: default; user-select: none; transition: background .3s ease; }
.wallet-chip svg { width: 13px; height: 13px; }
.wallet-chip.has-balance { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: var(--brand-deep); }
.milestone-toast { position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-160px); z-index: 1200; background: var(--white); border-radius: 16px; padding: 18px 20px 18px 18px; box-shadow: 0 20px 60px rgba(10,47,87,.22), 0 4px 16px rgba(10,47,87,.1); border-left: 5px solid var(--accent); display: flex; align-items: center; gap: 14px; min-width: 320px; max-width: 480px; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; opacity: 0; pointer-events: none; }
.milestone-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.toast-emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.toast-body { flex: 1; }
.toast-body strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.toast-body p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.toast-close { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1.3rem; line-height: 1; padding: 4px; border-radius: 6px; flex-shrink: 0; align-self: flex-start; transition: var(--transition); }
.toast-close:hover { background: var(--bg); color: var(--text); }
.milestone-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-size: .8rem; flex-wrap: wrap; }
.milestone-item { display: inline-flex; align-items: center; gap: 6px; }
.milestone-item .m-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: .73rem; font-weight: 700; }
.milestone-item .m-badge.locked { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.milestone-item .m-badge.next { background: #fff3e0; color: var(--accent-dark); border: 1px solid #fde3bf; }
.milestone-item .m-badge.achieved { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.milestone-divider { color: var(--border); font-size: 1rem; }
@media (max-width: 640px) { .milestone-toast { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); } .wallet-chip span.wallet-label { display: none; } }

/* ══ INFO NOTE ══ */
.info-note { display: flex; align-items: flex-start; gap: 10px; background: var(--brand-light); border: 1px solid #c8dff2; border-radius: var(--radius); padding: 12px 14px; font-size: .82rem; color: var(--brand-deep); line-height: 1.6; }
.info-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--brand); margin-top: 1px; }

/* ══ REFERRAL STYLES ══ */
.ref-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; }
.ref-toggle-row label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }
.ref-entry { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); margin-bottom: 14px; position: relative; }
.ref-entry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ref-entry-num { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* ══ CONTENT ANIMATION ══ */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.emp-content > *:not(.modal-overlay) { animation: rise .34s ease both; }
.emp-content > *:nth-child(2) { animation-delay: .05s; }
.emp-content > *:nth-child(3) { animation-delay: .1s; }
.emp-content > *:nth-child(4) { animation-delay: .15s; }
.emp-content > *:nth-child(5) { animation-delay: .2s; }
.emp-content > *:nth-child(n+6) { animation-delay: .24s; }
--warn { background: var(--accent-light); color: var(--accent-dark); }.close-ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.close-ic svg { width: 16px; height: 16px; }
.close-ic--warn { background: var(--danger-light); color: var(--danger); }
.close-ic--ok { background: var(--brand-light); color: var(--brand); }
.close-info { min-width: 0; flex: 1; }
.close-title { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; }
.close-sub { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.close-sub b { color: var(--brand-deep); }

/* ══ THREE-COLUMN ROW ══ */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 1100px) { .tri { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .tri { grid-template-columns: 1fr; } }

/* ══ DUO ROW ══ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 18px); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* ══ INS-BENCH ══ */
.ins-bench { font-size: .7rem; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; align-items: center; gap: 6px; }

/* ══ APP LIST ══ */
.app-list { list-style: none; display: flex; flex-direction: column; }
.app-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.app-item:last-child { border-bottom: none; }
.app-info { min-width: 0; flex: 1; }
.app-name { font-weight: 600; font-size: .82rem; color: var(--brand-deep); line-height: 1.4; }
.app-meta { font-size: .7rem; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.app-meta svg { width: 11px; height: 11px; }

/* ══ DASHBOARD FOOTER ══ */
.dash-foot { border-top: 1px solid var(--border); background: #fff; padding: 16px clamp(16px, 3vw, 32px); padding-bottom: max(16px, env(safe-area-inset-bottom, 0)); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .74rem; color: var(--muted); }
.dash-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.dash-foot a { color: var(--muted); font-weight: 500; }
.dash-foot a:hover { color: var(--brand); text-decoration: none; }

/* ══ MOBILE CTA BAR ══ */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; gap: 10px; padding: 10px clamp(14px, 4vw, 18px); padding-bottom: max(10px, env(safe-area-inset-bottom, 0)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid var(--border); transition: transform .28s ease; }
.mobile-cta.hidden { transform: translateY(110%); }
.mobile-cta .emp-btn { flex: 1; }
@media (max-width: 1024px) { .mobile-cta { display: flex; } }

/* ══ TRANSACTION STATS ══ */
.stats--txn { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .stats--txn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats--txn { grid-template-columns: 1fr; } }

/* ══ PROGRESS BAR (profile-edit, post-job) ══ */
.progress-bar { position: sticky; top: 70px; z-index: 900; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 0; box-shadow: 0 2px 8px rgba(10,47,87,.06); }
.progress-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.progress-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.progress-track { flex: 1; max-width: 360px; height: 8px; background: var(--border); border-radius: 20px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), #1a7fd4); border-radius: 20px; transition: width .6s ease; }
.progress-text { font-size: .82rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.progress-tip { font-size: .78rem; color: var(--accent-dark); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.progress-tip svg { width: 13px; height: 13px; }
.progress-actions { display: flex; gap: 8px; flex-shrink: 0; }
@keyframes bar-pulse { 0%,100% { opacity:1; } 50% { opacity:.65; } }
.progress-fill.pulse { animation: bar-pulse .5s ease 2; }
@media (max-width: 640px) { .progress-inner { flex-direction: column; align-items: flex-start; gap: 10px; } .progress-tip { display: none; } }

/* ══ PROFILE EDIT PAGE ══ */
.profile-page { padding: 16px 0 72px; }
.profile-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

/* ══ CV CARD (accordion sections) ══ */
.cv-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.cv-card.is-complete { border-left-color: var(--brand); }
.cv-card-header { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 20px 24px 16px; flex-wrap: wrap; -webkit-tap-highlight-color: transparent; user-select: none; }
.cv-card-header::-webkit-details-marker { display: none; }
.cv-card-header::marker { display: none; }
.cv-card-header:hover { background: #fafbfd; }
.cv-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.cv-card-title svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.cv-card-done { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; white-space: nowrap; margin-left: auto; }
.cv-card-done.complete  { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.cv-card-done.incomplete { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.cv-card-done.optional  { background: var(--brand-light); color: var(--brand); }
.cv-chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .22s ease; }
.cv-card:not([open]) .cv-chev { transform: rotate(-90deg); }
.cv-card .cv-card-body { padding: 0 24px 24px; animation: cv-open .18s ease; }
@keyframes cv-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cv-card .cv-card-body { animation: none; } .cv-chev { transition: none; } }
.cv-card-hint { font-size: .84rem; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; line-height: 1.6; }
.cv-gain-tip { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-dark); background: #fff3e0; border: 1px solid #fde3bf; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; white-space: nowrap; margin-left: auto; margin-right: 8px; }
.cv-gain-tip svg { width: 11px; height: 11px; }
@keyframes next-glow { 0% { box-shadow: 0 0 0 0 rgba(8,97,169,.35); } 60% { box-shadow: 0 0 0 6px rgba(8,97,169,0); } 100% { box-shadow: none; } }
.cv-card.next-up { animation: next-glow .7s ease forwards; border-color: var(--brand) !important; }

/* ══ FORM GRID ══ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }


/* ══ LOGO UPLOAD ══ */
.logo-upload { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.logo-preview { width: 96px; height: 96px; border-radius: 12px; border: 2px dashed var(--border); background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; transition: var(--transition); cursor: pointer; position: relative; }
.logo-preview:hover { border-color: var(--brand); background: var(--brand-light); }
.logo-preview svg { width: 36px; height: 36px; color: var(--muted); }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-overlay { position: absolute; inset: 0; background: rgba(8,97,169,.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); border-radius: 10px; }
.logo-preview:hover .logo-overlay { opacity: 1; }
.logo-overlay svg { width: 22px; height: 22px; color: var(--white); }
.logo-upload-body { display: flex; flex-direction: column; gap: 5px; }
.logo-upload-body p { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .logo-upload { flex-direction: column; align-items: flex-start; } }

/* ══ PREFERENCE PILLS ══ */
.pref-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pref-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 20px; font-size: .84rem; font-weight: 500; cursor: pointer; transition: var(--transition); user-select: none; background: var(--white); }
.pref-pill input { width: 14px; height: 14px; min-height: 14px; accent-color: var(--brand); cursor: pointer; }
.pref-pill:has(input:checked) { background: var(--brand-light); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ══ FORM ACTIONS ══ */
.form-actions { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); margin-top: 20px; flex-wrap: wrap; }
.form-actions .autosave-note { font-size: .76rem; color: var(--muted); margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.form-actions .autosave-note svg { width: 13px; height: 13px; color: var(--success); }

/* ══ VERIFIED BANNER ══ */
.verified-banner { display: flex; align-items: center; gap: 14px; background: var(--brand-light); border: 1px solid #c8dff2; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.verified-banner svg { width: 28px; height: 28px; color: var(--brand); flex-shrink: 0; }
.verified-banner-body { flex: 1; }
.verified-banner-body strong { display: block; font-size: .9rem; font-weight: 700; color: var(--brand-deep); margin-bottom: 2px; }
.verified-banner-body p { font-size: .8rem; color: var(--muted); margin: 0; }
.verified-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--brand); color: var(--white); padding: 4px 11px; border-radius: 20px; flex-shrink: 0; }
.verified-tag svg { width: 12px; height: 12px; }

/* ══ DOC UPLOAD ZONE ══ */
.doc-upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg); position: relative; }
.doc-upload-zone:hover, .doc-upload-zone.drag-over { border-color: var(--brand); background: var(--brand-light); }
.doc-upload-zone.drag-over { transform: scale(1.01); }
.doc-upload-idle { display: flex; flex-direction: column; align-items: center; }
.doc-upload-done { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.doc-file-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.doc-file-size { font-size: .78rem; color: var(--muted); }
.doc-remove-btn { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); border-radius: 6px; padding: 4px 8px; cursor: pointer; display: inline-flex; align-items: center; line-height: 0; transition: var(--transition); margin-left: 4px; }
.doc-remove-btn:hover { background: #fee2e2; }
.verify-status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 20px; margin-top: 12px; }
.verify-status.pending  { background: #fff7ed; color: var(--accent-dark); border: 1px solid #fde3bf; }
.verify-status.approved { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.verify-status svg { width: 14px; height: 14px; }

/* ══ BOTTOM ACTIONS ══ */
.bottom-actions { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; border-top: 1px solid var(--border); background: var(--white); border-radius: 12px; }
@media (max-width: 640px) { .bottom-actions { flex-direction: column; } }

/* ══ POST JOB WRAP ══ */
.post-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px 100px; }
@media (max-width: 640px) { .post-wrap { padding-bottom: 72px; } }

/* ══ JOB CARD (accordion sections for post/edit) ══ */
.job-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; overflow: hidden; }
.job-card[open] .job-card-body { display: block; }
.job-card-header { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 18px 24px; -webkit-tap-highlight-color: transparent; user-select: none; }
.job-card-header::-webkit-details-marker { display: none; }
.job-card-header::marker { display: none; }
.job-card-header:hover { background: #fafbfd; }
.job-card-title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-family: 'Sora', 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); }
.job-card-title svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.job-card-body { padding: 0 24px 24px; }
.job-card-chev { width: 17px; height: 17px; flex-shrink: 0; color: var(--muted); transition: transform .2s ease; }
.job-card:not([open]) .job-card-chev { transform: rotate(-90deg); }

/* ══ TOGGLE ══ */
.toggle-wrap { display: flex; align-items: center; gap: 12px; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 24px; cursor: pointer; transition: .25s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: .25s; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.toggle input:checked + .toggle-slider { background: var(--brand); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }
.toggle-sub { font-size: .76rem; color: var(--muted); display: block; margin-top: 2px; }

/* ══ METHOD PILLS ══ */
.method-group { display: flex; flex-wrap: wrap; gap: 8px; }
.method-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-size: .85rem; font-weight: 500; cursor: pointer; transition: var(--transition); background: var(--white); }
.method-pill input { accent-color: var(--brand); width: 15px; height: 15px; min-height: 15px; }
.method-pill:has(input:checked) { background: var(--brand-light); border-color: var(--brand); color: var(--brand); font-weight: 600; }

/* ══ TAG INPUT ══ */
.tag-input-wrap { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: var(--bg); min-height: 48px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; cursor: text; transition: border-color var(--transition); }
.tag-input-wrap:focus-within { border-color: var(--brand); background: var(--white); }
.skill-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--brand-light); color: var(--brand); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.skill-tag button { background: none; border: none; cursor: pointer; color: var(--brand); line-height: 0; padding: 0; font-size: 1rem; opacity: .7; }
.skill-tag button:hover { opacity: 1; }
.tag-input { border: none; outline: none; background: transparent; font-family: 'Inter', sans-serif; font-size: .88rem; min-width: 140px; color: var(--text); padding: 2px 4px; }

/* ══ SALARY CONDITIONAL ══ */
.salary-conditional { display: none; }
.salary-conditional.visible { display: grid; }
.salary-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.salary-range span { text-align: center; color: var(--muted); font-size: .85rem; }
@media (max-width: 640px) { .salary-range { grid-template-columns: 1fr; } .salary-range span { display: none; } }

/* ══ LANGUAGE ROW ══ */
.lang-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.lang-row .remove-lang { background: none; border: none; cursor: pointer; color: var(--muted); padding: 8px; border-radius: 6px; line-height: 0; transition: var(--transition); }
.lang-row .remove-lang:hover { color: var(--danger); }
.lang-row .remove-lang svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .lang-row { grid-template-columns: 1fr 1fr auto; } }

/* ══ BOOST ROW ══ */
.boost-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.boost-row.featured { border-color: #fde3bf; background: #fff9f0; }
.boost-row.urgent { border-color: #fecaca; background: #fef9f9; }
.boost-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.boost-icon.orange { background: #fff3e0; }
.boost-icon.red { background: #fef2f2; }
.boost-icon svg { width: 18px; height: 18px; }
.boost-icon.orange svg { color: var(--accent); }
.boost-icon.red svg { color: var(--danger); }
.boost-body { flex: 1; min-width: 0; }
.boost-body-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.boost-body-hd strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.boost-body-desc { font-size: .78rem; color: var(--muted); line-height: 1.55; }
.boost-tag { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 9px; border-radius: 20px; flex-shrink: 0; }
.boost-tag.plan { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }

/* ══ PUBLISH BAR ══ */
.publish-bar { position: fixed; bottom: 0; left: var(--sidebar-w); right: 0; z-index: 1000; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(10,47,87,.15); padding: 14px 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0)); transition: transform .3s ease; }
.publish-bar.bar-hidden { transform: translateY(110%); }
.publish-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 clamp(16px, 3vw, 32px); }
.publish-bar-info { display: flex; flex-direction: column; }
.publish-bar-info strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.publish-bar-info span { font-size: .76rem; color: var(--muted); }
.publish-bar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1024px) { .publish-bar { display: none !important; } }

/* ══ QUESTION ITEMS (custom questions) ══ */
.question-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: var(--bg); margin-bottom: 10px; }
.question-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.question-handle { cursor: grab; color: var(--muted); }
.question-handle svg { width: 16px; height: 16px; }
.question-num { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--border); padding: 2px 7px; border-radius: 20px; }
.question-remove { background: none; border: none; cursor: pointer; color: var(--muted); margin-left: auto; line-height: 0; padding: 4px; border-radius: 6px; }
.question-remove:hover { color: var(--danger); background: #fef2f2; }
.question-remove svg { width: 14px; height: 14px; }

/* ══ MILESTONES ══ */
.milestone-marker { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; z-index: 2; background: var(--white); border: 2px solid #c8dff2; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.milestone-marker.achieved { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(237,144,32,.22); }
.milestone-marker.next { border-color: var(--accent); animation: marker-pulse 1.6s ease infinite; }
@keyframes marker-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(237,144,32,.4); } 50% { box-shadow: 0 0 0 5px rgba(237,144,32,0); } }
.milestone-label { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: .6rem; font-weight: 700; white-space: nowrap; letter-spacing: .03em; color: #b0bec5; transition: color .35s ease; }
.milestone-marker.achieved .milestone-label, .milestone-marker.next .milestone-label { color: var(--accent-dark); }
.wallet-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-deep); color: var(--white); padding: 5px 13px; border-radius: 20px; font-size: .78rem; font-weight: 700; flex-shrink: 0; cursor: default; user-select: none; transition: background .3s ease; }
.wallet-chip svg { width: 13px; height: 13px; }
.wallet-chip.has-balance { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: var(--brand-deep); }
.milestone-toast { position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-160px); z-index: 1200; background: var(--white); border-radius: 16px; padding: 18px 20px 18px 18px; box-shadow: 0 20px 60px rgba(10,47,87,.22), 0 4px 16px rgba(10,47,87,.1); border-left: 5px solid var(--accent); display: flex; align-items: center; gap: 14px; min-width: 320px; max-width: 480px; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; opacity: 0; pointer-events: none; }
.milestone-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.toast-emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.toast-body { flex: 1; }
.toast-body strong { display: block; font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.toast-body p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.toast-close { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 1.3rem; line-height: 1; padding: 4px; border-radius: 6px; flex-shrink: 0; align-self: flex-start; transition: var(--transition); }
.toast-close:hover { background: var(--bg); color: var(--text); }
.milestone-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-size: .8rem; flex-wrap: wrap; }
.milestone-item { display: inline-flex; align-items: center; gap: 6px; }
.milestone-item .m-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: .73rem; font-weight: 700; }
.milestone-item .m-badge.locked { background: var(--bg); color: var(--muted); border: 1px solid var(--border); }
.milestone-item .m-badge.next { background: #fff3e0; color: var(--accent-dark); border: 1px solid #fde3bf; }
.milestone-item .m-badge.achieved { background: var(--brand-light); color: var(--brand); border: 1px solid #c8dff2; }
.milestone-divider { color: var(--border); font-size: 1rem; }
@media (max-width: 640px) { .milestone-toast { min-width: calc(100vw - 32px); max-width: calc(100vw - 32px); } .wallet-chip span.wallet-label { display: none; } }

/* ══ INFO NOTE ══ */
.info-note { display: flex; align-items: flex-start; gap: 10px; background: var(--brand-light); border: 1px solid #c8dff2; border-radius: var(--radius); padding: 12px 14px; font-size: .82rem; color: var(--brand-deep); line-height: 1.6; }
.info-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--brand); margin-top: 1px; }

/* ══ REFERRAL STYLES ══ */
.ref-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; }
.ref-toggle-row label { font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; }
.ref-entry { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); margin-bottom: 14px; position: relative; }
.ref-entry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ref-entry-num { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* ══ CONTENT ANIMATION ══ */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.emp-content > *:not(.modal-overlay) { animation: rise .34s ease both; }
.emp-content > *:nth-child(2) { animation-delay: .05s; }
.emp-content > *:nth-child(3) { animation-delay: .1s; }
.emp-content > *:nth-child(4) { animation-delay: .15s; }
.emp-content > *:nth-child(5) { animation-delay: .2s; }
.emp-content > *:nth-child(n+6) { animation-delay: .24s; }
--ok { background: var(--brand-light); color: var(--brand); }
.close-info { flex: 1; min-width: 0; }
.close-title { font-weight: 600; font-size: .8rem; color: var(--brand-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.close-sub { font-size: .7rem; color: var(--muted); }
.close-sub b { color: var(--accent-dark); }

/* ══ TWO / THREE COLUMN GRIDS ══ */
.duo { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(12px, 1.6vw, 18px); align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.tri { display: grid; grid-template-columns: 1fr 1.15fr 1.15fr; gap: clamp(12px, 1.6vw, 18px); align-items: start; }
@media (max-width: 1200px) { .tri { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .tri { grid-template-columns: 1fr; } }
.insight-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(12px, 1.6vw, 18px); align-items: start; }
@media (max-width: 900px) { .insight-row { grid-template-columns: 1fr; } }

/* ══ DASHBOARD FOOTER ══ */
.dash-foot { border-top: 1px solid var(--border); background: #fff; padding: 16px clamp(16px, 3vw, 32px); padding-bottom: max(16px, env(safe-area-inset-bottom, 0)); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .74rem; color: var(--muted); }
.dash-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.dash-foot a { color: var(--muted); font-weight: 500; }
.dash-foot a:hover { color: var(--brand); text-decoration: none; }

/* ══ MOBILE STICKY ACTION BAR ══ */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: none; gap: 10px; padding: 10px clamp(14px, 4vw, 18px); padding-bottom: max(10px, env(safe-area-inset-bottom, 0)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-top: 1px solid var(--border); transition: transform .28s ease; }
.mobile-cta.hidden { transform: translateY(110%); }
.mobile-cta .emp-btn { flex: 1; }
@media (max-width: 1024px) { .mobile-cta { display: flex; } }

/* ══ ENTRY ANIMATIONS ══ */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.emp-content > *:not(.modal-overlay) { animation: rise .34s ease both; }
.emp-content > *:nth-child(2) { animation-delay: .05s; }
.emp-content > *:nth-child(3) { animation-delay: .1s; }
.emp-content > *:nth-child(4) { animation-delay: .15s; }
.emp-content > *:nth-child(5) { animation-delay: .2s; }
.emp-content > *:nth-child(n+6) { animation-delay: .24s; }

/* ══ ALERT/INFO BANNERS ══ */
.info-banner { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--brand-light); background: var(--brand-light); }
.info-banner.warning { border-color: var(--accent-light); background: var(--accent-light); }
.info-banner.danger { border-color: var(--danger-light); background: var(--danger-light); }
.info-banner svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.info-banner.warning svg { color: var(--accent-dark); }
.info-banner.danger svg { color: var(--danger); }
.info-banner-body { flex: 1; min-width: 0; font-size: .84rem; }
.info-banner-body strong { font-weight: 700; }
.info-banner-body a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* ══ PAGINATION ══ */
.pagination { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; font-size: .82rem; font-weight: 600; color: var(--text); cursor: pointer; transition: var(--transition); }
.pg-btn:hover { border-color: var(--brand); color: var(--brand); }
.pg-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pg-btn svg { width: 14px; height: 14px; }

/* ══ MESSAGES PAGE ══ */
.msg-layout { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - 66px); overflow: hidden; }
@media (max-width: 768px) { .msg-layout { grid-template-columns: 1fr; } }
.msg-list { border-right: 1px solid var(--border); overflow-y: auto; }
.msg-item { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.msg-item:hover, .msg-item.active { background: var(--brand-light); }
.msg-ava { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: .86rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.msg-thread { display: flex; flex-direction: column; }
.msg-bubble-wrap { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg-bubble { max-width: 70%; padding: 10px 14px; border-radius: 12px; font-size: .86rem; line-height: 1.5; }
.msg-bubble--in { background: var(--bg); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-bubble--out { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-input-bar { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; gap: 10px; }

/* ══ PROFILE PAGE ══ */
.profile-header { position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.profile-cover { height: 160px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); }
.profile-logo-wrap { position: absolute; bottom: -32px; left: 28px; }
.profile-logo { width: 80px; height: 80px; border-radius: 16px; border: 3px solid #fff; background: #fff; object-fit: cover; box-shadow: var(--shadow); }
.profile-logo-placeholder { width: 80px; height: 80px; border-radius: 16px; border: 3px solid #fff; background: var(--brand-light); color: var(--brand); font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }

/* ══ BILLING / PLAN CARDS ══ */
.plan-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: var(--transition); }
.plan-card:hover { box-shadow: var(--shadow); }
.plan-card.featured { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8,97,169,.12); }
.plan-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: var(--brand); color: #fff; width: fit-content; }
.plan-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2rem; color: var(--brand-deep); line-height: 1; }
.plan-price sup { font-size: 1rem; vertical-align: top; margin-top: 4px; }
.plan-price span { font-size: .8rem; font-weight: 500; color: var(--muted); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text); }
.plan-features li svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.plan-features li.disabled { color: var(--muted); text-decoration: line-through; }
.plan-features li.disabled svg { color: var(--border); }

/* ══ TRANSACTIONS ══ */
.tx-amount { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .9rem; }
.tx-amount--cr { color: var(--success); }
.tx-amount--dr { color: var(--danger); }

/* ══ WALLET CARD ══ */
.wallet-hero { border-radius: var(--radius-lg); padding: 28px; color: #fff; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); position: relative; overflow: hidden; }
.wallet-hero::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.06); }
.wallet-bal-label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.wallet-bal { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.4rem; margin: 6px 0 18px; }
.wallet-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ══ JOB DETAIL PAGE ══ */
.job-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(14px, 2vw, 24px); align-items: start; }
@media (max-width: 900px) { .job-detail-layout { grid-template-columns: 1fr; } }
.job-detail-sidebar .card { position: sticky; top: 84px; }

/* ══ CANDIDATE PROFILE ══ */
.cand-header { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cand-ava-lg { width: 72px; height: 72px; border-radius: 16px; background: var(--brand-light); color: var(--brand); font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cand-header h2 { font-size: 1.2rem; font-weight: 800; color: var(--brand-deep); }
.cand-header p { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.cand-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: .78rem; color: var(--muted); }
.cand-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cand-meta svg { width: 13px; height: 13px; }
.cand-detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: clamp(14px, 2vw, 24px); align-items: start; }
@media (max-width: 900px) { .cand-detail-layout { grid-template-columns: 1fr; } }

/* ══ UTILITY CLASSES FOR BOOTSTRAP INTEROP ══ */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.ms-2 { margin-left: 0.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.w-100 { width: 100% !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.text-decoration-underline { text-decoration: underline !important; }
.spinner-border { display: inline-block; width: 1rem; height: 1rem; vertical-align: text-bottom; border: 0.125em solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spinner-border .75s linear infinite; }
@keyframes spinner-border { to { transform: rotate(360deg); } }
.text-capitalize { text-transform: capitalize; }
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }

/* ══ BOOTSTRAP .btn TO .emp-btn ALIAS FALLBACKS ══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 9px;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid transparent;
    text-decoration: none;
    line-height: 1.2;
}
.btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
}
.btn-sm {
    min-height: 32px;
    padding: 6px 12px;
    font-size: .78rem;
    border-radius: 8px;
}
.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    text-decoration: none;
}
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
    text-decoration: none;
}
.btn-outline {
    border-color: var(--border);
    background: #fff;
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-light);
    text-decoration: none;
}
.btn-ghost-w {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
}
.btn-ghost-w:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}
.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ══ NOTICE COMPONENT ══ */
.notice {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: .78rem;
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid;
    width: 100%;
}
.notice svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0;
    margin-top: 2px;
}
.notice--warn {
    background: var(--accent-light);
    border-color: #f3d9ae;
    color: #8a5a10;
}
.notice--info {
    background: var(--brand-light);
    border-color: #cfe2f2;
    color: var(--brand-dark);
}

/* ══════════════════════════════════════════════════
   CANDIDATE DETAIL PAGE
   ══════════════════════════════════════════════════ */
.cp-grid { display: grid; grid-template-columns: 330px 1fr; gap: clamp(14px, 1.8vw, 20px); align-items: start; }
@media (max-width: 1024px) { .cp-grid { grid-template-columns: 1fr; } }
.cp-col { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 20px); }
.cp-sticky { position: sticky; top: 82px; }
@media (max-width: 1024px) { .cp-sticky { position: static; } }
.cp-id { text-align: center; padding: 26px 22px 22px; }
.cp-ava { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; background: var(--brand-light); border: 4px solid #fff; box-shadow: var(--shadow); color: var(--brand); font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; position: relative; }
.cp-ava .dot { position: absolute; right: 5px; bottom: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--success); border: 3px solid #fff; }
.cp-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--brand-deep); }
.cp-role { font-size: .84rem; color: var(--muted); margin: 1px 0 12px; }
.cp-pills { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; }
.lock-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: .84rem; }
.lock-row:last-of-type { border-bottom: none; }
.lock-row svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }
.lock-row .lbl2 { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; }
.lock-row b { font-weight: 600; color: var(--brand-deep); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; letter-spacing: .04em; }
.lock-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .62rem; font-weight: 700; color: var(--accent-dark); background: var(--accent-light); border-radius: 20px; padding: 3px 10px; flex-shrink: 0; }
.lock-tag svg { width: 10px; height: 10px; color: var(--accent-dark); }
.cp-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.sec-title2 { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.sec-title2:first-child { margin-top: 0; }
.cp-empty { font-size: .84rem; color: var(--muted); font-style: italic; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } }
.kv .k { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.kv .v { font-size: .88rem; font-weight: 600; color: var(--brand-deep); }
.xp { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.xp:first-of-type { padding-top: 2px; }
.xp:last-of-type { border-bottom: none; padding-bottom: 2px; }
.xp-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--brand); flex-shrink: 0; }
.xp-ic svg { width: 16px; height: 16px; }
.xp b { font-size: .86rem; color: var(--brand-deep); display: block; }
.xp i { font-style: normal; font-size: .74rem; color: var(--muted); }
.xp p { font-size: .8rem; color: var(--text); margin-top: 4px; line-height: 1.6; }
.modal-foot--stacked { flex-direction: column; gap: 10px; align-items: stretch; width: 100%; }
.modal-foot--stacked .modal-foot-row { display: flex; gap: 8px; justify-content: flex-end; width: 100%; }
.modal-foot--stacked .emp-btn { flex: 1; }
.modal-foot--stacked .emp-btn-primary { flex: 2; }
.modal-foot--stacked .emp-btn-accent { width: 100%; }

/* ══════════════════════════════════════════════════
   CHECKOUT PAGE
   ══════════════════════════════════════════════════ */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(16px, 2vw, 24px); align-items: start; }
@media (max-width: 960px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-summary-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.summary-list { list-style: none; margin: 16px 0; padding: 0; }
.summary-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 0.88rem; }
.summary-item:last-child { border-bottom: none; }
.checkout-wallet-box { background: var(--brand-light); border: 1px solid rgba(8, 97, 169, 0.2); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.checkout-wallet-icon { width: 40px; height: 40px; background: var(--white); color: var(--brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkout-wallet-icon svg { width: 20px; height: 20px; }
.wallet-details { flex: 1; }
.wallet-details-lbl { font-size: 0.72rem; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.wallet-details-val { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--brand-deep); }

/* ══════════════════════════════════════════════════
   BUNDLES & PRICING PAGE
   ══════════════════════════════════════════════════ */
.plans { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(14px, 1.8vw, 20px); align-items: start; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }
.bundle { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--border); border-radius: 12px; padding: 15px 16px; transition: var(--transition); background: #fff; }
.bundle:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.bundle + .bundle { margin-top: 12px; }
.bundle-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.bundle-ic svg { width: 20px; height: 20px; }
.bundle-info { flex: 1; min-width: 0; }
.bundle-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .9rem; color: var(--brand-deep); }
.bundle-posts { font-size: .74rem; color: var(--muted); }
.bundle-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--brand-deep); text-align: right; }
.bundle-price i { display: block; font-style: normal; font-size: .62rem; font-weight: 600; color: var(--muted); }
.bundle .emp-btn { flex-shrink: 0; }
@media (max-width: 560px) { .bundle { flex-wrap: wrap; } .bundle .emp-btn { width: 100%; } }
.pro-card { border: 1.5px solid var(--brand); border-radius: var(--radius-lg); overflow: hidden; position: relative; background: #fff; }
.pro-head { background: radial-gradient(ellipse 60% 90% at 88% 10%, rgba(237, 144, 32, .2) 0%, transparent 55%), linear-gradient(150deg, #0A2F57 0%, #064A85 55%, #0861A9 100%); color: #fff; padding: 22px 24px; position: relative; }
.pro-badge { position: absolute; top: 14px; right: 14px; background: var(--accent); color: var(--brand-deep); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
.pro-head h2 { font-size: 1.25rem; font-weight: 800; }
.pro-head p { font-size: .8rem; color: rgba(255, 255, 255, .85); margin-top: 3px; }
.pro-body { padding: 22px 24px; }
.pro-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.5rem); color: var(--brand-deep); text-align: center; line-height: 1.1; }
.pro-price i { display: block; font-style: normal; font-size: .76rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.feat { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin: 20px 0 22px; }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }
.feat li { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--text); }
.feat li svg { width: 15px; height: 15px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.feat li b { font-weight: 700; }
.payment-loader { position: fixed; inset: 0; background: rgba(255, 255, 255, 0.96); z-index: 99999; display: none; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.loader-logo { width: 120px; max-width: 60%; margin-top: 10px; will-change: transform; animation: floatUp 2.2s ease-in-out infinite; }
.spinner-border { width: 3rem; height: 3rem; border: 0.25em solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: .75s linear infinite spin; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
body.loading { overflow: hidden; }

/* ══ BASE MODAL (shared across employer views) ══ */
.modal { position: fixed; inset: 0; z-index: 1050; display: none; align-items: center; justify-content: center; background: rgba(10, 25, 45, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 16px; }
.modal.show { display: block; }
.modal-content { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 440px; overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--bg); display: flex; justify-content: flex-end; gap: 10px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .modal-scrim > *, .modal { animation: none !important; } }

/* ══════════════════════════════════════════════════
   JOB DETAIL PAGE
   ══════════════════════════════════════════════════ */
.job-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
@media (max-width: 991px) { .job-detail-grid { grid-template-columns: 1fr; } }
.detail-card { margin-bottom: 20px; }
.detail-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.detail-item:last-child { border-bottom: none; }
.detail-label { font-weight: 600; color: var(--muted); }
.detail-val { color: var(--text); text-align: right; }
.appl-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.appl-name { font-weight: 700; font-size: .85rem; color: var(--brand-deep); }
.appl-mail { font-size: .72rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.modal-overlay { position: fixed; inset: 0; z-index: 1050; display: none; align-items: center; justify-content: center; background: rgba(10, 25, 45, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 16px; }
.modal-overlay.show { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 440px; overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-box-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-box-body { padding: 20px; }
.modal-box-foot { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--bg); display: flex; justify-content: flex-end; gap: 10px; }

/* ══════════════════════════════════════════════════
   APPLICATION VIEW PAGE
   ══════════════════════════════════════════════════ */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(14px, 1.8vw, 20px); align-items: start; }
@media (max-width: 1024px) { .detail-grid { grid-template-columns: 1fr; } }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
@media (max-width: 560px) { .info-grid { grid-template-columns: 1fr; } }
.info-lbl { font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.info-val { font-size: .88rem; font-weight: 600; color: var(--brand-deep); overflow-wrap: anywhere; }
.info-val a { font-weight: 600; }
.cand-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.cand-head .ava { width: 56px; height: 56px; font-size: 1.05rem; border-radius: 14px; }
.cand-head h2 { font-size: 1.12rem; font-weight: 800; color: var(--brand-deep); }
.cand-head p { font-size: .78rem; color: var(--muted); }
.status-select { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.status-select .select { min-height: 40px; font-size: .8rem; width: auto; }
.cover { font-size: .86rem; color: var(--text); line-height: 1.75; white-space: pre-line; }
.qa-stack { display: flex; flex-direction: column; gap: 9px; }
.qa-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 2px; }
.jd { font-size: .85rem; line-height: 1.75; }
.jd h4 { font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 700; color: var(--brand-deep); margin: 14px 0 6px; }
.jd ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.note-input { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.note-item { border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; font-size: .8rem; background: var(--bg); position: relative; }
.sticky-col { position: sticky; top: 82px; display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 20px); }
@media (max-width: 1024px) { .sticky-col { position: static; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(8px); background: var(--brand-deep); color: #fff; font-size: .82rem; font-weight: 600; padding: 11px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 1500; opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease, visibility .22s; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); text-align: center; }
.toast svg { width: 15px; height: 15px; color: #7ee2a8; flex-shrink: 0; }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.status-pill { text-transform: capitalize; }
.modal-title.t-reject svg { color: var(--danger); }
.modal-title.t-shortlist svg, .modal-title.t-reviewed svg { color: var(--brand); }
.modal-title.t-hired svg { color: var(--success); }
.modal-hint { font-size: .74rem; color: var(--muted); margin-top: 8px; }
.modal-body textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.req { color: var(--danger); }
.modal-body .notice { margin-bottom: 14px; }

/* ══════════════════════════════════════════════════
   NOTIFICATIONS / CANDIDATE ALERTS PAGE
   ══════════════════════════════════════════════════ */
.alert-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: #fff; transition: var(--transition); }
.alert-card:hover { box-shadow: var(--shadow); }
.alert-card + .alert-card { margin-top: 14px; }
.alert-top { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.alert-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alert-ic svg { width: 18px; height: 18px; }
.alert-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .92rem; color: var(--brand-deep); }
.alert-meta { font-size: .72rem; color: var(--muted); margin-top: 1px; }
.alert-new { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--accent-dark); background: var(--accent-light); border-radius: 20px; padding: 5px 13px; text-decoration: none; }
.alert-new:hover { background: #f8e3c4; }
.frequency-select, .email-toggle, .active-toggle { font-size: .8rem; }

/* ══════════════════════════════════════════════════
   VIEW JOB PAGE
   ══════════════════════════════════════════════════ */
.countdown-timer { font-family: monospace; font-size: 0.875rem; }
.job-detail-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.job-detail-value { font-size: 0.95rem; font-weight: 500; color: var(--text); margin-bottom: 20px; }
.nav-tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.nav-tabs .nav-link { color: var(--muted); font-weight: 600; padding: 10px 4px; border: none; background: none; border-bottom: 2px solid transparent; cursor: pointer; transition: var(--transition); font-size: 0.9rem; }
.nav-tabs .nav-link:hover { color: var(--brand); }
.nav-tabs .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-content .tab-pane { display: none; }
.tab-content .tab-pane.active { display: block; }
.chart-container { position: relative; height: 250px; width: 100%; }
.dropdown-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* ══════════════════════════════════════════════════
   MY JOBS PAGE
   ══════════════════════════════════════════════════ */
.job-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.job-cell-title { font-weight: 600; font-size: .85rem; color: var(--brand-deep); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-cell-title a { color: inherit; }
.job-cell-title a:hover { color: var(--brand); }
.job-cell-sub { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.metric { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--brand-deep); }
.metric i { font-style: normal; display: block; font-size: .62rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pill--paused { background: #f0f4f8; color: var(--muted); border: 1px solid var(--border); }
@media (max-width: 760px) {
  .tbl--jobs { min-width: 0; }
  .tbl--jobs thead { display: none; }
  .tbl--jobs tr { display: block; border-bottom: 1px solid var(--border); padding: 14px 4px; }
  .tbl--jobs td { display: flex; align-items: center; justify-content: space-between; border: none; padding: 5px 0; gap: 10px; }
  .tbl--jobs td::before { content: attr(data-lbl); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .tbl--jobs td.no-lbl::before { display: none; }
}

/* ══════════════════════════════════════════════════
   APPLICATIONS PAGE
   ══════════════════════════════════════════════════ */
.stats--apps { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1250px) { .stats--apps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stats--apps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .tbl--apps { min-width: 0; } .tbl--apps thead { display: none; } .tbl--apps tr { display: block; border-bottom: 1px solid var(--border); padding: 14px 4px; } .tbl--apps td { display: flex; align-items: center; justify-content: space-between; border: none; padding: 5px 0; gap: 10px; } .tbl--apps td::before { content: attr(data-lbl); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .tbl--apps td.no-lbl::before { display: none; } }

/* ══════════════════════════════════════════════════
   CANDIDATES SEARCH PAGE
   ══════════════════════════════════════════════════ */
.filters-card { position: sticky; top: 86px; z-index: 10; }
@media (max-width: 1024px) { .filters-card { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); z-index: 1300; border-radius: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .26s ease; box-shadow: var(--shadow-lg); padding-bottom: env(safe-area-inset-bottom, 0); } .filters-card.open { transform: translateX(0); } }
.cand-card { display: grid; grid-template-columns: auto 1.2fr 1fr 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: var(--transition); }
.cand-card:hover { box-shadow: var(--shadow); border-color: var(--brand); }
@media (max-width: 960px) { .cand-card { grid-template-columns: auto 1fr; } }
.cc-ava { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light); color: var(--brand); font-family: 'Sora', sans-serif; font-weight: 800; font-size: .9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cc-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .92rem; color: var(--brand-deep); }
.cc-role { font-size: .74rem; color: var(--muted); margin-top: 1px; }
.cc-meta { font-size: .72rem; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.cc-act { display: flex; gap: 8px; flex-shrink: 0; }
.cc-skill { font-size: .66rem; font-weight: 600; color: var(--brand); background: var(--brand-light); border-radius: 20px; padding: 3px 10px; }
.cc-id { font-size: .62rem; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; }
.cand-list-head { display: grid; grid-template-columns: auto 1fr 1fr 1fr auto; gap: 16px; align-items: center; padding: 12px 18px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); }
.result-count { font-size: .82rem; color: var(--muted); font-weight: 600; }
.mob-filter-btn { display: none; }
@media (max-width: 1024px) { .mob-filter-btn { display: flex; } }

/* ══════════════════════════════════════════════════
   COMPANY PROFILE PAGE
   ══════════════════════════════════════════════════ */
.prof-grid { display: grid; grid-template-columns: 330px 1fr; gap: clamp(14px, 1.8vw, 20px); align-items: start; }
@media (max-width: 1024px) { .prof-grid { grid-template-columns: 1fr; } }
.prof-col { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 20px); }
.id-card { text-align: center; padding: 28px 22px 22px; }
.id-logo { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 16px; background: #fff; display: flex; align-items: center; justify-content: center; border: 4px solid var(--brand-light); box-shadow: var(--shadow); overflow: hidden; padding: 16px; }
.id-logo-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2rem; color: var(--brand); }
.id-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.12rem; color: var(--brand-deep); }
.id-mail { font-size: .8rem; color: var(--muted); margin: 2px 0 12px; overflow-wrap: anywhere; }
.badge-verified { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin: 0 auto; }
.badge-verified svg { width: 13px; height: 13px; }
.id-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.pf { display: flex; align-items: center; gap: 16px; }
.pf-ring { width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(var(--brand) var(--pf-pct, 0%), var(--border) 0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pf-ring::after { content: ''; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: block; }

/* Keep this final: later shared form declarations otherwise override mobile. */
@media (max-width: 640px) {
  .post-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 72px;
  }
  .post-wrap .form-grid,
  .post-wrap .form-grid.cols-3,
  .post-wrap .form-grid[style] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .post-wrap input,
  .post-wrap select,
  .post-wrap textarea {
    min-width: 0;
    max-width: 100%;
  }
}

/* iOS Safari auto-zooms the whole page when a focused input's font-size is
   under 16px — force 16px on every text input on touch-width viewports so
   tapping a field on dashboard/profile/job-posting forms doesn't zoom. */
@media (max-width: 768px) {
  .form-control,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="url"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ══ MULTI-SELECT DROPDOWN (e.g. employer industries) ══ */
.ms-dropdown { position: relative; }
.ms-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; min-height: 42px;
  font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--text); background: var(--bg);
  cursor: pointer; transition: border-color var(--transition), background var(--transition); text-align: left;
}
.ms-trigger .ms-trigger-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-trigger .ms-trigger-label.placeholder { color: var(--muted); }
.ms-trigger svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; transition: transform var(--transition); }
.ms-dropdown.open .ms-trigger { border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px rgba(8,97,169,.12); }
.ms-dropdown.open .ms-trigger svg { transform: rotate(180deg); }
.ms-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-lg); max-height: 320px; overflow-y: auto; padding: 8px;
}
.ms-dropdown.open .ms-panel { display: block; }
.ms-group-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 8px 8px 4px; }
.ms-option { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 6px; font-size: .86rem; color: var(--text); cursor: pointer; user-select: none; }
.ms-option:hover { background: var(--bg); }
.ms-option input { width: 15px; height: 15px; min-height: 15px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }

/* ══ DASHBOARD MOBILE OVERFLOW CONTAINMENT ══ */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

@media (max-width: 1024px) {
  .emp-shell-wrap,
  .emp-main,
  .emp-topbar,
  .topbar-inner,
  .emp-body,
  .container-fluid,
  .row,
  .card,
  .card-body,
  .table-responsive,
  .data-grid-container {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .topbar-inner {
    padding-left: clamp(8px, 2vw, 14px) !important;
    padding-right: clamp(8px, 2vw, 14px) !important;
    gap: 6px !important;
  }

  .tb-crumb, .tb-search {
    display: none !important;
  }

  .tb-right {
    gap: 6px !important;
  }

  .tb-wallet {
    padding: 5px 8px !important;
    font-size: .72rem !important;
    min-height: 38px !important;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
  }

  .tb-wallet span.lbl {
    display: none !important;
  }

  .tb-icon {
    width: 38px !important;
    height: 38px !important;
  }

  .tb-avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: .78rem !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  [class*="col-"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}


