/* assets/turkiyegeneli-satis-durum.css */

.page-header-flex { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.total-badge {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white; padding: 15px 25px; border-radius: 12px; text-align: right;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}
.total-badge span { display: block; font-size: 0.8rem; opacity: 0.9; margin-bottom: 5px; font-weight: 600; letter-spacing: 0.5px; }
.total-badge strong { font-size: 1.8rem; display: block; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* RESET BUTONU */
.btn-reset {
    background: #ef4444; color: white; border: none; padding: 8px 15px; 
    border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: 600;
    display: none; /* Varsayılan gizli, seçim yapılınca JS ile açılacak */
    align-items: center; gap: 5px; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    margin-top: 10px; float: right;
}
.btn-reset:hover { background: #dc2626; transform: translateY(-1px); }

/* DASHBOARD DÜZENİ - ARTIK ALT ALTA (FULL WIDTH) */
.map-dashboard {
    display: flex; flex-direction: column; gap: 30px;
    min-height: 800px; /* Daha yüksek */
}

/* HARİTA KONTEYNER - FULL GENİŞLİK */
.map-container {
    background: #f8fafc; border-radius: 16px; padding: 40px; /* Daha geniş iç boşluk */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    min-height: 600px; /* Harita iyice büyüsün */
}

.svg-turkiye-haritasi {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}

#svg-turkiye-haritasi {
    width: 100%; height: auto; max-height: 100%;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
    transform-origin: center;
}

/* SVG PATH STILLERI */
#svg-turkiye-haritasi path {
    fill: #e2e8f0; /* Varsayılan Gri */
    stroke: #FFF; 
    stroke-width: 1;
    transition: all 0.2s ease;
    cursor: pointer; /* Tıklanabilir el işareti */
}

/* SEÇİLİ İL STİLİ (JS ile eklenecek) */
#svg-turkiye-haritasi path.selected-city {
    stroke: #1e3a8a !important; /* Koyu lacivert kenar */
    stroke-width: 2px !important;
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.6));
    z-index: 100;
}
/* Seçildiğinde fill rengini JS ile koruyoruz ama parlaklık katıyoruz */

/* HARİTA ÜZERİNDEKİ SABİT ETİKETLER */
.city-label {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 50;
    text-shadow: 0 0 3px rgba(255, 255, 255, 1);
}

.city-label .lbl-name {
    display: block; font-size: 11px; font-weight: 700; color: #1e293b; 
    text-transform: uppercase; line-height: 1; margin-bottom: 2px;
}

.city-label .lbl-price {
    display: inline-block; font-size: 11px; font-weight: 800; color: #dc2626;
    background: rgba(255, 255, 255, 0.9); padding: 2px 5px; border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); white-space: nowrap; border: 1px solid #e2e8f0;
}

/* ALT PANEL (İSTATİSTİKLER) - ARTIK FULL GENİŞLİK */
.stats-panel {
    background: white; border-radius: 16px; padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
    display: flex; flex-direction: column; overflow: hidden;
    min-height: 300px;
}
.panel-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; margin-bottom: 20px; }
.panel-header h3 { margin: 0; color: #1e293b; font-size: 1.2rem; }

/* Liste Grid Yapısı (Yan yana sıralansınlar geniş ekranda) */
.top-list { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive Grid */
    gap: 20px;
    padding-right: 5px; 
}

.top-item { 
    display: flex; align-items: center; padding: 15px; 
    border: 1px solid #f1f5f9; border-radius: 10px; background: #fff;
    transition: transform 0.2s;
}
.top-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-color: #cbd5e1; }

.rank {
    width: 40px; height: 40px; background: #eff6ff; color: #3b82f6; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; margin-right: 15px;
}
.info { flex: 1; }
.city-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 1rem; }
.city-name { font-weight: 700; color: #334155; }
.city-amount { font-weight: 800; color: #10b981; }
.progress-bg { height: 10px; background: #f1f5f9; border-radius: 5px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #3b82f6, #2563eb); border-radius: 5px; }

@media (max-width: 992px) {
    .map-container { min-height: 400px; padding: 10px; }
    .top-list { grid-template-columns: 1fr; }
}