/* Form sitesi. Görünüm tanıtım sitesine uyar (website/src/css/style.css + pages.css):
   taş zemin, petrol + mercan, Bricolage Grotesque (başlık) + Figtree (gövde), hap düğmeler,
   yuvarlak köşeli girdiler. Mobil öncelikli: müşteri telefondan doldurur.
   Kontrast (WCAG AA) değerleri değişkenlerin yanında; girdi kenarı ve odak ≥ 3:1. */
:root {
  /* Tanıtım sitesinin paleti (aynı adlar ve değerler) */
  --paper: #edf0ef;        /* sayfa zemini */
  --sand: #dce3e2;         /* yumuşak blok zemini */
  --ink: #10262c;          /* metin: 13.7:1 paper, 15.8:1 beyaz */
  --muted: #4d5e63;        /* ikincil metin: 5.9:1 paper, 6.8:1 beyaz */
  --petrol: #0d3b46;       /* marka, bağlantı: 10.6:1 paper, 12.1:1 beyaz */
  --petrol-deep: #082a33;
  --coral: #b93c19;        /* ana düğme (beyaz yazı 5.6:1), odak halkası (5.6:1 beyaz, 4.9:1 paper) */
  --coral-dark: #96300f;   /* düğme üstüne gelince (beyaz yazı 7.7:1) */
  --coral-light: #f4936d;
  --white: #fff;
  --wordmark: #1f66d1;     /* logodaki mavi, "Vize" sözcüğü: 4.7:1 paper */

  /* Formun kendi tonları (sitede karşılığı yok; aynı ailede seçildi) */
  --girdi-kenar: #6b7c80;  /* girdi kenarı: 4.4:1 beyaz, 3.8:1 paper, 3.7:1 petrol-acik */
  --cizgi: #cfd9d8;        /* süs çizgileri (bilgi taşımaz) */
  --zemin-yumusak: #f3f6f5;/* beyaz panel içinde bir ton koyu grup zemini (çizgisiz) */
  --petrol-acik: #e3edef;  /* seçili seçenek / bilgi zemini */
  --mercan-acik: #fbeee9;  /* uyarı zemini */
  --hata: #b42318;         /* hata metni: 6.6:1 beyaz, 5.9:1 hata-acik, 5.7:1 paper */
  --hata-acik: #fcefec;
  --basari: #146c36;       /* 6.5:1 beyaz, 5.7:1 paper */
  --basari-acik: #e6f2ea;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;

  --radius: 14px;          /* girdi, küçük kutu (sitedeki .field input) */
  --radius-card: 24px;     /* kart (sitedeki .steps-list / .faq details) */
  --radius-hap: 999px;     /* düğme (sitedeki .btn) */
  --halka: 0 0 0 4px rgba(185, 60, 25, 0.18);              /* odakta girdinin çevresi */

  --dokunma: 48px;         /* ≥ 44px dokunma hedefi */
  --dugme-yukseklik: 54px; /* sitedeki .btn */
  --ease: cubic-bezier(.2, 0, 0, 1);
  --sure: 150ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
h3, h4 { line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--petrol); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
@media (hover: hover) {
  a:hover { color: var(--coral-dark); }
  .atla:hover { color: var(--white); }
}
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
::selection { background: var(--coral); color: var(--white); }

.sutun { width: 100%; max-width: 40rem; margin-inline: auto; padding-inline: 1rem; }
main.sutun { padding-block: var(--space-md) var(--space-xl); display: flex; flex-direction: column; gap: var(--space-md); }
main:focus { outline: none; }

.atla { position: absolute; left: 1rem; top: 0; z-index: 10; transform: translateY(-120%); padding: 0.75rem 1rem; background: var(--ink); color: var(--white); border-radius: 0 0 var(--radius) var(--radius); }
.atla:focus { transform: none; }

.gorunmez, .tuzak {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.tuzak { left: -10000px; }

/* Üst şerit: sitedeki menü gibi taş zemin, koyu yazı */
.ust { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--cizgi); }
.ust-ic { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.75rem; min-height: 64px; padding-block: 0.875rem; }
.marka { font-family: var(--display); font-size: 1.625rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; display: inline-flex; align-items: center; gap: 0.6rem; }
.marka i { font-style: normal; color: var(--wordmark); }
.marka .logo { width: 58px; height: 34px; flex: none; } /* sitedeki .brand .logo (mobil boyutu) */
@media (min-width: 48rem) { .marka .logo { width: 68px; height: 40px; } }
.marka-alt { font-size: 0.875rem; font-weight: 600; color: var(--muted); }

/* Başlıklar ve metin */
.ekran-baslik { font-size: 1.75rem; letter-spacing: -0.025em; }
@media (min-width: 48rem) { .ekran-baslik { font-size: 2rem; } }
.ekran-baslik:focus { outline: none; }
.bolum-baslik { font-size: 1.375rem; display: flex; align-items: center; gap: 0.5rem; }
.alt-baslik { font-size: 1.125rem; margin-top: var(--space-sm); }
.yardim { color: var(--muted); font-size: 0.9375rem; }
.bilgi { background: var(--petrol-acik); color: var(--petrol); border-radius: var(--radius); padding: 0.75rem 1rem; font-weight: 600; font-size: 0.9375rem; }
.yukleniyor { color: var(--muted); font-weight: 600; }
.giris-metni { font-size: 1.125rem; }

/* İlerleme */
.ilerleme { display: flex; flex-direction: column; gap: var(--space-sm); }
.ilerleme-metin { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.ilerleme-cubuk { height: 6px; background: var(--sand); border-radius: var(--radius-hap); overflow: hidden; }
.ilerleme-cubuk span { display: block; height: 100%; width: 0; background: var(--coral); border-radius: inherit; transition: width 300ms var(--ease); }

/* Kartlar: sitedeki gibi gölgesiz, yumuşak köşeli bloklar */
.kart { background: var(--white); border: 0; border-radius: var(--radius-card); padding: var(--space-md) 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.kart.uyari { background: var(--mercan-acik); }
.kart.uyari .bolum-baslik { color: var(--coral-dark); }
.mesaj-uyari { background: var(--mercan-acik); }
.mesaj-metin { font-size: 1.0625rem; }
.mesaj-isaret { color: var(--coral-dark); }
.mesaj-isaret .ikon { width: 28px; height: 28px; }
/* Bilgi kutusu: tek kenar şeridi yerine ince çerçeve + petrol tonu */
.bilgi-kutusu { background: var(--petrol-acik); color: var(--petrol); font-weight: 600; }

/* Form düzeni */
.adim { display: flex; flex-direction: column; gap: var(--space-md); }
.adim-govde { display: flex; flex-direction: column; gap: var(--space-md); }
.alanlar { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 30rem) {
  .alanlar { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .alanlar > * { grid-column: 1 / -1; }
  .alanlar > .yarim { grid-column: auto; }
}
.alan { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.parca { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
label, legend { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset > legend { padding: 0; margin-bottom: 0.625rem; }
fieldset.grup, fieldset.bilesik { display: flex; flex-direction: column; gap: 0.5rem; }
fieldset.grup { padding: 1.25rem 1rem; border-radius: var(--radius); background: var(--zemin-yumusak); }
fieldset.grup > legend { float: left; width: 100%; font-family: var(--display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
fieldset.grup > legend + * { clear: both; }
/* Liste ("Bir tane daha ekle"): her kayıt grup zemininde, alt alta; ekle düğmesi altta */
fieldset.liste { display: flex; flex-direction: column; gap: 0.75rem; }
.liste-ogeler { display: flex; flex-direction: column; gap: 0.75rem; }
.liste-ogeler:empty { display: none; }
.liste-ekle { align-self: flex-start; }
.ozet-alt-baslik { font-size: 1rem; padding-top: 0.75rem; color: var(--petrol); }
/* Yaklaşık tarih: "Tam gününü hatırlamıyorum" onay kutusu ve Ay / Yıl */
.tam-tarih { display: flex; flex-direction: column; gap: 0.375rem; }
.onay-kutusu { display: flex; align-items: center; gap: 0.625rem; min-height: 44px; }
.onay-kutusu input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--petrol); cursor: pointer; }
.onay-kutusu label { font-weight: 500; cursor: pointer; }
.onay-kutusu input:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
select {
  font: inherit; font-size: 16px; width: 100%; min-height: var(--dugme-yukseklik); padding: 0.75rem 1rem;
  color: var(--ink); background: var(--white); border: 2px solid var(--girdi-kenar); border-radius: var(--radius);
}
select:focus { outline: 2px solid transparent; border-color: var(--coral); box-shadow: var(--halka); }
select[aria-invalid=true] { border-color: var(--hata); background: var(--hata-acik); }

input[type=text], input[type=email], input[type=tel], input[type=date], textarea {
  font: inherit; font-size: 16px; /* iOS yakınlaştırmasın */
  width: 100%; min-height: var(--dugme-yukseklik);
  padding: 0.75rem 1rem;
  color: var(--ink); background: var(--white);
  border: 2px solid var(--girdi-kenar); border-radius: var(--radius);
  transition: border-color var(--sure) ease-out, box-shadow var(--sure) ease-out;
}
textarea { resize: vertical; line-height: 1.45; }
input[type=date] { -webkit-appearance: none; appearance: none; display: block; }
input:focus, textarea:focus { outline: 2px solid transparent; border-color: var(--coral); box-shadow: var(--halka); } /* saydam outline: zorunlu renk kipinde (Windows yüksek karşıtlık) odak görünür kalır */
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--hata); background: var(--hata-acik); }
input[aria-invalid=true]:focus, textarea[aria-invalid=true]:focus { border-color: var(--hata); box-shadow: none; outline: 3px solid var(--coral); outline-offset: 2px; }
.alan-hata { display: flex; align-items: flex-start; gap: 0.375rem; color: var(--hata); font-size: 0.9375rem; font-weight: 600; }
/* Hata işareti: çizgi ikon (ikon setindeki "uyarı" çizgisiyle aynı kalınlık), maske ile metin renginde. */
.alan-hata::before, .hata-ozeti::before { content: ""; flex: none; width: 1.125rem; height: 1.125rem; margin-top: 0.15em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Hata özeti: tek kenar şeridi yerine ince çerçeve + açık kırmızı zemin + "!" işareti (anlam yalnız renkte kalmasın) */
.hata-ozeti { position: relative; background: var(--hata-acik); color: var(--hata); border-radius: var(--radius); padding-block: 0.875rem; padding-inline: 2.875rem 1rem; font-weight: 600; }
.hata-ozeti::before { position: absolute; inset-inline-start: 1rem; top: 0.875rem; width: 1.375rem; height: 1.375rem; margin: 0; }
.hata-ozeti:focus { outline: 3px solid var(--coral); outline-offset: 3px; }

/* Seçimler (radyo kartları) */
.secenekler { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.ikili-secim .secenekler { grid-template-columns: 1fr 1fr; }
.secenek { position: relative; }
.secenek input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.secenek label {
  display: flex; align-items: center; gap: 0.75rem; min-height: var(--dugme-yukseklik);
  padding: 0.625rem 1rem; font-weight: 500; font-size: 1rem;
  background: var(--white); border: 2px solid var(--girdi-kenar); border-radius: var(--radius);
  cursor: pointer; transition: border-color var(--sure) ease-out, background-color var(--sure) ease-out;
}
.secenek label::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--girdi-kenar); background: var(--white);
  transition: border-color var(--sure) ease-out, box-shadow var(--sure) ease-out;
}
@media (hover: hover) { .secenek label:hover { border-color: var(--petrol); } }
.secenek input:checked + label { border-color: var(--petrol); background: var(--petrol-acik); font-weight: 600; }
.secenek input:checked + label::before { border-color: var(--petrol); box-shadow: inset 0 0 0 4px var(--white); background: var(--petrol); }
.secenek input:focus-visible + label { outline: 3px solid var(--coral); outline-offset: 2px; }
.secenek input[aria-invalid=true] + label { border-color: var(--hata); }

/* Düğmeler: sitedeki hap düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: var(--dugme-yukseklik); padding: 0.8rem 1.7rem;
  font: 700 1rem/1.25 var(--sans); text-align: center; text-decoration: none;
  border-radius: var(--radius-hap); border: 2px solid transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--sure) ease-out, color var(--sure) ease-out, box-shadow var(--sure) ease-out, transform var(--sure) ease-out, opacity var(--sure) ease-out;
}
@media (hover: hover) { .btn:hover:not(:disabled) { transform: translateY(-2px); } }
.btn:active:not(:disabled) { transform: scale(.96); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-ana { background: var(--coral); color: var(--white); }
.btn-ikincil { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) {
  .btn-ana:hover:not(:disabled) { background: var(--coral-dark); color: var(--white); }
  .btn-ikincil:hover:not(:disabled) { background: var(--ink); color: var(--white); }
    }
.btn-metin { background: none; border: 0; color: var(--petrol); padding: 0.5rem 0.25rem; min-height: 44px; font: 600 1rem/1.25 var(--sans); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 0.25em; justify-content: flex-start; align-self: flex-start; cursor: pointer; }
.btn-metin:hover { color: var(--coral-dark); }
.btn-metin.tehlike { color: var(--hata); text-decoration-color: currentColor; }
.ikon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.gezinme { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; padding-top: var(--space-md); border-top: 1px solid var(--cizgi); }
.gezinme .btn-ana { margin-inline-start: auto; min-width: 8rem; }
@media (max-width: 29.99rem) {
  .gezinme { flex-direction: column; }
  .gezinme .btn { width: 100%; }
}
.eylemler { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Aile */
.kisiler { display: flex; flex-direction: column; gap: 0.75rem; }
.kisi-listesi { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
/* Kişi satırı: tek kenar şeridi yerine sitedeki madde işareti (mercan nokta) */
.kisi-listesi li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 44px; padding-block: 0.25rem; padding-inline: 1.25rem 0; font-weight: 600; }
.kisi-listesi li::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 0.6em; height: 0.6em; margin-top: -0.3em; border-radius: 50%; background: var(--coral); }
.kisiler > .btn-ikincil { align-self: flex-start; }
.bolum { display: flex; flex-direction: column; gap: 1rem; padding-top: var(--space-md); border-top: 1px solid var(--cizgi); }
.bolum:first-child { padding-top: 0; border-top: 0; }
.ortak-satir { gap: 0.25rem; padding: 0.75rem 1rem; background: var(--sand); border-radius: var(--radius); }
.ortak-ozet { display: flex; flex-direction: column; gap: 0.125rem; }
.ortak-etiket { font-weight: 600; font-size: 0.9375rem; }
.ortak-not { font-size: 0.875rem; color: var(--muted); }
.ortak-satir > .alan { margin-bottom: 0.25rem; }

/* Belgeler */
.belge-secici { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem 1rem; background: var(--zemin-yumusak); border-radius: var(--radius); }
.belge-secici.secildi { background: var(--basari-acik); }
.belge-adi { font-size: 1.125rem; }
.dosya-girdi { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dosya-dugme { align-self: flex-start; }
.dosya-girdi:focus-visible + .dosya-dugme { outline: 3px solid var(--coral); outline-offset: 3px; }
.dosya-listesi { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.375rem; }
.dosya { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "ad kaldir" "durum kaldir"; align-items: center; column-gap: 0.5rem; padding: 0.375rem 0.25rem 0.375rem 1rem; background: var(--white); border-radius: var(--radius); }
.dosya-adi { grid-area: ad; font-weight: 600; overflow-wrap: anywhere; font-size: 0.9375rem; }
.dosya-durum { grid-area: durum; font-size: 0.875rem; color: var(--muted); }
.dosya-hata { background: var(--hata-acik); }
.dosya-hata .dosya-durum { color: var(--hata); font-weight: 600; }
.btn-kaldir { grid-area: kaldir; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: var(--muted); cursor: pointer; transition: color var(--sure) ease-out, background-color var(--sure) ease-out; }
.btn-kaldir:hover { color: var(--hata); background: var(--hata-acik); }

/* Kontrol ekranı */
.ozet-bolum { gap: 0.5rem; }
.ozet-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.ozet-ust .btn-metin { align-self: auto; }
.ozet { margin: 0; display: flex; flex-direction: column; }
.ozet > div { display: grid; grid-template-columns: 1fr; gap: 0.125rem; padding-block: 0.5rem; border-top: 1px solid var(--cizgi); }
@media (min-width: 30rem) { .ozet > div { grid-template-columns: 2fr 3fr; gap: 1rem; } }
.ozet dt { color: var(--muted); font-size: 0.9375rem; }
.ozet dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.gonderim-hatasi { background: var(--hata-acik); border-radius: var(--radius-card); padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; color: var(--hata); font-weight: 600; }

/* Bitiş: üst şerit yerine açık yeşil zemin; anlamı başlık ("Başvurunuz alındı") taşır */
.bitis { align-items: flex-start; background: var(--white); }
.takip-kodu {
  font-family: var(--mono);
  font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem); font-weight: 700; letter-spacing: 0.08em;
  color: var(--petrol); background: var(--zemin-yumusak); border-radius: var(--radius);
  padding: 0.5rem 1rem; user-select: all; -webkit-user-select: all;
}
.madde-listesi { margin: 0; padding-inline-start: 1.25rem; }

/* Takip */
.basvuru-no { display: flex; flex-direction: column; }
.etiket-kucuk { font-size: 0.875rem; color: var(--muted); font-weight: 600; }
.basvuru-no strong { font-family: var(--display); font-size: 1.375rem; letter-spacing: 0; }
.takip-kodu-alan { display: flex; flex-direction: column; gap: var(--space-xs); }
.takip-kodu-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.takip-kodu-kucuk { font-size: 1.5rem; }
@media (max-width: 29.99rem) { .takip-kodu-satir .btn { width: 100%; } }
.takip-kisi .kisi-ust > h2, .takip-kisi .kisi-ust > h3 { font-size: 1.375rem; }
.durumlar { margin: 0; display: grid; gap: 0.75rem; padding: 1rem; border-radius: var(--radius); background: var(--zemin-yumusak); }
.durumlar div { display: flex; flex-direction: column; }
.durumlar dt { font-size: 0.875rem; color: var(--muted); font-weight: 600; }
.durumlar dd { margin: 0; font-weight: 600; font-size: 1.0625rem; }
.belge-listesi { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.375rem; }
.belge-listesi li { display: flex; align-items: center; gap: 0.5rem; }
.belge-listesi .geldi .ikon { color: var(--basari); }
.belge-listesi .eksik .ikon { color: var(--girdi-kenar); }
.belge-listesi .eksik { color: var(--muted); }
/* Kişi başına tek durum işareti: soluk zemin + aynı tonun koyusu yazı (hap) */
.kisi-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 0.75rem; }
.eksik-sayisi { flex: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 28px; padding: 0.2rem 0.75rem 0.2rem 0.6rem; border-radius: var(--radius-hap); font-size: 0.875rem; font-weight: 600; background: var(--basari-acik); color: var(--basari); }
.eksik-sayisi.var { background: var(--hata-acik); color: var(--hata); }
.eksik-sayisi .ikon { width: 16px; height: 16px; }
.takip-yukleme { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--cizgi); }
.ek-sayfa summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--petrol); font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.ek-sayfa[open] summary { margin-bottom: 0.5rem; }
.yukleme-durumu { font-weight: 600; color: var(--muted); }
.takip-formu { gap: 1rem; }
.takip-formu .btn { align-self: flex-start; }
.takip-sonuc { display: flex; flex-direction: column; gap: var(--space-md); }

/* 1. aşama (UX planı): grup hatası, hata listesi, seçim rozeti, bitiş işareti, gönderim çubuğu */
.alan-hatali .secenek label { border-color: var(--hata); }
.hata-listesi { margin: 0.5rem 0 0; padding-inline-start: 1.1rem; display: flex; flex-direction: column; gap: 0.25rem; font-weight: 500; }
.hata-listesi a { color: var(--hata); text-decoration-color: currentColor; }
.belge-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 0.75rem; }
.secim-rozeti { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--basari); }
.secim-rozeti .ikon { width: 16px; height: 16px; }
.bitis-isaret { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--basari); color: var(--white); }
.bitis-isaret .ikon { width: 26px; height: 26px; stroke-width: 2.5; }
.gonderim-cubugu { width: 100%; height: 6px; }

