/* ===== Aşama 2: hesap, sipariş takibi, modüler editör ===== */
.hesap-btn[hidden] { display: none; }
.hesap-btn.girisli::after { content: ""; position: absolute; right: 7px; bottom: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--yesil); box-shadow: 0 0 0 2px var(--zemin); }

/* modüler editör */
.moduller > label { margin-bottom: 10px; }
.modul { background: #fbfaf9; border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.modul-ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; }
.modul-btn { display: flex; gap: 3px; }
.modul-btn button { border: 1px solid var(--cizgi); background: #fff; border-radius: 6px; width: 28px; height: 26px; font-size: 13px; line-height: 1; }
.modul-btn button:disabled { opacity: .35; cursor: default; }
.modul .m-en { font-size: 12.5px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.modul .m-en span { font-weight: 400; color: var(--soluk); }
.modul-satir { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; margin-top: 6px; }
.modul-satir label { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; font-size: 11.5px; font-weight: 500; color: var(--soluk); gap: 3px; margin: 0; }
.modul-satir select, .modul-satir input { padding: 5px 6px; border: 1px solid var(--cizgi); border-radius: 8px; font: 13px Outfit, sans-serif; background: #fff; width: 100%; }
.modul-ekle { width: 100%; border: 1.5px dashed var(--soluk); background: none; border-radius: 12px; padding: 10px; font-weight: 600; color: var(--murekkep); }
.modul-ekle:hover { border-color: var(--murekkep); background: #fff; }

/* sipariş & kupon & banka */
.giris-not { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.kupon-satir { display: flex; gap: 6px; margin: 12px 0 4px; }
.kupon-satir input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--cizgi); border-radius: 999px; font: inherit; text-transform: uppercase; }
.kupon-satir .btn { padding: 8px 14px; font-size: 13px; }
.banka-kutu { text-align: left; background: var(--kart); border: 1px solid var(--cizgi); border-radius: 16px; padding: 18px 20px; margin: 20px auto; max-width: 560px; }
.ozet-kutu .banka-kutu { margin: 16px 0 0; padding: 14px; }
.banka-kutu h3 { margin-bottom: 10px; }
.banka-kutu dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 10px; font-size: 14px; }
.banka-kutu dt { color: var(--soluk); }
.banka-kutu dd { margin: 0; overflow-wrap: anywhere; }
.banka-kutu p { font-size: 13.5px; margin: 0; }

/* giriş */
.giris-sayfa { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; }
.giris-sayfa.tek { grid-template-columns: 1fr; max-width: 440px; }
.giris-sayfa h2 { margin-bottom: 16px; }
.giris-sayfa .link { display: block; margin: 12px auto 0; }
.giris-sayfa small { font-weight: 400; color: var(--soluk); }
#gUnuttum { margin-top: 12px; }

/* hesap */
.hesap-ust { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.hesap-ust h1 { margin-bottom: 2px; }
.siparis-tablo tbody tr { cursor: pointer; }
.siparis-tablo tbody tr:hover { background: #fbfaf9; }
.durum { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eeedea; white-space: nowrap; }
.d-yeni, .d-kontrol { background: #fbf4e2; color: #6b5212; }
.d-onay { background: #fbeee8; color: #4a4438; }
.d-malzeme, .d-cnc, .d-bant, .d-montaj, .d-kalite { background: #f1efec; color: #534d40; }
.d-sevk { background: #e9e6f5; color: #45397a; }
.d-teslim { background: #e6efe0; color: #3e5a2c; }
.d-iptal { background: #eee; color: #777; }
.siparis-ust { display: flex; align-items: center; gap: 12px; margin: 8px 0 16px; }
.siparis-ust h2 { margin: 0; }
.zaman-cizelgesi { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; counter-reset: a; }
.zaman-cizelgesi li { position: relative; padding-top: 22px; font-size: 11.5px; color: var(--soluk); text-align: center; }
.zaman-cizelgesi li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 4px; background: var(--cizgi); border-radius: 2px; }
.zaman-cizelgesi li.tamam::before { background: var(--yesil); }
.zaman-cizelgesi li.simdi { color: var(--murekkep); font-weight: 600; }
.zaman-cizelgesi li.simdi::after { content: ""; position: absolute; top: 1px; left: 50%; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--yesil); box-shadow: 0 0 0 3px #fff; }
.zaman-cizelgesi small { display: block; font-size: 10.5px; }
.profil-izgara { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
.profil-izgara .form + .form, .profil-izgara > div > .form + .form { margin-top: 20px; }
.form.tehlike { border-color: #e9c3b2; }
.hesap .kayit-btn { margin-top: 10px; }
.hesap .kayit-btn .btn { padding: 6px 14px; font-size: 13px; }

@media (max-width: 720px) {
  .giris-sayfa, .profil-izgara { grid-template-columns: 1fr; }
  .zaman-cizelgesi { grid-template-columns: repeat(5, 1fr); row-gap: 12px; }
}

/* online kart ödemesi */
.kart-secim { border: 1px solid var(--cizgi); border-radius: 12px; padding: 10px 14px 6px; margin: 0; display: grid; gap: 4px; }
.kart-secim legend { font-size: 13px; color: var(--soluk); padding: 0 6px; }
.kart-secim[hidden] { display: none; }
.kart-secim .kucuk { margin: 6px 0 4px; }
.test-rozet { display: inline-block; background: #b3261e; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.kart-kutu .butonlar { margin: 4px 0 10px; justify-content: flex-start; }
.onay-ikon.hata-ikon { background: #b3261e; }
.kart-secim .anahtar { margin-top: 6px; align-items: center; font-size: 14px; }
.kart-secim input[type=radio] { width: auto; flex: none; margin: 0; padding: 0; }

/* yasal sayfalar */
.bilgi-sayfa .yasal-giris { font-size: 17px; color: var(--murekkep); }
.yasal-bolum { margin-top: 22px; }
.yasal-bolum h2 { font-size: 19px; margin: 0 0 6px; }
.yasal-bolum p { font-size: 15px; line-height: 1.7; margin: 0 0 8px; }
.yasal-tarih { margin-top: 28px; }
.eksik-bilgi { background: #f3d27a; color: #3a2a00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.anahtar a { color: var(--vurgu); text-decoration: underline; }
/* kart logoları (sayfa altı) */
.kart-logolar { display: flex; gap: 8px; align-items: center; }
.kart-logolar svg { height: 26px; width: auto; display: block; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.telif { align-items: center; }

/* Google ile giriş */
.giris-google { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 6px; }
.giris-google #gGoogle { min-height: 44px; width: 100%; max-width: 360px; display: flex; justify-content: center; }
.giris-google .veya { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; color: var(--soluk); font-size: 13px; }
.giris-google .veya::before, .giris-google .veya::after { content: ""; flex: 1; height: 1px; background: var(--cizgi); }

/* Odanda gör (AR) */
.ar-modal .ar-ic { width: min(920px, 100%); }
.ar-duzen { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; align-items: start; }
.ar-duzen.mobil { grid-template-columns: 1fr; }
.ar-sahne { position: relative; height: 440px; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse at 50% 70%, #3c3830, #1e1c18); }
.ar-sahne.buyuk { height: min(70vh, 560px); margin: 14px 0; }
.ar-mv { width: 100%; height: 100%; --poster-color: transparent; }
.ar-dugme { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.ar-yan p { margin: 0 0 12px; font-size: 14px; }
.ar-qr { background: #fff; border-radius: 12px; padding: 10px; width: 200px; height: 200px; margin-bottom: 12px; }
.ar-qr svg { width: 100%; height: 100%; display: block; }
.ar-yan .uyari { background: #2e2a22; color: #eae8e4; padding: 8px 10px; border-radius: 8px; }
.ar-bekle { display: flex; gap: 10px; align-items: center; justify-content: center; height: 100%; min-height: 200px; color: var(--soluk); }
.donen { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: don .8s linear infinite; }
@keyframes don { to { transform: rotate(360deg); } }
.sekme-bar .ar-sekme { margin-left: 8px; }
@media (max-width: 760px) { .ar-duzen { grid-template-columns: 1fr; } .ar-sahne { height: 60vh; } .ar-qr { margin: 0 auto 12px; } }
.ar-ikon { vertical-align: -3px; }
