@charset "UTF-8";
@import url("../../assets/fonts/cairo.css"); /* خط Cairo العربي الموحّد (محلي، يعمل offline) */
/* Shared identity for all public recruitment screens */
:root{
  --brand:#17603c!important;--brand-d:#0f4a2d!important;--accent:#f59e0b;
  --bg:#f1f5f9!important;--surface:#fff!important;--surface-2:#f1f5f9!important;
  --text:#1e293b!important;--muted:#64748b!important;--border:#e2e8f0!important;
  --pub-shadow:0 16px 42px rgba(11, 58, 35,.09);
}
:root[data-bs-theme="dark"]{--bg:#0f172a!important;--surface:#1e293b!important;--surface-2:#1e293b!important;--text:#e2e8f0!important;--muted:#94a3b8!important;--border:#334155!important}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:"Cairo",sans-serif!important;background:radial-gradient(circle at 8% 5%,rgba(23, 96, 60,.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,#0b3a23 0%,#17603c 62%,#1f7a4d 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:#1e293b!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:#f1f5f9!important;border-color:#e2e8f0!important;color:#17603c!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, 96, 60,.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:#334155!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, 96, 60,.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*="#f0f7f3"]{background:#f1f5f9!important;border-color:#cbd5e1!important;color:#17603c!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,#f8fafc,#f1f5f9)!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:#0f172a!important;--surface:#1e293b!important;--surface-2:#1e293b!important;--text:#f1f5f9!important;--muted:#94a3b8!important;--border:#334155!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(63, 154, 107,.12),transparent 25%),#0f172a!important;color:#f1f5f9!important}
:root[data-bs-theme="dark"] .card{background:#1e293b!important;border-color:#334155!important;border-top-color:#f59e0b!important}
:root[data-bs-theme="dark"] :is(.form-label,.form-check-label,.sec .body,.kv .item,.tst-text){color:#e2e8f0!important}
:root[data-bs-theme="dark"] :is(.card h1,.sec h4,h5[style*="var(--brand)"],.text-brand){color:#7fbf9c!important}
:root[data-bs-theme="dark"] .text-muted{color:#94a3b8!important}
:root[data-bs-theme="dark"] :is(.form-control,.form-select,input[readonly]){background:#0f172a!important;color:#f1f5f9!important;border-color:#334155!important}
:root[data-bs-theme="dark"] :is(.form-control,.form-select)::placeholder{color:#94a3b8!important}
:root[data-bs-theme="dark"] :is(.exp-row,.crs-row,.kv){background:#1e293b!important;border-color:#334155!important}
:root[data-bs-theme="dark"] .chip{background:#1e293b!important;border-color:#334155!important;color:#cbd5e1!important}
:root[data-bs-theme="dark"] .nav-item:first-child .nav-link{background:#1e293b!important;color:#7fbf9c!important;border-color:#1f7a4d!important}
:root[data-bs-theme="dark"] .nav-link{background:#1e293b!important;color:#e2e8f0!important;border-color:#334155!important}
:root[data-bs-theme="dark"] .nav-link.active{background:#3f9a6b!important;color:#fff!important;border-color:#3f9a6b!important}
:root[data-bs-theme="dark"] .alert[style*="#f0f7f3"]{background:#1e293b!important;border-color:#17603c!important;color:#b7dcc7!important}
:root[data-bs-theme="dark"] .alert-danger{background:#991b1b!important;color:#fecaca!important;border-color:#991b1b!important}
:root[data-bs-theme="dark"] .alert-warning{background:#92400e!important;color:#fcd34d!important;border-color:#92400e!important}
:root[data-bs-theme="dark"] .btn-outline-secondary{color:#cbd5e1!important;border-color:#475569!important}
:root[data-bs-theme="dark"] .btn-outline-primary{color:#7fbf9c!important;border-color:#3f9a6b!important}
:root[data-bs-theme="dark"] .share{border-color:#334155!important}
:root[data-bs-theme="dark"] .pa-congrats{background:linear-gradient(145deg,#1e293b,#0f172a)!important;border-color:#b45309!important;color:#f1f5f9!important}
:root[data-bs-theme="dark"] .closed{background:#991b1b!important;color:#fecaca!important;border-color:#991b1b!important}
