/* 
 * Neşve Şubelerimiz - WordPress Eklentisi Arayüzü Stylesheet
 * Kurumsal Renk: Petrol Mavisi (#27546C) & Nötr Gri/Slate Tonları
 * Scoped (Bileşene Özel) CSS Yapısı - Font Ailesi Temadan Alınır
 */

.nesve-branches-widget {
    --nesve-primary: #27546C;            /* Logo'dan alınan petrol mavisi */
    --nesve-primary-dark: #1b3c4f;       /* Koyu petrol mavisi */
    --nesve-primary-light: #eef4f7;      /* Çok açık petrol mavi tonu */
    --nesve-primary-glow: rgba(39, 84, 108, 0.12);
    
    --nesve-bg-card: #ffffff;            /* Temiz beyaz şube satırları */
    --nesve-border-color: #e2e8f0;       /* Yumuşak sınır çizgileri */
    --nesve-text-dark: #2d3748;          /* Koyu gri gövde metinleri */
    --nesve-text-muted: #718096;         /* Muted gri detaylar */
    
    --nesve-active: #059669;             /* Aktif durumu için yeşil */
    --nesve-upcoming-bg: #f7fafc;        /* Yapım aşaması için nötr açık gri */
    --nesve-upcoming-border: #cbd5e0;    
    
    --nesve-radius-lg: 16px;
    --nesve-radius-md: 10px;
    --nesve-radius-sm: 6px;
    
    --nesve-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nesve-shadow: 0 4px 15px rgba(39, 84, 108, 0.05);
    --nesve-shadow-hover: 0 8px 25px rgba(39, 84, 108, 0.12);
    
    /* Font ailesini temadan devralması için inherit olarak tanımlıyoruz */
    font-family: inherit;
    color: var(--nesve-text-dark);
    margin: 20px 0;
}

/* Alt öğelerin (ikonlar hariç) fontu devralmasını sağlıyoruz */
.nesve-branches-widget {
    box-sizing: border-box;
}

.nesve-branches-widget *,
.nesve-branches-widget *::before,
.nesve-branches-widget *::after {
    box-sizing: border-box;
}

/* i tagleri ve fa- ile başlayan FontAwesome sınıflarının font ailesini ezmiyoruz */
.nesve-branches-widget *:not(i):not([class*="fa-"]) {
    font-family: inherit;
}

/* Kontrol Paneli Kartı */
.nesve-branches-widget .nesve-controls-panel {
    background-color: #ffffff;
    border: 1px solid var(--nesve-border-color);
    border-radius: var(--nesve-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--nesve-shadow);
}

/* Ülke Seçim Sekmeleri */
.nesve-branches-widget .country-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 20px;
}

.nesve-branches-widget .country-tab {
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    color: var(--nesve-text-muted);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--nesve-radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--nesve-transition);
}

.nesve-branches-widget .country-tab:hover {
    color: var(--nesve-primary);
    border-color: var(--nesve-primary);
    background-color: var(--nesve-primary-light);
}

.nesve-branches-widget .country-tab.active {
    background-color: var(--nesve-primary);
    border-color: var(--nesve-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(39, 84, 108, 0.2);
}

.nesve-branches-widget .flag-icon {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 1px;
}

.nesve-branches-widget .country-count {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--nesve-text-muted);
    font-weight: 700;
}

.nesve-branches-widget .country-tab.active .country-count {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Arama ve Durum Barı */
.nesve-branches-widget .search-filters-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .nesve-branches-widget .search-filters-bar {
        flex-direction: row;
        align-items: center;
    }
}

.nesve-branches-widget .search-box-container {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Arama İkonu — top:0/bottom:0/margin:auto yöntemi FA baseline sorununu çözer */
.nesve-branches-widget .search-icon {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 16px;        /* font-size ile eşit — sabit yükseklik ile tam ortalama */
    width: 16px;
    color: var(--nesve-primary);
    font-size: 15px;
    line-height: 16px;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nesve-branches-widget #branch-search-input {
    width: 100%;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    color: var(--nesve-text-dark);
    padding: 12px 40px 12px 44px;
    border-radius: var(--nesve-radius-md);
    font-size: 14px;
    outline: none;
    transition: all var(--nesve-transition);
    /* Tema text-transform'unu sıfırla — Türkçe büyük harf sorunu (i→İ) */
    text-transform: none !important;
}

/* Placeholder Türkçe karakter düzeltmesi */
.nesve-branches-widget #branch-search-input::placeholder {
    text-transform: none !important;
    opacity: 0.65;
    color: var(--nesve-text-muted);
}
.nesve-branches-widget #branch-search-input::-webkit-input-placeholder {
    text-transform: none !important;
}
.nesve-branches-widget #branch-search-input::-moz-placeholder {
    text-transform: none !important;
}

