/* ═══════════════════════════════════════════════════════════════════════════
   NatraServis Müşteri Portalı — tek stil dosyası (masaüstü + telefon).
   Marka rengi Tema ekranından: --ana / --ana-koyu / --ana-acik (PortalTema basar).
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
    --ana: #0a3d8f; --ana-koyu: #072c68; --ana-acik: #e8eefb;
    --zemin: #f4f6fb; --kart: #ffffff; --metin: #0f172a; --gri: #64748b; --gri2: #94a3b8; --cizgi: #e5e9f2;
    --basari: #16a34a; --uyari: #d97706; --hata: #dc2626; --bilgi: #2563eb;
    --r: 16px; --r-k: 10px;
    --golge: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
    --golge-b: 0 12px 40px rgba(15,23,42,.14);
    --ust: 64px;
    font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--zemin); color: var(--metin); font-size: 15px; line-height: 1.5;
    -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
a { color: var(--ana); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
.mi { font-family: "Material Icons Round"; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1; display: inline-block;
      text-transform: none; letter-spacing: normal; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; vertical-align: middle; }
.gizli { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Düğmeler ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px;
       border: 1px solid transparent; background: var(--kart); color: var(--metin); font-weight: 600; cursor: pointer;
       transition: transform .08s ease, box-shadow .2s ease, background .2s ease, opacity .2s; text-decoration: none !important; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn .mi { font-size: 20px; }
.btn-ana { background: var(--ana); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--ana) 32%, transparent); }
.btn-ana:hover:not(:disabled) { background: var(--ana-koyu); }
.btn-ikincil { background: var(--kart); border-color: var(--cizgi); }
.btn-ikincil:hover:not(:disabled) { border-color: var(--ana); color: var(--ana); }
.btn-hafif { background: var(--ana-acik); color: var(--ana); }
.btn-tehlike { background: #fff; border-color: #fecaca; color: var(--hata); }
.btn-basari { background: var(--basari); color: #fff; }
.btn-buyuk { min-height: 54px; font-size: 16px; border-radius: 14px; padding: 0 24px; }
.btn-tam { width: 100%; }
.btn-kucuk { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-ikon { width: 44px; padding: 0; }
.donen { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: don .7s linear infinite; display: inline-block; }
@keyframes don { to { transform: rotate(360deg); } }

/* ── Form ─────────────────────────────────────────────────────────────────── */
.alan { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.alan > label, .etiket { font-size: 13px; font-weight: 600; color: #334155; }
.alan .ipucu { font-size: 12px; color: var(--gri); }
.girdi, .alan input:not([type=checkbox]):not([type=radio]):not([type=file]), .alan select, .alan textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--cizgi); border-radius: 12px; background: #fff;
    font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.alan textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.alan select { background-image: linear-gradient(45deg, transparent 50%, var(--gri) 50%), linear-gradient(135deg, var(--gri) 50%, transparent 50%);
    background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.girdi:focus, .alan input:focus, .alan select:focus, .alan textarea:focus { border-color: var(--ana); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ana) 14%, transparent); }
.alan.hatali input, .alan.hatali textarea { border-color: var(--hata); }
.iki { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.uc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.ikon-girdi { position: relative; }
.ikon-girdi .mi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gri2); font-size: 20px; pointer-events: none; }
.ikon-girdi input { padding-left: 44px !important; }
.ikon-girdi .goz { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--gri); cursor: pointer; padding: 8px; pointer-events: auto; }
.onay-kutu { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-size: 14px; }
.onay-kutu input { width: 20px; height: 20px; accent-color: var(--ana); }

/* Çipler (seçim) */
.cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.cip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--cizgi);
       background: #fff; cursor: pointer; font-weight: 500; font-size: 14px; transition: all .15s; user-select: none; }
