/* TA Röle Listesi - Harita görünümü */
.ta-harita-wrap { position: relative; font-family: 'Segoe UI', Arial, sans-serif; margin: 20px 0; color: #1f2d2d; }
.ta-harita-wrap * { box-sizing: border-box; }

.ta-ust { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ta-modlar { display: inline-flex; border: 1px solid #00a09b; border-radius: 6px; overflow: hidden; }
.ta-mod-btn { background: #fff; color: #007a77; border: 0; padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ta-mod-btn + .ta-mod-btn { border-left: 1px solid #00a09b; }
.ta-mod-btn.ta-aktif { background: #00a09b; color: #fff; }
.ta-il-sec { padding: 6px 10px; border: 1px solid #c9d6d5; border-radius: 6px; font-size: 13px; background: #fff; min-width: 190px; }

.ta-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ta-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #d5dfde; border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; color: #1f2d2d; line-height: 1.2; }
.ta-chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ta-chip small { color: #6b7b7a; font-size: 11px; }
.ta-chip:hover { border-color: #00a09b; }
.ta-chip.ta-aktif { background: #00a09b; border-color: #00a09b; color: #fff; }
.ta-chip.ta-aktif small { color: #e6f6f5; }
.ta-chip.ta-aktif i { box-shadow: 0 0 0 2px #fff; }
.ta-bos-not { font-size: 13px; color: #6b7b7a; }

.ta-harita-kutu { background: #f4f9f9; border: 1px solid #d5e8e7; border-radius: 10px; padding: 8px; }
.ta-harita-svg { width: 100%; height: auto; display: block; }
.ta-il { stroke: #fff; stroke-width: 0.8; cursor: pointer; transition: fill-opacity .15s, opacity .15s; outline: none; }
.ta-il:hover, .ta-il:focus { stroke: #1f2d2d; stroke-width: 1.4; }
.ta-il.ta-soluk { opacity: 0.25; }
.ta-il.ta-secili { stroke: #1f2d2d; stroke-width: 2; }
.ta-il.ta-vurgu { stroke: #fff; stroke-width: 1; }
.ta-harita-not { font-size: 12px; color: #6b7b7a; margin: 6px 4px 0; }

.ta-tip { position: absolute; display: none; pointer-events: none; background: #1f2d2d; color: #fff; font-size: 12px; padding: 6px 9px; border-radius: 5px; z-index: 20; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

.ta-sonuc { margin-top: 16px; scroll-margin-top: 80px; }
.ta-ipucu { padding: 18px; text-align: center; background: #fff; border: 1px dashed #b9d9d7; border-radius: 8px; color: #4b5d5c; font-size: 14px; }
.ta-sonuc-ust { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; background: #00a09b; color: #fff; padding: 12px 16px; border-radius: 8px 8px 0 0; }
.ta-sonuc-ust h3 { margin: 0; font-size: 17px; color: #fff; }
.ta-sayi { font-size: 12px; font-weight: normal; background: rgba(255,255,255,.2); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.ta-butonlar { display: flex; gap: 6px; }
.ta-download-btn, .ta-temizle { background: #007a77; color: #fff !important; padding: 6px 12px; border-radius: 4px; text-decoration: none; font-size: 12px; font-weight: bold; border: 0; cursor: pointer; }
.ta-download-btn:hover { background: #004d4a; }
.ta-temizle { background: rgba(255,255,255,.18); }
.ta-temizle:hover { background: rgba(255,255,255,.3); }

.ta-scroll { overflow-x: auto; border: 1px solid #00a09b; border-top: 0; border-radius: 0 0 8px 8px; background: #fff; }
.ta-table { width: 100%; border-collapse: collapse; min-width: 1000px; font-size: 13px; margin: 0; }
.ta-table th { background: #e6f6f5; color: #007a77; padding: 10px; border-bottom: 2px solid #00a09b; text-align: left; white-space: nowrap; }
.ta-table td { padding: 9px 10px; border-bottom: 1px solid #f0f0f0; }
.ta-table tbody tr:hover { background: #f7fcfc; }
.ta-freq { font-weight: bold; color: #00a09b; }
.ta-tone { color: #d63031; font-weight: bold; }
.ta-durum { font-weight: bold; }
.ta-d-aktif { color: #1e9e57; }
.ta-d-pasif { color: #d63031; }
.ta-d-diger { color: #c27c0e; }

@media (max-width: 640px) {
    .ta-ust { flex-direction: column; align-items: stretch; }
    .ta-il-sec { width: 100%; }
    .ta-modlar { display: flex; }
    .ta-mod-btn { flex: 1; }
    .ta-table { min-width: 0; }
    .ta-table thead { display: none; }
    .ta-table, .ta-table tbody, .ta-table tr, .ta-table td { display: block; width: 100%; }
    .ta-table tr { border-bottom: 2px solid #e6f6f5; padding: 6px 0; }
    .ta-table td { border: 0; padding: 4px 12px; display: flex; gap: 10px; }
    .ta-table td::before { content: attr(data-l); min-width: 90px; color: #6b7b7a; font-weight: 600; }
    .ta-table td:empty { display: none; }
}

/* ---- Tema çakışmalarına karşı koruma (temanın buton/select stillerini ezer) ---- */
.ta-harita-wrap button.ta-mod-btn,
.ta-harita-wrap button.ta-chip,
.ta-harita-wrap button.ta-download-btn,
.ta-harita-wrap button.ta-temizle {
    font-family: 'Segoe UI', Arial, sans-serif !important;
    text-transform: none !important; letter-spacing: normal !important;
    text-align: center !important; text-shadow: none !important;
    box-shadow: none !important; min-height: 0 !important; height: auto !important;
    width: auto; margin: 0 !important; line-height: 1.2 !important;
    justify-content: center;
}
.ta-harita-wrap button.ta-mod-btn { background: #fff !important; color: #007a77 !important; border: 0 !important; border-radius: 0 !important; padding: 8px 14px !important; font-size: 13px !important; font-weight: 600 !important; }
.ta-harita-wrap button.ta-mod-btn + button.ta-mod-btn { border-left: 1px solid #00a09b !important; }
.ta-harita-wrap button.ta-mod-btn:hover { background: #e6f6f5 !important; color: #007a77 !important; }
.ta-harita-wrap button.ta-mod-btn.ta-aktif,
.ta-harita-wrap button.ta-mod-btn.ta-aktif:hover { background: #00a09b !important; color: #fff !important; }

.ta-harita-wrap button.ta-chip { display: inline-flex !important; align-items: center; gap: 6px; background: #fff !important; color: #1f2d2d !important; border: 1px solid #d5dfde !important; border-radius: 999px !important; padding: 5px 12px !important; font-size: 13px !important; font-weight: 500 !important; }
.ta-harita-wrap button.ta-chip:hover,
.ta-harita-wrap button.ta-chip:focus { background: #f2fafa !important; color: #1f2d2d !important; border-color: #00a09b !important; }
.ta-harita-wrap button.ta-chip small { color: #6b7b7a !important; font-size: 11px !important; }
.ta-harita-wrap button.ta-chip.ta-aktif,
.ta-harita-wrap button.ta-chip.ta-aktif:hover { background: #00a09b !important; border-color: #00a09b !important; color: #fff !important; }
.ta-harita-wrap button.ta-chip.ta-aktif small { color: #e6f6f5 !important; }

.ta-harita-wrap button.ta-download-btn { background: #007a77 !important; color: #fff !important; border: 0 !important; border-radius: 4px !important; padding: 6px 12px !important; font-size: 12px !important; font-weight: bold !important; }
.ta-harita-wrap button.ta-temizle { background: rgba(255,255,255,.18) !important; color: #fff !important; border: 0 !important; border-radius: 4px !important; padding: 6px 12px !important; font-size: 12px !important; font-weight: bold !important; }

.ta-harita-wrap select.ta-il-sec { height: auto !important; min-height: 0 !important; padding: 7px 10px !important; font-size: 13px !important; line-height: 1.3 !important; color: #1f2d2d !important; background-color: #fff !important; border: 1px solid #c9d6d5 !important; border-radius: 6px !important; margin: 0 !important; width: auto; max-width: 100%; }
@media (max-width: 640px) {
    .ta-harita-wrap select.ta-il-sec { width: 100% !important; }
    .ta-harita-wrap button.ta-mod-btn { flex: 1 !important; }
}
