﻿@charset "UTF-8";
@import url("../../assets/fonts/poppins.css"); /* خط Poppins اللاتيني (محلي) */
@import url("../../assets/fonts/cairo.css"); /* خط Cairo العربي (محلي، يعمل offline) */
/* Shared identity for all public recruitment screens */
:root{
  --brand:#176b43!important;--brand-d:#0e4f31!important;--accent:#c69a46;
  --bg:#f7f6f1!important;--surface:#fff!important;--surface-2:#eef3ed!important;
  --text:#173126!important;--muted:#68766e!important;--border:#dce4dc!important;
  --pub-shadow:0 16px 42px rgba(21,63,43,.09);
}
:root[data-bs-theme="dark"]{--bg:#0d1812!important;--surface:#15251c!important;--surface-2:#1d3024!important;--text:#e5eee8!important;--muted:#9cafa2!important;--border:#2b4033!important}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:"Poppins","Cairo","Segoe UI",Tahoma,Arial,sans-serif!important;background:radial-gradient(circle at 8% 5%,rgba(23,107,67,.07),transparent 24%),var(--bg)!important;color:var(--text)!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
input,select,textarea,button,.btn,.form-control,.form-select,.nav-link,.badge{font-family:inherit!important}
/* unified public header */
.hero,.portal-hero{min-height:86px!important;padding:0!important;background:linear-gradient(105deg,#0e4029 0%,#176b43 62%,#1f7850 100%)!important;border-bottom:1px solid rgba(255,255,255,.1);box-shadow:none!important}
.hero .container,.portal-hero .container{width:100%!important;max-width:1360px!important;min-height:86px;margin:auto!important;padding-inline:24px!important}
.hero-row{min-height:86px}.logo,.brand-logo{width:48px!important;height:48px!important;padding:5px!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}
.portal-hero .fw-bold.fs-5,.hero-row>div:first-child>div{font-size:17px!important;font-weight:900!important}.portal-hero .small{font-size:11px!important}
.hero .btn,.portal-hero .btn{min-height:44px;padding:0 18px!important;border-radius:9px!important;font-size:13px!important;box-shadow:none!important}
.hero .btn-light,.portal-hero .btn-light{background:#fff!important;color:#173126!important;border-color:#fff!important}.hero .btn-oline,.portal-hero .btn-outline-light{background:rgba(255,255,255,.07)!important;color:#fff!important;border-color:rgba(255,255,255,.35)!important}
/* content rhythm */
body>.container,.portal-card{max-width:1100px!important}.portal-card.py-4{padding-top:34px!important;padding-bottom:34px!important}
.card{background:var(--surface)!important;border:1px solid var(--border)!important;border-top:3px solid var(--accent)!important;border-radius:16px!important;box-shadow:var(--pub-shadow)!important}
body>.container>.card{padding:34px!important;margin:32px 0!important}
/* details screen */
.card h1{color:var(--brand)!important;font-size:clamp(26px,3vw,36px)!important;font-weight:900!important}.chips{gap:8px!important;margin:16px 0 22px!important}.chip{background:#edf4ef!important;border-color:#d6e4da!important;color:#315944!important;border-radius:7px!important;padding:6px 12px!important}
.kv{gap:10px!important;padding:14px 16px;background:var(--surface-2);border-radius:10px}.kv .item{padding-inline-end:13px;border-inline-end:1px solid var(--border)}.kv .item:last-child{border:0}.kv .item b,.sec h4{color:var(--brand)!important}.sec{margin-top:22px!important}.sec h4{font-size:16px!important;border-bottom:1px solid var(--border)!important;padding-bottom:10px!important}.sec .body{font-size:15px!important;line-height:1.9!important;color:var(--text)!important}.share{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.share .btn{width:42px;height:42px;padding:0!important;justify-content:center}.share button.btn{width:auto;padding-inline:14px!important}
/* shared controls */
.btn{border-radius:9px!important;font-family:inherit!important}.btn-brand,.btn-accent{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important;box-shadow:0 8px 20px rgba(23,107,67,.18)}.btn-brand:hover,.btn-accent:hover{background:var(--brand-d)!important;border-color:var(--brand-d)!important}.btn-outline-primary{color:var(--brand)!important;border-color:var(--brand)!important;background:transparent!important}
/* application / tracking portal */
#pubTabs{gap:8px!important;margin-bottom:18px!important}.nav-link{border-radius:9px!important;padding:10px 18px!important}.nav-link.active{background:var(--brand)!important;border-color:var(--brand)!important}.nav-item:first-child .nav-link{background:#fff!important;color:var(--brand)!important;border:1px solid var(--brand)!important}
.tab-pane>.card,form.card{padding:30px!important}.form-label{color:#294438!important;font-size:13px!important}.form-control,.form-select{min-height:44px!important;background:var(--surface)!important;border:1.5px solid var(--border)!important;border-radius:9px!important;padding:10px 12px!important;font-family:inherit!important}.form-control:focus,.form-select:focus{border-color:var(--brand)!important;box-shadow:0 0 0 3px rgba(23,107,67,.13)!important}.form-check-input{accent-color:var(--brand)!important}.exp-row,.crs-row{background:var(--surface-2)!important;border-color:var(--border)!important}.border-bottom{border-color:var(--border)!important}h5[style*="var(--brand)"]{font-size:16px!important;padding-bottom:12px!important;margin-top:26px!important}.alert[style*="#ecfeff"]{background:#edf5f0!important;border-color:#cfe1d4!important;color:#176b43!important}.badge,.step-pill{border-radius:8px!important}.pa-step.done .pa-dot,.pa-step.current .pa-dot{background:var(--brand)!important;border-color:var(--brand)!important}.pa-congrats{border-color:var(--accent)!important;background:linear-gradient(145deg,#fffdf8,#f1f7f3)!important}
footer{color:var(--muted)!important;padding:22px!important}
@media(max-width:767px){.hero,.portal-hero,.hero .container,.portal-hero .container,.hero-row{min-height:74px!important}.hero .container,.portal-hero .container{padding-inline:14px!important}.portal-hero .small{display:none}.portal-hero .fw-bold.fs-5,.hero-row>div:first-child>div{font-size:14px!important}.logo,.brand-logo{width:42px!important;height:42px!important}.hero .btn,.portal-hero .btn{min-height:40px;padding-inline:12px!important}.portal-card.py-4{padding-top:18px!important}.tab-pane>.card,form.card,body>.container>.card{padding:20px!important}.card h1{font-size:27px!important}.kv .item{width:100%;border:0}.share{justify-content:center}}


/* dark mode contrast repair v2 */
:root[data-bs-theme="dark"]{--bg:#09140e!important;--surface:#13241a!important;--surface-2:#1a3021!important;--text:#edf5f0!important;--muted:#a9bbb0!important;--border:#30483a!important;--pub-shadow:0 18px 45px rgba(0,0,0,.28)}
:root[data-bs-theme="dark"] body{background:radial-gradient(circle at 8% 4%,rgba(47,143,89,.12),transparent 25%),#09140e!important;color:#edf5f0!important}
:root[data-bs-theme="dark"] .card{background:#13241a!important;border-color:#30483a!important;border-top-color:#c69a46!important}
:root[data-bs-theme="dark"] :is(.form-label,.form-check-label,.sec .body,.kv .item,.tst-text){color:#dce9e1!important}
:root[data-bs-theme="dark"] :is(.card h1,.sec h4,h5[style*="var(--brand)"],.text-brand){color:#7ed6a3!important}
:root[data-bs-theme="dark"] .text-muted{color:#9fb2a7!important}
:root[data-bs-theme="dark"] :is(.form-control,.form-select,input[readonly]){background:#0e1c14!important;color:#edf5f0!important;border-color:#35503f!important}
:root[data-bs-theme="dark"] :is(.form-control,.form-select)::placeholder{color:#789082!important}
:root[data-bs-theme="dark"] :is(.exp-row,.crs-row,.kv){background:#192d20!important;border-color:#30483a!important}
:root[data-bs-theme="dark"] .chip{background:#1a3021!important;border-color:#35503f!important;color:#c8d8ce!important}
:root[data-bs-theme="dark"] .nav-item:first-child .nav-link{background:#13241a!important;color:#7ed6a3!important;border-color:#3f7554!important}
:root[data-bs-theme="dark"] .nav-link{background:#13241a!important;color:#dce9e1!important;border-color:#30483a!important}
:root[data-bs-theme="dark"] .nav-link.active{background:#2f8f59!important;color:#fff!important;border-color:#2f8f59!important}
:root[data-bs-theme="dark"] .alert[style*="#ecfeff"]{background:#183525!important;border-color:#315d42!important;color:#b9e7cb!important}
:root[data-bs-theme="dark"] .alert-danger{background:#3a1719!important;color:#fecaca!important;border-color:#6f292d!important}
:root[data-bs-theme="dark"] .alert-warning{background:#362711!important;color:#f8d58b!important;border-color:#6b4b18!important}
:root[data-bs-theme="dark"] .btn-outline-secondary{color:#becdc4!important;border-color:#435a4c!important}
:root[data-bs-theme="dark"] .btn-outline-primary{color:#7ed6a3!important;border-color:#4b9868!important}
:root[data-bs-theme="dark"] .share{border-color:#30483a!important}
:root[data-bs-theme="dark"] .pa-congrats{background:linear-gradient(145deg,#183022,#102219)!important;border-color:#8b6d32!important;color:#edf5f0!important}
:root[data-bs-theme="dark"] .closed{background:#3a1719!important;color:#fecaca!important;border-color:#6f292d!important}
