/* Cemalzade kurumsal renkleri — 23/09/2026 fiyat duyurusu görselinin alt bandından ve logodan ölçüldü */
:root {
  --lacivert: #063a69;          /* bandın orta tonu */
  --lacivert-koyu: #032b56;     /* bandın kenar tonu */
  --lacivert-bant: linear-gradient(90deg, #032b56 0%, #063a69 50%, #032b56 100%);
  --logo-mavi: #0a66c2;         /* logodaki dalga mavisi */
  --gunes: #f6cf0a;             /* logodaki güneş sarısı (yalnızca küçük vurgular) */
  --altin: #c9a85c;             /* bant üstündeki ince altın çizgi */
  --birincil: var(--lacivert);
  --birincil-koyu: var(--lacivert-koyu);
  --birincil-acik: #e9f0f8;
  --vurgu: var(--gunes);
  --vurgu-acik: #fff8d9;
  --zemin: #f3f6fa;
  --kart: #ffffff;
  --yazi: #0f1e33;
  --yazi-soluk: #5b6b80;
  --cizgi: #dfe6ef;
  --tehlike: #b3261e;
  --tehlike-acik: #fbe9e7;
  --basari: #2e7d32;
  --radius: 14px;
  --golge: 0 1px 2px rgba(6, 58, 105, .06), 0 4px 14px rgba(6, 58, 105, .07);
  --alt-bar: 64px;
  --guvenli-alt: env(safe-area-inset-bottom, 0px);
  --guvenli-ust: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--zemin);
  color: var(--yazi);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--birincil); }
h1, h2, h3 { margin: 0; line-height: 1.25; }

/* ---------- İskelet ---------- */
#app { max-width: 680px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.ust-bar {
  position: sticky; top: 0; z-index: 20;
  background: var(--lacivert-bant); color: #fff;
  padding: calc(10px + var(--guvenli-ust)) 16px 10px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 2px solid var(--altin);
}
.ust-bar .geri { background: none; border: 0; color: #fff; padding: 6px; margin-left: -6px; cursor: pointer; display: flex; }
.ust-bar h1 { font-size: 17px; font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }
.ust-bar .alt-baslik { font-size: 11.5px; opacity: .78; font-weight: 400; display: block; letter-spacing: .02em; }
.ikon-btn {
  position: relative; background: rgba(255, 255, 255, .12); border: 0; color: #fff;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; cursor: pointer;
}
.ikon-btn:active { background: rgba(255, 255, 255, .25); }
.rozet {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--gunes); color: var(--lacivert-koyu); border-radius: 10px; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.demo-serit { background: var(--birincil-acik); color: var(--lacivert); font-size: 12px; text-align: center; padding: 5px 12px; letter-spacing: .03em; }

main { flex: 1; padding: 16px 16px calc(var(--alt-bar) + 24px + var(--guvenli-alt)); }
main.alt-bar-yok { padding-bottom: calc(24px + var(--guvenli-alt)); }

.alt-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  background: #fff; border-top: 1px solid var(--cizgi);
  padding-bottom: var(--guvenli-alt);
}
.alt-bar nav { max-width: 680px; margin: 0 auto; display: flex; height: var(--alt-bar); }
.alt-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--yazi-soluk); font-size: 11.5px; font-weight: 550; position: relative;
}
.alt-bar a.aktif { color: var(--birincil); font-weight: 700; }
.alt-bar a.aktif svg { stroke-width: 2.4; }
.alt-bar a.aktif::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--lacivert); }
.alt-bar a .rozet { top: 6px; right: calc(50% - 22px); }

