/* =====================================================================
   Servis Takip – modern arayüz (Bootstrap 5.3 üzerine). Mobile-first.
   Açık/koyu tema: <html data-bs-theme="light|dark">
   ===================================================================== */

:root,
[data-bs-theme="light"] {
    --marka: #4f46e5;
    --marka-koyu: #4338ca;
    --marka-rgb: 79, 70, 229;
    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-link-color: #4338ca;
    --bs-link-color-rgb: 67, 56, 202;
    --bs-link-hover-color: #3730a3;
    --bs-link-hover-color-rgb: 55, 48, 163;

    --sayfa: #f4f5fb;
    --yuzey: #ffffff;
    --yuzey-2: #f8f9fd;
    --cizgi: #e5e7f0;
    --soluk: #6b7280;
    --golge-s: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
    --golge-m: 0 10px 30px rgba(16, 24, 40, .10);
    --yan-genislik: 256px;
    --yaricap: 14px;

    --bs-body-bg: var(--sayfa);
    --bs-body-bg-rgb: 244, 245, 251;
    --bs-border-color: var(--cizgi);
}

[data-bs-theme="dark"] {
    --marka: #6366f1;
    --marka-koyu: #818cf8;
    --marka-rgb: 99, 102, 241;
    --bs-primary: #818cf8;
    --bs-primary-rgb: 129, 140, 248;
    --bs-link-color: #a5b4fc;
    --bs-link-color-rgb: 165, 180, 252;
    --bs-link-hover-color: #c7d2fe;
    --bs-link-hover-color-rgb: 199, 210, 254;

    --sayfa: #0b1020;
    --yuzey: #131a2e;
    --yuzey-2: #182038;
    --cizgi: #263250;
    --soluk: #94a3b8;
    --golge-s: 0 1px 2px rgba(0, 0, 0, .4);
    --golge-m: 0 10px 30px rgba(0, 0, 0, .45);

    --bs-body-bg: var(--sayfa);
    --bs-body-bg-rgb: 11, 16, 32;
    --bs-border-color: var(--cizgi);
}

html { font-size: 15px; }
body {
    font-family: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--sayfa);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { letter-spacing: -.01em; }
h1.h4 { font-weight: 700; }
.text-muted, .form-text { color: var(--soluk) !important; }
.ikon { flex: 0 0 auto; vertical-align: -.2em; }

