@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&display=swap');

/* Renk paleti dogrudan metinserver'in gercek temasindan (media/css/design.css,
   "zSHOP" kalibi) alindi: krem/parsomen ic paneller, neredeyse siyah-kahve
   ust bar, altin-krem vurgu metni, koyu kirmizi-kahve butonlar. */
:root {
    --outer: #241408;
    --outer-2: #3c2415;
    --dark: #1b0d06;
    --dark-text: #f2e69f;
    --dark-text-muted: #cbb27a;

    --bg: #d8bd85;
    --bg-panel: #f1e2b8;
    --bg-input: #faf3de;
    --border: #c9a86b;
    --text: #3c1e16;
    --text-muted: #7a5a3a;
    --accent: #7c2015;
    --accent-hover: #9c2a1c;
    --gold: #8a6318;
    --gold-bright: #f2e69f;
    --success: #4b7a3d;
    --error: #c0392b;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(ellipse at top, rgba(242,230,159,0.06), transparent 55%),
        linear-gradient(180deg, var(--outer), var(--outer-2) 45%, var(--outer));
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid #000;
    background: var(--dark);
}

.topbar .logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--dark-text);
}

.topbar nav a {
    margin-left: 20px;
    color: var(--dark-text-muted);
    font-size: 14px;
}

.topbar nav a:hover { color: var(--dark-text); }

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.panel {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.panel.wide { max-width: 1280px; width: 100%; }
.container { padding-left: 24px; padding-right: 24px; }

.panel h1 {
    font-size: 20px;
    margin: 0 0 6px;
    color: var(--text);
}

.panel .subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 24px;
}

.field { margin-bottom: 16px; }

.field label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    padding: 11px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
}

.field-row {
    display: flex;
    gap: 12px;
}
.field-row .field { flex: 1; }

.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #f5ecd1;
    border: 1px solid #4d120b;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.3);
}

.btn:hover { background: var(--accent-hover); }

.alert {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 18px;
}
.alert-error {
    background: rgba(192, 57, 43, 0.12);
    border: 1px solid rgba(192, 57, 43, 0.45);
    color: var(--error);
}
.alert-success {
    background: rgba(75, 122, 61, 0.14);
    border: 1px solid rgba(75, 122, 61, 0.45);
    color: var(--success);
}

.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}
.stat-card .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.stat-card .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
}

table.chars {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table.chars th, table.chars td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
table.chars th {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.empty-state {
    color: var(--text-muted);
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.badge-ok { background: rgba(75,122,61,0.18); color: var(--success); }
.badge-warn { background: rgba(138,99,24,0.18); color: var(--gold); }
.badge-empire-1 { background: rgba(37,99,180,0.16); color: #2a5ea8; }
.badge-empire-2 { background: rgba(75,122,61,0.18); color: #3d6b32; }
.badge-empire-3 { background: rgba(124,32,21,0.16); color: #7c2015; }

footer {
    text-align: center;
    padding: 18px;
    font-size: 12px;
    color: var(--dark-text-muted);
    background: var(--dark);
    border-top: 1px solid #000;
}

/* ===== Metin2 / zSHOP temasi - baslik fontu ve suslemeler ===== */
h1, h2, .logo, .hero h1 {
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
    letter-spacing: 0.3px;
}

.topbar {
    position: relative;
}
.topbar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-hover), var(--dark-text), var(--accent-hover), transparent);
    opacity: 0.8;
}
.topbar .logo {
    text-shadow: 0 1px 2px #000;
}
.topbar nav a {
    position: relative;
    padding-bottom: 3px;
}
.topbar nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--dark-text);
    transform: scaleX(0);
    transition: transform 0.2s;
}
.topbar nav a:hover::after { transform: scaleX(1); }

/* ===== Hero (ana sayfa karsilama alani) ===== */
.hero {
    position: relative;
    text-align: center;
    padding: 90px 20px 70px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(242,230,159,0.10), transparent 60%);
    pointer-events: none;
}
.hero h1 {
    font-size: 42px;
    margin: 0 0 14px;
    color: var(--dark-text);
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero p {
    color: var(--dark-text-muted);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto 30px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline {
    display: inline-block;
    padding: 12px 26px;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.35);
    border: 1px solid var(--dark-text);
    color: var(--dark-text);
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--dark-text); color: var(--dark); text-decoration: none; }
.btn-solid {
    display: inline-block;
    padding: 12px 26px;
    background: linear-gradient(180deg, var(--accent-hover), var(--accent));
    color: #f5ecd1;
    border: 1px solid #4d120b;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.35);
}
.btn-solid:hover { text-decoration: none; filter: brightness(1.08); }

