/* Fotoğraf çekme ve sipariş sayfası (uploads.php). modern.css'in renk ve bileşenlerini kullanır.
   Kimlik ve sınıf adlarının çoğu process.js, main.js ve checkout.js'e bağlıdır; değiştirmeyin. */

.hidden { display: none; }
.fc-cek, .fc-sonuc { background: linear-gradient(180deg, var(--fc-mist) 0, #fff 560px); }

/* Sayfa başı ve adım çubuğu */
.fc-cek { padding: clamp(20px, 3vw, 40px) 0 var(--fc-section); }
.fc-cek__ust, .fc-cek__grid { max-width: 1088px; margin-left: auto; margin-right: auto; }
.fc-cek__ust { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(18px, 3vw, 32px); }
.fc-cek__baslik { flex: 1 1 520px; min-width: 0; }
.fc-cek__baslik h1 { margin-top: 16px; font-size: clamp(30px, 2.2vw + 16px, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.fc-cek__lead { max-width: 36em; margin-top: 12px; color: var(--fc-muted); font-size: 17px; line-height: 1.6; }
.fc-adimlar { display: flex; flex: none; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--fc-shadow-card); }
.fc-adimlar li { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; color: var(--fc-muted); font-size: 14px; font-weight: 700; transition: background-color .2s ease, color .2s ease; }
.fc-adimlar__no { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; flex: none; border-radius: 999px; background: var(--fc-mist); color: var(--fc-ink); font-weight: 800; }
.fc-adimlar li.tamam .fc-adimlar__no { background: var(--fc-teal); color: #fff; }
.fc-adimlar li.aktif { background: var(--fc-ink); color: #fff; }
.fc-adimlar li.aktif .fc-adimlar__no { background: var(--fc-mint); color: var(--fc-ink); }

.fc-cek__grid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 420px); justify-content: space-between; gap: 28px; align-items: start; }
.fc-cek__form { min-width: 0; }
.wizard-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
/* İlk açılışta yalnız 1. adım görünür; geçişleri process.js satır içi display ile yapar */
.wizard-fieldset:not([data-step="1"]) { display: none; }

/* Adım kartı */
.fc-adim { padding: clamp(18px, 3vw, 32px); border-radius: 28px; background: #fff; box-shadow: var(--fc-shadow-card); }
.fc-adim__bas { margin-bottom: 20px; }
.fc-adim__ust { color: var(--fc-teal); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fc-adim__bas h2 { margin-top: 6px; font-size: clamp(22px, 1vw + 16px, 28px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.fc-adim__bas > p:last-child:not(.fc-adim__ust) { margin-top: 8px; color: var(--fc-muted); font-size: 15px; line-height: 1.55; }

/* 1. adım: kaynak seçimi */
.fc-kaynak { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fc-kaynak__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; margin: 0; padding: 10px 6px; border: 1.5px solid var(--fc-line-strong); border-radius: 20px; background: #fff; color: var(--fc-ink); font-family: var(--fc-body); font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.fc-kaynak__btn svg { color: var(--fc-teal); }
.fc-kaynak__btn:hover { border-color: var(--fc-teal); background: var(--fc-mist); }

/* Yapay zekâ anahtarı: tüm genişlik; açılınca satır yeşil olur */
.fc-yz { margin-top: 10px; }
.fc-yz__satir { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 14px 10px 10px; border: 1.5px solid transparent; border-radius: 20px; background: var(--fc-ice); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s ease, border-color .2s ease; }
.fc-yz__ikon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex: none; border-radius: 14px; background: #fff; color: var(--fc-teal); transition: color .2s ease; }
.fc-yz__metin { min-width: 0; color: var(--fc-muted); font-size: 13px; line-height: 1.35; transition: color .2s ease; }
.fc-yz__metin strong { display: block; color: var(--fc-ink); font-size: 15px; transition: color .2s ease; }
.fc-yz__kutu { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.fc-yz__anahtar { position: relative; width: 50px; height: 30px; flex: none; margin-left: auto; border-radius: 999px; background: var(--fc-line-strong); transition: background-color .2s ease; }
.fc-yz__anahtar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 999px; background: #fff; box-shadow: 0 2px 6px rgba(11, 27, 43, .2); transition: transform .2s ease; }
.fc-yz.is-acik .fc-yz__satir { border-color: #15803D; background: #16A34A; }
.fc-yz.is-acik .fc-yz__ikon { color: #16A34A; }
.fc-yz.is-acik .fc-yz__metin { color: rgba(255, 255, 255, .85); }
.fc-yz.is-acik .fc-yz__metin strong { color: #fff; }
.fc-yz.is-acik .fc-yz__anahtar { background: rgba(255, 255, 255, .35); }
.fc-yz.is-acik .fc-yz__anahtar::after { transform: translateX(20px); }
.fc-yz__kutu:focus-visible ~ .fc-yz__anahtar { outline: 3px solid var(--fc-mint); outline-offset: 2px; }

/* Kamera alanı */
.fc-kamera { position: relative; min-height: 360px; margin-top: 14px; display: flex; align-items: center; justify-content: center; border-radius: 24px; background: var(--fc-ink); overflow: hidden; }
/* Kamera açılmadan da çerçeveyi doldurur; siluet ilk boyamada görünür */
.imgUp { position: relative; width: 100%; min-height: 360px; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.imgUp::after { content: ""; position: absolute; inset: 0; background: url(/system/themes/distema/img/port.png) center / 50% no-repeat; pointer-events: none; }
.imgUp.shot::after { filter: hue-rotate(260deg); }
.imgUp.final-ready::after { display: none; }
#video { width: 100%; height: auto; }
#preview { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; background: #fff; }
#warningsBox { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
#warningsBox p { width: 100%; margin: 0; padding: 9px 14px; border-radius: 14px; background: rgba(220, 38, 38, .92); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: center; }
#okText { position: absolute; top: 12px; left: 50%; z-index: 7; padding: 9px 18px; border-radius: 999px; background: var(--fc-mint); color: var(--fc-ink); font-size: 14px; font-weight: 800; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 12px 24px -12px rgba(11, 27, 43, .6); }
#capture { position: absolute; bottom: 18px; left: 50%; z-index: 8; transform: translateX(-50%); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fc-deklansor { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border: 4px solid #fff; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.fc-deklansor::after { content: ""; width: 52px; height: 52px; border-radius: 999px; background: #fff; transition: transform .1s ease; }
#capture:active .fc-deklansor::after { transform: scale(.88); }
#capture:focus-visible { outline: 3px solid var(--fc-mint); outline-offset: 4px; border-radius: 999px; }

/* Otomatik çekim sayacı (3-2-1) */
#geriSayim { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; pointer-events: none; }
#geriSayim[hidden] { display: none; }
#geriSayim span { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; border: 4px solid var(--fc-mint); border-radius: 999px; background: rgba(11, 27, 43, .55); color: #fff; font-family: var(--fc-display); font-size: 64px; font-weight: 800; line-height: 1; box-shadow: 0 0 0 10px rgba(45, 212, 191, .18); }

/* Kontrol listesi (kameranın altında) */
.fc-kontrol { margin-top: 10px; padding: 12px 14px 14px; border-radius: 20px; background: var(--fc-mist); }
.fc-kontrol__ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.fc-kontrol__ust > p { color: var(--fc-muted); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fc-kontrol__liste { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-kontrol__liste li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 5px; border-radius: 999px; background: #fff; color: var(--fc-ink); font-size: 13px; font-weight: 700; line-height: 1.2; transition: background-color .2s ease, color .2s ease; }
.fc-kontrol__liste li::before { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 999px; font-size: 12px; font-weight: 800; }
.fc-kontrol__liste li.tamam::before { content: "✓"; background: var(--fc-teal); color: #fff; }
.fc-kontrol__liste li.eksik { background: #FDECEC; color: #B91C1C; }
.fc-kontrol__liste li.eksik::before { content: "!"; background: #DC2626; color: #fff; }
.fc-kontrol__liste li.bekliyor { background: rgba(255, 255, 255, .6); color: var(--fc-muted); }
.fc-kontrol__liste li.bekliyor::before { content: ""; width: 8px; height: 8px; margin: 6px; background: var(--fc-line-strong); }
.fc-oto { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--fc-ink); font-size: 13.5px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fc-oto input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.fc-oto__anahtar { position: relative; width: 40px; height: 24px; flex: none; border-radius: 999px; background: var(--fc-line-strong); transition: background-color .2s ease; }
.fc-oto__anahtar::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(11, 27, 43, .25); transition: transform .2s ease; }
.fc-oto input:checked ~ .fc-oto__anahtar { background: var(--fc-teal); }
.fc-oto input:checked ~ .fc-oto__anahtar::after { transform: translateX(16px); }
.fc-oto input:focus-visible ~ .fc-oto__anahtar { outline: 3px solid var(--fc-mint); outline-offset: 2px; }

/* Kamera açılırken */
/* Yarı saydam: arkadaki siluet yüklenirken de görünür (sayfanın en büyük öğesi geç sayılmasın) */
#loadingScreen { position: absolute; inset: 0; z-index: 9; align-items: center; justify-content: center; background: rgba(11, 27, 43, .55); color: #fff; }
.loading-container { padding: 24px; text-align: center; }
.spinner-minimal { width: 40px; height: 40px; margin: 0 auto 18px; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--fc-mint); border-radius: 999px; animation: fc-don .8s linear infinite; }
.loading-text { color: var(--fc-on-dark); font-size: 15px; font-weight: 600; opacity: 0; animation: fc-belir .4s ease-out forwards; }
.loading-final { color: var(--fc-mint); font-family: var(--fc-display); font-size: 20px; font-weight: 800; opacity: 0; animation: fc-belir .5s ease-out forwards; }
@keyframes fc-don { to { transform: rotate(360deg); } }
@keyframes fc-belir { to { opacity: 1; } }

/* Hazır fotoğraf */
#finalImg_topDesc { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 14px 16px; border-radius: 18px; background: var(--fc-ice); }
.fc-hazir__ikon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex: none; border-radius: 999px; background: var(--fc-teal); color: #fff; }
#finalImg_topDesc p { color: var(--fc-muted); font-size: 14px; line-height: 1.45; }
#finalImg_topDesc strong { display: block; color: var(--fc-ink); font-size: 16px; }

/* Fotoğraf tipi ve düğmeler */
.fc-sonra { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
#photoProButtons { display: flex; flex-direction: column; gap: 10px; }
.fc-tur { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fc-tur__sec { position: relative; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 14px 40px 14px 16px; border: 1.5px solid var(--fc-line-strong); border-radius: 18px; background: #fff; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.fc-tur__sec input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fc-tur__sec strong { color: var(--fc-ink); font-size: 16px; }
.fc-tur__sec small { color: var(--fc-muted); font-size: 12.5px; line-height: 1.35; }
.fc-tur__sec::after { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border: 2px solid var(--fc-line-strong); border-radius: 999px; background: #fff; }
.fc-tur__sec.is-secili { border-color: var(--fc-teal); background: var(--fc-ice); }
.fc-tur__sec.is-secili::after { border: 5px solid var(--fc-teal); }
.fc-tur__sec:has(input:focus-visible) { outline: 3px solid var(--fc-mint); outline-offset: 2px; }
/* Üç fotoğraf tipi (biyometrik, vesikalık, ABD vizesi / Green Card) */
.fc-tur--uc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Teslimat şekli (baskı / dijital); dijitalde baskıya ait alanlar gizlenir */
.fc-teslimat { margin-bottom: 18px; }
.fc-alan[hidden], .fc-ozet__satir[hidden] { display: none; }
.fc-sonra .fc-tekrar { justify-content: center; gap: 10px; }
.fc-sartlar { margin-top: 16px; color: var(--fc-muted); font-size: 12.5px; line-height: 1.5; text-align: center; }

/* 2. adım: form alanları */
.fc-alanlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fc-alan { position: relative; min-width: 0; }
.fc-alan--tam { grid-column: 1 / -1; }
.fc-alan > label { display: block; margin-bottom: 6px; color: var(--fc-ink); font-size: 14px; font-weight: 700; }
.fc-alan > label span { color: var(--fc-muted); font-weight: 600; }
.fc-girdi { display: block; width: 100%; min-height: 54px; padding: 13px 16px; border: 1.5px solid var(--fc-line-strong); border-radius: 16px; background: #fff; color: var(--fc-ink); font-family: var(--fc-body); font-size: 16px; line-height: 1.4; -webkit-appearance: none; appearance: none; transition: border-color .15s ease, box-shadow .15s ease; }
textarea.fc-girdi { min-height: 0; resize: vertical; }
.fc-girdi:focus { outline: none; border-color: var(--fc-teal); box-shadow: 0 0 0 4px rgba(14, 124, 134, .15); }
.fc-secim { padding-right: 46px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230B1B2B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
.border-red-500 { border-color: #DC2626 !important; }
.wizard-form-error { margin-top: 6px; color: #DC2626; font-size: 13px; font-weight: 600; }
.wizard-form-error:empty { display: none; }

/* Adet ve tutar */
.fc-adet { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--fc-line); }
.fc-adet__secim { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 999px; background: var(--fc-mist); }
.fc-adet__btn { min-height: 46px; padding: 0 4px; border: 0; border-radius: 999px; background: transparent; color: var(--fc-ink); font-family: var(--fc-body); font-size: 15px; font-weight: 800; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.fc-adet__btn:hover { background: #fff; }
.fc-adet__btn.is-active { background: var(--fc-ink); color: #fff; }
.fc-alan:has(.border-red-500) .fc-adet__secim { box-shadow: inset 0 0 0 1.5px #DC2626; }
.fc-gizli-secim { position: absolute; bottom: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fc-tutar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 12px; padding: 16px 20px; border-radius: 22px; background: var(--fc-ink); }
.fc-tutar__etiket { color: var(--fc-on-dark); font-size: 14px; font-weight: 600; }
.fc-tutar__bos { color: var(--fc-on-dark-muted); font-size: 15px; font-weight: 700; }
.fc-tutar__bos[hidden] { display: none; }
.amount-price { color: #fff; font-family: var(--fc-display); font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.amount-price > div { display: none; }
.amount-price .discounted-price { margin-right: 10px; color: var(--fc-mint); }
.amount-price .original-price.text-lg { color: var(--fc-on-dark-muted); font-size: 18px; }
.fc-onizleme { margin-top: 12px; padding: 16px; border-radius: 22px; background: var(--fc-mist); }
.fc-onizleme__baslik { margin-bottom: 10px; color: var(--fc-muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fc-onizleme__izgara { --sutun: 2; display: grid; grid-template-columns: repeat(var(--sutun), minmax(0, 1fr)); gap: 4px; max-width: 360px; margin: 0 auto; }
.fc-onizleme__izgara img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border: 1px solid var(--fc-line-strong); background: #fff; }

/* İndirim kodu */
.fc-kod { margin-top: 22px; }
.fc-kod__satir { display: flex; gap: 8px; }
.fc-kod__satir .fc-girdi { flex: 1; min-width: 0; text-transform: uppercase; }
#apply-code { min-height: 54px; padding: 0 22px; border-radius: 16px; font-size: 15px; }

/* Geri / devam */
.fc-gezinti { display: flex; gap: 10px; margin-top: 26px; }
.fc-gezinti .fc-btn--ghost { flex: none; }
.fc-gezinti .fc-btn--teal { flex: 1; justify-content: space-between; }
.form-wizard-next-btn *, .form-wizard-previous-btn * { pointer-events: none; }

/* 3. adım: özet ve ödeme */
.fc-ozet { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; background: var(--fc-mist); }
.fc-ozet__foto { width: 88px; flex: none; aspect-ratio: 5 / 6; border-radius: 12px; border: 1px solid var(--fc-line-strong); background: #fff; overflow: hidden; }
.fc-ozet__foto img { width: 100%; height: 100%; object-fit: cover; }
.fc-ozet__foto img:not([src]), .fc-ozet__foto img[src=""] { display: none; }
.fc-ozet__satirlar { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fc-ozet__satir { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.fc-ozet__satir dt { color: var(--fc-muted); }
.fc-ozet__satir dd { min-width: 0; margin: 0; color: var(--fc-ink); font-weight: 800; text-align: right; }
#amountval { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--fc-ink); -webkit-text-fill-color: var(--fc-ink); opacity: 1; font: inherit; text-align: right; }
.fc-odeme-yontemi { margin-top: 18px; }
.fc-garanti { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border: 1.5px solid var(--fc-line); border-radius: 18px; }
.fc-garanti__ikon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex: none; border-radius: 14px; background: var(--fc-ice); color: var(--fc-teal); }
.fc-garanti p { color: var(--fc-muted); font-size: 14px; line-height: 1.45; }
.fc-garanti strong { display: block; color: var(--fc-ink); font-size: 15px; }
.fc-guvenli { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--fc-muted); font-size: 14px; }
#submitbtn.opacity-60 { opacity: .6; }

/* Yan sütun: kurallar ve fiyat */
.fc-cek__yan { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.fc-ipucu-kart { padding: 28px; border-radius: 28px; background: #fff; box-shadow: var(--fc-shadow-card); }
.fc-ipucu-kart .fc-eyebrow { margin-bottom: 8px; }
.fc-ipucu-kart h2 { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.fc-ipuclari { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.fc-ipuclari li { display: flex; align-items: flex-start; gap: 12px; }
.fc-ipuclari__ikon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex: none; border-radius: 999px; background: var(--fc-mist); color: var(--fc-teal); }
.fc-ipuclari p { color: var(--fc-muted); font-size: 14px; line-height: 1.45; }
.fc-ipuclari strong { display: block; color: var(--fc-ink); font-size: 15px; }
.fc-cek__yan .fc-yan__kart p.fc-yan__ust { margin: 0; color: var(--fc-mint); }
.fc-cek__yan .fc-yan__kart .fc-checks { margin-top: 20px; }
.fc-cek__yan .fc-yan__kart .fc-checks li { font-size: 15px; }

/* Fotoğraf hazırlanırken tam ekran tarama */
#loadingSpinner { position: fixed; inset: 0; z-index: 60; align-items: center; justify-content: center; padding: 24px; background: rgba(11, 27, 43, .94); }
.fc-tarama { width: min(300px, 100%); text-align: center; }
.fc-tarama__foto { position: relative; aspect-ratio: 5 / 6; border: 3px solid var(--fc-mint); border-radius: 26px; background: #000; overflow: hidden; box-shadow: 0 0 0 8px rgba(45, 212, 191, .12); }
.fc-tarama__foto img { width: 100%; height: 100%; object-fit: cover; }
.fc-tarama__cizgi { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--fc-mint), transparent); box-shadow: 0 0 18px 4px rgba(45, 212, 191, .55); }
.scanner-line-moving { animation: fc-tara 2s linear infinite alternate; }
@keyframes fc-tara { from { top: 0; } to { top: calc(100% - 3px); } }
.fc-tarama__baslik { margin-top: 22px; color: #fff; font-family: var(--fc-display); font-size: 22px; font-weight: 800; }
.fc-tarama__metin { margin-top: 6px; color: var(--fc-on-dark); font-size: 14px; line-height: 1.5; }
.fc-tarama__noktalar { margin-top: 14px; display: flex; justify-content: center; gap: 6px; }
.fc-tarama__noktalar span { width: 8px; height: 8px; border-radius: 999px; background: var(--fc-mint); animation: fc-zipla .9s ease-in-out infinite; }
.fc-tarama__noktalar span:nth-child(2) { animation-delay: .15s; }
.fc-tarama__noktalar span:nth-child(3) { animation-delay: .3s; }
@keyframes fc-zipla { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-6px); opacity: 1; } }

/* Ödeme penceresi */
.fc-odeme { position: fixed; inset: 0; z-index: 80; overflow-y: auto; padding: 16px 16px 50px; background: rgba(11, 27, 43, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fc-odeme__kutu { max-width: 760px; margin: 0 auto; border-radius: 24px; background: #fff; overflow: hidden; }
.fc-odeme__bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--fc-line); }
.fc-odeme__bas p { display: flex; align-items: center; gap: 8px; color: var(--fc-ink); font-weight: 800; }
.fc-odeme__bas svg { color: var(--fc-teal); }
.fc-odeme__kapat { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--fc-mist); color: var(--fc-ink); font-family: var(--fc-body); font-size: 15px; font-weight: 700; cursor: pointer; }
#paytrFrameWrap { padding: 8px; }

/* Ödeme sonucu */
.fc-sonuc { padding: clamp(32px, 6vw, 80px) 0 var(--fc-section); }
.fc-sonuc__kart { max-width: 560px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: #fff; box-shadow: var(--fc-shadow-card); text-align: center; }
.fc-sonuc__ikon { width: 76px; height: 76px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--fc-teal); color: #fff; box-shadow: 0 0 0 10px var(--fc-ice); }
.fc-sonuc__ikon--hata { background: #DC2626; box-shadow: 0 0 0 10px #FDECEC; }
.fc-sonuc h1 { font-size: clamp(28px, 2vw + 16px, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.fc-sonuc__metin { margin-top: 12px; color: var(--fc-muted); font-size: 17px; line-height: 1.55; }
.fc-sonuc__not { margin-top: 8px; color: var(--fc-muted); font-size: 15px; }
.fc-sonuc__alici { margin-top: 12px; color: var(--fc-ink); font-weight: 700; }
.fc-sonuc__foto { width: 100%; max-width: 260px; height: auto; margin: 22px auto 0; border: 1px solid var(--fc-line-strong); border-radius: 16px; }
.fc-sonuc__indir { margin-top: 18px; }
.fc-sonuc__liste { margin-top: 24px; padding: 18px; display: flex; flex-direction: column; gap: 10px; border-radius: 20px; background: var(--fc-mist); text-align: left; }
.fc-sonuc__liste li { display: flex; align-items: center; gap: 10px; color: var(--fc-ink); font-size: 15px; font-weight: 600; }
.fc-sonuc__nedenler { margin-top: 24px; padding: 18px 20px; border-radius: 20px; background: #FDF3F3; text-align: left; }
.fc-sonuc__nedenler p { color: var(--fc-ink); font-weight: 800; }
.fc-sonuc__nedenler ul { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; padding-left: 1.2em; list-style: disc; color: var(--fc-muted); font-size: 15px; }
.fc-sonuc__butonlar { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.fc-sonuc__butonlar .fc-btn:not(.fc-btn--icon) { justify-content: center; }
.fc-sonuc__takip { margin-top: 16px; color: var(--fc-muted); font-size: 15px; line-height: 1.5; }
.fc-sonuc__takip a { color: var(--fc-teal); font-weight: 700; }

/* Sipariş takip sayfası */
.fc-takip__form { margin-top: 24px; display: grid; gap: 14px; text-align: left; }
.fc-takip__form .fc-btn { justify-content: center; margin-top: 4px; }
.fc-takip__hata { margin-top: 18px; padding: 12px 16px; border-radius: 16px; background: #FDF3F3; color: #B42318; font-size: 15px; font-weight: 600; text-align: left; }
.fc-takip__bos { margin-top: 18px; padding: 16px 18px; border-radius: 20px; background: var(--fc-mist); color: var(--fc-text); font-size: 15px; line-height: 1.5; text-align: left; }
.fc-takip__sonuc { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.fc-takip__siparis { padding: 18px; border: 1px solid var(--fc-line-strong); border-radius: 22px; }
.fc-takip__ust { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fc-takip__ust b { display: block; color: var(--fc-ink); font-size: 16px; }
.fc-takip__ust small { color: var(--fc-muted); font-size: 14px; }
.fc-takip__durum { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--fc-ice); color: var(--fc-teal-dark); font-size: 13px; font-weight: 800; white-space: nowrap; }
.fc-takip__durum--hazirlaniyor { background: #FEF6E7; color: #8A5A00; }
.fc-takip__adimlar { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fc-takip__adimlar li { position: relative; padding-top: 14px; color: var(--fc-muted); font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.fc-takip__adimlar li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 99px; background: var(--fc-line); }
.fc-takip__adimlar li.tamam, .fc-takip__adimlar li.aktif { color: var(--fc-ink); }
.fc-takip__adimlar li.tamam::before { background: var(--fc-teal); }
.fc-takip__adimlar li.aktif::before { background: linear-gradient(90deg, var(--fc-teal) 50%, var(--fc-line) 50%); }
.fc-takip__bilgi { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--fc-mist); color: var(--fc-text); font-size: 14.5px; line-height: 1.5; }
.fc-takip__bilgi small { display: block; margin-top: 6px; color: var(--fc-muted); font-size: 13px; }
.fc-takip__no { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 8px; }
.fc-takip__no strong { color: var(--fc-ink); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; letter-spacing: .02em; }
.fc-takip__kopyala { min-height: 34px; padding: 0 12px; border: 1px solid var(--fc-line-strong); border-radius: 999px; background: #fff; color: var(--fc-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

@media (max-width: 980px) {
    .fc-cek__grid { grid-template-columns: minmax(0, 1fr); }
    .fc-cek__form { max-width: 620px; width: 100%; margin: 0 auto; }
    .fc-cek__yan { position: static; max-width: 620px; width: 100%; margin: 0 auto; }
    /* Bilgi ve ödeme adımlarında kurallar kartı alt alta düzende kalabalık yapmasın */
    [data-fc-adim="2"] .fc-ipucu-kart, [data-fc-adim="3"] .fc-ipucu-kart { display: none; }
}

@media (max-width: 640px) {
    .fc-cek__ust { gap: 16px; }
    .fc-cek__baslik h1 { margin-top: 12px; }
    .fc-cek__lead { display: none; }
    .fc-adimlar { width: 100%; }
    .fc-adimlar li { flex: 1; justify-content: center; padding-right: 10px; }
    .fc-adimlar li:not(.aktif) .fc-adimlar__ad { display: none; }
    .fc-adimlar li:not(.aktif) { flex: 0 0 auto; padding-right: 6px; }
    .fc-adim { padding: 16px; border-radius: 24px; }
    .fc-kaynak__btn { min-height: 72px; font-size: 13px; }
    .fc-alanlar { grid-template-columns: minmax(0, 1fr); }
    .fc-tur__sec { padding: 12px 34px 12px 14px; }
    .fc-teslimat { grid-template-columns: minmax(0, 1fr); }
    .fc-tur--uc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fc-tur--uc .fc-tur__sec:last-child { grid-column: 1 / -1; }
    .fc-tur__sec::after { top: 12px; right: 12px; }
    .fc-ozet { align-items: flex-start; }
    .fc-ozet__foto { width: 72px; }
    .fc-ipucu-kart { padding: 22px; }
}
