/*
  EDUVENTURE basvuru formunun alan stilleri.

  Kaynak: karsi tarafin `prototip/basvuru/form.css` dosyasi. Oradaki surum bagimsiz
  bir sayfa icin yazilmis; bizde form tanitim sitesinin kabugu icinde duruyor, bu
  yuzden dosya makineyle suzuluyor: yazi tipleri, :root, govde sifirlamasi ve
  sayfanin kendi basligi/altligi atiliyor, kalan her sey oldugu gibi aliniyor.
  Belirtecler `:root` yerine `.pg-apply` uzerinde: site kabugunun kendi renkleri
  bozulmasin.

  Suzgec: scratchpad/scope_apply_css.py. Karsi taraf dosyayi guncelledikce ayni
  betikle yeniden uretilir; buraya elle kural EKLEME, sayfaya ozel ekler
  apply-extra.css icinde durur.
*/

/* ---------------------------------------------------------------- tokens */
.pg-apply {
  /* styles.css ile eş tutulur (same values as the public site :root) */
  --ink: #0F2340; --navy: #173862; --deep: #0E2645; --night: #0B1F38;
  --green: #15AC83; --green-ink: #0E7356; --mint: #5FD4AF;
  --paper: #F6F4EF; --paper-2: #ECE8DF; --rule: #CFC8BA; --rule-ink: #8E95A0;
  --muted: #4B5566; --on-dark: #C9D3E0;
  --display: "Onest", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* form-only tokens */
  --surface: #FFFFFF;
  --field-line: #6B7280;
  --err: #B42318;
  --err-ink: #7A1D15;
  --err-bg: #FEF3F2;
  --ok-bg: #E7F4EF;
  --radius: 2px;
  /* B-9 light theme (form page): blue accent and soft lines */
  /* koordinatör 2026-11-04: the accent follows the home page green (green-ink #0E7356: white 5.8, on --blue-50 5.1) */
  --blue: #0E7356; --blue-d: #0A5A43; --blue-50: #E7F4EF; --blue-100: #CDEBDF;
  --bg: #F7F9FC; --line: #DDE3EC; --line-2: #8A94A6;
  /* names kept for gizlilik.css */
  --line-soft: var(--rule);
  --soft: var(--paper-2);
  --focus: var(--green-ink);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--green-ink); text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.15; margin: 0 0 .5rem; text-wrap: balance; }
h1 { font-weight: 750; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); letter-spacing: -.025em; line-height: 1.04; }
h2 { font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); letter-spacing: -.015em; }
h3 { font-weight: 650; font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 .75rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--navy); color: #fff; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.req { color: var(--err); font-weight: 700; margin-left: 2px; }
.optional { color: var(--muted); font-weight: 400; font-size: .92em; }
/* ---------------------------------------------------------------- header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.top-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 20px; padding-top: 14px; padding-bottom: 14px;
}
.lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lang-label { font-size: .9rem; color: var(--muted); margin-right: 4px; }
.lang-btn {
  min-height: 44px; min-width: 76px; padding: 8px 14px;
  font: 600 .95rem/1.2 var(--sans); color: var(--navy);
  background: transparent; border: 2px solid var(--navy); border-radius: var(--radius); cursor: pointer;
}
.lang-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang-btn:hover { background: var(--paper-2); }
.lang-btn[aria-pressed="true"]:hover { background: var(--deep); }
main { padding-top: 32px; padding-bottom: 48px; outline: none; }
/* ================================================================ B-9 · light theme of the application form
   Scope: body.apply — basvuru/index.html and, since 2026-11-04, gizlilik.html (body.apply.gz: same header bar, hero and
   footer; the notice panels are in gizlilik.css).
   Measured contrast (WCAG 2.1): ink #0F2340 / white 15.7 · muted #4B5566 / white 7.5, / --bg 7.1, / --blue-50 6.8 ·
   blue #1D5BD6 / white 6.0, / --blue-50 5.4 · white / blue 6.0 · white / ink 15.7 · err #B42318 / white 6.6 ·
   field line #8A94A6 / white 3.1 (non-text >= 3:1). Green appears only as decoration (pill icon, pill border, hero
   shape); no green text on a light ground. */