.cip:hover { border-color: color-mix(in srgb, var(--ana) 50%, var(--cizgi)); }
.cip.secili { background: var(--ana); border-color: var(--ana); color: #fff; }
.cip .mi { font-size: 18px; }

/* Büyük seçim kutuları (cihaz türü) */
.kutular { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kutu-sec { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 8px;
            border: 1.5px solid var(--cizgi); border-radius: 14px; background: #fff; cursor: pointer; text-align: center; font-size: 13px; font-weight: 600;
            transition: all .15s; color: #334155; }
.kutu-sec .mi { font-size: 30px; color: var(--ana); }
.kutu-sec:hover { border-color: var(--ana); transform: translateY(-1px); }
.kutu-sec.secili { border-color: var(--ana); background: var(--ana-acik); color: var(--ana); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ana) 18%, transparent); }

/* ── Uyarılar ─────────────────────────────────────────────────────────────── */
.uyari { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 14px; }
.uyari .mi { font-size: 20px; flex: none; margin-top: 1px; }
.uyari.hata { background: #fef2f2; color: #991b1b; }
.uyari.bilgi { background: #eff6ff; color: #1e40af; }
.uyari.basari { background: #f0fdf4; color: #166534; }
.uyari.dikkat { background: #fffbeb; color: #92400e; }

/* ── Kabuk: üst çubuk ─────────────────────────────────────────────────────── */
.p-ust { position: sticky; top: 0; z-index: 40; height: var(--ust); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(12px);
         -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--cizgi); }
.p-ust-ic { max-width: 1180px; height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 22px; }
.p-marka { display: flex; align-items: center; gap: 10px; color: var(--metin); font-weight: 800; font-size: 17px; text-decoration: none !important; min-width: 0; }
.p-marka img { height: 34px; max-width: 150px; object-fit: contain; }
.p-marka .harf { width: 36px; height: 36px; border-radius: 10px; background: var(--ana); color: #fff; display: grid; place-items: center; font-weight: 800; }
.p-marka span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-menu { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.p-menu::-webkit-scrollbar { display: none; }
.p-menu a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: #475569; font-weight: 600; font-size: 14px;
            white-space: nowrap; text-decoration: none !important; }
.p-menu a:hover { background: #f1f5f9; color: var(--metin); }
.p-menu a.active { background: var(--ana-acik); color: var(--ana); }
.p-menu a .mi { font-size: 19px; }
.p-sag { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--ana), var(--ana-koyu)); color: #fff; display: grid;
          place-items: center; font-weight: 700; font-size: 14px; cursor: pointer; border: 0; flex: none; }
.p-kullanici { position: relative; }
.p-acilir { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: #fff; border-radius: 14px; box-shadow: var(--golge-b);
            border: 1px solid var(--cizgi); padding: 8px; z-index: 60; animation: belir .14s ease; }
.p-acilir .kim { padding: 10px 12px 12px; border-bottom: 1px solid var(--cizgi); margin-bottom: 6px; }
.p-acilir .kim b { display: block; }
.p-acilir .kim small { color: var(--gri); }
.p-acilir a, .p-acilir button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--metin);
                                 background: none; border: 0; cursor: pointer; font-weight: 500; text-decoration: none !important; text-align: left; }
.p-acilir a:hover, .p-acilir button:hover { background: #f1f5f9; }
.p-acilir .mi { font-size: 20px; color: var(--gri); }
@keyframes belir { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.p-govde { max-width: 1180px; margin: 0 auto; padding: 26px 20px 60px; min-height: calc(100vh - var(--ust)); }

/* ── Alt sekmeler (telefon) ───────────────────────────────────────────────── */
.p-alt { display: none; }
@media (max-width: 860px) {
    :root { --ust: 56px; }
    .p-menu, .p-sag .btn-yeni { display: none; }
    .p-ust-ic { padding: 0 14px; }
    .p-govde { padding: 16px 14px calc(96px + env(safe-area-inset-bottom)); }
    .p-alt { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255,255,255,.96);
             backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--cizgi); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
    .p-alt a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; color: var(--gri); font-size: 11px; font-weight: 600; text-decoration: none !important; }
    .p-alt a .mi { font-size: 25px; }
    .p-alt a.active { color: var(--ana); }
    .p-alt .fab { position: relative; top: -18px; }
    .p-alt .fab .mi { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--ana), var(--ana-koyu)); color: #fff;
                      display: grid; place-items: center; font-size: 30px; box-shadow: 0 10px 24px color-mix(in srgb, var(--ana) 45%, transparent); }
    .p-alt .fab span:last-child { margin-top: 2px; }
    .iki, .uc { grid-template-columns: 1fr; }
    .kutular { grid-template-columns: repeat(2, 1fr); }
    body { font-size: 15px; }
}