/* ---------- Bileşenler ---------- */
.kart { background: var(--kart); border-radius: var(--radius); box-shadow: var(--golge); padding: 14px; margin-bottom: 12px; }
.kart.tik { cursor: pointer; display: block; text-decoration: none; color: inherit; }
.kart.tik:active { transform: scale(.995); }
.bolum-baslik { font-size: 12.5px; font-weight: 700; color: var(--lacivert); text-transform: uppercase; letter-spacing: .08em; margin: 22px 2px 10px; display: flex; justify-content: space-between; align-items: center; }
.bolum-baslik:first-child, .sadece-yazdir:first-child + .bolum-baslik { margin-top: 4px; }
.satir { display: flex; align-items: center; gap: 10px; }
.satir.arasi { justify-content: space-between; }
.soluk { color: var(--yazi-soluk); }
.kucuk { font-size: 13.5px; }
.kalin { font-weight: 650; }
.sag { text-align: right; }
.bos { text-align: center; color: var(--yazi-soluk); padding: 40px 16px; }
.bos .ikon { font-size: 40px; margin-bottom: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--birincil); color: #fff; font-weight: 650; cursor: pointer; text-decoration: none;
}
.btn:active { background: var(--birincil-koyu); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.tam { width: 100%; }
.btn.ikincil { background: #fff; color: var(--birincil); border-color: var(--cizgi); }
.btn.vurgu { background: var(--logo-mavi); color: #fff; box-shadow: 0 4px 14px rgba(10, 102, 194, .28); }
.btn.vurgu:active { background: var(--lacivert); }
.btn.tehlike { background: #fff; color: var(--tehlike); border-color: #efc7c3; }
.btn.tehlike.dolu { background: var(--tehlike); color: #fff; }
.btn.kucuk { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn-grup { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-grup .btn { flex: 1; }

.alan { margin-bottom: 14px; }
.alan label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--yazi-soluk); }
.alan input, .alan select, .alan textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--cizgi); border-radius: 12px; background: #fff;
}
.alan textarea { min-height: 80px; resize: vertical; }
.alan input:focus, .alan select:focus, .alan textarea:focus { outline: 2px solid var(--birincil); outline-offset: -1px; border-color: transparent; }
.onay-kutu { display: flex; align-items: center; gap: 10px; font-weight: 550; margin-bottom: 14px; }
.onay-kutu input { width: 20px; height: 20px; accent-color: var(--birincil); }
.iki-kolon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.iki-kolon input { min-width: 0; width: 100%; }

.arama { position: relative; margin-bottom: 12px; }
.arama input { width: 100%; min-height: 46px; padding: 10px 12px 10px 40px; border: 1px solid var(--cizgi); border-radius: 12px; background: #fff; }
.arama svg { position: absolute; left: 12px; top: 13px; color: var(--yazi-soluk); }

.cipler { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px 12px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.cipler::-webkit-scrollbar { display: none; }
.cip { flex: none; border: 1px solid var(--cizgi); background: #fff; border-radius: 20px; padding: 7px 14px; font-size: 14px; font-weight: 550; cursor: pointer; white-space: nowrap; }
.cip.aktif { background: var(--birincil); border-color: var(--birincil); color: #fff; }

.durum { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.durum.beklemede { background: #fff1d6; color: #8a5a00; }
.durum.onaylandi { background: #e3edff; color: #1d4ea8; }
.durum.hazirlaniyor { background: #efe6ff; color: #5b31a8; }
.durum.yolda { background: #dcf3e6; color: #1b6b3e; }
.durum.teslim_edildi { background: #e9ece9; color: #3c4a40; }
.durum.reddedildi { background: var(--tehlike-acik); color: var(--tehlike); }
.durum.iptal { background: #eee; color: #666; }

/* Ürün kartı */
.urun { display: flex; gap: 12px; align-items: center; }
.urun-gorsel { width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--birincil-acik); display: grid; place-items: center; font-size: 26px; overflow: hidden; }
.urun-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.urun-bilgi { flex: 1; min-width: 0; }
.urun-ad { font-weight: 650; }
.urun-alt { font-size: 13px; color: var(--yazi-soluk); }
.fiyat { font-weight: 700; color: var(--birincil); }
.stepper { display: flex; align-items: center; border: 1px solid var(--cizgi); border-radius: 12px; overflow: hidden; flex: none; background: #fff; }
.stepper button { width: 38px; height: 40px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: var(--birincil); }
.stepper button:active { background: var(--birincil-acik); }
.stepper input { width: 46px; height: 40px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ekle-btn { flex: none; }

/* Tablo benzeri kalem listesi */
.kalem { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--cizgi); }
.kalem:last-child { border-bottom: 0; }
.kalem > :last-child { white-space: nowrap; }
.kalem .adet { font-weight: 800; font-size: 18px; min-width: 56px; text-align: right; }
.toplam-satir { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0; }
.toplam-satir > span:last-child { white-space: nowrap; }
.toplam-satir.genel { font-size: 18px; font-weight: 800; border-top: 2px solid var(--cizgi); margin-top: 6px; padding-top: 10px; }

/* Zaman çizelgesi */
.zaman { list-style: none; margin: 0; padding: 0; }
.zaman li { position: relative; padding: 0 0 14px 22px; }
.zaman li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--birincil); }
.zaman li::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: 0; width: 2px; background: var(--cizgi); }
.zaman li:last-child::after { display: none; }

/* Durum ilerleme çubuğu */
.ilerleme { display: flex; gap: 6px; margin: 12px 0 4px; }
.ilerleme span { flex: 1; height: 6px; border-radius: 3px; background: var(--cizgi); }
.ilerleme span.tamam { background: var(--birincil); }
.ilerleme-etiket { display: flex; justify-content: space-between; font-size: 11px; color: var(--yazi-soluk); }

/* İstatistik kartları */
.istatistik { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.istatistik .kart { margin: 0; }
.istatistik .deger { font-size: 26px; font-weight: 800; color: var(--birincil); line-height: 1.1; }
.istatistik .etiket { font-size: 13px; color: var(--yazi-soluk); margin-top: 4px; }
.istatistik .kart.vurgulu { background: var(--lacivert-bant); color: #fff; border-bottom: 3px solid var(--altin); }
.istatistik .kart.vurgulu .deger, .istatistik .kart.vurgulu .etiket { color: #fff; }
.genis { grid-column: 1 / -1; }

/* Sepet alt çubuğu */
.yapiskan-alt {
  position: fixed; left: 0; right: 0; bottom: calc(var(--alt-bar) + var(--guvenli-alt)); z-index: 15;
  padding: 10px 16px; background: linear-gradient(to top, var(--zemin) 70%, transparent);
}
.yapiskan-alt > div { max-width: 648px; margin: 0 auto; }

/* Giriş */
.giris { min-height: 100dvh; display: flex; flex-direction: column; background: #fff; }
.giris-icerik { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: calc(28px + var(--guvenli-ust)) 22px 24px; }
.giris-ust { text-align: center; margin-bottom: 22px; }
.giris-logo { width: min(250px, 70vw); height: auto; display: block; margin: 0 auto 14px; }
.giris-baslik { font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 700; letter-spacing: .14em; color: var(--lacivert); text-transform: uppercase; }
.giris-cizgi { width: 56px; height: 2px; background: var(--altin); margin: 10px auto 0; border-radius: 2px; }
.giris .kart { box-shadow: 0 2px 6px rgba(6, 58, 105, .06), 0 10px 30px rgba(6, 58, 105, .1); border: 1px solid var(--cizgi); }
.kurumsal-alt { background: var(--lacivert-bant); border-top: 3px solid var(--altin); color: #fff; text-align: center; padding: 18px 16px calc(18px + var(--guvenli-alt)); }
.kurumsal-alt .marka { font-family: Georgia, "Times New Roman", serif; letter-spacing: .42em; font-size: 15px; font-weight: 700; padding-left: .42em; }
.kurumsal-alt .slogan { letter-spacing: .32em; font-size: 10px; opacity: .8; margin-top: 6px; padding-left: .32em; }
.hesap-alt { text-align: center; margin-top: 26px; }
.hesap-alt img { width: 150px; height: auto; }
.hesap-alt .slogan { font-family: Georgia, serif; letter-spacing: .3em; font-size: 10px; color: var(--yazi-soluk); margin-top: 6px; }
.yazdir-ust { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--lacivert); padding-bottom: 10px; margin-bottom: 14px; }
.yazdir-ust img { height: 54px; }
.hesap-baglantilar { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; }
.hesap-baglantilar a, .baglanti-btn { color: var(--lacivert); background: none; border: 0; padding: 4px 0; font: inherit; text-decoration: underline; cursor: pointer; }
.yetki-liste { display: grid; gap: 2px; margin-bottom: 8px; }
.yetki-liste .onay-kutu.soluk { opacity: .55; }
.acilis { min-height: 100dvh; display: grid; place-items: center; background: #fff; }
.acilis img { width: 200px; height: auto; animation: sol .4s ease; }
.hata-kutu { background: var(--tehlike-acik); color: var(--tehlike); padding: 10px 12px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.bilgi-kutu { background: var(--birincil-acik); color: var(--birincil-koyu); border-left: 3px solid var(--lacivert); padding: 10px 12px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.uyari-kutu { background: var(--vurgu-acik); color: #5c4a00; border-left: 3px solid var(--gunes); padding: 10px 12px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }

/* Bildirimler */
.bildirim, .kart.tik.bildirim { display: flex; gap: 12px; }
.kart.tik.satir, .kart.tik.urun { display: flex; }
.bildirim .nokta { width: 9px; height: 9px; border-radius: 50%; background: var(--vurgu); margin-top: 7px; flex: none; }
.bildirim.okundu .nokta { background: transparent; }
.bildirim.okundu { opacity: .75; }

/* Modal */
.modal-arka { position: fixed; inset: 0; background: rgba(15, 20, 17, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: sol .15s ease; }
.modal { background: #fff; width: 100%; max-width: 680px; max-height: 92dvh; overflow: auto; border-radius: 20px 20px 0 0; padding: 20px 16px calc(20px + var(--guvenli-alt)); animation: yukari .2s ease; }
.modal h2 { font-size: 19px; margin-bottom: 14px; }
@media (min-width: 700px) { .modal-arka { align-items: center; } .modal { border-radius: 20px; } }
@keyframes sol { from { opacity: 0; } }
@keyframes yukari { from { transform: translateY(30px); opacity: .6; } }

/* Toast */
#toast-kok { position: fixed; top: calc(12px + var(--guvenli-ust)); left: 0; right: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: var(--lacivert-koyu); border-left: 4px solid var(--gunes); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .2); max-width: 520px; width: 100%; font-size: 14.5px; pointer-events: auto; animation: yukari .2s ease; }
.toast.hata { background: var(--tehlike); }
.toast b { display: block; }

.secim { width: 22px; height: 22px; accent-color: var(--birincil); flex: none; }
.yukleniyor { text-align: center; padding: 40px; color: var(--yazi-soluk); }
.yukleniyor::before { content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 10px; border: 3px solid var(--cizgi); border-top-color: var(--birincil); border-radius: 50%; animation: don .8s linear infinite; }
@keyframes don { to { transform: rotate(360deg); } }

/* İskontolu fiyat */
.fiyat-satiri { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.liste-fiyat { color: var(--yazi-soluk); font-size: 13px; }
.iskonto-rozet { background: #e2f4e8; color: #1b6b3e; font-size: 11.5px; font-weight: 800; padding: 1px 6px; border-radius: 6px; }
.iskonto-satir, .iskonto-yazi { color: #1b6b3e; }
.iskonto-satir span:last-child { font-weight: 700; }
.iskonto-buyuk { font-size: 22px; font-weight: 800; color: var(--birincil); margin-right: 4px; }
.isk-tablo { display: flex; flex-direction: column; }
.isk-satir { display: grid; grid-template-columns: 1fr 74px 64px 86px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--cizgi); font-size: 14px; }
.isk-satir input { width: 100%; min-height: 38px; padding: 6px 8px; border: 1px solid var(--cizgi); border-radius: 10px; text-align: center; }
.isk-satir span:last-child, .isk-satir span:nth-child(2) { text-align: right; }
.isk-baslik { font-size: 11.5px; font-weight: 700; color: var(--yazi-soluk); text-transform: uppercase; padding-top: 0; }

/* Bayi satın alma listesi */
.segment { display: flex; background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 12px; }
.segment button { flex: 1; border: 0; background: none; border-radius: 9px; min-height: 40px; font-weight: 700; color: var(--yazi-soluk); cursor: pointer; }
.segment button.aktif { background: var(--lacivert-bant); color: #fff; box-shadow: 0 2px 6px rgba(6, 58, 105, .25); }
.donem-gezgin { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--golge); padding: 8px; margin-bottom: 12px; }
.ikon-btn.acik { background: var(--birincil-acik); color: var(--lacivert); }
.ikon-btn.acik:disabled { opacity: .35; cursor: default; }
.donem-etiket { flex: 1; text-align: center; color: var(--lacivert); }
.donem-etiket b { display: block; font-size: 17px; }
.donem-etiket span { font-size: 12px; color: var(--yazi-soluk); letter-spacing: .04em; }
.istatistik .deger-kucuk { font-size: 20px; }
.deger-alt { font-size: 15px; color: var(--yazi-soluk); font-weight: 700; }
.sirala { display: flex; gap: 6px; text-transform: none; letter-spacing: 0; }
.sirala button { border: 1px solid var(--cizgi); background: #fff; border-radius: 16px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; color: var(--yazi-soluk); cursor: pointer; }
.sirala button.aktif { background: var(--lacivert); border-color: var(--lacivert); color: #fff; }
.sira-liste { padding: 4px 14px; }
.sira-satir { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--cizgi); }
.sira-satir:last-child { border-bottom: 0; }
.sira-satir.sifir { opacity: .55; }
.sira-no { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--birincil-acik); color: var(--lacivert); }
.sira-no.ilk1 { background: var(--lacivert-bant); color: #fff; box-shadow: 0 0 0 2px var(--altin); }
.sira-no.ilk2, .sira-no.ilk3 { background: var(--lacivert); color: #fff; }
.sira-bilgi { flex: 1; min-width: 0; }
.sira-tutar { color: var(--lacivert); white-space: nowrap; }
.sira-ton { font-weight: 700; color: var(--yazi); white-space: nowrap; }
.sira-cubuk { height: 6px; border-radius: 3px; background: var(--birincil-acik); margin-top: 7px; overflow: hidden; }
.sira-cubuk span { display: block; height: 100%; background: linear-gradient(90deg, var(--lacivert), var(--logo-mavi)); border-radius: 3px; }
.baslik-link { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--logo-mavi); }
.eksik { color: var(--tehlike); font-weight: 600; }
.not-kart textarea { width: 100%; min-height: 84px; border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px 12px; resize: vertical; background: #fbfcfe; }
.not-kart textarea:focus { outline: 2px solid var(--lacivert); outline-offset: -1px; border-color: transparent; background: #fff; }
.bolum-baslik label { cursor: pointer; }
.kart-not { margin-top: 6px; font-size: 13px; color: var(--lacivert); background: var(--birincil-acik); border-radius: 8px; padding: 5px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kısmi onay / yükleme / teslim tutanağı */
.adet-degisim { font-size: 11.5px; color: #8a5a00; white-space: nowrap; }
.sifir-adet { color: var(--tehlike); text-decoration: line-through; }
.sorun-kart { border-left: 4px solid var(--tehlike); }
.yukleme-siparis { border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.yukleme-kalem, .teslim-kalem { display: grid; grid-template-columns: 1fr auto 72px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--cizgi); font-size: 14.5px; }
.yukleme-kalem:last-child, .teslim-kalem:last-of-type { border-bottom: 0; }
.teslim-kalem { grid-template-columns: 1fr 64px 64px; }
.teslim-baslik { display: grid; grid-template-columns: 1fr 64px 64px; gap: 8px; text-align: center; }
.teslim-baslik span:first-child { text-align: left; }
.yukleme-kalem input, .teslim-kalem input { width: 100%; min-height: 40px; border: 1px solid var(--cizgi); border-radius: 10px; text-align: center; font-weight: 700; }
.kucuk-segment { display: flex; gap: 6px; flex-wrap: wrap; border: 0; padding: 0; background: none; }
.kucuk-segment label { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; cursor: pointer; background: #fff; }
.kucuk-segment label:has(input:checked) { border-color: var(--lacivert); background: var(--birincil-acik); color: var(--lacivert); }
.kucuk-segment input { accent-color: var(--lacivert); }
.alan input[type=radio], .alan input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; margin: 0; }
.alan .onay-kutu { align-items: flex-start; font-size: 14.5px; margin: 0 0 10px; }
.alan .onay-kutu input { margin-top: 1px; }
.bayi-secim { margin-top: 10px; border: 1px solid var(--cizgi); border-radius: 12px; padding: 8px 12px; max-height: 240px; overflow: auto; }
.bayi-secim .onay-kutu { margin-bottom: 8px; font-weight: 500; }
.onay-kutu .kucuk { font-weight: 400; }

/* Duyurular */
.duyuru-bandi { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--lacivert); background: var(--birincil-acik); border: 1px solid #c9d8ea; border-left: 4px solid var(--lacivert); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.duyuru-bandi.fiyat { background: var(--vurgu-acik); border-color: #f1df9a; border-left-color: var(--gunes); color: #4a3b00; }
.duyuru-bandi > span:last-child { display: flex; flex-direction: column; }
.duyuru-ikon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; }
.duyuru-kart.fiyat { border-left: 4px solid var(--gunes); }
.duyuru-kart.genel { border-left: 4px solid var(--lacivert); }
.duyuru-kart.pasif { opacity: .55; }
.duyuru-tur { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--lacivert); text-transform: uppercase; }
.yururluk { display: inline-block; margin-top: 6px; font-size: 13.5px; padding: 3px 10px; border-radius: 8px; background: #eef2f6; }
.yururluk.ileri { background: var(--vurgu-acik); color: #5c4a00; }
.menu-rozet { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gunes); color: var(--lacivert-koyu); font-size: 11.5px; font-weight: 800; vertical-align: 2px; }

/* Abonelik */
.abonelik-uyari { display: flex; gap: 14px; align-items: center; background: var(--lacivert-bant); color: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 12px; border-bottom: 3px solid var(--altin); }
.abonelik-uyari-ikon { flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.etiket-satir { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.etiket-kutu { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: var(--birincil-acik); color: var(--lacivert); white-space: nowrap; }
.etiket-kutu.yesil { background: #dcf3e6; color: #1b6b3e; }
.etiket-kutu.kirmizi { background: var(--tehlike-acik); color: var(--tehlike); }

/* Bayi detayı grafiği */
.grafik { display: flex; align-items: flex-end; gap: 4px; height: 170px; padding-top: 18px; }
.grafik-sutun { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; min-width: 0; position: relative; }
.grafik-cubuk { width: 100%; max-width: 26px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--logo-mavi), var(--lacivert)); }
.grafik-sutun:last-child .grafik-cubuk { box-shadow: 0 0 0 2px var(--altin); }
.grafik-deger { font-size: 10px; font-weight: 700; color: var(--lacivert); white-space: nowrap; }
.grafik-ay { font-size: 10.5px; color: var(--yazi-soluk); text-transform: capitalize; }
.link-satir { text-decoration: none; color: inherit; }
a.sira-satir { text-decoration: none; color: inherit; }
.sag .durum { margin-bottom: 2px; }

/* Yönetim menüsü */
.menu-oge { display: flex !important; align-items: center; gap: 14px; }
.menu-ikon { width: 44px; height: 44px; border-radius: 12px; background: var(--birincil-acik); color: var(--birincil); display: grid; place-items: center; flex: none; }
.uyari-kart { background: var(--vurgu-acik) !important; }

/* İade */
.durum.iade-beklemede { background: #fff1d6; color: #8a5a00; }
.durum.iade-onaylandi { background: #dcf3e6; color: #1b6b3e; }
.durum.iade-reddedildi { background: var(--tehlike-acik); color: var(--tehlike); }
.zorunlu { background: var(--tehlike); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 6px; letter-spacing: .04em; }
.iade-kalem { display: grid; grid-template-columns: 1fr 76px 36px; gap: 8px; align-items: center; margin-bottom: 8px; }
.iade-kalem select, .iade-kalem input { width: 100%; min-height: 46px; padding: 8px 10px; border: 1px solid var(--cizgi); border-radius: 12px; background: #fff; }
.iade-kalem input { text-align: center; font-weight: 700; }
.ikon-sil { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--tehlike-acik); color: var(--tehlike); display: grid; place-items: center; cursor: pointer; }
.gizli-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.foto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.foto-kutu { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #eee; }
.foto-kutu img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }
.foto-ekle { background: #fff; border: 2px dashed var(--cizgi); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--birincil); font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: center; }
.kanit-durum { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; padding: 8px 10px; border-radius: 10px; margin-bottom: 10px; background: var(--vurgu-acik); color: #5c4a00; }
.kanit-durum.tamam { background: #e2f4e8; color: #1b6b3e; }
.foto-no { position: absolute; left: 4px; bottom: 4px; min-width: 20px; height: 20px; border-radius: 10px; background: rgba(3, 43, 86, .8); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.foto-sil { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-kutu { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 26px 14px; border: 2px dashed var(--logo-mavi); border-radius: 14px; background: var(--birincil-acik); color: var(--lacivert); cursor: pointer; }
.video-oynatici { width: 100%; max-height: 420px; border-radius: 12px; background: #000; display: block; }
.ilerleme-cubuk { height: 10px; border-radius: 5px; background: var(--cizgi); overflow: hidden; }
.ilerleme-cubuk span { display: block; height: 100%; width: 0; background: var(--birincil); transition: width .2s; }

/* Yazdırma (depo yükleme listesi) */
.sadece-yazdir { display: none; }
@media print {
  .ust-bar, .alt-bar, .yapiskan-alt, .demo-serit, .yazdirma-gizle, #toast-kok { display: none !important; }
  .sadece-yazdir { display: block; }
  body { background: #fff; }
  main { padding: 0; }
  .kart { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}

/* ---------- Üst bar düzeni ---------- */
.ust-bar { justify-content: space-between; min-height: calc(58px + var(--guvenli-ust)); padding-bottom: 8px; overflow: visible; }
.ust-sol, .ust-sag { display: flex; align-items: center; gap: 8px; min-width: 88px; }
.ust-sag { justify-content: flex-end; }
.sayfa-baslik { text-align: center; padding: 18px 16px 6px; }
.sayfa-baslik h1 { font-size: 19px; font-weight: 800; color: var(--lacivert); letter-spacing: .01em; }
.sayfa-baslik .alt-baslik { display: block; font-size: 12.5px; color: var(--soluk, #6b7480); margin-top: 2px; }
.demo-serit { margin: 6px 16px 0; border-radius: 8px; }

/* Kartlarda önce firma adı (büyük), altında sipariş / iade kodu */
.firma-adi { font-size: 17px; font-weight: 800; color: var(--lacivert); min-width: 0; overflow-wrap: anywhere; }
.firma-baslik { font-size: 21px; font-weight: 800; color: var(--lacivert); min-width: 0; overflow-wrap: anywhere; }
.kod-satiri { font-size: 13px; color: #5b6573; margin-top: 2px; letter-spacing: .02em; }
.kod-satiri.buyuk { font-size: 14.5px; font-weight: 600; }
.kod-satiri a { color: inherit; }
/* ===== Cari hesap ===== */
.cari-satir { display: flex; align-items: center; gap: 12px; }
.cari-satir .sag { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.cari-firma { display: block; font-size: 17px; font-weight: 800; color: var(--lacivert); line-height: 1.25; }
.cari-tutar { font-weight: 800; font-size: 16px; white-space: nowrap; }
.cari-tutar.borc { color: var(--tehlike); }
.cari-tutar.alacak { color: var(--basari); }
.cari-baslik { font-size: 21px; font-weight: 800; color: var(--lacivert); line-height: 1.2; margin: 0 0 2px; }
.cari-bakiye { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 14px 0 12px; padding: 14px; border-radius: 12px; background: var(--birincil-acik); color: var(--lacivert); }
.cari-bakiye.borc { background: var(--tehlike-acik); color: var(--tehlike); }
.cari-bakiye.alacak { background: #e8f4ea; color: var(--basari); }
.cari-bakiye-tutar { font-size: 28px; font-weight: 800; line-height: 1.1; }
.cari-hareket .sag { text-align: right; flex: none; }
.cari-hareket.iptal .kalin, .cari-hareket.iptal .cari-tutar { text-decoration: line-through; opacity: .55; }
.cari-iptal-not { color: var(--tehlike); font-weight: 600; }
.cari-hareket .baglanti-btn { margin-top: 4px; padding: 0; }
.cip-grup { display: flex; flex-wrap: wrap; gap: 8px; }
.cip-secim { position: relative; }
.cip-secim input { position: absolute; opacity: 0; pointer-events: none; }
.cip-secim span { display: inline-block; border: 1px solid var(--cizgi); background: #fff; border-radius: 20px; padding: 9px 14px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.cip-secim input:checked + span { background: var(--birincil); border-color: var(--birincil); color: #fff; }
.cip-secim input:focus-visible + span { outline: 2px solid var(--birincil); outline-offset: 2px; }

.acilis-yazi { margin-top: 14px; font: 600 14px/1.4 system-ui, sans-serif; color: #063a69; text-align: center; }
.acilis { align-content: center; }

/* Üst bar: logo barın ortasında (lacivert zemin üstünde), bildirim solda, hesabım sağda */
.ust-bar { position: sticky; min-height: calc(68px + var(--guvenli-ust)); padding-bottom: 10px; }
.ust-sol, .ust-sag { min-width: 84px; gap: 6px; }
.logo-orta { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); display: block; line-height: 0; }
.logo-orta img { height: 52px; width: auto; display: block; }
@media (max-width: 360px) { .logo-orta img { height: 40px; } .ust-sol, .ust-sag { min-width: 76px; } }

/* Alt panel: üst barla aynı lacivert bant ve altın çizgi */
.alt-bar { background: var(--lacivert-bant); border-top: 2px solid var(--altin); }
.alt-bar a { color: rgba(255, 255, 255, .72); }
.alt-bar a.aktif { color: #fff; }
.alt-bar a.aktif::before { background: var(--altin); }

/* Kurumsal simge ve renk düzeni: emoji yok; simgeler lacivert / altın, durumlar lacivert-altın tonlarında */
:root { --basari: #0a66c2; --altin-koyu: #8a6a1c; --altin-acik: #f7efdc; }
.simge { display: inline-flex; vertical-align: -3px; color: var(--lacivert); margin-right: 2px; }
.uyari-kutu .simge, .kanit-durum .simge, .adet-degisim .simge { color: var(--altin-koyu); }
.bos .ikon { width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: var(--birincil-acik); color: var(--lacivert); border: 2px solid var(--altin); font-size: 0; }
.urun-gorsel { color: var(--lacivert); }
.durum.beklemede, .durum.iade-beklemede { background: var(--altin-acik); color: var(--altin-koyu); }
.durum.onaylandi, .durum.iade-onaylandi { background: var(--birincil-acik); color: var(--lacivert); }
.durum.hazirlaniyor { background: #dbe8f6; color: var(--logo-mavi); }
.durum.yolda { background: var(--lacivert); color: #fff; }
.durum.teslim_edildi { background: #fff; color: var(--lacivert-koyu); box-shadow: inset 0 0 0 1.5px var(--altin); }
.durum.iptal { background: #eef2f6; color: var(--yazi-soluk); }
.iskonto-rozet { background: var(--altin-acik); color: var(--altin-koyu); }
.iskonto-satir, .iskonto-yazi { color: var(--altin-koyu); }
.etiket-kutu.yesil, .kanit-durum.tamam { background: var(--birincil-acik); color: var(--lacivert); }
.cari-bakiye.alacak { background: var(--birincil-acik); }
.adet-degisim { color: var(--altin-koyu); }
.cipler a.cip.aktif { color: #fff !important; }
.islem-kayit { display: block; text-decoration: none; color: inherit; }

/* =====================================================================
   Yeni nesil tasarım (16/10/2026): hareketli lacivert gradyan, cam yüzeyler,
   yüzen alt menü, Apple yazı tipi (SF Pro) ve kullanıcının seçtiği vurgu rengi.
   ===================================================================== */
:root {
  /* Vurgu rengi — varsayılan buz mavisi; Hesabım > Uygulama rengi'nden değişir */
  --v: #5ac8fa; --v2: #94defd; --vd: #1f9fd8; --vm: #0b6f9f; --vy: #e2f5fe; --vr: 90, 200, 250; --vk: #032b56;
  --altin: var(--v); --altin-koyu: var(--vm); --altin-acik: var(--vy);
  --gunes: var(--v); --vurgu: var(--v); --vurgu-acik: var(--vy);
  --zemin: #f4f6fa;
  --radius: 22px;
  --golge: 0 1px 2px rgba(3, 43, 86, .05), 0 16px 36px -24px rgba(3, 43, 86, .45);
  --alt-bar: 68px;
  --yay: cubic-bezier(.3, 1.3, .5, 1);
  --akis: cubic-bezier(.2, .8, .2, 1);
}
:root[data-renk="sari"] { --v: #f6cf0a; --v2: #ffe14f; --vd: #d9a900; --vm: #8a6d00; --vy: #fff7cc; --vr: 246, 207, 10; }
:root[data-renk="gumus"] { --v: #d6dde7; --v2: #eef2f7; --vd: #aab6c6; --vm: #4b5b70; --vy: #eef2f7; --vr: 214, 221, 231; }
:root[data-renk="turkuaz"] { --v: #2dd4bf; --v2: #7ae8da; --vd: #14b0a0; --vm: #0b7368; --vy: #dcfaf5; --vr: 45, 212, 191; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: -.011em; overflow-x: clip;
}
#app { position: relative; isolation: isolate; }

/* Hareketli gradyan zemin */
.mesh {
  position: absolute; top: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  height: var(--mh, 250px); z-index: -1; overflow: hidden; background: var(--lacivert);
  border-radius: 0 0 38px 38px; transition: height .6s var(--akis);
}
.mesh i { position: absolute; border-radius: 50%; filter: blur(42px); animation: meshYuz 14s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { width: 340px; height: 340px; background: #1f7fd8; left: calc(50% - 360px); top: -140px; }
.mesh i:nth-child(2) { width: 280px; height: 280px; background: var(--v); right: calc(50% - 330px); top: 10px; opacity: .85; animation-duration: 11s; animation-delay: -4s; }
.mesh i:nth-child(3) { width: 320px; height: 320px; background: var(--lacivert-koyu); left: calc(50% - 120px); bottom: -190px; animation-duration: 17s; }
.mesh i:nth-child(4) { width: 150px; height: 150px; background: var(--v2); right: calc(50% - 120px); bottom: -50px; opacity: .3; animation-duration: 9s; animation-delay: -2s; }
.mesh::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 125%, rgba(3, 43, 86, .5), transparent 60%); }
@keyframes meshYuz { 50% { transform: translate(40px, 30px) scale(1.15); } 100% { transform: translate(-30px, 50px) scale(.95); } }

/* Üst bar: gradyanın üstünde şeffaf; sayfa kayınca buzlu cam */
.ust-bar { background: transparent; border-bottom: 0; transition: background .3s, backdrop-filter .3s, box-shadow .3s; }
.ust-bar.kaydi { background: rgba(3, 43, 86, .72); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); }
.ikon-btn { border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .2s var(--yay); }
.ikon-btn:active { transform: scale(.88); }
.logo-orta img { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.rozet { background: var(--v); color: var(--vk); box-shadow: 0 0 0 2px var(--lacivert); }

/* Sayfa başlığı: beyaz, kelime kelime beliren büyük başlık */
.sayfa-baslik { text-align: left; padding: 8px 20px 4px; display: flex; flex-direction: column; gap: 4px; }
.sayfa-baslik h1 { color: #fff; font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.sayfa-baslik h1 span { display: inline-block; }
.sayfa-baslik .alt-baslik { color: rgba(255, 255, 255, .8); font-size: 13.5px; font-weight: 500; margin: 0; display: flex; align-items: center; gap: 8px; }
.canli { width: 8px; height: 8px; border-radius: 50%; background: var(--v); flex: none; animation: canliNabiz 1.8s infinite; }
@keyframes canliNabiz { 0% { box-shadow: 0 0 0 0 rgba(var(--vr), .7); } 70% { box-shadow: 0 0 0 8px rgba(var(--vr), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--vr), 0); } }
.sayfa-baslik.gir h1 span { animation: kelime .8s var(--akis) both; animation-delay: calc(var(--k) * 80ms + 80ms); }
.sayfa-baslik.gir .alt-baslik { animation: yuksel .6s var(--akis) both; }
@keyframes kelime { from { opacity: 0; transform: translateY(55%) rotateX(-60deg); filter: blur(8px); } }
.demo-serit { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 20px; margin: 8px 16px 0; }

/* Sayfa içeriği: kartlar sırayla yükselerek gelir */
main { padding-top: 14px; padding-bottom: calc(var(--alt-bar) + 40px + var(--guvenli-alt)); }
main.gir > * { animation: yuksel .65s var(--akis) both; }
main.gir > :nth-child(1) { animation-delay: .05s; } main.gir > :nth-child(2) { animation-delay: .11s; }
main.gir > :nth-child(3) { animation-delay: .17s; } main.gir > :nth-child(4) { animation-delay: .23s; }
main.gir > :nth-child(5) { animation-delay: .29s; } main.gir > :nth-child(6) { animation-delay: .35s; }
main.gir > :nth-child(7) { animation-delay: .41s; } main.gir > :nth-child(n+8) { animation-delay: .47s; }
main.gir > .yukleniyor { animation: none; }
@keyframes yuksel { from { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(5px); } }

/* Kartlar, düğmeler, alanlar */
.kart { border-radius: var(--radius); box-shadow: var(--golge); padding: 16px; }
.kart.tik { transition: transform .2s var(--yay); }
.kart.tik:active { transform: scale(.975); }
.btn, .kart.tik, .cip, .renk-btn { position: relative; overflow: hidden; }
.btn { border-radius: 16px; background: linear-gradient(135deg, #0d5aa3, var(--lacivert)); box-shadow: 0 10px 22px -12px rgba(6, 58, 105, .7); transition: transform .2s var(--yay), box-shadow .2s; }
.btn:active { background: linear-gradient(135deg, #0d5aa3, var(--lacivert)); transform: scale(.96); }
.btn.ikincil { background: #fff; box-shadow: none; }
.btn.vurgu { background: linear-gradient(135deg, var(--v2), var(--vd)); color: var(--vk); box-shadow: 0 10px 24px -10px rgba(var(--vr), .9); }
.btn.vurgu:active { background: linear-gradient(135deg, var(--v2), var(--vd)); }
.btn.tehlike { background: #fff; box-shadow: none; }
.btn.tehlike.dolu { background: var(--tehlike); }
.btn.kucuk { border-radius: 12px; }
.alan input, .alan select, .alan textarea, .arama input { border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.alan input:focus, .alan select:focus, .alan textarea:focus, .arama input:focus { outline: 0; border-color: var(--lacivert); box-shadow: 0 0 0 4px rgba(var(--vr), .35), 0 0 0 1px var(--vd); }
.cip { transition: background .25s, color .25s, transform .2s var(--yay); }
.cip:active { transform: scale(.94); }
.cip.aktif, .segment button.aktif, .sirala button.aktif { background: linear-gradient(135deg, #0d5aa3, var(--lacivert)); border-color: transparent; box-shadow: 0 6px 16px -8px rgba(6, 58, 105, .8); }
.segment { border-radius: 16px; }
.segment button { border-radius: 12px; transition: background .3s, color .3s; }
.stepper { border-radius: 14px; }
.urun-gorsel { border-radius: 16px; background: linear-gradient(135deg, var(--birincil-acik), var(--vy)); }

/* Özet kartları: cam üzerinde vurgu ışığı */
.istatistik .kart.vurgulu {
  background: radial-gradient(120% 130% at 100% 0%, rgba(var(--vr), .5), transparent 55%), linear-gradient(150deg, #0d5aa3, var(--lacivert-koyu));
  border-bottom: 0;
}
.istatistik .deger { letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cari-bakiye { border-radius: 20px; }
.cari-bakiye-tutar { font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.abonelik-uyari { border-bottom: 0; background: radial-gradient(120% 130% at 100% 0%, rgba(var(--vr), .45), transparent 55%), linear-gradient(150deg, #0d5aa3, var(--lacivert-koyu)); }

/* Grafik ve çubuklar büyüyerek gelir */
.gir .grafik-cubuk { transform-origin: bottom; animation: cubukBuyu .9s var(--yay) both; animation-delay: .3s; }
.gir .grafik-sutun:nth-child(2n) .grafik-cubuk { animation-delay: .38s; }
.gir .grafik-sutun:nth-child(3n) .grafik-cubuk { animation-delay: .46s; }
@keyframes cubukBuyu { from { transform: scaleY(0); } }
.gir .sira-cubuk span, .gir .ilerleme span.tamam { animation: genisle 1s var(--akis) both; animation-delay: .35s; transform-origin: left; }
@keyframes genisle { from { transform: scaleX(0); } }
.grafik-sutun:last-child .grafik-cubuk { box-shadow: 0 0 0 2px var(--vd); }
.sira-no.ilk1 { box-shadow: 0 0 0 2px var(--vd); }

/* Yüzen cam alt menü, seçili zemin kayarak geçer */
.alt-bar {
  left: 50%; right: auto; bottom: calc(14px + var(--guvenli-alt)); width: min(656px, calc(100% - 24px)); transform: translateX(-50%);
  padding: 0; border: 1px solid rgba(255, 255, 255, .85); border-radius: 36px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 20px 40px -18px rgba(3, 43, 86, .5);
}
.alt-bar.gir { animation: menuGir .8s .15s var(--akis) both; }
@keyframes menuGir { from { transform: translate(-50%, 130px); } }
.alt-bar nav { position: relative; height: var(--alt-bar); padding: 6px; }
.alt-bar a { z-index: 1; color: #6e6e73; border-radius: 28px; font-size: 10.5px; transition: color .3s; }
.alt-bar a.aktif { color: #fff; }
.alt-bar a.aktif::before { display: none; }
.alt-bar a svg { transition: transform .45s var(--yay); }
.alt-bar a.aktif svg { transform: translateY(-1px) scale(1.08); }
.nav-kayan {
  position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 28px; z-index: 0;
  background: linear-gradient(135deg, #0d5aa3, var(--lacivert)); box-shadow: 0 8px 20px -8px rgba(6, 58, 105, .8);
  transition: transform .5s var(--yay), width .5s var(--yay);
}
.alt-bar a .rozet { box-shadow: 0 0 0 2px #fff; }
.yapiskan-alt { bottom: calc(var(--alt-bar) + 22px + var(--guvenli-alt)); background: linear-gradient(to top, var(--zemin) 60%, transparent); }

/* Modal: yaylanarak yukarı çıkan cam sayfa */
.modal-arka { background: rgba(3, 20, 40, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: sol .25s ease; }
.modal { border-radius: 28px 28px 0 0; animation: sayfaCik .5s var(--yay); }
@media (min-width: 700px) { .modal { border-radius: 28px; } }
@keyframes sayfaCik { from { transform: translateY(70%); opacity: .4; } }
.toast { background: rgba(3, 43, 86, .88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-left: 4px solid var(--v); border-radius: 16px; animation: toastGir .5s var(--yay); }
@keyframes toastGir { from { transform: translateY(-30px) scale(.95); opacity: 0; } }
.toast.hata { background: var(--tehlike); }

/* Durum ve uyarı renkleri: kahverengi tonlar yerine seçili vurgu */
.uyari-kutu, .kanit-durum, .yururluk.ileri { color: var(--vm); }
.duyuru-bandi.fiyat { color: var(--vm); border-color: rgba(var(--vr), .5); }
.adet-degisim { color: var(--vm); }
.bos .ikon { border-color: var(--vd); }
.durum.beklemede, .durum.iade-beklemede { background: var(--vy); color: var(--vm); }
.bildirim .nokta { background: var(--vd); }
.yukleniyor::before { border-top-color: var(--vd); }

/* Hesabım: renk seçimi */
.renk-secim { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.renk-btn { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 16px; border: 2px solid var(--cizgi); background: #fff; font-weight: 650; font-size: 14.5px; cursor: pointer; text-align: left; transition: border-color .25s, transform .2s var(--yay); }
.renk-btn:active { transform: scale(.96); }
.renk-btn i { width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.renk-btn.aktif { border-color: var(--lacivert); box-shadow: 0 0 0 4px rgba(var(--vr), .3); }

/* Dokunma dalgası */
.dalga { position: absolute; border-radius: 50%; background: rgba(var(--vr), .35); transform: scale(0); animation: dalga .6s ease-out forwards; pointer-events: none; }
@keyframes dalga { to { transform: scale(2.6); opacity: 0; } }

/* Giriş ekranı: tam ekran gradyan, beyaz kart */
.giris { position: relative; isolation: isolate; background: transparent; }
.giris > .mesh { position: fixed; inset: 0; left: 0; width: auto; height: auto; transform: none; border-radius: 0; }
.giris-logo { animation: logoGir 1.1s var(--akis) both; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .3)); }
.giris-baslik { color: #fff; font-family: inherit; letter-spacing: .2em; font-weight: 600; font-size: 14px; animation: yuksel .7s .2s var(--akis) both; }
.giris-cizgi { background: var(--v); }
.giris .kart { border: 0; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); animation: yuksel .7s .3s var(--akis) both; }
.giris .hata-kutu { animation: yuksel .4s var(--akis) both; }
.giris p.soluk, .giris p.soluk a { color: rgba(255, 255, 255, .82); }
.demo-hesaplar { animation: yuksel .7s .4s var(--akis) both; }
.demo-hesaplar-baslik { color: #fff; }
.demo-hesap { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); color: #fff; border-radius: 16px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .2s var(--yay); }
.demo-hesap span { color: rgba(255, 255, 255, .75); }
.demo-hesap:active { background: rgba(255, 255, 255, .24); transform: scale(.96); }
.kurumsal-alt { background: transparent; border-top: 0; }

/* Açılış ekranı */
.acilis { position: fixed; inset: 0; z-index: 100; min-height: 0; display: grid; place-items: center; overflow: hidden; background: var(--lacivert-koyu); clip-path: circle(150% at 50% 50%); }
.acilis > .mesh { position: absolute; inset: 0; left: 0; width: auto; height: auto; transform: none; border-radius: 0; }
.acilis-orta { position: relative; text-align: center; padding: 0 24px; }
.acilis img { width: min(250px, 66vw); height: auto; animation: logoGir 1.2s .2s var(--akis) both; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
@keyframes logoGir { from { opacity: 0; transform: scale(.6) translateY(20px); filter: blur(18px); } 60% { opacity: 1; } }
.acilis-slogan { color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-top: 18px; min-height: 20px; }
.acilis-slogan span { display: inline-block; animation: harf .4s var(--akis) both; animation-delay: calc(var(--h) * 35ms + 1s); }
@keyframes harf { from { opacity: 0; transform: translateY(8px); } }
.acilis-yuk { width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); margin: 24px auto 0; overflow: hidden; }
.acilis-yuk i { display: block; height: 100%; background: linear-gradient(90deg, var(--v), var(--v2)); transform-origin: left; animation: genisle 1.3s 1s var(--akis) both; }
.acilis .acilis-yazi { color: rgba(255, 255, 255, .7); font-size: 12.5px; margin-top: 12px; }
.acilis.bit { animation: acilisKapan .8s cubic-bezier(.7, 0, .3, 1) forwards; pointer-events: none; }
@keyframes acilisKapan { to { clip-path: circle(0% at 50% 50%); } }

@media print {
  .mesh, .acilis { display: none !important; }
  .sayfa-baslik h1 { color: var(--lacivert); }
  .sayfa-baslik .alt-baslik { color: #444; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* ---- Şifremi unuttum (e-posta kodu), zorunlu ekranlar, geçici şifre ---- */
.sifre-unuttum-satir { text-align: right; margin: -6px 0 14px; font-size: 14px; }
.sifre-alt-baglanti { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.sifre-alt-baglanti .baglanti-btn:disabled { color: var(--yazi-soluk); text-decoration: none; cursor: default; }
.giris .sifre-baslik { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--lacivert); }
.maske-eposta { font-weight: 700; letter-spacing: .03em; margin-top: 4px; word-break: break-all; }
.kod-girdi { font-size: 22px !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.test-eposta { font-size: 13px; word-break: break-word; }
.durum.eposta-eksik { background: var(--vurgu-acik); color: #6b5300; font-size: 11px; font-weight: 650; vertical-align: middle; }
.alan-uyari { margin-top: 6px; color: var(--yazi-soluk); }
.gecici-sifre { margin: 16px 0; padding: 16px; text-align: center; font: 700 30px/1.2 "SF Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: .18em; color: var(--lacivert); background: var(--birincil-acik); border-radius: 16px; user-select: all; }
.eposta-onizleme { max-height: 60vh; overflow: auto; border-radius: 14px; border: 1px solid var(--cizgi); }