/* ABUSHHIWA Jobs — public website */
:root {
  --ink: #1d2b4f; --ink-2: #2b3c66; --ink-3: #8fa0c7;
  --bg: #f2f4f8; --paper: #fff; --line: #dce1ea; --line-2: #eceff4;
  --text: #17203a; --muted: #5d6882;
  --go: #0d8a5d; --go-2: #0a6f4a; --go-soft: #e3f4ec; --mint: #7fe0b6;
  --warn: #a8690f; --warn-soft: #fbf1df; --bad: #bf3426; --bad-soft: #fbe9e6; --info: #2d5bc9; --info-soft: #e7eefc;
  --gold: #b7791f; --gold-soft: #fdf3dc;
  --r: 12px; --r-sm: 8px;
  --shadow: 0 1px 2px rgba(23, 32, 58, .05), 0 2px 8px rgba(23, 32, 58, .04);
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15.5px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; min-height: 100vh; }
#app { min-height: 100vh; display: flex; flex-direction: column; }
#page { flex: 1; }
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; }
h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 600; }
h3 { font-size: 1.02rem; font-weight: 600; }
p { margin: .4rem 0; }
.ic { flex: none; vertical-align: middle; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--info) 55%, transparent); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(.9rem, 3vw, 1.5rem); }
.narrow { max-width: 760px; }
.hint { color: var(--muted); font-size: .9rem; }
.center { text-align: center; }
.opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.warn { color: var(--warn); font-weight: 600; }
.ok-text { color: var(--go-2); font-weight: 600; }
.err-text { color: var(--bad); }
.danger-text { color: var(--bad) !important; }
.linkish { background: none; border: 0; padding: 0; color: var(--info); cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: .3rem; }
.linkish:hover { text-decoration: underline; }
bdi { unicode-bidi: isolate; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; padding: .5rem 1.05rem; border-radius: var(--r-sm);
  border: 1px solid transparent; background: var(--paper); color: var(--text); font-weight: 600; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--go); color: #fff; }