/* ---------------------------------------------------------------- Düzen */
.uygulama { min-height: 100vh; }
.ana { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.icerik { padding: 1.1rem 1rem 6rem; width: 100%; max-width: 1480px; margin: 0 auto; flex: 1; }

.yan-menu {
    position: fixed; inset: 0 auto 0 0; width: var(--yan-genislik); z-index: 1040;
    background: linear-gradient(180deg, #111a33 0%, #0b1226 100%); color: #cbd5e1;
    display: flex; flex-direction: column; padding: 1rem .85rem;
    transform: translateX(-100%); transition: transform .22s ease; overflow-y: auto;
}
.yan-menu.acik { transform: none; box-shadow: var(--golge-m); }
.yan-menu-perde { display: none; position: fixed; inset: 0; background: rgba(2, 6, 23, .55); z-index: 1039; backdrop-filter: blur(2px); }
.yan-menu-perde.acik { display: block; }

.marka { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font-size: 1.2rem; padding: .35rem .5rem 1.1rem; font-weight: 500; }
.marka b { font-weight: 800; color: #a5b4fc; }
.marka-ikon {
    width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #6366f1, #06b6d4); color: #fff; box-shadow: 0 6px 16px rgba(99, 102, 241, .45);
}

.logo-yan { height: 42px; width: auto; max-width: 100%; display: block; }
.marka { padding-bottom: 1.2rem; }
.logo { height: 30px; width: auto; display: inline-block; vertical-align: middle; }
.logo-acik { display: none; }
[data-bs-theme="dark"] .logo-normal { display: none; }
[data-bs-theme="dark"] .logo-acik { display: inline-block; }
.giris-marka-ust img { height: 46px; width: auto; }
.giris-mobil-marka .logo { height: 40px; }
.menu { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.menu-baslik { font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: #64748b; padding: .9rem .75rem .35rem; font-weight: 700; }
.menu-oge {
    display: flex; align-items: center; gap: .75rem; width: 100%; padding: .62rem .75rem; border-radius: 10px; border: 0; background: transparent;
    color: #cbd5e1; text-decoration: none; font-weight: 500; font-size: .93rem; min-height: 44px; text-align: left; transition: background .15s, color .15s;
}
.menu-oge:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.menu-oge.aktif { background: linear-gradient(135deg, #4f46e5, #6366f1); color: #fff; box-shadow: 0 6px 16px rgba(79, 70, 229, .4); }
.menu-oge .ikon { opacity: .9; }

.menu-alt { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: .85rem; margin-top: .85rem; }
.kullanici-kutu { display: flex; align-items: center; gap: .7rem; padding: 0 .5rem .6rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #06b6d4); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.kullanici-bilgi { min-width: 0; }
.kullanici-ad { color: #fff; font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.kullanici-rol { color: #94a3b8; font-size: .76rem; }
.menu-oge.cikis { color: #fca5a5; }
.menu-oge.cikis:hover { background: rgba(248, 113, 113, .12); color: #fecaca; }

.ust-cubuk {
    position: sticky; top: 0; z-index: 1020; height: 58px; display: flex; align-items: center; gap: .6rem; padding: 0 1rem;
    background: color-mix(in srgb, var(--yuzey) 86%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--cizgi);
}
.mobil-marka { font-weight: 500; color: var(--bs-body-color); text-decoration: none; font-size: 1.1rem; }
.mobil-marka b { font-weight: 800; color: var(--marka); }
.ikon-dugme {
    width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--cizgi); background: var(--yuzey); color: var(--bs-body-color);
    display: inline-flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s;
}
.ikon-dugme:hover { background: var(--yuzey-2); border-color: var(--marka); }
/* Üst çubuktaki TCMB kur rozetleri */
.kur-seridi { display: flex; gap: .4rem; align-items: center; }
.kur-oge { display: inline-flex; align-items: baseline; gap: .3rem; background: var(--yuzey-2); border: 1px solid var(--cizgi); border-radius: 99px; padding: .28rem .7rem; font-size: .8rem; font-weight: 600; white-space: nowrap; cursor: help; font-variant-numeric: tabular-nums; }
.kur-oge b { color: var(--marka); font-weight: 800; }
.kur-oge.uyari { border-color: #f59e0b; }
.kur-oge small { font-weight: 500; color: var(--soluk); font-size: .68rem; }
@media (max-width: 575.98px) { .kur-oge.kur-eur { display: none; } .kur-oge small { display: none; } }
.tema-gunes { display: none; }
[data-bs-theme="dark"] .tema-gunes { display: inline-flex; }
[data-bs-theme="dark"] .tema-ay { display: none; }

@media (min-width: 992px) {
    .yan-menu { transform: none; }
    .ana { margin-left: var(--yan-genislik); }
    .menu-ac, .mobil-marka { display: none; }
    .icerik { padding: 1.5rem 2rem 4rem; }
    .alt-cubuk { left: var(--yan-genislik) !important; }
}

/* ---------------------------------------------------------------- Kartlar */
.card {
    background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--yaricap); box-shadow: var(--golge-s);
    --bs-card-cap-bg: transparent; --bs-card-bg: var(--yuzey); --bs-card-border-color: var(--cizgi);
}
.card-header { background: transparent; border-bottom: 1px solid var(--cizgi); font-weight: 700; padding: .9rem 1.15rem; border-radius: var(--yaricap) var(--yaricap) 0 0 !important; }
.card-footer { background: var(--yuzey-2); border-top: 1px solid var(--cizgi); border-radius: 0 0 var(--yaricap) var(--yaricap) !important; }
.card-body { padding: 1.15rem; }
.list-group { --bs-list-group-bg: transparent; --bs-list-group-border-color: var(--cizgi); }
.list-group-item { padding: .8rem 1.15rem; }
.card > .list-group:last-child .list-group-item:last-child { border-radius: 0 0 var(--yaricap) var(--yaricap); }
.bg-white { background-color: var(--yuzey) !important; }

.kpi-kart { display: flex; align-items: center; gap: .9rem; }
.kpi-ikon { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.kpi-ikon.mavi { background: rgba(var(--marka-rgb), .13); color: var(--bs-primary); }
.kpi-ikon.yesil { background: rgba(22, 163, 74, .13); color: #16a34a; }
.kpi-ikon.turuncu { background: rgba(245, 158, 11, .16); color: #d97706; }
.kpi-ikon.mor { background: rgba(168, 85, 247, .14); color: #9333ea; }
.kpi-ikon.kirmizi { background: rgba(220, 38, 38, .12); color: #dc2626; }
.kpi { font-size: 1.7rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.kpi-kart:hover .kpi { color: var(--bs-primary); }
a.kart-baglanti { text-decoration: none; color: inherit; display: block; height: 100%; }
a.kart-baglanti .card { transition: transform .15s, box-shadow .15s, border-color .15s; }
a.kart-baglanti:hover .card { transform: translateY(-2px); box-shadow: var(--golge-m); border-color: rgba(var(--marka-rgb), .45); }

/* ---------------------------------------------------------------- Butonlar & formlar */
.btn { border-radius: 10px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.btn-sm { min-height: 36px; border-radius: 9px; padding: .3rem .7rem; }
.btn-primary {
    --bs-btn-bg: var(--marka); --bs-btn-border-color: var(--marka); --bs-btn-hover-bg: var(--marka-koyu); --bs-btn-hover-border-color: var(--marka-koyu);
    --bs-btn-active-bg: var(--marka-koyu); --bs-btn-active-border-color: var(--marka-koyu); --bs-btn-focus-shadow-rgb: var(--marka-rgb);
    --bs-btn-disabled-bg: var(--marka); --bs-btn-disabled-border-color: var(--marka);
    box-shadow: 0 4px 12px rgba(var(--marka-rgb), .28);
}
.btn-outline-primary {
    --bs-btn-color: var(--bs-primary); --bs-btn-border-color: rgba(var(--marka-rgb), .45); --bs-btn-hover-bg: var(--marka); --bs-btn-hover-border-color: var(--marka);
    --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--marka); --bs-btn-active-border-color: var(--marka); --bs-btn-focus-shadow-rgb: var(--marka-rgb);
}
.btn-outline-secondary { --bs-btn-color: var(--bs-body-color); --bs-btn-border-color: var(--cizgi); --bs-btn-hover-bg: var(--yuzey-2); --bs-btn-hover-color: var(--bs-body-color); --bs-btn-hover-border-color: var(--soluk); --bs-btn-active-bg: var(--yuzey-2); --bs-btn-active-color: var(--bs-body-color); }

.form-control, .form-select {
    min-height: 44px; border-radius: 10px; border-color: var(--cizgi); background-color: var(--yuzey); color: var(--bs-body-color);
}
.form-control:focus, .form-select:focus { border-color: var(--marka); box-shadow: 0 0 0 .22rem rgba(var(--marka-rgb), .2); background-color: var(--yuzey); }
.form-control::placeholder { color: var(--soluk); opacity: .8; }
.form-label { font-weight: 600; font-size: .84rem; margin-bottom: .3rem; }
.form-check-input { width: 1.25em; height: 1.25em; border-color: var(--soluk); }
.form-check-input:checked { background-color: var(--marka); border-color: var(--marka); }
.zorunlu::after { content: " *"; color: #ef4444; }
.field-validation-error { color: #ef4444; font-size: .82rem; display: block; margin-top: .2rem; }
.input-validation-error { border-color: #ef4444 !important; }
.input-group > .form-control, .input-group > .form-select { border-radius: 10px 0 0 10px; }
.input-group > .btn { border-radius: 0 10px 10px 0; }

.nav-pills { --bs-nav-pills-link-active-bg: var(--marka); gap: .35rem; }
.nav-pills .nav-link { border-radius: 10px; font-weight: 600; min-height: 40px; display: flex; align-items: center; color: var(--bs-body-color); }
.nav-pills .nav-link:not(.active):hover { background: var(--yuzey-2); }
.pagination { --bs-pagination-border-radius: 10px; --bs-pagination-active-bg: var(--marka); --bs-pagination-active-border-color: var(--marka); --bs-pagination-bg: var(--yuzey); --bs-pagination-border-color: var(--cizgi); --bs-pagination-hover-bg: var(--yuzey-2); --bs-pagination-disabled-bg: var(--yuzey-2); gap: .25rem; }
.page-link { border-radius: 10px !important; min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.dropdown-menu { border-radius: 12px; border-color: var(--cizgi); box-shadow: var(--golge-m); }
.modal-content { border-radius: 16px; border: 1px solid var(--cizgi); }
.progress { border-radius: 99px; }
.alert { border-radius: 12px; border: 0; }

/* ---------------------------------------------------------------- Rozetler (yumuşak) */
.badge { font-weight: 600; padding: .4em .72em; border-radius: 99px; letter-spacing: .01em; }
.badge.text-bg-primary { background: rgba(var(--marka-rgb), .13) !important; color: #4338ca !important; }
.badge.text-bg-success { background: rgba(22, 163, 74, .13) !important; color: #15803d !important; }
.badge.text-bg-danger { background: rgba(220, 38, 38, .12) !important; color: #b91c1c !important; }
.badge.text-bg-warning { background: rgba(245, 158, 11, .17) !important; color: #b45309 !important; }
.badge.text-bg-info { background: rgba(14, 165, 233, .14) !important; color: #0369a1 !important; }
.badge.text-bg-secondary { background: rgba(100, 116, 139, .15) !important; color: #475569 !important; }
.badge.text-bg-dark { background: rgba(15, 23, 42, .12) !important; color: #0f172a !important; }
.badge.text-bg-light { background: var(--yuzey-2) !important; color: var(--soluk) !important; border: 1px solid var(--cizgi); }
.badge.text-bg-orange { background: rgba(249, 115, 22, .15) !important; color: #c2410c !important; }
[data-bs-theme="dark"] .badge.text-bg-primary { color: #a5b4fc !important; }
[data-bs-theme="dark"] .badge.text-bg-success { color: #4ade80 !important; }
[data-bs-theme="dark"] .badge.text-bg-danger { color: #f87171 !important; }
[data-bs-theme="dark"] .badge.text-bg-warning { color: #fbbf24 !important; }
[data-bs-theme="dark"] .badge.text-bg-info { color: #38bdf8 !important; }
[data-bs-theme="dark"] .badge.text-bg-secondary { color: #cbd5e1 !important; }
[data-bs-theme="dark"] .badge.text-bg-dark { background: rgba(255, 255, 255, .1) !important; color: #e2e8f0 !important; }
[data-bs-theme="dark"] .badge.text-bg-orange { color: #fb923c !important; }

/* ---------------------------------------------------------------- Tablolar */
.table {
    --bs-table-bg: var(--yuzey); --bs-table-hover-bg: var(--yuzey-2); --bs-table-border-color: var(--cizgi);
    border-collapse: separate; border-spacing: 0; border: 1px solid var(--cizgi); border-radius: var(--yaricap); overflow: hidden; box-shadow: var(--golge-s);
}
.table > :not(caption) > * > * { padding: .8rem 1rem; border-bottom-width: 1px; }
.table thead th {
    background: var(--yuzey-2); color: var(--soluk); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; border-bottom: 1px solid var(--cizgi); white-space: nowrap;
}
.table > :not(caption) > * > * { border-bottom-color: var(--cizgi); }
.table > :not(:last-child) > :last-child > * { border-bottom-color: var(--cizgi); }
.table > :not(:first-child) { border-top: 0; }
.table > tbody > tr:last-child > *, .table > tfoot > tr:last-child > * { border-bottom: 0; }
.hucre-icerik { min-width: 0; }
.table-responsive > .table { margin-bottom: 0; box-shadow: none; border: 0; border-radius: 0; }
.card > .table, .card > .table-responsive { border: 0; border-radius: 0; box-shadow: none; }
.card > .table:last-child, .card > .table-responsive:last-child { border-radius: 0 0 var(--yaricap) var(--yaricap); }
.table tfoot td { background: var(--yuzey-2); }
.table a { font-weight: 600; }

/* Telefon: tablo → kart (td[data-label] kullanılır) */
@media (max-width: 767.98px) {
    table.tablo-kart { border: 0; box-shadow: none; background: transparent; overflow: visible; --bs-table-bg: transparent; }
    table.tablo-kart thead { display: none; }
    table.tablo-kart, table.tablo-kart tbody, table.tablo-kart tr, table.tablo-kart td, table.tablo-kart tfoot { display: block; width: 100%; }
    table.tablo-kart tr { background: var(--yuzey); border: 1px solid var(--cizgi); border-radius: var(--yaricap); box-shadow: var(--golge-s); margin-bottom: .8rem; padding: .55rem .9rem; overflow: hidden; }
    table.tablo-kart > :not(caption) > * > * { padding: .32rem 0; border: 0; background: transparent; }
    table.tablo-kart td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
    table.tablo-kart td::before { content: attr(data-label); font-weight: 600; font-size: .78rem; color: var(--soluk); text-align: left; flex: 0 0 38%; padding-top: .1rem; }
    table.tablo-kart .hucre-icerik { flex: 1; text-align: right; overflow-wrap: anywhere; }
    table.tablo-kart td.islem { justify-content: flex-end; flex-wrap: wrap; gap: .5rem; border-top: 1px solid var(--cizgi); margin-top: .35rem; padding-top: .6rem; }
    table.tablo-kart td.islem::before { display: none; }
    table.tablo-kart td:empty { display: none; }
    table.tablo-kart td[colspan] { display: block; text-align: center; }
    table.tablo-kart td[colspan]::before { display: none; }
    table.tablo-kart tfoot tr { background: var(--yuzey-2); }
    .card > table.tablo-kart { padding: .6rem; }
    .card > table.tablo-kart tr { box-shadow: none; }
}

/* ---------------------------------------------------------------- Servis detay, yükleme */
.alt-cubuk {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; gap: .5rem; overflow-x: auto; padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--yuzey) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--cizgi); box-shadow: 0 -8px 24px rgba(16, 24, 40, .08);
}
.alt-cubuk .btn { white-space: nowrap; flex: 1 0 auto; }
.urun-kucuk { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; border: 1px solid var(--cizgi); display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.urun-bos { background: var(--yuzey-2); color: var(--soluk); }
/* Cihaz fotoğraf galerisi: ilk fotoğraf büyük, diğerleri ızgarada */
.cihaz-galeri { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.cihaz-galeri .galeri-oge { position: relative; margin: 0; }
.cihaz-galeri .galeri-oge a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--cizgi); background: var(--yuzey-2); }
.cihaz-galeri .galeri-oge img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s; }
.cihaz-galeri .galeri-oge a:hover img { transform: scale(1.04); }
.cihaz-galeri .galeri-oge.ilk-foto { grid-column: 1 / -1; }
.cihaz-galeri .galeri-oge.ilk-foto img { aspect-ratio: 16 / 9; }
.galeri-no { position: absolute; left: .5rem; bottom: .5rem; background: rgba(15, 23, 42, .7); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 99px; padding: .15rem .55rem; }
.galeri-sil { position: absolute; right: .45rem; top: .45rem; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .65); color: #fff; line-height: 1; opacity: 0; transition: opacity .15s; }
.galeri-oge:hover .galeri-sil, .galeri-sil:focus { opacity: 1; }
@media (hover: none) { .galeri-sil { opacity: 1; } }
@media (min-width: 768px) { .cihaz-galeri { grid-template-columns: repeat(3, 1fr); } }

/* Liste küçük resmi: ilk fotoğraf + "+N" rozeti */
.kapak-sarmal { position: relative; display: inline-block; }
.kapak-adet { position: absolute; right: -6px; bottom: -6px; background: var(--marka); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 99px; padding: .1rem .42rem; border: 2px solid var(--yuzey); }

/* Lightbox */
.galeri-icerik { background: #0b0f1a; color: #fff; border: 0; border-radius: 16px; overflow: hidden; }
.galeri-ust { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; }
.galeri-baslik { font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.galeri-sayac { font-size: .85rem; opacity: .75; }
.galeri-indir { color: #fff; text-decoration: none; opacity: .75; font-size: 1.1rem; }
.galeri-sahne { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52vh; padding: 0 .5rem; touch-action: pan-y; }
.galeri-resim { max-width: 100%; max-height: 72vh; object-fit: contain; border-radius: 8px; }
.galeri-ok { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.8rem; line-height: 1; backdrop-filter: blur(4px); z-index: 2; }
.galeri-ok:hover { background: rgba(255, 255, 255, .3); }
.galeri-ok.sol { left: .75rem; } .galeri-ok.sag { right: .75rem; }
.galeri-seridi { display: flex; gap: .5rem; overflow-x: auto; padding: .75rem 1rem 1rem; justify-content: center; }
.galeri-kucuk { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; opacity: .55; cursor: pointer; border: 2px solid transparent; flex: 0 0 auto; }
.galeri-kucuk.secili { opacity: 1; border-color: #818cf8; }
@media (max-width: 767.98px) { .galeri-sahne { min-height: 60vh; } .galeri-resim { max-height: 68vh; } }

.foto-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .65rem; }
.foto-izgara img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--cizgi); transition: transform .15s; }
.foto-izgara a:hover img { transform: scale(1.03); }

.yukleniyor { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--sayfa) 60%, transparent); backdrop-filter: blur(2px); }
.yukleniyor.d-none { display: none !important; }
.toast { border-radius: 12px; box-shadow: var(--golge-m); }

/* ---------------------------------------------------------------- Giriş sayfaları */
.giris-govde { margin: 0; padding-bottom: 0; }
.giris-sarmal { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.giris-marka {
    position: relative; overflow: hidden; color: #fff; padding: 2.5rem 3rem; display: flex; flex-direction: column; justify-content: space-between;
    background: radial-gradient(900px 500px at 110% -10%, rgba(34, 211, 238, .45), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(167, 139, 250, .5), transparent 60%), linear-gradient(135deg, #1e1b4b 0%, #3730a3 55%, #4f46e5 100%);
}
.giris-marka-ust { display: flex; align-items: center; gap: .7rem; font-weight: 500; }
.giris-marka b { font-weight: 800; color: #c7d2fe; }
.giris-slogan { font-size: 2.1rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; max-width: 460px; margin-bottom: 1.5rem; }
.giris-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.giris-liste li { display: flex; align-items: center; gap: .65rem; color: #e0e7ff; }
.giris-liste .ikon { background: rgba(255, 255, 255, .16); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.giris-form { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.giris-kutu { width: 100%; max-width: 400px; }
.giris-kutu h1 { font-size: 1.7rem; font-weight: 800; }
.giris-mobil-marka { display: none; align-items: center; gap: .6rem; font-size: 1.25rem; margin-bottom: 1.5rem; }
.giris-mobil-marka b { color: var(--marka); font-weight: 800; }
@media (max-width: 991.98px) {
    .giris-sarmal { grid-template-columns: 1fr; }
    .giris-marka { display: none; }
    .giris-mobil-marka { display: flex; }
}

/* ---------------------------------------------------------------- Yazdırma */
@media print {
    .yan-menu, .yan-menu-perde, .ust-cubuk, .alt-cubuk, .yazdirma-gizle, #toastAlani { display: none !important; }
    .ana { margin-left: 0 !important; }
    body { background: #fff; }
    .icerik { padding: 0; max-width: none; }
    .card, .table { box-shadow: none; }
}