/* ── Sayfa başlığı ────────────────────────────────────────────────────────── */
.s-bas { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.s-bas h1 { font-size: 26px; font-weight: 800; }
.s-bas .alt { color: var(--gri); font-size: 14px; margin-top: 2px; }
.s-bas .sag { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.geri { display: inline-flex; align-items: center; gap: 4px; color: var(--gri); font-weight: 600; font-size: 14px; margin-bottom: 10px; text-decoration: none !important; }
.geri:hover { color: var(--ana); }
@media (max-width: 860px) { .s-bas h1 { font-size: 22px; } .s-bas .sag { width: 100%; } .s-bas .sag .btn { flex: 1; } }

/* ── Kartlar ──────────────────────────────────────────────────────────────── */
.kart { background: var(--kart); border-radius: var(--r); box-shadow: var(--golge); border: 1px solid rgba(226,232,240,.7); }
.kart-ic { padding: 20px; }
.kart-bas { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--cizgi); }
.kart-bas h2, .kart-bas h3 { font-size: 16px; font-weight: 700; }
.kart-bas .sag { margin-left: auto; }
.kart + .kart, .bosluk { margin-top: 16px; }
.izgara-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 960px) { .izgara-2 { grid-template-columns: 1fr; } }

/* Hero (ana sayfa) */
.hero { position: relative; overflow: hidden; border-radius: 22px; padding: 28px; color: #fff;
        background: radial-gradient(1200px 400px at 110% -40%, rgba(255,255,255,.22), transparent 60%), linear-gradient(135deg, var(--ana), var(--ana-koyu)); box-shadow: var(--golge-b); }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero .selam { opacity: .85; font-size: 14px; }