.btn.primary:hover { background: var(--go-2); }
.btn.ghost { border-color: var(--line); background: var(--paper); }
.btn.ghost:hover { border-color: var(--ink-3); background: #f8f9fc; }
.btn.ghost.on { border-color: var(--go); color: var(--go-2); background: var(--go-soft); }
.btn.danger { background: var(--bad); color: #fff; }
.btn.wa { background: #1fa855; color: #fff; }
.btn.wa:hover { background: #17924a; }
.btn.light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.btn.small { min-height: 34px; padding: .3rem .75rem; font-size: .88rem; }
.btn.big { min-height: 50px; padding: .65rem 1.4rem; font-size: 1.02rem; }
.btn.full { width: 100%; }
.btn:disabled, .btn.busy { opacity: .6; pointer-events: none; }
.btn.busy::after, label.busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.btn-col { display: flex; flex-direction: column; gap: .5rem; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: none !important; }
.icon-btn:hover { background: rgba(127, 140, 170, .14); }
.badge { position: absolute; top: 1px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ff5a47; color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.file-btn { position: relative; }

/* ---------- header ---------- */
.top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none !important; flex: none; }
.brand-img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 1.08rem; }
.brand-txt small { font-size: .62rem; letter-spacing: .16em; color: var(--mint); font-weight: 600; }
.nav { display: flex; gap: .25rem; margin-inline-start: 1rem; }
.nav a { color: #c9d2e8; padding: .45rem .8rem; border-radius: var(--r-sm); font-weight: 500; display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.nav a:hover, .nav a.on { color: #fff; background: var(--ink-2); }
.nav a.nav-post { color: var(--mint); }
.top-tools { margin-inline-start: auto; display: flex; align-items: center; gap: .4rem; }
.lang-btn { background: transparent; border: 1px solid var(--ink-2); color: #dfe5f3; border-radius: 99px; padding: .25rem .8rem; cursor: pointer; font-size: .85rem; }
.lang-btn:hover { border-color: var(--ink-3); color: #fff; }
.top .btn.ghost { background: transparent; color: #fff; border-color: var(--ink-2); }
.me-btn { display: inline-flex; align-items: center; gap: .4rem; color: #fff; background: var(--ink-2); padding: .35rem .8rem; border-radius: 99px; text-decoration: none !important; max-width: 200px; }
.me-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-btn { display: none; }
.verify-bar { background: var(--warn-soft); color: #6b4708; font-size: .9rem; padding: .5rem 0; border-bottom: 1px solid #f0dcb4; }
.verify-bar .wrap { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #c9d2e8; margin-top: 3rem; padding: 2.5rem 0 1rem; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot h4 { color: #fff; margin-bottom: .7rem; font-size: .95rem; }
.foot a { display: flex; align-items: center; gap: .4rem; color: #c9d2e8; padding: .18rem 0; }
.foot a:hover { color: #fff; }
.foot .brand { margin-bottom: .6rem; }
.foot-brand p { font-size: .9rem; max-width: 40ch; }
.free-tag { color: var(--mint); font-weight: 600; display: flex; gap: .35rem; align-items: center; }
.foot-note { border-top: 1px solid var(--ink-2); margin-top: 2rem; padding-top: 1rem; font-size: .82rem; color: var(--ink-3); white-space: pre-line; text-align: center; }

/* ---------- home ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, #2e4a86 0, transparent 60%), linear-gradient(160deg, var(--ink) 0%, #16223f 100%); color: #fff; padding: 3.2rem 0 3.6rem; }
.hero-in { text-align: center; }
.hero h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.hero-sub { color: #c9d2e8; max-width: 62ch; margin: .8rem auto 1.6rem; font-size: 1.05rem; }
.hero-search, .search-bar { display: flex; gap: .5rem; background: #fff; padding: .45rem; border-radius: 14px; max-width: 820px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hs-field { flex: 1; display: flex; align-items: center; gap: .4rem; padding-inline: .7rem; color: var(--muted); min-width: 0; }
.hs-field + .hs-field { border-inline-start: 1px solid var(--line); }
.hs-field input, .hs-field select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 46px; color: var(--text); font-size: 1rem; }
.hero-stats { display: flex; justify-content: center; gap: 2rem; margin-top: 1.6rem; color: #c9d2e8; flex-wrap: wrap; }
.hero-stats b { color: var(--mint); font-size: 1.3rem; margin-inline-end: .25rem; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: -1.6rem; position: relative; }
.cta { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); border: 1px solid var(--line-2); color: var(--text); text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,32,58,.08); }
.cta > .ic:first-child { padding: 10px; width: 52px; height: 52px; border-radius: 12px; }
.cta.seek > .ic:first-child { background: var(--go-soft); color: var(--go-2); }
.cta.emp > .ic:first-child { background: var(--info-soft); color: var(--info); }
.cta div { flex: 1; }
.cta p { color: var(--muted); font-size: .9rem; margin: .15rem 0 0; }
.cta > .ic:last-child { color: var(--ink-3); }
[dir=rtl] .cta > .ic:last-child, [dir=rtl] .more-link .ic, [dir=rtl] .crumbs .ic, [dir=rtl] .find-cta > .ic:last-child, [dir=rtl] .back .ic { transform: scaleX(-1); }
[dir=ltr] .back .ic, [dir=ltr] .ct-back .ic { transform: scaleX(-1); }
.block { margin-top: 2.4rem; }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.more-link { display: inline-flex; align-items: center; gap: .2rem; font-weight: 600; font-size: .92rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.cat { display: flex; align-items: center; gap: .6rem; padding: .75rem .9rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text); text-decoration: none !important; }
.cat:hover { border-color: var(--go); }
.cat .ic { color: var(--go); }
.cat span { flex: 1; font-weight: 500; font-size: .92rem; line-height: 1.3; }
.cat b { color: var(--muted); font-weight: 600; font-size: .85rem; background: var(--bg); padding: 0 .5rem; border-radius: 99px; }
.region-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.city-cloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--text); font-size: .9rem; text-decoration: none !important; cursor: pointer; }
.chip:hover { border-color: var(--go); }
.chip b { color: var(--muted); font-weight: 600; font-size: .8rem; }
.chip.big { padding: .45rem 1rem; font-weight: 600; }
.chip.on { background: var(--go-soft); border-color: #b5e3cd; color: var(--go-2); }
.chip.sm { padding: .1rem .6rem; font-size: .82rem; background: var(--bg); border-color: transparent; cursor: default; }
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.how-col { background: var(--paper); border-radius: var(--r); padding: 1.3rem 1.4rem; border: 1px solid var(--line-2); }
.how-col h2 { display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.how-col ol { margin: .8rem 0 0; padding-inline-start: 1.3rem; }
.how-col li { margin: .45rem 0; }
.safety-strip { display: flex; gap: .8rem; align-items: center; margin-top: 1.5rem; padding: .9rem 1.2rem; background: var(--warn-soft); border-radius: var(--r); color: #6b4708; }
.safety-strip p { margin: 0; }

/* ---------- job cards ---------- */
.job-list { display: flex; flex-direction: column; gap: .6rem; }
.job-card { display: flex; gap: .9rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: var(--shadow); transition: border-color .15s; }
.job-card:hover { border-color: #c5cde0; }
.job-card.featured { border-color: #ecd49b; background: linear-gradient(0deg, #fff, #fffcf3); }
.job-main { flex: 1; min-width: 0; }
.job-card h3 { font-size: 1.05rem; }
.job-card h3 a { color: var(--ink); }
.job-co a { color: var(--muted); font-weight: 500; font-size: .92rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; color: var(--muted); font-size: .86rem; margin-top: .35rem; align-items: center; }
.job-meta span { display: inline-flex; align-items: center; gap: .25rem; }
.job-meta .sal { color: var(--go-2); font-weight: 600; }
.job-meta.light { color: #c9d2e8; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; flex: none; }
.job-ago { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.save-btn { border: 1px solid var(--line); background: var(--paper); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.save-btn:hover { border-color: var(--go); color: var(--go); }
.save-btn.on { color: var(--go); border-color: #b5e3cd; background: var(--go-soft); }
.feat-tag { display: inline-flex; align-items: center; gap: .2rem; background: var(--gold-soft); color: var(--gold); font-size: .74rem; font-weight: 700; padding: 0 .5rem; border-radius: 99px; margin-bottom: .2rem; }
.logo { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line-2); flex: none; display: grid; place-items: center; }
.logo.ph { background: linear-gradient(135deg, #e3e9f6, #d4ddf0); color: var(--ink-2); font-weight: 700; font-size: 1.05rem; border: 0; }
.logo.lg { width: 72px; height: 72px; font-size: 1.4rem; }
.logo.xl { width: 92px; height: 92px; font-size: 1.8rem; border-radius: 16px; }
.job-logo { flex: none; text-decoration: none !important; }

/* ---------- search page ---------- */
.search-top { background: var(--ink); padding: 1.1rem 0; }
.search-bar { box-shadow: none; }
.search-grid { display: grid; grid-template-columns: 270px 1fr; gap: 1.4rem; margin-top: 1.4rem; align-items: start; }
.filters { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1rem; position: sticky; top: 80px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.filters-head h3 { display: flex; gap: .4rem; align-items: center; }
.filters .btn { margin-top: .9rem; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; flex-wrap: wrap; }
.results-head h1 { font-size: 1.35rem; }
.results-head h1 small { color: var(--muted); font-size: .9rem; font-weight: 500; margin-inline-start: .4rem; }
.results-tools { display: flex; gap: .5rem; align-items: center; }
.results-tools select { border: 1px solid var(--line); border-radius: var(--r-sm); padding: .4rem .6rem; background: var(--paper); }
.show-filters { display: none !important; }
.active-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.active-chips:empty { display: none; }
.pager { display: flex; justify-content: center; gap: .3rem; margin: 1.4rem 0; align-items: center; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 .5rem; border-radius: var(--r-sm); }
.pager a { background: var(--paper); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.pager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
[dir=rtl] .pager a:first-child .ic { transform: none; }
[dir=ltr] .pager a:first-child:not(:last-child) .ic { transform: scaleX(-1); }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: .9rem; }
.form.compact { gap: .65rem; }
.form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 500; font-size: .92rem; }
.form label > .ic { display: inline; }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form select, .form textarea, .filter-bar input, .filter-bar select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; padding: .55rem .75rem; min-height: 42px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--info); box-shadow: 0 0 0 3px var(--info-soft); }
.form input:disabled { background: var(--bg); color: var(--muted); }
.form textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.form.compact input:not([type=checkbox]), .form.compact select { min-height: 38px; padding: .4rem .6rem; }
.form label.check, .check { flex-direction: row !important; align-items: center; gap: .5rem; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--go); flex: none; }
.grid2, .grid3, .grid4 { display: grid; gap: .9rem; }
.grid2 { grid-template-columns: 1fr 1fr; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.form-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.radio-list { display: flex; flex-direction: column; gap: .3rem; }
.radio { flex-direction: row !important; align-items: center; gap: .5rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.radio:has(input:checked) { border-color: var(--bad); background: var(--bad-soft); }
.radio input { accent-color: var(--bad); }

/* ---------- panels & misc ---------- */
.panel { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.panel > h2 { margin-bottom: .2rem; display: flex; align-items: center; gap: .45rem; }
.panel.form { gap: .85rem; }
.note { display: flex; gap: .6rem; align-items: center; padding: .75rem 1rem; border-radius: var(--r-sm); margin-bottom: 1rem; font-weight: 500; }
.note.warn { background: var(--warn-soft); color: #6b4708; }
.note.info { background: var(--info-soft); color: #1f418f; }
.note.ok { background: var(--go-soft); color: var(--go-2); }
.note.link { text-decoration: none !important; }
.note.link .ic:last-child { margin-inline-start: auto; }
.empty { text-align: center; padding: 2.4rem 1rem; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); }
.empty .ic { color: var(--ink-3); }
.empty h3 { color: var(--text); margin: .6rem 0 .2rem; }
.empty .btn { margin-top: .8rem; }
.loading { display: flex; gap: .6rem; align-items: center; justify-content: center; color: var(--muted); padding: 2.5rem 0; }
.spin { width: 20px; height: 20px; border: 3px solid var(--line); border-top-color: var(--go); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill { display: inline-flex; align-items: center; padding: .05rem .6rem; border-radius: 99px; font-size: .78rem; font-weight: 700; background: var(--bg); color: var(--muted); white-space: nowrap; }
.pill.js-open, .pill.ast-hired { background: var(--go-soft); color: var(--go-2); }
.pill.js-closed, .pill.ast-seen { background: #eceff4; color: var(--muted); }
.pill.js-expired, .pill.ast-new, .pill.new { background: var(--info-soft); color: var(--info); }
.pill.js-hidden, .pill.ast-rejected { background: var(--bad-soft); color: var(--bad); }
.pill.ast-shortlisted { background: var(--gold-soft); color: var(--gold); }
blockquote { margin: .6rem 0; padding: .6rem .9rem; background: var(--bg); border-inline-start: 3px solid var(--ink-3); border-radius: var(--r-sm); white-space: normal; }
.prose { white-space: normal; line-height: 1.8; overflow-wrap: anywhere; }
.crumbs { display: flex; align-items: center; gap: .3rem; font-size: .88rem; margin: 1.1rem 0 .8rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: .2rem; margin-bottom: .8rem; font-weight: 600; }

/* ---------- job page ---------- */
.job-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.2rem; align-items: start; }
.jd-head { display: flex; gap: 1rem; align-items: flex-start; }
.jd-logo { text-decoration: none !important; }
.jd-head h1 { font-size: 1.55rem; color: var(--ink); }
.jd-co { font-weight: 600; font-size: 1.02rem; color: var(--muted); }
.sal-box { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--go-soft); color: var(--go-2); border-radius: var(--r-sm); padding: .75rem 1rem; margin: 1.1rem 0; flex-wrap: wrap; }
.sal-box b { font-size: 1.12rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.facts div { display: grid; grid-template-columns: auto 1fr; column-gap: .55rem; padding: .6rem .75rem; background: var(--bg); border-radius: var(--r-sm); }
.facts .ic { grid-row: span 2; color: var(--ink-3); margin-top: .2rem; }
.facts dt { color: var(--muted); font-size: .8rem; }
.facts dd { margin: 0; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
.jd-sec { margin-top: 1.3rem; }
.jd-sec h2 { margin-bottom: .4rem; color: var(--ink); }
.jd-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.share { display: flex; align-items: center; gap: .25rem; color: var(--muted); }
.job-aside { position: sticky; top: 80px; }
.apply-box { display: flex; flex-direction: column; gap: .6rem; }
.apply-box h3 { color: var(--ink); }
.contact-title { color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: .4rem; text-align: center; }
.applied { display: flex; gap: .6rem; align-items: center; background: var(--go-soft); color: var(--go-2); padding: .8rem; border-radius: var(--r-sm); }
.applied div { display: flex; flex-direction: column; }
.co-box-head { display: flex; gap: .7rem; align-items: center; color: var(--text); text-decoration: none !important; margin-bottom: .5rem; }
.co-box-head div { display: flex; flex-direction: column; }
.co-box-head small { color: var(--muted); }
.clip { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .9rem; }
.tip { display: flex; gap: .6rem; align-items: flex-start; background: var(--warn-soft); border-color: #f0dcb4; color: #6b4708; font-size: .88rem; }
.tip p { margin: 0; }
.apply-sum { display: flex; flex-direction: column; gap: .4rem; background: var(--bg); padding: .8rem 1rem; border-radius: var(--r-sm); margin: .5rem 0 1rem; }
.apply-sum div { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }

/* ---------- company page ---------- */
.co-hero { background: linear-gradient(160deg, var(--ink), #16223f); color: #fff; padding: 2rem 0; }
.co-hero-in { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.co-hero-in > div { flex: 1; }
.co-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.2rem; margin-top: 1.4rem; align-items: start; }
.co-contact p { display: flex; gap: .5rem; align-items: center; overflow-wrap: anywhere; }
.co-contact .btn { margin: .6rem 0; }
.prose-page h1 { display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; color: var(--ink); }
.ticks { padding: 0; list-style: none; }
.ticks li { position: relative; padding-inline-start: 1.8rem; margin: .7rem 0; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--go); font-weight: 700; }
.narrow .panel { margin-top: 1.5rem; }
.narrow .btn.wa { margin: .3rem 0 1rem; }

/* ---------- auth ---------- */
.auth-wrap { display: flex; justify-content: center; padding-top: 2.5rem; }
.auth-box { width: 100%; max-width: 440px; padding: 1.8rem; }
.auth-box.wide { max-width: 640px; }
.auth-box h1 { color: var(--ink); }
.auth-box .form { margin-top: 1rem; }
.auth-alt { text-align: center; border-top: 1px solid var(--line-2); margin-top: 1.2rem; padding-top: 1rem; color: var(--muted); }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1rem; }
.role { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1rem; border: 2px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; color: var(--muted); }
.role b { color: var(--text); font-size: 1.02rem; }
.role small { font-size: .82rem; }
.role.on { border-color: var(--go); background: var(--go-soft); color: var(--go-2); }
.emp-only { display: none !important; }
.as-employer .emp-only { display: flex !important; }
.as-employer label > .emp-only { display: inline !important; }
.as-employer .lbl-seeker { display: none; }
.done, .need-acc { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1rem 0; }
.done .ic, .need-acc > .ic { color: var(--go); }
.need-acc .btn-col { width: 100%; max-width: 340px; margin-top: .6rem; }

/* ---------- modal & toast ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(15, 22, 42, .55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fade .15s; }
.modal { position: relative; background: var(--paper); border-radius: var(--r); width: 100%; max-width: 520px; max-height: calc(100vh - 2rem); overflow: auto; padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal.wide { max-width: 820px; }
.modal h2 { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; padding-inline-end: 2rem; color: var(--ink); }
.modal-x { position: absolute; top: .7rem; inset-inline-end: .7rem; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; display: grid; place-items: center; }
.modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.confirm-text { font-size: 1.02rem; margin: .5rem 2rem 0 0; }
@keyframes fade { from { opacity: 0; } }
#toasts { position: fixed; bottom: 1.2rem; inset-inline: 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; z-index: 200; pointer-events: none; padding: 0 1rem; }
.toast { background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm); box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: 560px; transition: opacity .3s, transform .3s; animation: up .2s; font-weight: 500; }
.toast.err { background: var(--bad); }
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }

/* ---------- account ---------- */
.acc { display: grid; grid-template-columns: 250px 1fr; gap: 1.4rem; margin-top: 1.4rem; align-items: start; }
.acc-nav { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: .8rem; position: sticky; top: 80px; }
.acc-who { display: flex; gap: .6rem; align-items: center; padding: .3rem .3rem .8rem; border-bottom: 1px solid var(--line-2); margin-bottom: .5rem; }
.acc-who .logo { width: 44px; height: 44px; }
.acc-who div { display: flex; flex-direction: column; min-width: 0; }
.acc-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-who small { color: var(--muted); }
.acc-nav nav { display: flex; flex-direction: column; gap: .1rem; }
.acc-nav nav a, .acc-out { position: relative; display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: var(--r-sm); color: var(--text); text-decoration: none !important; font-weight: 500; background: none; border: 0; cursor: pointer; text-align: start; width: 100%; }
.acc-nav nav a:hover, .acc-out:hover { background: var(--bg); }
.acc-nav nav a.on { background: var(--go-soft); color: var(--go-2); }
.acc-nav nav a .badge { position: static; margin-inline-start: auto; }
.acc-out { color: var(--muted); margin-top: .4rem; border-top: 1px solid var(--line-2); border-radius: 0; padding-top: .8rem; }
.acc-main { min-width: 0; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.acc-head h1 { font-size: 1.4rem; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.stat { display: flex; flex-direction: column; gap: .1rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1rem; color: var(--text); text-decoration: none !important; box-shadow: var(--shadow); }
.stat .ic { color: var(--go); }
.stat b { font-size: 1.6rem; line-height: 1.2; margin-top: .3rem; }
.stat span { color: var(--muted); font-size: .88rem; }
.rows { display: flex; flex-direction: column; }
.panel.rows { padding: .3rem 1.1rem; }
.row-item { display: flex; align-items: center; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid var(--line-2); }
.row-item:last-child { border-bottom: 0; }
.row-item > .ic { color: var(--ink-3); }
.ri-main { flex: 1; min-width: 0; }
.ri-title { font-weight: 600; color: var(--ink); }
.ri-count { display: flex; flex-direction: column; align-items: center; min-width: 76px; padding: .4rem .6rem; border-radius: var(--r-sm); background: var(--bg); color: var(--text); text-decoration: none !important; }
.ri-count b { font-size: 1.25rem; line-height: 1.2; }
.ri-count span { font-size: .75rem; color: var(--muted); }
.ri-count em { font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: var(--info); border-radius: 99px; padding: 0 .45rem; margin-top: .15rem; }
.find-cta { display: flex; align-items: center; gap: 1rem; color: var(--text); text-decoration: none !important; }
.find-cta > .ic:first-child { color: var(--info); background: var(--info-soft); padding: 10px; width: 48px; height: 48px; border-radius: 12px; }
.find-cta div { flex: 1; }
.find-cta p { color: var(--muted); margin: 0; font-size: .9rem; }
.my-job .mj-top { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; margin-bottom: .8rem; }
.my-job h3 a { color: var(--ink); }
.tabs { display: flex; gap: .3rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: .35rem .9rem; cursor: pointer; font-weight: 500; }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.person-top { display: flex; gap: .9rem; align-items: flex-start; }
.person-main { flex: 1; min-width: 0; }
.person-main h3 a { color: var(--ink); }
.hl { color: var(--muted); font-weight: 500; }
.ast-sel { border: 1px solid var(--line); border-radius: 99px; padding: .3rem .7rem; font-weight: 600; font-size: .85rem; background: var(--paper); }
.ast-sel.ast-shortlisted { border-color: #ecd49b; color: var(--gold); }
.ast-sel.ast-hired { border-color: #b5e3cd; color: var(--go-2); }
.ast-sel.ast-rejected { border-color: #f1c3bc; color: var(--bad); }
.skills { display: flex; flex-wrap: wrap; gap: .3rem; margin: .6rem 0; }
.person .btn-row { margin-top: .6rem; }
.filter-bar .btn-row { justify-content: flex-end; gap: 1.2rem; }
.filter-bar label { font-weight: 500; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .8rem; }
.person-card { display: flex; gap: .8rem; align-items: flex-start; color: var(--text); text-decoration: none !important; margin: 0; }
.person-card:hover { border-color: #c5cde0; }
.person-card h3 { display: flex; align-items: center; gap: .4rem; }
.dot-ok { width: 9px; height: 9px; border-radius: 50%; background: var(--go); display: inline-block; }
.profile-view h1 { color: var(--ink); }
.profile-view h3 { margin-top: 1rem; color: var(--ink); }
.profile-view .facts { margin-top: 1.2rem; }
.contact-row { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.logo-edit { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.meter-box { display: flex; align-items: center; gap: 1.2rem; justify-content: space-between; flex-wrap: wrap; }
.meter-box > div { flex: 1; min-width: 220px; }
.meter { height: 10px; background: var(--bg); border-radius: 99px; overflow: hidden; margin: .5rem 0; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--go), var(--mint)); border-radius: 99px; }
[dir=rtl] .meter span { background: linear-gradient(270deg, var(--go), var(--mint)); }
.cv-box { display: flex; gap: 1rem; align-items: flex-start; border-color: #c8e8d8; background: linear-gradient(0deg, #fff, #f6fcf9); }
.cv-ic { width: 60px; height: 60px; border-radius: 14px; background: var(--go-soft); color: var(--go-2); display: grid; place-items: center; flex: none; }
.cv-main { flex: 1; }
.danger-zone { border-color: #f1c3bc; }
.danger-zone h2 { color: var(--bad); }

/* ---------- messages ---------- */
.chat { display: grid; grid-template-columns: 320px 1fr; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; height: calc(100vh - 140px); min-height: 460px; box-shadow: var(--shadow); }
.chat-list { border-inline-end: 1px solid var(--line-2); overflow-y: auto; }
.chat-list h2 { padding: 1rem 1rem .6rem; position: sticky; top: 0; background: var(--paper); }
.pad { padding: 0 1rem; }
.convo { display: flex; gap: .65rem; align-items: center; padding: .7rem 1rem; color: var(--text); text-decoration: none !important; border-top: 1px solid var(--line-2); }
.convo:hover { background: var(--bg); }
.convo.on { background: var(--go-soft); }
.convo .logo { width: 42px; height: 42px; font-size: .9rem; }
.convo div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.convo b, .convo small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.convo .cj { color: var(--info); font-size: .78rem; }
.convo .last { color: var(--muted); font-size: .82rem; }
.convo.unread b, .convo.unread .last { color: var(--text); font-weight: 700; }
.when { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; font-size: .72rem; color: var(--muted); white-space: nowrap; }
.when .badge { position: static; }
.chat-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); }
.chat-empty .ic { color: var(--ink-3); }
.ct-head { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line-2); }
.ct-head .logo { width: 40px; height: 40px; font-size: .9rem; }
.ct-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-who b a { color: var(--ink); }
.ct-who small a { color: var(--muted); }
.ct-back { display: none; }
.ct-msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; background: #f7f8fb; }
.bubble { max-width: 75%; padding: .55rem .85rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line-2); align-self: flex-start; }
.bubble.me { align-self: flex-end; background: var(--go); color: #fff; border-color: var(--go); }
.bubble p { margin: 0; overflow-wrap: anywhere; }
.bubble small { display: block; font-size: .7rem; opacity: .7; margin-top: .15rem; }
.ct-send { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line-2); align-items: flex-end; }
.ct-send textarea { flex: 1; border: 1px solid var(--line); border-radius: 20px; padding: .55rem 1rem; resize: none; min-height: 42px; max-height: 160px; outline: 0; line-height: 1.45; }
.ct-send textarea:focus { border-color: var(--info); }
.ct-send .btn { border-radius: 50%; width: 44px; min-height: 44px; padding: 0; }
[dir=rtl] .ct-send .btn .ic { transform: scaleX(-1); }

.m-apply { display: none !important; }
#apply-box { scroll-margin-top: 80px; }
/* documents */
.docs-head { display: flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .88rem; color: var(--ink); margin: .5rem 0 .3rem; }
.docs { display: flex; flex-direction: column; gap: .4rem; margin: .4rem 0; }
.doc { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fafbfd; }
.doc-ic { width: 34px; height: 34px; border-radius: 8px; background: var(--info-soft); color: var(--info); display: grid; place-items: center; flex: none; }
.doc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-main b, .doc-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-main small { color: var(--muted); font-size: .8rem; }
.docs-add { margin-top: .6rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.me-btn { position: relative; }
.me-btn .badge { top: -4px; inset-inline-end: -4px; }
/* support conversations */
.support-thread { padding: 0; overflow: hidden; }
.st-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.st-msgs { max-height: 460px; }
.bubble.admin { background: var(--info-soft); border-color: #cddbf8; }
.bubble.fresh { box-shadow: 0 0 0 2px var(--info); }
.bubble .who { display: flex; align-items: center; gap: .3rem; font-size: .78rem; color: var(--info); margin-bottom: .15rem; }
/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .search-grid { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .show-filters { display: inline-flex !important; }
  .job-layout, .co-layout { grid-template-columns: 1fr; }
  .job-aside { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .acc { grid-template-columns: 1fr; }
  .acc-nav { position: static; padding: .5rem; }
  .acc-who { display: none; }
  .acc-nav nav { flex-direction: row; overflow-x: auto; gap: .2rem; scrollbar-width: none; }
  .acc-nav nav a, .acc-out { white-space: nowrap; width: auto; padding: .45rem .7rem; }
  .acc-out { border: 0; margin: 0; padding-top: .45rem; border-radius: var(--r-sm); }
  .grid4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .menu-btn { display: inline-grid; color: #fff; }
  .nav { display: none; position: absolute; top: 64px; inset-inline: 0; background: var(--ink); flex-direction: column; padding: .5rem 1rem 1rem; margin: 0; box-shadow: 0 10px 20px rgba(0,0,0,.2); }
  .nav.open { display: flex; }
  .nav a { padding: .7rem .8rem; }
  .hide-sm { display: none !important; }
  .me-btn span { display: none; }
  .brand-txt small { display: none; }
  .hero { padding: 2rem 0 2.8rem; }
  .hero-search, .search-bar { flex-direction: column; padding: .5rem; }
  .hs-field + .hs-field { border-inline-start: 0; border-top: 1px solid var(--line); }
  .cta-row, .how, .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .cta-row { margin-top: -1.4rem; }
  .job-card { padding: .85rem; gap: .7rem; }
  .job-card .logo { width: 44px; height: 44px; }
  .foot-in { grid-template-columns: 1fr; gap: 1.2rem; }
  .role-pick { grid-template-columns: 1fr 1fr; }
  .chat { grid-template-columns: 1fr; height: calc(100vh - 170px); }
  .chat.has-open .chat-list { display: none; }
  .chat:not(.has-open) .chat-thread { display: none; }
  .ct-back { display: inline-grid; }
  [dir=rtl] .ct-back .ic { transform: none; }
  .bubble { max-width: 88%; }
  .m-apply { display: flex !important; position: sticky; bottom: .8rem; z-index: 30; margin: 1rem 0; box-shadow: 0 8px 24px rgba(13,138,93,.35); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 1fr; }
  .facts .ic { grid-row: auto; margin: 0; }
  .my-job .mj-top { flex-direction: column; }
  .person-top { flex-wrap: wrap; }
  .panel { padding: 1rem; }
  .modal { padding: 1.2rem; }
}
@media print { .top, .foot, .job-aside, .jd-foot, .crumbs { display: none !important; } body { background: #fff; } .panel { box-shadow: none; border: 0; } }