.nesve-branches-widget #branch-search-input:focus {
    background-color: #ffffff;
    border-color: var(--nesve-primary);
    box-shadow: 0 0 0 3px var(--nesve-primary-glow);
}

.nesve-branches-widget .clear-search-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--nesve-text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 2px;
    display: none;
}

.nesve-branches-widget .clear-search-btn:hover {
    color: var(--nesve-primary);
}


/* Listeleme Bilgi Metni */
.nesve-branches-widget .stats-summary {
    font-size: 13px;
    color: var(--nesve-text-muted);
    margin-bottom: 16px;
    padding-left: 4px;
}

.nesve-branches-widget .stats-summary strong {
    color: var(--nesve-primary);
}

/* SATIR TABANLI TEK SÜTUN LİSTESİ */
.nesve-branches-widget .branches-rows-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nesve-branches-widget .branch-row {
    background-color: var(--nesve-bg-card);
    border: 1px solid var(--nesve-border-color);
    border-radius: var(--nesve-radius-md);
    padding: 20px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--nesve-shadow);
    transition: all var(--nesve-transition);
    opacity: 0;
    transform: translateY(12px);
}

/* Staggered load animation */
.nesve-branches-widget .branch-row.show-row {
    opacity: 1;
    transform: translateY(0);
}

.nesve-branches-widget .branch-row:hover {
    border-color: var(--nesve-primary);
    box-shadow: var(--nesve-shadow-hover);
    transform: translateX(4px);
}

/* Satır 1. Bölüm: Başlık ve Rozetler (Sol Taraf) */
.nesve-branches-widget .row-info-section {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nesve-branches-widget .row-badges-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nesve-branches-widget .city-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nesve-primary);
    background-color: var(--nesve-primary-light);
    padding: 3px 8px;
    border-radius: var(--nesve-radius-sm);
    border: 1px solid rgba(39, 84, 108, 0.15);
}

.nesve-branches-widget .branch-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--nesve-primary);
    margin: 0;
    line-height: 1.3;
}

/* Satır 2. Bölüm: İletişim Detayları (Orta Kısım) */
.nesve-branches-widget .row-details-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 1px solid #edf2f7;
    border-right: 1px solid #edf2f7;
    padding: 0 24px;
}

.nesve-branches-widget .detail-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nesve-branches-widget .detail-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--nesve-text-muted);
}

.nesve-branches-widget .contact-link {
    color: var(--nesve-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--nesve-transition);
}

.nesve-branches-widget .contact-link:hover {
    color: var(--nesve-primary);
    text-decoration: underline;
}

.nesve-branches-widget .detail-item i {
    color: var(--nesve-primary); /* Sarı yerine kurumsal petrol mavisi */
    font-size: 14px;
    width: 14px;
    text-align: center;
}

.nesve-branches-widget .detail-item strong {
    color: var(--nesve-text-dark);
}