.hero h1 { font-size: 28px; font-weight: 800; margin: 2px 0 6px; }
.hero p { margin: 0 0 18px; opacity: .9; max-width: 560px; }
.hero .btn { background: #fff; color: var(--ana); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.hero .btn.saydam { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.hero-dugmeler { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

.sayaclar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.sayac { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: #fff; box-shadow: var(--golge); color: var(--metin);
         text-decoration: none !important; border: 1px solid rgba(226,232,240,.7); transition: transform .12s, box-shadow .2s; }
.sayac:hover { transform: translateY(-2px); box-shadow: var(--golge-b); }
.sayac .ik { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.sayac .ik .mi { font-size: 24px; }
.sayac b { font-size: 24px; font-weight: 800; display: block; line-height: 1.1; }
.sayac small { color: var(--gri); font-size: 13px; font-weight: 500; }
.r-mavi { background: #eff6ff; color: #2563eb; } .r-turuncu { background: #fff7ed; color: #ea580c; } .r-yesil { background: #f0fdf4; color: #16a34a; }
.r-mor { background: #f5f3ff; color: #7c3aed; } .r-kirmizi { background: #fef2f2; color: #dc2626; } .r-ana { background: var(--ana-acik); color: var(--ana); }
@media (max-width: 960px) { .sayaclar { grid-template-columns: repeat(2, 1fr); gap: 10px; } .sayac { padding: 12px; gap: 10px; } .sayac b { font-size: 20px; } .hero { padding: 22px; } .hero h1 { font-size: 23px; } }

/* ── Listeler ─────────────────────────────────────────────────────────────── */
.liste { display: flex; flex-direction: column; }
.satir { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--cizgi); color: var(--metin); text-decoration: none !important;
         transition: background .12s; cursor: pointer; }
.satir:last-child { border-bottom: 0; }
.satir:hover { background: #f8fafc; }
.satir .ik { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.satir .orta { flex: 1; min-width: 0; }
.satir .orta b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.satir .orta small { color: var(--gri); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.satir .sagi { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.satir .sagi small { color: var(--gri); font-size: 12px; }
.satir > .mi.ok { color: var(--gri2); }
.bos { text-align: center; padding: 48px 20px; color: var(--gri); }
.bos .mi { font-size: 52px; color: #cbd5e1; display: block; margin: 0 auto 10px; }
.bos b { display: block; color: var(--metin); font-size: 16px; margin-bottom: 4px; }
.bos .btn { margin-top: 16px; }
.arama { position: relative; flex: 1; min-width: 220px; }
.arama .mi { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gri2); font-size: 20px; }
.arama input { width: 100%; min-height: 44px; padding: 0 14px 0 40px; border: 1.5px solid var(--cizgi); border-radius: 12px; background: #fff; font-size: 15px; outline: none; }
.arama input:focus { border-color: var(--ana); }
.sekmeler { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.sekmeler::-webkit-scrollbar { display: none; }
.sekme { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--cizgi); font-weight: 600; font-size: 13px; color: #475569;
         cursor: pointer; white-space: nowrap; }
.sekme.secili { background: var(--metin); border-color: var(--metin); color: #fff; }
.sekme .say { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: rgba(148,163,184,.25); font-size: 11px; }

/* Rozetler */
.rozet { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rozet::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rz-bekliyor { background: #fffbeb; color: #b45309; } .rz-onay { background: #f0fdf4; color: #15803d; } .rz-red { background: #fef2f2; color: #b91c1c; }
.rz-devam { background: #eff6ff; color: #1d4ed8; } .rz-tamam { background: #ecfdf5; color: #047857; } .rz-gri { background: #f1f5f9; color: #475569; }
.rz-mor { background: #f5f3ff; color: #6d28d9; }

/* Bilgi tablosu */
.bilgiler { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.bilgi small { display: block; color: var(--gri); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.bilgi div { font-weight: 600; word-break: break-word; }
.bilgi.tam { grid-column: 1 / -1; }
.bilgi .metin { font-weight: 400; white-space: pre-wrap; }
@media (max-width: 600px) { .bilgiler { grid-template-columns: 1fr; } }

/* Zaman çizelgesi */
.zaman { position: relative; padding-left: 28px; }
.zaman::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--cizgi); }
.z-adim { position: relative; padding-bottom: 18px; }
.z-adim:last-child { padding-bottom: 0; }
.z-adim::before { content: ""; position: absolute; left: -24px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--cizgi); }
.z-adim.tamam::before { background: var(--basari); border-color: var(--basari); }
.z-adim.simdi::before { background: var(--ana); border-color: color-mix(in srgb, var(--ana) 30%, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ana) 18%, transparent); }
.z-adim b { display: block; font-size: 14px; }
.z-adim small { color: var(--gri); font-size: 13px; }
.z-adim.bekle b { color: var(--gri2); }

/* Tablo (iş emri satırları) */
.tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.tablo th { text-align: left; font-size: 12px; color: var(--gri); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--cizgi); background: #f8fafc; }
.tablo td { padding: 11px 12px; border-bottom: 1px solid var(--cizgi); vertical-align: top; }
.tablo .sag, .tablo th.sag { text-align: right; white-space: nowrap; }
.tablo tfoot td { font-weight: 800; border-bottom: 0; font-size: 15px; }
.kaydir { overflow-x: auto; }

/* Ek önizleme */
.ekler { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.ek { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--cizgi); background: #f8fafc; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.ek img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ek.pdf { flex-direction: column; gap: 6px; padding: 10px; text-align: center; font-size: 12px; font-weight: 600; color: #334155; }
.ek.pdf .mi { font-size: 36px; color: #dc2626; }
.ek .sil { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(15,23,42,.7); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ek .sil .mi { font-size: 16px; }
.ek .etk { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; background: rgba(15,23,42,.6); color: #fff; font-size: 11px; text-align: center; }
.ek-ekle { border: 2px dashed #cbd5e1; border-radius: 12px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
           cursor: pointer; color: var(--gri); font-size: 12px; font-weight: 600; background: #fff; transition: all .15s; text-align: center; padding: 6px; }
.ek-ekle .mi { font-size: 30px; color: var(--ana); }
.ek-ekle:hover { border-color: var(--ana); background: var(--ana-acik); }
.ek-ekle.yukleniyor { pointer-events: none; opacity: .7; }

/* ── Giriş sayfası ────────────────────────────────────────────────────────── */
.g-sayfa { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; }
.g-sol { position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column;
         background: radial-gradient(900px 500px at 0% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(150deg, var(--ana), var(--ana-koyu)); }
.g-sol::before, .g-sol::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.g-sol::before { width: 420px; height: 420px; right: -140px; top: -120px; }
.g-sol::after { width: 300px; height: 300px; left: -80px; bottom: -90px; }
.g-sol .p-marka { color: #fff; font-size: 20px; position: relative; z-index: 1; }
.g-sol .p-marka .harf { background: rgba(255,255,255,.18); }
.g-sol .p-marka img { height: 42px; background: rgba(255,255,255,.95); padding: 6px 10px; border-radius: 10px; }
.g-tanitim { margin: auto 0; position: relative; z-index: 1; max-width: 500px; }
.g-tanitim h1 { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; line-height: 1.12; }
.g-tanitim p { font-size: 17px; opacity: .9; margin: 0 0 28px; }
.g-ozellik { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.g-ozellik .mi { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.15); display: grid; place-items: center; flex: none; font-size: 22px; }
.g-ozellik b { display: block; }
.g-ozellik small { opacity: .8; font-size: 14px; }
.g-sag { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--zemin); }
.g-kart { width: 100%; max-width: 420px; }
.g-kart h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.g-kart .alt { color: var(--gri); margin: 0 0 24px; }
.g-ayrac { display: flex; align-items: center; gap: 12px; color: var(--gri2); font-size: 13px; margin: 22px 0; }
.g-ayrac::before, .g-ayrac::after { content: ""; flex: 1; height: 1px; background: var(--cizgi); }
.g-talep { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--cizgi); color: var(--metin);
           text-decoration: none !important; transition: all .15s; }
.g-talep:hover { border-color: var(--ana); box-shadow: var(--golge); }
.g-talep .ik { width: 48px; height: 48px; border-radius: 14px; background: var(--ana-acik); color: var(--ana); display: grid; place-items: center; flex: none; }
.g-talep b { display: block; }
.g-talep small { color: var(--gri); font-size: 13px; }
.g-talep > .mi:last-child { margin-left: auto; color: var(--gri2); }
.g-alt { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 18px; font-size: 14px; }
.g-telefon { text-align: center; margin-top: 26px; font-size: 13px; color: var(--gri); }
@media (max-width: 900px) {
    .g-sayfa { grid-template-columns: 1fr; background: var(--zemin); }
    .g-sol { padding: 22px 20px 70px; min-height: auto; }
    .g-tanitim { margin: 26px 0 0; }
    .g-tanitim h1 { font-size: 27px; }
    .g-tanitim p { font-size: 15px; margin-bottom: 0; }
    .g-ozellik { display: none; }
    .g-sag { padding: 0 14px 30px; margin-top: -48px; align-items: flex-start; background: transparent; position: relative; z-index: 2; }
    .g-kart { background: #fff; border-radius: 20px; padding: 24px 20px; box-shadow: var(--golge-b); }
}

/* ── Sihirbaz ─────────────────────────────────────────────────────────────── */
.sh { max-width: 820px; margin: 0 auto; }
.sh-ust { margin-bottom: 18px; }
.sh-ust h1 { font-size: 26px; font-weight: 800; }
.sh-ust p { color: var(--gri); margin: 4px 0 0; }
.adimlar { display: flex; align-items: flex-start; gap: 0; margin: 22px 0; counter-reset: a; }
.adim { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; text-align: center; font-size: 12px; font-weight: 600; color: var(--gri2); }
.adim::before { content: ""; position: absolute; top: 17px; left: calc(-50% + 20px); right: calc(50% + 20px); height: 3px; border-radius: 3px; background: var(--cizgi); }
.adim:first-child::before { display: none; }
.adim .nokta { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--cizgi); color: var(--gri2);
               font-weight: 800; position: relative; z-index: 1; transition: all .2s; }
.adim .nokta .mi { font-size: 19px; }
.adim.tamam { color: var(--metin); cursor: pointer; }
.adim.tamam .nokta { background: var(--ana); border-color: var(--ana); color: #fff; }
.adim.tamam::before, .adim.simdi::before { background: var(--ana); }
.adim.simdi { color: var(--ana); }
.adim.simdi .nokta { border-color: var(--ana); color: var(--ana); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ana) 15%, transparent); }
.sh-kart { padding: 26px; }
.sh-kart h2 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.sh-kart .acik { color: var(--gri); margin: 0 0 20px; font-size: 14px; }
.sh-bolum { margin-bottom: 22px; }
.sh-alt { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--cizgi); }
.sh-alt .btn-ana { min-width: 160px; }
.ozet-satir { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--cizgi); }
.ozet-satir:last-child { border-bottom: 0; }
.ozet-satir .mi { color: var(--ana); }
.ozet-satir small { color: var(--gri); display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ozet-satir .duzenle { margin-left: auto; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ana); background: none; border: 0; }
.kod-kutular { display: flex; gap: 8px; justify-content: center; margin: 8px 0 16px; }
.kod-girdi { width: 100%; max-width: 260px; margin: 0 auto 6px; display: block; text-align: center; font-size: 30px !important; font-weight: 800; letter-spacing: 12px;
             min-height: 64px !important; padding-left: 24px !important; }
.basari-ekran { text-align: center; padding: 34px 20px 26px; }
.tik { width: 92px; height: 92px; border-radius: 50%; background: #dcfce7; color: var(--basari); display: grid; place-items: center; margin: 0 auto 18px;
       animation: tik-buyu .5s cubic-bezier(.2,1.4,.4,1); }
.tik .mi { font-size: 56px; }
@keyframes tik-buyu { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.talep-no { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 6px; padding: 14px 22px; border-radius: 16px; background: var(--ana-acik); color: var(--ana);
            font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.talep-no button { border: 0; background: #fff; color: var(--ana); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 860px) {
    .sh-kart { padding: 18px 16px; }
    .adim span.ad { display: none; }
    .adim.simdi span.ad { display: block; position: absolute; top: 42px; white-space: nowrap; }
    .adimlar { margin-bottom: 34px; }
    .sh-alt { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); background: #fff; margin: 8px -16px -18px; padding: 12px 16px; border-radius: 0 0 var(--r) var(--r); }
    .sh-alt.misafir { bottom: 0; }
    .sh-alt .btn { flex: 1; min-width: 0 !important; }
    .talep-no { font-size: 20px; }
}

/* Yeniden bağlanma kutusu (baglanti.js) */
#components-reconnect-modal { display: none; }
#components-reconnect-modal.components-reconnect-show, #components-reconnect-modal.components-reconnect-failed, #components-reconnect-modal.components-reconnect-rejected {
    display: flex; position: fixed; inset: 0; z-index: 1000; background: rgba(15,23,42,.45); align-items: center; justify-content: center; padding: 20px; }
.nos-baglanti-kutu { background: #fff; border-radius: 18px; padding: 24px; max-width: 340px; width: 100%; text-align: center; box-shadow: var(--golge-b); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.nos-baglanti-donen { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ana); border-right-color: transparent; animation: don .8s linear infinite; }
.nos-baglanti-alt { color: var(--gri); }
.nos-baglanti-yenile { margin-top: 6px; border: 0; background: var(--ana); color: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 600; cursor: pointer; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001; background: #fef2f2; color: #991b1b; padding: 12px 16px; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; }

/* Bildirim (toast) */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 900; background: var(--metin); color: #fff; padding: 12px 18px; border-radius: 12px;
         box-shadow: var(--golge-b); font-weight: 600; font-size: 14px; animation: belir .2s ease; display: flex; gap: 8px; align-items: center; max-width: calc(100% - 32px); }
@media (max-width: 860px) { .toast { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* Pencere (modal) */
.perde { position: fixed; inset: 0; z-index: 800; background: rgba(15,23,42,.5); display: flex; align-items: center; justify-content: center; padding: 16px; animation: belir .15s; }
.pencere { background: #fff; border-radius: 20px; width: 100%; max-width: 460px; box-shadow: var(--golge-b); padding: 24px; max-height: 92vh; overflow: auto; }
.pencere h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.pencere .dugmeler { display: flex; gap: 10px; margin-top: 18px; }
.pencere .dugmeler .btn { flex: 1; }
@media (max-width: 600px) { .perde { align-items: flex-end; padding: 0; } .pencere { border-radius: 20px 20px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); } }

.iskelet { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%); background-size: 400% 100%; animation: iskelet 1.3s ease infinite; border-radius: 10px; }
@keyframes iskelet { from { background-position: 100% 0; } to { background-position: 0 0; } }
.tutar { font-variant-numeric: tabular-nums; }
.borc { color: var(--hata); } .alacak { color: var(--basari); }
.ayrac-cizgi { height: 1px; background: var(--cizgi); margin: 16px 0; }
.kucuk-metin { font-size: 13px; color: var(--gri); }
.menu-liste a { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--cizgi); color: var(--metin); font-weight: 600; text-decoration: none !important; }
.menu-liste a:last-child { border-bottom: 0; }
.menu-liste a .mi:first-child { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.menu-liste a .mi:last-child { margin-left: auto; color: var(--gri2); }