.pg-apply {
  --focus: var(--blue);
  background: var(--bg);
}
.pg-apply .wrap { max-width: 1120px; }
.pg-apply main { padding-top: 0; padding-bottom: 56px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-apply h1 { color: var(--ink); font-size: clamp(2rem, 1.25rem + 3.2vw, 3.4rem); line-height: 1.05; margin-bottom: 16px; }
/* ---------------------------------------------------------------- programme levels (B-10: information only, no selection) */
.pg-apply h2 { color: var(--ink); }
.levels { display: grid; grid-template-columns: 1fr; gap: 16px 24px; margin: 28px 0 20px; align-items: start; }
.levels__head h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.75rem); margin-bottom: 8px; }
.levels__head p { color: var(--muted); margin-bottom: 8px; }
.levels__cards { display: grid; grid-template-columns: 1fr; gap: 14px; list-style: none; margin: 0; padding: 0; }
.lvl-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 35, 64, .05), 0 6px 18px rgba(15, 35, 64, .05);
}
.lvl-card__ico { width: 30px; height: 30px; color: var(--blue); margin-bottom: 4px; }
.pg-apply .lvl-card__name { font: 700 1.3rem/1.2 var(--display); color: var(--ink); margin: 0; }
.lvl-card__for { color: var(--muted); font-size: .95rem; margin: 0; }
.lvl-card__meta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 8px 0 0; padding: 6px 12px;
  border-radius: 8px; background: #F2F5F9; font-weight: 700; font-size: .9375rem; color: var(--ink);
}
.levels__note {
  display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 16px; border-radius: 12px;
  background: var(--blue-50); border: 1px solid var(--blue-100); font-size: .9375rem; color: var(--ink);
}
.levels__note .ico { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
@media (min-width: 640px) {
.levels__cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
.levels { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); }
.levels__head { padding-top: 8px; }
.levels__note { grid-column: 2; }
}
/* ---------------------------------------------------------------- certificate strip */
.cert {
  display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0 0 20px; padding: 22px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 35, 64, .05);
}
.cert__head { display: flex; align-items: center; gap: 14px; }
.cert__badge { width: 44px; height: 44px; color: var(--blue); stroke-width: 1.5; }
.cert h2 { font-size: 1.125rem; line-height: 1.3; margin: 0; }
.cert__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.cert__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; color: var(--ink); }
.cert__list .ico { width: 26px; height: 26px; color: var(--blue); margin-top: 1px; }
.cert__list strong { font-weight: 700; }
@media (min-width: 900px) {
.cert { grid-template-columns: 1.15fr 3fr; align-items: center; padding: 22px 26px; }
.cert__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.cert__list li { flex-direction: column; gap: 10px; padding: 0 20px; border-left: 1px solid var(--line); }
}
/* ---------------------------------------------------------------- dates */
.tl { list-style: none; margin: 0 0 22px; padding: 4px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 0; }
.tl li { display: flex; align-items: flex-start; gap: 10px; padding: 2px 14px; border-left: 1px solid var(--line); }
.tl .ico { width: 24px; height: 24px; color: var(--blue); margin-top: 1px; }
.tl__txt { display: flex; flex-direction: column; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.tl__txt strong { color: var(--ink); font-weight: 700; font-size: .875rem; }
@media (min-width: 900px) {
.tl { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tl li:first-child { border-left: 0; padding-left: 0; }
}
/* ---------------------------------------------------------------- banners */
.status, .ready, .draft-note {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 22px;
}
.pg-apply .status { display: flex; align-items: flex-start; gap: 14px; background: var(--blue-50); border: 1px solid var(--blue-100); padding: 18px 22px; }
.status__ico { width: 30px; height: 30px; color: var(--blue); margin-top: 1px; }
.status-title { font-size: 1.125rem; margin-bottom: 4px; color: var(--ink); }
.status p, .ready p { margin: 0; color: var(--ink); }
.ready { margin: 16px 0 0; }
.ready p { font-weight: 600; }
.ready:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.draft-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.draft-note p { margin: 0; flex: 1 1 18rem; }
.error-summary {
  background: var(--err-bg); border: 2px solid var(--err); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 22px;
}
.error-summary:focus { outline: 3px solid var(--err); outline-offset: 2px; }
.error-summary-title { color: var(--err-ink); font-size: 1.1rem; margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary li { margin: 0; }
/* each link is a 44 px tap target (B-3); long messages wrap inside the link */
.error-summary a { color: var(--err-ink); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; }
/* ---------------------------------------------------------------- form card and step indicator */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 18px 26px; box-shadow: 0 1px 2px rgba(15, 35, 64, .04), 0 10px 30px rgba(15, 35, 64, .06);
}
@media (min-width: 640px) {
.panel { padding: 30px 36px 34px; }
}
/* numbered steps; the bar on top of each step is blue up to the step on screen (B-3 aria-current kept) */
.wsteps {
  list-style: none; margin: 0 0 26px; padding: 0;
  /* every column is at least as wide as its label, so a step name is never split inside a word (B-3) */
  display: grid; grid-template-columns: repeat(4, minmax(max-content, 1fr)); gap: 0 6px;
}
.wsteps li {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding-top: 14px; border-top: 4px solid var(--line);
  font-size: .875rem; line-height: 1.25; color: var(--muted); min-width: 0;
}
.wsteps__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--line-2); color: var(--ink); font-weight: 700; font-size: .9375rem; background: var(--surface);
}
.wsteps__label { font-weight: 600; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.wsteps li.is-done { border-top-color: var(--blue); color: var(--ink); }
.wsteps li.is-done .wsteps__n { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.wsteps li[aria-current="step"] { border-top-color: var(--blue); color: var(--blue); }
.wsteps li[aria-current="step"] .wsteps__n { border-color: var(--blue); background: var(--blue); color: #fff; }
@media (min-width: 640px) {
.wsteps li { font-size: .9375rem; }
}
/* narrow phones: slightly smaller labels keep four columns; below 360 px the steps form a 2 x 2 grid */
@media (max-width: 374px) {
.wsteps li { font-size: .8125rem; }
}
@media (max-width: 359px) {
.wsteps { grid-template-columns: repeat(2, minmax(max-content, 1fr)); row-gap: 10px; }
}
.form-body { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-body:disabled { color: var(--muted); }
/* each step is a two-column grid from 640 px; fields span both columns unless listed as half width below */
.step { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 24px; }
.step > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 640px) {
.step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#step-1 > [data-field="firstName"], #step-1 > [data-field="lastName"], #step-1 > [data-field="email"], #step-1 > [data-field="phone"], #step-1 > [data-field="residence"], #step-1 > [data-field="citizenship"] { grid-column: auto; }
}
.step__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.step__title { margin: 0; outline: none; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); color: var(--ink); }
.step__title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.step__count { display: block; font: 600 .9375rem/1.3 var(--sans); color: var(--muted); margin-bottom: 6px; letter-spacing: 0; }
.req-note {
  display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 4px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .875rem; color: var(--ink);
}
.step__sub { font-size: 1.15rem; margin: 26px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); }
.field { margin: 0 0 20px; min-width: 0; }
.field > label, .choice legend, .confirms legend {
  display: block; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 8px; font-size: 1rem;
}
.choice, .confirms { border: 0; margin: 0; padding: 0; min-width: 0; }
.confirms { margin-top: 8px; }
.confirms > legend { font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.group { border: 0; margin: 4px 0 8px; padding: 18px 0 0; min-width: 0; border-top: 1px solid var(--line); }
.group > legend { display: block; float: left; width: 100%; padding: 0; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: 14px; }
.group > legend + * { clear: both; }
/* eligibility (K-4): light blue box on top of step 1 */
.field--eligibility { padding: 14px 18px 8px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 12px; }
.field--eligibility .hint--info { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); margin-bottom: 4px; }
.field--eligibility .hint--info .ico { color: var(--blue); margin-top: 2px; }
.field--eligibility .option--block label { font-weight: 600; margin: 0; cursor: pointer; }
.hint { font-size: .9375rem; color: var(--muted); margin: 0 0 8px; }
.hint--below { margin: 6px 0 0; }
/* information note under a select: (i) icon and one or two hint lines */
.note { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; }
.note .ico { width: 18px; height: 18px; color: var(--muted); margin-top: 2px; }
.note .hint { font-size: .875rem; margin: 0; }
.note .hint + .hint { margin-top: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="month"], input[type="url"], select, textarea {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 1rem; /* 16 px avoids zoom on iOS */
  color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: 10px;
  -webkit-appearance: none; appearance: none;
}
::placeholder { color: #6B7280; opacity: 1; }
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
textarea { resize: vertical; min-height: 130px; }
input:hover, select:hover, textarea:hover { border-color: var(--blue); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--blue); }
/* icon inside the control (decorative) */
.ctl { position: relative; }
.ctl--icon > .ico { position: absolute; left: 14px; top: 50%; margin-top: -10px; color: var(--muted); pointer-events: none; }
.ctl--icon > input, .ctl--icon > select { padding-left: 44px; }
[aria-invalid="true"] { border-color: var(--err) !important; border-width: 2px !important; background-color: var(--err-bg); }
.error { color: var(--err); font-weight: 600; font-size: .95rem; margin: 6px 0 0; }
.counter { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
/* radio and checkbox options: the whole row is the 44 px target */
.options { display: grid; gap: 8px; }
.options--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.option {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 9px 14px;
  cursor: pointer; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface);
}
.option:hover { border-color: var(--blue); }
.option:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.option input[type="radio"], .option input[type="checkbox"] {
  flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); cursor: pointer;
}
.option .ico { color: var(--ink); }
/* pill radios (age range, gender) */
.options--pills { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.options--pills .option { justify-content: center; gap: 8px; padding: 9px 10px; font-weight: 600; white-space: nowrap; }
.options--3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.options--3 .option { justify-content: flex-start; padding: 9px 14px; }
@media (min-width: 640px) {
.options--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Confirmation rows (B-3): the label is the tap target. It fills the row (at least 44 px high) and its ::before
   layer covers the whole row, including the box and the gap, so a tap anywhere in the row toggles the box.
   Links inside a label stay on top of that layer. */
.option--block { position: relative; align-items: flex-start; min-height: 44px; border: 0; padding: 0; background: transparent; }
.option--block:hover, .option--block:has(input:checked) { background: transparent; box-shadow: none; }
.option--block label { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 9px 0; cursor: pointer; }
.option--block label::before { content: ""; position: absolute; inset: 0; }
.option--block label a { position: relative; z-index: 1; }
.option--block input[type="checkbox"] { position: relative; z-index: 1; margin-top: 11px; }
.confirms .field { margin-bottom: 14px; }
.confirms .field label { font-weight: 400; margin: 0; cursor: pointer; }
.confirms .field label .req, .confirms .field label .optional { margin-left: 2px; }
/* KPI consent (F-22): the full text is a visible paragraph above the box; the label is one sentence */
.field--kpi { border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 6px; background: var(--bg); }
.consent-title { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.consent-text p { font-size: .95rem; }
.consent-notes { margin: 0 0 12px; padding-left: 20px; font-size: .92rem; color: var(--ink); list-style: decimal; }
.consent-notes li { margin: 4px 0; }
.field--kpi .hint { color: var(--ink); font-weight: 600; }
.field--kpi .option--block label { font-weight: 600; }
/* ---------------------------------------------------------------- review (step 4) */
.review { margin: 0 0 28px; }
.review__part { border-top: 1px solid var(--line); padding: 14px 0 6px; }
.review__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; }
.review__head h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
.review__edit { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--blue); }
.review dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 20px; }
.review dt { font-weight: 600; color: var(--muted); font-size: .92rem; }
.review dd { margin: 0 0 10px; overflow-wrap: anywhere; white-space: pre-line; }
.review .is-empty { color: var(--muted); font-style: italic; }
@media (min-width: 640px) {
.review dl { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
.review dd { margin-bottom: 8px; }
}
/* ---------------------------------------------------------------- buttons */
.step-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.step-nav .btn-primary { margin-left: auto; }
.btn-primary, .btn-secondary, .btn-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; font: 600 1rem/1.2 var(--sans);
  border-radius: 10px; cursor: pointer; text-align: center; text-decoration: none;
}
.btn-primary { color: #fff; background: var(--blue); border: 2px solid var(--blue); }
.btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn-secondary { color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); }
.btn-secondary:hover { background: var(--blue-50); border-color: var(--blue); color: var(--ink); }
.btn-link { min-height: 44px; padding: 8px 4px; color: var(--blue); background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; }
.btn-primary:disabled, .btn-secondary:disabled { background: #5B6778; border-color: #5B6778; color: #fff; cursor: not-allowed; }
.btn-link:disabled { color: var(--muted); cursor: not-allowed; }
.busy { margin: 10px 0 0; color: var(--ink); font-weight: 600; flex-basis: 100%; }
@media (max-width: 420px) {
.step-nav .btn-primary, .step-nav .btn-secondary { flex: 1 1 100%; margin-left: 0; }
.step-nav .btn-primary { order: -1; }
}
/* locked form (before / paused / after): fields disabled as a group; the steps can still be browsed */
.form-body:disabled input, .form-body:disabled select, .form-body:disabled textarea { background-color: #F2F4F7; cursor: not-allowed; }
.form-body:disabled .option:not(.option--block) { cursor: not-allowed; background: #F7F8FA; }
/* ---------------------------------------------------------------- receipt */
.receipt { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 22px 20px; background: var(--surface); }
.receipt:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.receipt h2 { margin-bottom: 10px; }
.ft-links { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ft-links a { color: var(--navy); display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.pg-apply .legal { background: #EEF2F7; border-top-color: var(--line); }
/* ---------------------------------------------------------------- responsive */
@media (max-width: 639px) {
.options--3 .option:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
.options--inline { grid-template-columns: 1fr; }
.lang-btn { min-width: 68px; }
.wrap { padding: 0 16px; }
.panel { padding: 20px 16px 24px; }
}
/* honeypot field for bots — never shown to people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* ISCED options: example departments under each field (koordinatör 2026-11-04) */
.opt-ex { display: block; flex-basis: 100%; margin-top: .15rem; font-size: .8125rem; line-height: 1.35; color: var(--muted, #4B5566); font-weight: 400; }
.option:has(.opt-ex) { flex-wrap: wrap; row-gap: 0; }
.option .opt-ex { margin-left: 34px; margin-top: -2px; }
/* icons in the home page colour (koordinatör 2026-11-04): green-ink line icons instead of blue (green-ink #0E7356 / white 5.8) */
.lvl-card__ico, .levels__note .ico, .cert__badge, .cert__list .ico, .tl .ico, .status__ico, .field--eligibility .hint--info .ico, .option .ico, .ctl--icon > .ico { color: var(--green-ink); }
/* local preview banner (?onizleme on 127.0.0.1 / localhost only) */
.preview-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; border: 1.5px dashed var(--blue); background: var(--blue-50); color: var(--ink); font-weight: 600; }
/* ---------------------------------------------------------------- team members (koordinatör 2026-11-04) */
.members { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 12px; }
.member { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; background: var(--bg); }
.member__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.member__t { font-weight: 700; color: var(--ink); }
.member__rm { min-height: 44px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  color: var(--ink); font: 600 .9rem/1 var(--sans); cursor: pointer; }
.member__rm:hover { background: #FDECEA; border-color: #E0A39C; }
.member__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 16px; }
@media (min-width: 640px) {
.member__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.member__f label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; color: var(--ink); }
.member__f input { width: 100%; }
.btn-add { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 10px;
  border: 1.5px dashed var(--blue); background: var(--blue-50); color: var(--blue); font: 700 .95rem/1.2 var(--sans); cursor: pointer; }
.btn-add:hover { background: var(--blue-100); }
.btn-add span[aria-hidden] { font-size: 1.2rem; line-height: 1; }
.invite-note { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue); color: var(--ink); font-weight: 600; }
/* ---------------------------------------------------------------- phone: calling code + number (koordinatör 2026-11-04) */
.phone { display: flex; gap: 8px; align-items: stretch; }
.phone select.phone__cc { flex: none; width: 10.5rem; padding-right: 34px; text-overflow: ellipsis; }
.phone__num { flex: 1 1 auto; min-width: 0; }
.phone__num input { width: 100%; }
/* ---------------------------------------------------------------- affiliation document (koordinatör 2026-11-06) */
/* Native file input (keyboard and screen readers work as usual); only its button is styled: 16 px text, 44 px target. */
.doc-help { margin: 0 0 10px; font-size: .9375rem; color: var(--ink); }
.doc-help__lead { margin: 0 0 4px; }
.doc-help__list { margin: 0; padding-left: 1.25rem; display: grid; gap: 4px; }
.doc-help__list .doc-help__list { margin-top: 4px; }
.doc-input {
  display: block; width: 100%; min-height: 48px; padding: 6px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px dashed var(--line-2); border-radius: 10px; cursor: pointer;
}
.doc-input::file-selector-button {
  min-height: 44px; margin-right: 12px; padding: 8px 16px; font: 600 1rem/1.2 var(--sans); color: var(--ink);
  background: var(--blue-50); border: 1.5px solid var(--blue); border-radius: 8px; cursor: pointer;
}
.doc-input:hover { border-color: var(--blue); }
.doc-input:hover::file-selector-button { background: var(--blue-100); }
.doc-input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--blue); }
.form-body:disabled .doc-input, .form-body:disabled .doc-input::file-selector-button { cursor: not-allowed; background-color: #F2F4F7; }
.doc-redact { margin: 4px 0 0; font-size: .9375rem; color: var(--muted); }
.doc-file { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; padding: 6px 8px 6px 12px;
  border: 1px solid var(--blue-100); border-radius: 10px; background: var(--blue-50); }
.doc-file .ico { flex: none; width: 20px; height: 20px; color: var(--green-ink); }
.doc-file__name { flex: 1 1 12rem; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.doc-file__size { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-file__rm { margin-left: auto; }
/* the live region stays in the accessibility tree when empty (no display: none), so the next message is announced */
.doc-status { margin: 6px 0 0; font-size: .9375rem; color: var(--muted); }
.doc-status:empty { margin: 0; }
.doc-reselect { margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; border-left: 4px solid var(--blue); background: var(--blue-50);
  color: var(--ink); font-weight: 600; }