.nesve-branches-widget .address-text {
    font-size: 13px;
    line-height: 1.4;
    color: var(--nesve-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.nesve-branches-widget .address-text i {
    color: var(--nesve-primary);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Çok Yakında Uyarı Kutusu */
.nesve-branches-widget .upcoming-notice {
    background-color: var(--nesve-primary-light); /* Kurumsal hafif mavi arkaplan */
    border: 1px dashed rgba(39, 84, 108, 0.25);
    padding: 10px 16px;
    border-radius: var(--nesve-radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--nesve-primary-dark);
}

.nesve-branches-widget .upcoming-notice i {
    font-size: 18px;
    color: var(--nesve-primary);
}

.nesve-branches-widget .upcoming-notice strong {
    color: var(--nesve-primary);
}

/* Satır 3. Bölüm: Eylem Butonları (Sağ Taraf) */
.nesve-branches-widget .row-actions-section {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.nesve-branches-widget .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 160px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--nesve-radius-md);
    cursor: pointer;
    transition: all var(--nesve-transition);
}

.nesve-branches-widget .btn-map {
    background-color: transparent;
    border: 1px solid var(--nesve-primary);
    color: var(--nesve-primary);
}

.nesve-branches-widget .btn-map:hover {
    background-color: var(--nesve-primary-light);
}

.nesve-branches-widget .btn-menu {
    background-color: var(--nesve-primary); /* Sarı yerine kurumsal petrol mavisi */
    border: 1px solid var(--nesve-primary);
    color: #ffffff;
}

.nesve-branches-widget .btn-menu:hover {
    background-color: var(--nesve-primary-dark);
    border-color: var(--nesve-primary-dark);
    box-shadow: 0 4px 10px rgba(39, 84, 108, 0.2);
}

.nesve-branches-widget .btn-lock {
    background-color: #f7fafc;
    border: 1px dashed #e2e8f0;
    color: var(--nesve-text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

/* DİNAMİK MOBİL UYUMLULUK (RESPONSIVE STACKING & SCROLLABLE TABS) */
@media (max-width: 900px) {

    /* Premium yatay kaydırmalı pill-buton sekme şeridi */
    .nesve-branches-widget .country-tabs-wrapper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 4px;
        margin-bottom: 16px;
        border-bottom: none;
        scrollbar-width: none; /* Firefox */
        /* Sağ ve sol kenarlar için soluk fade efekti */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
        padding-left: 12px;
        padding-right: 12px;
    }

    .nesve-branches-widget .country-tabs-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Sekmeler kompakt pill görünümü – içerik asla kırılmaz */
    .nesve-branches-widget .country-tab {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 7px 13px;
        font-size: 12px;
        border-radius: 999px; /* Tam pill */
        gap: 6px;
    }

    /* Üst kontrol paneli iç boşluğu mobilde küçülür */
    .nesve-branches-widget .nesve-controls-panel {
        padding: 16px 12px;
    }

    .nesve-branches-widget .branch-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
    }
    
    .nesve-branches-widget .branch-row:hover {
        transform: translateY(-4px);
    }
    
    .nesve-branches-widget .row-info-section {
        min-width: 100%;
    }
    
    .nesve-branches-widget .row-details-section {
        border-left: none;
        border-right: none;
        border-top: 1px solid #edf2f7;
        border-bottom: 1px solid #edf2f7;
        padding: 16px 0;
        margin: 0;
    }
    
    .nesve-branches-widget .row-actions-section {
        align-items: stretch;
        min-width: 100%;
    }
    
    .nesve-branches-widget .btn-action {
        max-width: 100%;
    }
}

/* Çok küçük ekranlar (480px altı) – sekmeler biraz daha küçük */
@media (max-width: 480px) {
    .nesve-branches-widget .country-tab {
        padding: 6px 11px;
        font-size: 11px;
        gap: 5px;
    }

    .nesve-branches-widget .flag-icon {
        width: 16px;
        height: 10px;
    }

    .nesve-branches-widget .country-count {
        font-size: 10px;
        padding: 1px 5px;
    }
}

/* Arama Sonuçsuz Durumu */
.nesve-branches-widget .no-results-container {
    text-align: center;
    padding: 48px 24px;
    background-color: #ffffff;
    border: 1px solid var(--nesve-border-color);
    border-radius: var(--nesve-radius-lg);
    box-shadow: var(--nesve-shadow);
}

.nesve-branches-widget .no-results-icon-wrap {
    width: 64px;
    height: 64px;
    background-color: var(--nesve-primary-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--nesve-primary);
    font-size: 24px;
}

.nesve-branches-widget .no-results-container h3 {
    font-size: 18px;
    color: var(--nesve-primary);
    margin: 0 0 8px 0;
    font-weight: 700;
}

.nesve-branches-widget .no-results-container p {
    color: var(--nesve-text-muted);
    font-size: 14px;
    margin: 0 0 20px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.nesve-branches-widget .reset-filters-btn {
    background-color: var(--nesve-primary);
    border: none;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--nesve-radius-md);
    cursor: pointer;
    transition: background-color var(--nesve-transition);
}

.nesve-branches-widget .reset-filters-btn:hover {
    background-color: var(--nesve-primary-dark);
}

/* Animasyonlar */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(5, 150, 105, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

/* ============================================================
   HARİTA GÖRÜNÜMÜ — Leaflet Entegrasyonu
   ============================================================ */

/* Liste / Harita Toggle Butonu */
.nesve-view-toggle-bar {
    display: flex;
    gap: 6px;
    background: #f0f4f8;
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
    margin: 0 0 12px auto;
}

.nesve-view-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: var(--nesve-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nesve-view-toggle-btn.active {
    background: #ffffff;
    color: var(--nesve-primary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    font-weight: 600;
}

.nesve-view-toggle-btn:hover:not(.active) {
    color: var(--nesve-primary);
    background: rgba(255,255,255,0.6);
}

/* Harita Konteyner */
#nesve-branches-map {
    display: none;
    width: 100%;
    height: 520px;
    border-radius: var(--nesve-radius-lg);
    overflow: hidden;
    box-shadow: var(--nesve-shadow-lg);
    border: 1px solid var(--nesve-border-color);
    background: #e8eef2;
}

/* Koordinatsız şube boş mesaj */
.nesve-map-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: var(--nesve-text-muted);
}

.nesve-map-empty i { font-size: 40px; opacity: 0.4; }

/* --- Özel Marker --- */
.nesve-marker-wrap {
    background: transparent !important;
    border: none !important;
}

.nesve-marker-pin {
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    transition: transform 0.15s ease;
}

.nesve-marker-pin.nesve-marker--active   { background: var(--nesve-primary); }
.nesve-marker-pin.nesve-marker--upcoming { background: #d97706; }

.nesve-marker-tip {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    margin: -2px auto 0;
    display: block;
}

.nesve-marker-tip.nesve-marker--active   { border-top: 8px solid var(--nesve-primary); }
.nesve-marker-tip.nesve-marker--upcoming { border-top: 8px solid #d97706; }

/* --- Leaflet Popup --- */
.nesve-leaflet-popup .leaflet-popup-content-wrapper {
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1px solid var(--nesve-border-color);
}

.nesve-leaflet-popup .leaflet-popup-content { margin: 0; width: auto !important; }
.nesve-leaflet-popup .leaflet-popup-tip-container { display: none; }

.nesve-map-popup { font-family: var(--nesve-font); min-width: 220px; max-width: 300px; }

.nmp-head {
    background: var(--nesve-primary);
    color: #fff;
    padding: 12px 16px 10px;
}

.nmp-city {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.75;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.nmp-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

.nmp-body {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nmp-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--nesve-text-muted);
}

.nmp-detail i { font-size: 11px; margin-top: 2px; color: var(--nesve-primary); flex-shrink: 0; }
.nmp-detail a  { color: var(--nesve-primary); text-decoration: none; }
.nmp-detail a:hover { text-decoration: underline; }
.nmp-addr span { line-height: 1.4; }

.nmp-upcoming {
    font-size: 12px;
    color: #d97706;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.nmp-actions {
    display: flex;
    gap: 6px;
    padding: 10px 16px 14px;
    border-top: 1px solid var(--nesve-border-color);
}

.nmp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
    flex: 1;
}

.nmp-btn--map  { background-color: var(--nesve-primary) !important; color: #ffffff !important; border: 1px solid var(--nesve-primary) !important; }
.nmp-btn--map:hover { background-color: #1a4156 !important; color: #ffffff !important; }

.nmp-btn--menu { background-color: transparent !important; border: 1px solid var(--nesve-primary) !important; color: var(--nesve-primary) !important; }
.nmp-btn--menu:hover { background-color: rgba(39, 84, 108, 0.05) !important; color: var(--nesve-primary) !important; }

/* Mobil harita */
@media (max-width: 600px) {
    #nesve-branches-map { height: 380px; }
    .nesve-view-toggle-bar { margin: 0 0 10px 0; width: 100%; }
    .nesve-view-toggle-btn { flex: 1; justify-content: center; }
}

/* =========================================================
   V3 GÜNCELLEMELERİ: LOKASYON, GÖRSELLER VE SAATLER
========================================================= */

/* Bana En Yakın Butonu */
.nesve-nearest-btn {
    background: var(--nesve-primary);
    border: none;
    color: #ffffff;
    font-size: 16px;
    padding: 0 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nesve-nearest-btn:hover, .nesve-nearest-btn.active {
    background: #1a4156;
    color: #ffffff;
}
.nesve-nearest-btn.loading i {
    animation: fa-spin 1s infinite linear;
}
@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

/* Şube Kartı Görsel Yerleşimi (Flexbox Güncellemesi) */
.branch-row {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.branch-image-wrapper {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nesve-border-color);
}
.branch-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.placeholder-img i {
    font-size: 40px;
    color: #cbd5e1;
}
.row-info-section {
    flex: 1;
    min-width: 250px;
}

/* Mesafe ve Durum Rozetleri */
.distance-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e0f2fe;
    color: #0284c7;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 6px;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.status-open {
    background: #ecfdf5;
    color: #059669;
}
.status-open .status-dot { background: #10b981; box-shadow: 0 0 0 2px rgba(16,185,129,0.2); }
.status-closed {
    background: #fef2f2;
    color: #dc2626;
}
.status-closed .status-dot { background: #ef4444; }

/* Harita Popup İmajı ve Durumu */
.nmp-wrapper {
    position: relative;
}
.nmp-img {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
    background-color: #f1f5f9;
}
.nmp-img.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nmp-img.placeholder i {
    font-size: 30px;
    color: #cbd5e1;
}
.nmp-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: white;
}
.nmp-status.open { background: #10b981; }
.nmp-status.closed { background: #ef4444; }

@media (max-width: 768px) {
    .branch-image-wrapper {
        width: 100%;
        height: 180px;
    }
}
