/* Digitera Form — ortak stil. Renkler kurumsal PDF temasından (01-Musteriler/_sablon/digitera-tema.css). */
:root {
  --koyu: #3A3A3C;
  --ink: #3A3A3C;
  --ink-2: #6C6C70;
  --muted: #939598;
  --line: #E4E4E6;
  --line-2: #C9C9CC;
  --panel: #F6F6F7;
  --beyaz: #FFFFFF;
  --pembe: #E9227A;
  --pembe-koyu: #C81766;
  --pembe-soft: #FDF2F7;
  --turuncu: #D9821A;
  --turuncu-soft: #FCF5EA;
  --yesil: #2E8B57;
  --yesil-soft: #EEF7F1;
  --kirmizi: #C62828;
  --radius: 0.75rem;
  --golge: 0 1px 2px rgba(58, 58, 60, .06), 0 4px 16px rgba(58, 58, 60, .06);
}

/* Kök yazı boyu ekranla büyür: telefonda 15px, 1920'de ~18px, 2K'da 20px */
html { font-size: clamp(15px, 0.3vw + 12.5px, 20px); -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--panel); color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem; line-height: 1.55;
}
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0 0 .6rem; }
a { color: var(--pembe); }
button, input, textarea, select { font: inherit; color: inherit; }
.gizli { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Üst bant ---------- */
.bant { background: var(--koyu); color: var(--beyaz); }
.bant-ic { max-width: 48rem; margin: 0 auto; padding: 1.4rem 1rem 1.6rem; }
.bant-ust { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bant-logo { height: 1.9rem; width: auto; display: block; }
.musteri-logo { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: block; box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.bant-etiket { color: var(--pembe); font-weight: 600; font-size: .9rem; margin: 1.6rem 0 .3rem; letter-spacing: .01em; }
.bant h1 { font-size: 1.85rem; letter-spacing: -.01em; }
.bant-cizgi { width: 3rem; height: 3px; background: var(--pembe); margin: .9rem 0 1rem; border: 0; }
.bant p { color: #D8D8DA; font-size: .98rem; max-width: 40rem; }

/* ---------- Gövde ---------- */
.kap { max-width: 48rem; margin: 0 auto; padding: 1.2rem 1rem 4rem; }
.kart { background: var(--beyaz); border-radius: var(--radius); box-shadow: var(--golge); padding: 1.3rem 1.2rem; margin-bottom: 1rem; }
.kicik { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.kart > h2 { font-size: 1.3rem; margin-bottom: .2rem; }
.kart > h2 .no { color: var(--pembe); margin-right: .45rem; font-variant-numeric: tabular-nums; }
.bolum-aciklama { color: var(--ink-2); font-size: .93rem; margin: .5rem 0 0; }

/* İlerleme */
.ilerleme { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; font-size: .88rem; color: #D8D8DA; }
.ilerleme-cubuk { flex: 1; height: .4rem; background: rgba(255,255,255,.14); border-radius: 1rem; overflow: hidden; max-width: 16rem; }
.ilerleme-dolu { height: 100%; width: 0; background: var(--pembe); border-radius: 1rem; transition: width .3s ease; }

/* Bildiklerimiz tablosu */
.bilinen { width: 100%; border-collapse: collapse; margin-top: .6rem; font-size: .93rem; }
.bilinen td { padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bilinen tr:last-child td { border-bottom: 0; }
.bilinen td:first-child { width: 7.5rem; color: var(--ink-2); }
@media (min-width: 40rem) { .bilinen td:first-child { width: 10rem; } }

/* ---------- Soru ---------- */
.soru { padding: 1.15rem 0 .2rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.kart > .soru:first-of-type { border-top: 0; }
.soru-basi { display: flex; gap: .6rem; align-items: baseline; }
.soru-no { color: var(--pembe); font-weight: 600; min-width: 1.5rem; font-variant-numeric: tabular-nums; }
.soru-metin { font-weight: 600; }
.soru-ici { margin-left: 2.1rem; }
.rozet { display: inline-block; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 2rem; padding: .05rem .5rem; margin-left: .35rem; font-weight: 400; vertical-align: .1rem; white-space: nowrap; }
.soru-not { color: var(--ink-2); font-size: .9rem; margin: .25rem 0 0; }

/* Seçenekler: telefonda rahat dokunulacak büyüklükte */
.secenekler { display: grid; gap: .45rem; margin-top: .7rem; }
.secenekler.iki-sutun { grid-template-columns: 1fr; }
@media (min-width: 40rem) { .secenekler.iki-sutun { grid-template-columns: 1fr 1fr; } }
.secenek { position: relative; display: flex; gap: .7rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: .6rem; padding: .7rem .8rem; cursor: pointer; background: var(--beyaz); transition: border-color .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.secenek:hover { border-color: var(--line-2); }
.secenek > input { position: absolute; opacity: 0; pointer-events: none; }
.secenek .harf { flex: none; width: 1.55rem; height: 1.55rem; border: 1.5px solid var(--line-2); border-radius: .35rem; display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--ink-2); transition: all .15s; }
.secenek.tek .harf { border-radius: 50%; }
.secenek .sec-metin { flex: 1; min-width: 0; }
.secenek .sec-etiket { display: block; }
.secenek .sec-aciklama { display: block; font-size: .86rem; color: var(--ink-2); margin-top: .1rem; }
.secenek.secili { border-color: var(--pembe); background: var(--pembe-soft); }
.secenek.secili .harf { background: var(--pembe); border-color: var(--pembe); color: var(--beyaz); }
.secenek.pasif { opacity: .45; cursor: not-allowed; }
.secenek input:focus-visible + .harf { outline: 2px solid var(--pembe); outline-offset: 2px; }
.secenek .sec-yazi { margin-top: .5rem; }

/* Metin alanları */
.alan { display: block; width: 100%; border: 1.5px solid var(--line); border-radius: .6rem; padding: .65rem .8rem; background: var(--beyaz); transition: border-color .15s; resize: vertical; }
.alan:focus { outline: none; border-color: var(--pembe); }
textarea.alan { min-height: 5.5rem; }
.alan-blok { margin-top: .7rem; }
.alan-etiket { display: block; font-size: .86rem; color: var(--ink-2); margin-bottom: .3rem; }
.alan:disabled { background: var(--panel); }

/* Dosya ekleme */
.dosya-kutu { margin-top: .7rem; border: 1.5px dashed var(--line-2); border-radius: .6rem; padding: .8rem; background: var(--panel); transition: border-color .15s, background .15s; }
.dosya-kutu.uzerinde { border-color: var(--pembe); background: var(--pembe-soft); }
.dosya-ust { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.dosya-not { font-size: .86rem; color: var(--ink-2); flex: 1; min-width: 10rem; }
.dosya-liste { display: grid; gap: .45rem; margin-top: .6rem; }
.dosya-liste:empty { display: none; }
.dosya { display: flex; align-items: center; gap: .7rem; background: var(--beyaz); border: 1px solid var(--line); border-radius: .5rem; padding: .45rem .6rem; font-size: .88rem; }
.dosya img, .dosya .dosya-simge { width: 2.6rem; height: 2.6rem; border-radius: .35rem; object-fit: cover; flex: none; background: var(--panel); display: grid; place-items: center; font-size: .65rem; font-weight: 600; color: var(--ink-2); text-transform: uppercase; }
.dosya .dosya-ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dosya .dosya-boyut { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.dosya .yukleniyor { color: var(--turuncu); }
.dosya .hatali { color: var(--kirmizi); white-space: normal; }

/* Düğmeler */
.dugme { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1.5px solid var(--line-2); background: var(--beyaz); border-radius: .55rem; padding: .55rem 1rem; cursor: pointer; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); transition: background .15s, border-color .15s; }
.dugme:hover { border-color: var(--ink-2); }
.dugme:disabled { opacity: .5; cursor: not-allowed; }
.dugme.ana { background: var(--pembe); border-color: var(--pembe); color: var(--beyaz); }
.dugme.ana:hover { background: var(--pembe-koyu); border-color: var(--pembe-koyu); }
.dugme.buyuk { padding: .85rem 1.6rem; font-size: 1.02rem; width: 100%; }
.dugme.kucuk { padding: .3rem .65rem; font-size: .82rem; }
.dugme.sade { border-color: transparent; background: transparent; color: var(--ink-2); }
.dugme.sade:hover { color: var(--kirmizi); }
.dugme.tehlike { color: var(--kirmizi); }

/* Kutular */
.kutu { border-left: 3px solid var(--pembe); background: var(--pembe-soft); padding: .8rem 1rem; border-radius: 0 .5rem .5rem 0; margin: .8rem 0; font-size: .93rem; }
.kutu.dikkat { border-left-color: var(--turuncu); background: var(--turuncu-soft); }
.kutu.tamam { border-left-color: var(--yesil); background: var(--yesil-soft); }
.kutu strong { display: block; margin-bottom: .15rem; }

/* Kaydetme bildirimi (geçici, köşede) */
.bildirim { position: fixed; left: 50%; bottom: 1rem; transform: translate(-50%, 150%); background: var(--koyu); color: var(--beyaz); padding: .55rem 1rem; border-radius: 2rem; font-size: .88rem; box-shadow: 0 6px 24px rgba(0,0,0,.18); transition: transform .25s ease; z-index: 10; white-space: nowrap; max-width: calc(100vw - 2rem); overflow: hidden; text-overflow: ellipsis; }
.bildirim.goster { transform: translate(-50%, 0); }
.bildirim.hata { background: var(--kirmizi); }

.ayak { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 2rem; }

/* Tam sayfa durum ekranı (geçersiz bağlantı, giriş) */
.orta-ekran { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.orta-kart { background: var(--beyaz); border-radius: var(--radius); box-shadow: var(--golge); padding: 2rem 1.6rem; max-width: 26rem; width: 100%; text-align: center; }
.orta-kart .ust-logo { background: var(--koyu); border-radius: .6rem; padding: .9rem; margin: -0.4rem -0.2rem 1.4rem; }
.orta-kart .ust-logo img { height: 1.7rem; }
.orta-kart h1 { font-size: 1.3rem; margin-bottom: .5rem; }
.orta-kart p { color: var(--ink-2); }