.section {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 56px 32px;
}
.section h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--dark-text);
}
.section .section-sub {
    text-align: center;
    color: var(--dark-text-muted);
    font-size: 13px;
    margin-bottom: 34px;
}

/* ===== Karakter vitrini kartlari ===== */
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    width: 100%;
}
.class-card {
    display: block;
    min-width: 0;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
    position: relative;
}
.class-card .icon {
    font-size: 26px;
    line-height: 1;
    margin-bottom: 10px;
}
.class-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}
.class-card .img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, #4a2f19, #2a1a0d);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.class-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.class-card .img-wrap .placeholder {
    color: #cbb27a;
    font-size: 13px;
}
.class-card .body { padding: 16px 18px 20px; }
.class-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-family: 'Merriweather', Georgia, serif;
}
.class-card .meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.class-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===== Ana sayfa: icerik + sag siralama sidebar'i ===== */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}
.sidebar-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
}
.sidebar-panel h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 16px;
    margin: 0 0 4px;
    color: var(--gold);
}
.sidebar-panel .sidebar-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 16px;
}
.side-rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.side-rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}
.side-rank-list li:last-child { border-bottom: none; }
.side-rank-list .rank-num {
    font-weight: 700;
    color: var(--text-muted);
    width: 26px;
    flex-shrink: 0;
}
.side-rank-list li:nth-child(1) .rank-num { color: #a8721b; }
.side-rank-list li:nth-child(2) .rank-num { color: #6b6b6b; }
.side-rank-list li:nth-child(3) .rank-num { color: #8a5a2e; }
.side-rank-list .name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.side-rank-list .lvl {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Ana sayfa: hero icindeki hizli sunucu istatistikleri ===== */
.hero-stats {
    display: flex;
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(242, 230, 159, 0.18);
}
.hero-stats .stat { text-align: center; min-width: 90px; }
.hero-stats .stat .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--dark-text-muted);
    margin-bottom: 5px;
}
.hero-stats .stat .value {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Merriweather', Georgia, serif;
    color: var(--dark-text);
}

/* ===== Ana sayfa: siralama panelleri yan yana (esit genislik) ===== */
.rank-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ===== Client indirme kutusu ===== */
.download-box {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.download-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent, rgba(138,99,24,0.18), transparent 30%);
    animation: spin 8s linear infinite;
    pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.download-box .inner { position: relative; z-index: 1; }
.download-box .version {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 22px;
}
.download-box .size {
    color: var(--gold);
    font-weight: 700;
}

/* ===== Siralama / oyuncu tablosu ===== */
.rank-cell {
    font-weight: 700;
    color: var(--text-muted);
}
.rank-1 { color: #a8721b; }
.rank-2 { color: #6b6b6b; }
.rank-3 { color: #8a5a2e; }

/* ===== Dashboard genis grid duzeni ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}
.dashboard-grid .stats-grid { grid-template-columns: 1fr 1fr; }
.dashboard-main {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 30px;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
    .topbar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px; }
    .topbar nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
    .topbar nav a { margin-left: 0; }
    .hero { padding: 60px 16px 44px; }
    .hero h1 { font-size: 30px; }
    .panel, .panel.wide { padding: 24px 20px; }
    .section { padding: 34px 16px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-grid .stats-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-main { padding: 20px; }
}
@media (max-width: 980px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .home-grid { grid-template-columns: 1fr; }
    .sidebar-panel { position: static; }
    .rank-columns { grid-template-columns: 1fr; }
}

/* ===== Kucuk genel iyilestirmeler ===== */
.panel, .panel.wide, .dashboard-main, .sidebar-panel, .stat-card, .download-box {
    box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.stat-card { transition: border-color 0.15s, transform 0.15s; }
.stat-card:hover { border-color: var(--gold); transform: translateY(-2px); }
table.chars tbody tr { transition: background 0.12s; }
table.chars tbody tr:hover { background: rgba(0,0,0,0.04); }
.topbar nav a.nav-market {
    color: var(--dark-text);
    font-weight: 700;
}
.topbar nav a.nav-market::after { background: var(--accent-hover); }

/* =========================================================
   MARKET (nesne marketi) - login sonrasi yonlendirilen sayfa
   ========================================================= */
.market-topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 32px;
    background: var(--dark);
    border-bottom: 1px solid #000;
}
.market-currencies { display: flex; gap: 10px; flex-wrap: wrap; }
.currency-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242,230,159,0.08);
    border: 1px solid rgba(242,230,159,0.25);
    border-radius: 999px;
    padding: 6px 16px 6px 8px;
    font-size: 13px;
    font-weight: 700;
}
.currency-pill .coin {
    width: 22px; height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.currency-pill .amount { color: var(--dark-text); letter-spacing: 0.3px; }
.currency-pill .cur-label { color: var(--dark-text-muted); font-weight: 500; font-size: 11px; }

.market-search { flex: 1; min-width: 200px; max-width: 360px; }
.market-search form { display: flex; gap: 8px; }
.market-search input {
    flex: 1;
    padding: 9px 12px;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
}
.market-search button {
    padding: 9px 14px;
    background: var(--accent);
    border: 1px solid #4d120b;
    border-radius: 6px;
    color: #f5ecd1;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.market-search button:hover { background: var(--accent-hover); }

.market-body {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 32px 60px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 26px;
    align-items: start;
}

.market-sidebar {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    position: sticky;
    top: 78px;
}
.market-sidebar h4 {
    margin: 0 0 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}
.market-cat-list { list-style: none; margin: 0 0 8px; padding: 0; }
.market-cat-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 7px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.market-cat-list a:hover { background: var(--bg-input); color: var(--text); text-decoration: none; }
.market-cat-list a.active { background: rgba(124,32,21,0.12); color: var(--accent); font-weight: 700; }
.market-cat-list img { width: 18px; height: 18px; border-radius: 4px; flex-shrink: 0; object-fit: cover; }
.market-cat-list .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0;
}

.market-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}
.market-tabs a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-input);
    border: 1px solid var(--border);
}
.market-tabs a:hover { color: var(--text); text-decoration: none; }
.market-tabs a.active { background: var(--accent); border-color: #4d120b; color: #f5ecd1; }

.market-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.market-heading h1 { font-size: 18px; margin: 0; color: var(--text); }
.market-heading .count { color: var(--text-muted); font-size: 13px; }

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}
.item-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.item-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 16px 30px rgba(0,0,0,0.35);
}
.item-card .thumb {
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, #4a2f19, #2a1a0d);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.item-card .thumb img { width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)); transition: transform 0.25s ease; }
.item-card .thumb:hover img { transform: scale(1.22); }
.item-card .thumb .ph { font-size: 30px; color: #8a6c47; font-weight: 800; }
.item-card .ribbon {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 3px 8px;
    border-radius: 4px;
    color: #1b0d06;
    text-transform: uppercase;
}
.item-card .ribbon.new { background: #7bbf6a; }
.item-card .ribbon.sale { background: var(--dark-text); top: 30px; }
.item-card .qty {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.65);
    color: #f5ecd1;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 5px;
}
.item-card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.item-card .name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    min-height: 34px;
}
.item-card .cat {
    font-size: 11px;
    color: var(--text-muted);
}
.item-card .price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.item-card .price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    color: var(--accent);
    font-size: 14px;
}
.item-card .price img.cur-icon { width: 16px; height: 16px; object-fit: contain; }
.item-card .price .old {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 11px;
    text-decoration: line-through;
}
.item-card .buy-btn {
    width: 100%;
    padding: 9px;
    background: var(--accent);
    color: #f5ecd1;
    border: 1px solid #4d120b;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.3);
}
.item-card .buy-btn:hover { background: var(--accent-hover); }