/* 2. aşama (taste-skill, "editorial greeting" uygulama stili): selamlama h1, adım gövdesi tek beyaz panel,
   içinde gruplar bir ton koyu zemin (çizgi ya da gölge yok), yükleniyor iskeleti düz gri. */
.adim:not([data-adim="kontrol"]) > .adim-govde { background: var(--white); border-radius: var(--radius-card); padding: 1.5rem 1rem; margin-inline: -1rem; }
@media (min-width: 30rem) { .adim:not([data-adim="kontrol"]) > .adim-govde { margin-inline: 0; padding: 1.75rem 1.5rem; } }
.giris-metni strong { font-weight: 700; }
.iskelet { display: flex; flex-direction: column; gap: 0.75rem; }
.iskelet span { display: block; border-radius: var(--radius); background: var(--sand); }
.iskelet-baslik { height: 2rem; width: 60%; }
.iskelet-satir { height: 1rem; width: 100%; }
.iskelet-satir.kisa { width: 70%; }
.iskelet-kutu { height: var(--dugme-yukseklik); width: 100%; }
.iskelet-kutu + .iskelet-kutu { margin-top: -0.25rem; }

/* 3. aşama (impeccable denetim + cila) */
input, textarea { caret-color: var(--coral); }
.ozet dd, .takip-kodu, .basvuru-no strong, .yukleniyor, .yukleme-durumu, .ilerleme-metin, .dosya-durum { font-variant-numeric: tabular-nums; }
/* Bileşik alanın parça etiketleri grubun başlığından bir kademe hafif: "Seyahat tarihleri" > "Gidiş". */
fieldset.bilesik .parca > label { font-weight: 500; font-size: 0.9375rem; }
/* vertical-align: top → çok satırlı bağlantıda madde işareti son satıra değil ilk satıra hizalanır. */
.hata-listesi a { display: inline-block; vertical-align: top; padding-block: 0.125rem; }
.gonderim-cubugu { -webkit-appearance: none; appearance: none; display: block; height: 6px; border: 0; border-radius: var(--radius-hap); background: var(--sand); overflow: hidden; }
.gonderim-cubugu::-webkit-progress-bar { background: var(--sand); }
.gonderim-cubugu::-webkit-progress-value { background: var(--coral); }
.gonderim-cubugu::-moz-progress-bar { background: var(--coral); }
@media (max-width: 29.99rem) { .eylemler .btn { width: 100%; } }
/* Büyük yazı boyutunda (200%) dar ekranda yan kaydırma olmasın: ad + eylem satırları sarılır. */
.kisi-listesi li, .ozet-ust { flex-wrap: wrap; }
.kisi-listesi li > span { min-width: 0; overflow-wrap: anywhere; }
.kisi-ust > h2, .kisi-ust > h3 { min-width: 0; overflow-wrap: anywhere; }
.btn, .btn-metin, .eksik-sayisi { max-width: 100%; }
.btn span { min-width: 0; }

/* 4. aşama (Krehel interfaces): zorunlu renk kipi (Windows yüksek karşıtlık). Arka plan ve gölgeler
   silindiği için seçili radyo, ilerleme çubuğu ve seçili kart sistem renkleriyle çizilir. */
@media (forced-colors: active) {
  .secenek input:checked + label { border-color: Highlight; }
  .secenek input:checked + label::before { forced-color-adjust: none; border-color: Highlight; background: Highlight; box-shadow: inset 0 0 0 4px Canvas; }
  .ilerleme-cubuk { border: 1px solid CanvasText; }
  .ilerleme-cubuk span { forced-color-adjust: none; background: Highlight; }
}

@media (min-width: 48rem) {
  main.sutun { padding-block: var(--space-xl) 4rem; }
  .kart { padding: 2rem; }
}

/* Hareket azaltma: yer değiştirme (kalkma, basılma, çubuğun kayması) kalkar; renk ve kenar geçişleri
   durum geri bildirimi olduğu için kalır (genel 0.01ms kesintisi geri bildirimi de siliyordu). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover:not(:disabled), .btn:active:not(:disabled) { transform: none; }
  .btn { transition-property: background-color, color, box-shadow, opacity; }
  .ilerleme-cubuk span { transition: none; }
}
