:root {
  --hire-green: #075d43;
  --hire-green-dark: #063d30;
  --hire-green-soft: #e8f3ee;
  --hire-ink: #17231f;
  --hire-muted: #66736d;
  --hire-line: #dfe7e3;
  --hire-paper: #ffffff;
}

.hiring-request-page,
.hiring-list-page,
.hiring-detail-page { background: var(--hire-paper); color: var(--hire-ink); }

.hiring-intro { padding: 50px 0 44px; color: #fff; background: var(--hire-green-dark); }
.hiring-intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 56px; align-items: end; }
.hiring-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; color: #b9e5d1; font-size: .78rem; font-weight: 700; }
.hiring-request-page .hiring-intro h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.12; letter-spacing: -.035em; }
.hiring-intro h1 + p { max-width: 710px; margin: 17px 0 0; color: #e2ece7; font-size: .95rem; line-height: 1.9; }
.hiring-mode-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 650px; margin-top: 28px; border: 1px solid rgba(255,255,255,.14); }
.hiring-mode-cards > span { display: grid; grid-template-columns: 30px 1fr; min-height: 70px; padding: 13px; border-left: 1px solid rgba(255,255,255,.12); }
.hiring-mode-cards > span:last-child { border-left: 0; }
.hiring-mode-cards i { grid-row: 1 / 3; align-self: center; color: #9fe0bf; }
.hiring-mode-cards strong { font-size: .78rem; }
.hiring-mode-cards small { color: #c8ddd4; font-size: .65rem; }
.hiring-intro-note { padding: 20px; color: var(--hire-ink); background: #fff; border-radius: 3px; }
.hiring-intro-note > span { display: block; margin-bottom: 12px; color: var(--hire-muted); font-size: .65rem; font-weight: 700; }
.hiring-intro-note dl { margin: 0; }
.hiring-intro-note dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hire-line); }
.hiring-intro-note dt { font-size: .72rem; font-weight: 700; }
.hiring-intro-note dd { margin: 0; color: var(--hire-muted); font-size: .68rem; line-height: 1.65; }
.hiring-intro-note .is-current dt { color: var(--hire-green); }
.hiring-intro-note > a { display: flex; justify-content: space-between; margin-top: 12px; color: var(--hire-green); font-size: .68rem; font-weight: 700; text-decoration: none; }

.hiring-form-section { padding: 42px 0 90px; }
.hiring-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: start; }
.hiring-form-card { background: #fff; border: 1px solid var(--hire-line); box-shadow: 0 18px 55px rgba(20, 46, 36, .06); }
.hiring-form-block { padding: 30px 34px; border-bottom: 1px solid var(--hire-line); }
.hiring-form-block > header { display: flex; gap: 15px; margin-bottom: 24px; }
.hiring-form-block > header > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: #fff; background: var(--hire-green); border-radius: 50%; font-size: .65rem; font-weight: 700; }
.hiring-form-block h2 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.hiring-form-block header p { margin: 5px 0 0; color: var(--hire-muted); font-size: .7rem; }
.hiring-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hiring-fields-three { grid-template-columns: repeat(3, 1fr); }
.hiring-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.hiring-field-wide { grid-column: 1 / -1; }
.hiring-field > span { color: #34423c; font-size: .7rem; font-weight: 700; }
.hiring-field > span b { color: var(--hire-green); }
.hiring-field > small { color: #5f6b65; font-size: .61rem; line-height: 1.5; }
.hire-input { width: 100%; min-height: 48px; padding: 0 13px; color: var(--hire-ink); background: #fbfcfb; border: 1px solid #ccd8d2; border-radius: 2px; outline: 0; font: inherit; font-size: .75rem; transition: border-color .15s, box-shadow .15s, background .15s; }
textarea.hire-input { min-height: 118px; padding-top: 13px; resize: vertical; line-height: 1.8; }
.hire-input:focus { background: #fff; border-color: var(--hire-green); box-shadow: 0 0 0 3px rgba(7, 93, 67, .09); }
.hiring-field .errorlist { margin: 0; padding: 0; color: #a7332c; font-size: .63rem; list-style: none; }
.hiring-conditional-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; padding: 18px; background: #f7faf8; border: 1px solid var(--hire-line); }
.hiring-budget-grid { grid-template-columns: 190px 1fr; align-items: start; }
.hiring-budget-range { display: grid; grid-template-columns: 1fr 1fr 150px; gap: 14px; }
.hiring-target { display: grid; grid-template-columns: 44px 1fr auto; gap: 13px; align-items: center; margin: 22px 34px 0; padding: 15px; background: var(--hire-green-soft); border: 1px solid #c8dfd4; }
.hiring-target-icon { display: grid; width: 44px; height: 44px; place-items: center; color: #fff; background: var(--hire-green); }
.hiring-target div { display: flex; flex-direction: column; }
.hiring-target small { color: #53615b; font-size: .58rem; }
.hiring-target strong { font-size: .8rem; }
.hiring-target div span { color: #53615b; font-size: .64rem; }
.hiring-target > a { color: var(--hire-green); font-size: .65rem; font-weight: 700; }
.hiring-error-summary,
.hiring-resume-note { margin: 20px 34px 0; padding: 12px 14px; font-size: .7rem; }
.hiring-error-summary { color: #902e29; background: #fff2f1; border: 1px solid #f1cecb; }
.hiring-resume-note { color: #075d43; background: #edf8f2; border: 1px solid #cbe5d7; }
.hiring-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 34px; }
.hiring-submit-row p { margin: 0; color: var(--hire-muted); font-size: .65rem; }
.hiring-submit-row p i { margin-left: 6px; color: var(--hire-green); }
.hiring-submit-row button { display: inline-flex; min-height: 50px; align-items: center; gap: 30px; padding: 0 20px; color: #fff; background: var(--hire-green); border: 0; border-radius: 2px; font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; }
.hiring-submit-row button:hover { background: #064d39; }
.hiring-side-guide { position: sticky; top: 104px; padding: 24px; color: #fff; background: var(--hire-ink); }
.hiring-side-guide > span { color: #77c19e; font-size: .62rem; font-weight: 700; }
.hiring-request-page .hiring-side-guide h2 { margin: 12px 0 22px; color: #fff; font-size: 1.15rem; line-height: 1.55; }
.hiring-side-guide ul { display: grid; gap: 17px; margin: 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); list-style: none; }
.hiring-side-guide li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; }
.hiring-side-guide li i { display: grid; width: 20px; height: 20px; place-items: center; color: var(--hire-ink); background: #79c6a1; border-radius: 50%; font-size: .55rem; }
.hiring-side-guide li span { display: flex; flex-direction: column; gap: 3px; }
.hiring-side-guide li strong { font-size: .68rem; }
.hiring-side-guide li small { color: #aebdb7; font-size: .61rem; line-height: 1.6; }
.hiring-side-guide > a { display: flex; justify-content: space-between; margin-top: 19px; color: #8ed4b2; font-size: .65rem; font-weight: 700; text-decoration: none; }
.hiring-form-card [hidden] { display: none !important; }

/* دليل المجالات: يظل كل نشاط افتراضي ظاهرًا حتى قبل وجود مقدمين فيه. */
.professional-activity-strip { padding: 42px 0 10px; background: var(--talent-paper, #f5f5f1); }
.professional-activity-strip header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.professional-activity-strip header span { color: var(--hire-green); font-size: .63rem; font-weight: 700; }
.professional-activity-strip header strong { font-size: .9rem; }
.professional-activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #cfd8d3; border-right: 1px solid #cfd8d3; }
.professional-activity-grid a { display: flex; min-height: 68px; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 14px; color: var(--hire-ink); background: #fff; border-bottom: 1px solid #cfd8d3; border-left: 1px solid #cfd8d3; text-decoration: none; }
.professional-activity-grid a:hover,
.professional-activity-grid a.is-active { color: #fff; background: var(--hire-green); }
.professional-activity-grid span { font-size: .69rem; font-weight: 700; }
.professional-activity-grid small { color: #5f6b65; font-size: .58rem; }
.professional-activity-grid a:hover small,
.professional-activity-grid a.is-active small { color: #c5e0d4; }
body.directory-page .talent-selector-hero { min-height: 360px; padding: 48px 0 68px; }
body.directory-page .talent-selector-copy h1 { max-width: 700px; font-size: clamp(2.1rem, 4.4vw, 3.8rem); line-height: 1.07; }
body.directory-page .talent-results-section { padding-top: 48px; }
body.directory-page .talent-card-actions { grid-template-columns: 1fr 1fr; gap: 7px; }
body.directory-page .talent-card-actions a { min-height: 44px; border: 1px solid var(--talent-ink); }
body.directory-page .talent-card-actions a:first-child { grid-column: 1 / -1; }
body.directory-page .talent-card-actions a + a { border-right: 1px solid var(--talent-ink); }
body.directory-page .talent-card-actions a.is-hiring { color: #fff; background: var(--hire-ink); border-color: var(--hire-ink); }
.tech-direct-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tech-direct-request .tech-direct-actions { margin-top: 25px; }
.tech-direct-request .tech-direct-actions > a { display: flex; min-height: 52px; align-items: center; justify-content: space-between; margin: 0; padding: 0 12px; color: #fff; background: var(--hire-green); font-size: .66rem; font-weight: 700; text-decoration: none; }
.tech-direct-request .tech-direct-actions > a.is-hire { color: #fff; background: #17231f; border-color: #17231f; }
.tech-final-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-profile-final-cta .tech-final-actions > a { margin: 0; }
.tech-profile-final-cta .tech-final-actions > a.is-hire { color: #fff; background: #17231f; border-color: #17231f; }

.hiring-dashboard-head { padding: 48px 0 34px; color: #fff; background: var(--hire-green-dark); }
.hiring-dashboard-head > .container { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.hiring-dashboard-head span { color: #8ac9aa; font-size: .65rem; font-weight: 700; }
.hiring-dashboard-head h1 { margin: 7px 0; font-size: clamp(2rem, 4vw, 3rem); }
.hiring-dashboard-head p { margin: 0; color: #b9cec4; font-size: .75rem; }
.hiring-dashboard-head a { display: inline-flex; min-height: 48px; align-items: center; gap: 20px; padding: 0 18px; color: var(--hire-green-dark); background: #fff; font-size: .7rem; font-weight: 700; text-decoration: none; }
.hiring-request-list { padding: 34px 0 90px; }
.hiring-request-row { display: grid; grid-template-columns: 145px minmax(0, 1fr) 280px 30px; gap: 22px; align-items: center; padding: 22px; color: var(--hire-ink); background: #fff; border: 1px solid var(--hire-line); text-decoration: none; }
.hiring-request-row + .hiring-request-row { margin-top: 10px; }
.hiring-request-row small { color: var(--hire-green); font-size: .62rem; font-weight: 700; }
.hiring-request-row h2 { margin: 4px 0; font-size: 1rem; }
.hiring-request-row p { margin: 0; color: var(--hire-muted); font-size: .68rem; }
.hiring-request-row dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.hiring-request-row dl div { display: flex; flex-direction: column; gap: 4px; }
.hiring-request-row dt { color: var(--hire-muted); font-size: .58rem; }
.hiring-request-row dd { margin: 0; font-size: .68rem; font-weight: 700; }
.hiring-request-status { display: inline-flex; width: fit-content; padding: 7px 10px; color: #075d43; background: #e5f5ed; border-radius: 20px; font-size: .6rem; font-weight: 700; }
.hiring-request-status.is-filled { color: #fff; background: var(--hire-green); }
.hiring-request-status.is-paused,
.hiring-request-status.is-closed { color: #68736e; background: #edf0ee; }
.hiring-list-empty { padding: 70px 20px; text-align: center; background: #fff; border: 1px solid var(--hire-line); }
.hiring-list-empty > i { color: var(--hire-green); font-size: 2rem; }
.hiring-list-empty h2 { margin: 15px 0 5px; }
.hiring-list-empty p { color: var(--hire-muted); }
.hiring-list-empty a { display: inline-flex; margin-top: 12px; padding: 11px 18px; color: #fff; background: var(--hire-green); text-decoration: none; }

.hiring-detail-shell { min-height: 70vh; padding: 44px 0 90px; }
.hiring-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 15px; color: var(--hire-green); font-size: .7rem; font-weight: 700; text-decoration: none; }
.hiring-detail-card { max-width: 920px; padding: 34px; background: #fff; border: 1px solid var(--hire-line); box-shadow: 0 18px 55px rgba(20, 46, 36, .05); }
.hiring-detail-card > header { display: flex; align-items: start; justify-content: space-between; gap: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--hire-line); }
.hiring-detail-card header span { color: var(--hire-green); font-size: .65rem; font-weight: 700; }
.hiring-detail-card h1 { margin: 7px 0; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.hiring-detail-card header p { margin: 0; color: var(--hire-muted); font-size: .65rem; }
.hiring-detail-card > section { padding: 25px 0 0; }
.hiring-detail-card section h2 { font-size: .78rem; }
.hiring-detail-card section p { color: #495750; font-size: .78rem; line-height: 1.9; }
.hiring-detail-target { display: flex; gap: 10px; margin-top: 20px; padding: 13px; color: var(--hire-green); background: var(--hire-green-soft); font-size: .7rem; }
.hiring-detail-target a { color: inherit; font-weight: 700; }
.hiring-detail-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0 0; border-top: 1px solid var(--hire-line); border-right: 1px solid var(--hire-line); }
.hiring-detail-facts div { display: flex; min-height: 88px; flex-direction: column; justify-content: center; gap: 6px; padding: 15px; border-bottom: 1px solid var(--hire-line); border-left: 1px solid var(--hire-line); }
.hiring-detail-facts dt { color: var(--hire-muted); font-size: .58rem; }
.hiring-detail-facts dd { margin: 0; font-size: .72rem; font-weight: 700; }

@media (max-width: 1050px) {
  .hiring-intro-grid { grid-template-columns: 1fr 330px; gap: 30px; }
  .hiring-form-layout { grid-template-columns: 1fr; }
  .hiring-side-guide { position: static; }
  .professional-activity-grid { grid-template-columns: repeat(3, 1fr); }
  .hiring-request-row { grid-template-columns: 130px 1fr 32px; }
  .hiring-request-row dl { display: none; }
}

@media (max-width: 760px) {
  .hiring-intro { padding: 35px 0; }
  .hiring-intro-grid { grid-template-columns: 1fr; }
  .hiring-intro h1 { font-size: 2rem; }
  .hiring-mode-cards { grid-template-columns: 1fr; }
  .hiring-mode-cards > span { min-height: 60px; border-bottom: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .hiring-form-section { padding-top: 20px; }
  .hiring-form-block { padding: 24px 18px; }
  .hiring-fields-grid,
  .hiring-fields-three,
  .hiring-conditional-row,
  .hiring-budget-grid,
  .hiring-budget-range { grid-template-columns: 1fr; }
  .hiring-field-wide { grid-column: auto; }
  .hiring-target { grid-template-columns: 42px 1fr; margin: 16px 18px 0; }
  .hiring-target > a { grid-column: 2; }
  .hiring-submit-row { align-items: stretch; flex-direction: column; padding: 20px 18px; }
  .hiring-submit-row button { justify-content: space-between; }
  .professional-activity-grid { grid-template-columns: repeat(2, 1fr); }
  body.directory-page .talent-selector-hero { min-height: 0; padding: 28px 0 48px; }
  body.directory-page .talent-selector-shell { gap: 25px; }
  body.directory-page .talent-selector-copy h1 { font-size: 2rem; }
  body.directory-page .talent-selector-copy > p:not(.talent-selector-kicker) { margin-top: 15px; }
  body.directory-page .talent-selector-actions { margin-top: 22px; }
  body.directory-page .talent-selector-steps li { min-height: 58px; }
  .hiring-dashboard-head > .container { align-items: stretch; flex-direction: column; }
  .hiring-dashboard-head a { justify-content: space-between; }
  .hiring-request-row { grid-template-columns: 1fr 24px; }
  .hiring-request-row > .hiring-request-status { grid-column: 1; }
  .hiring-request-row > div { grid-column: 1; }
  .hiring-request-row > i { grid-column: 2; grid-row: 1 / 3; }
  .hiring-detail-card { padding: 22px 18px; }
  .hiring-detail-card > header { flex-direction: column; }
  .hiring-detail-facts { grid-template-columns: 1fr 1fr; }
  .tech-direct-actions { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .hiring-detail-facts { grid-template-columns: 1fr; }
}
.talent-entity-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; color: #365a49; background: #e7eee8; border-radius: 7px; font-size: .58rem; font-weight: 800; }