.market-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 60px 20px;
}

@media (max-width: 980px) {
    .market-body { grid-template-columns: 1fr; }
    .market-sidebar { position: static; }
    .market-cat-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
    .market-cat-list a { white-space: nowrap; }
}
@media (max-width: 640px) {
    .market-topbar { padding: 12px 16px; }
    .market-body { padding: 20px 16px 40px; }
    .item-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .item-card .name { min-height: auto; }
}

/* ===== Yonetim (admin) - urun/kategori tablolarinda kucuk gorseller ===== */
.admin-thumb { width: 32px; height: 32px; object-fit: contain; background: var(--bg-input); border: 1px solid var(--border); border-radius: 4px; cursor: zoom-in; }
.admin-thumb-ph { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 4px; color: #8a6c47; font-weight: 800; font-size: 14px; }
/* Buyutulmus onizleme: JS (assets/img-zoom.js) tarafindan position:fixed olarak
   konumlandirilir, tablo sarmalayicisinin overflow-x:auto'suna takilmaz. */
.admin-thumb-preview { position: fixed; display: none; width: 160px; height: 160px; object-fit: contain; background: var(--bg-input); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,0.55); padding: 8px; z-index: 9999; pointer-events: none; }
.admin-mevcut-resim { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; font-size: 12px; color: var(--text-muted); }
.admin-mevcut-resim img { width: 40px; height: 40px; object-fit: contain; background: var(--bg-input); border: 1px solid var(--border); border-radius: 4px; }
