/**
 * TNC Cybermap - Sadece Cyber AI Mode sayfası için
 * Mevcut yapıyı bozmadan, izole CSS
 */

#tnc-cybermap-canvas {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: #000;
    cursor: grab;
    pointer-events: auto; /* Mouse kontrolleri için aktif */
}

/* Cyber AI Mode için özel canvas ayarları */
body.cyber-ai-mode #tnc-cybermap-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
}

#tnc-cybermap-canvas:active {
    cursor: grabbing;
}

/* Dashboard'lar canvas'ın üzerinde, pointer-events aktif */
.tnc-cybermap-dashboard {
    pointer-events: auto;
}

/* Canvas, dashboard'ların olmadığı alanda aktif */
#tnc-cybermap-canvas {
    pointer-events: auto;
}

/* Loading indicator */
#tnc-cybermap-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10007; /* En üstte */
    background: rgba(0, 0, 0, 0.95);
    color: #bfd4ff;
    font-size: 18px;
    flex-direction: column;
    gap: 20px;
    pointer-events: none;
}

#tnc-cybermap-loading.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

#tnc-cybermap-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(191, 212, 255, 0.3);
    border-top-color: #bfd4ff;
    border-radius: 50%;
    animation: tnc-cybermap-spin 1s linear infinite;
}

@keyframes tnc-cybermap-spin {
    to { transform: rotate(360deg); }
}

/* Toolbar üzerinde olmalı */
.tnc-cybermap-toolbar {
    z-index: 10000 !important;
}

/* Dashboard Panelleri */
.tnc-cybermap-dashboard {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 320px;
    max-width: 90vw;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(191, 212, 255, 0.2);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    color: #bfd4ff;
    font-size: 13px;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.tnc-cybermap-dashboard--left {
    left: 0;
    border-right: 1px solid rgba(191, 212, 255, 0.2);
}

.tnc-cybermap-dashboard--right {
    right: 0;
    border-left: 1px solid rgba(191, 212, 255, 0.2);
}

/* Dashboard'ların görünürlüğünü garanti et */
body.cyber-ai-mode .tnc-cybermap-dashboard {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Dashboard başlık */
.tnc-cybermap-dashboard__header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(191, 212, 255, 0.2);
}

.tnc-cybermap-dashboard__title {
    font-size: 18px;
    font-weight: 600;
    color: #00ff41;
    margin: 0 0 5px 0;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.tnc-cybermap-dashboard__subtitle {
    font-size: 11px;
    color: rgba(191, 212, 255, 0.6);
    margin: 0;
}

/* Dashboard içerik bölümleri */
.tnc-cybermap-dashboard__section {
    margin-bottom: 28px;
}

.tnc-cybermap-dashboard__section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(191, 212, 255, 0.15);
}

.tnc-cybermap-dashboard__section-title {
    font-size: 15px;
    font-weight: 600;
    color: #bfd4ff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 8px rgba(191, 212, 255, 0.3);
}

.tnc-cybermap-refresh-btn {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 6px;
    padding: 6px 10px;
    color: #00ff41;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tnc-cybermap-refresh-btn:hover {
    background: rgba(0, 255, 65, 0.2);
    border-color: rgba(0, 255, 65, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    transform: rotate(180deg);
}

/* İstatistik Grid - Düzenli Layout */
.tnc-cybermap-stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tnc-cybermap-stat-card--large {
    grid-column: 1 / -1;
}

/* İstatistik kartları - Modern Yenilenmiş Tasarım */
.tnc-cybermap-stat-card {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.08) 0%, rgba(0, 200, 50, 0.05) 100%);
    border: 1px solid rgba(0, 255, 65, 0.25);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tnc-cybermap-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.15), transparent);
    transition: left 0.6s ease;
}

.tnc-cybermap-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.6) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tnc-cybermap-stat-card:hover::before {
    left: 100%;
}

.tnc-cybermap-stat-card:hover::after {
    opacity: 1;
}

.tnc-cybermap-stat-card:hover {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.15) 0%, rgba(0, 200, 50, 0.1) 100%);
    border-color: rgba(0, 255, 65, 0.5);
    box-shadow: 0 6px 20px rgba(0, 255, 65, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.tnc-cybermap-stat-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.tnc-cybermap-stat-card__label {
    font-size: 11px;
    color: rgba(191, 212, 255, 0.9);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tnc-cybermap-stat-card__icon {
    font-size: 14px;
    opacity: 0.8;
}

.tnc-cybermap-stat-card__trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(0, 255, 65, 0.15);
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.tnc-cybermap-stat-card__trend--up {
    color: #00ff41;
}

.tnc-cybermap-stat-card__trend--down {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
}

.tnc-cybermap-stat-card__value-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.tnc-cybermap-stat-card__value {
    font-size: 28px;
    font-weight: 700;
    color: #00ff41;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.7), 0 0 30px rgba(0, 255, 65, 0.3);
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.tnc-cybermap-stat-card__unit {
    font-size: 14px;
    color: rgba(191, 212, 255, 0.6);
    font-weight: 500;
}

.tnc-cybermap-stat-card__progress {
    margin-top: 10px;
    height: 4px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.tnc-cybermap-stat-card__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.8) 0%, rgba(0, 255, 65, 1) 100%);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
    position: relative;
}

.tnc-cybermap-stat-card__progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tnc-cybermap-stat-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 10px;
    color: rgba(191, 212, 255, 0.5);
}

.tnc-cybermap-stat-card__change {
    font-weight: 600;
}

.tnc-cybermap-stat-card__change--positive {
    color: #00ff41;
}

.tnc-cybermap-stat-card__change--negative {
    color: #ff6b6b;
}

/* API Durum Kartı */
.tnc-cybermap-api-status {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.08) 0%, rgba(0, 200, 50, 0.05) 100%);
    border: 1px solid rgba(0, 255, 65, 0.25);
}

.tnc-cybermap-api-status--connected {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.12) 0%, rgba(0, 200, 50, 0.08) 100%);
    border-color: rgba(0, 255, 65, 0.4);
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tnc-cybermap-api-status--disconnected {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(255, 50, 50, 0.08) 100%);
    border-color: rgba(255, 107, 107, 0.4);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tnc-cybermap-api-status__icon {
    font-size: 16px;
    display: inline-block;
    margin-right: 6px;
}

.tnc-cybermap-api-status__text {
    font-weight: 600;
    color: rgba(191, 212, 255, 0.95);
}

.tnc-cybermap-api-status__detail {
    font-size: 10px;
    color: rgba(191, 212, 255, 0.7);
    font-family: monospace;
}

/* Veri İzleme Kartı */
.tnc-cybermap-data-status {
    margin-top: 12px;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.08) 0%, rgba(0, 100, 200, 0.05) 100%);
    border: 1px solid rgba(0, 150, 255, 0.25);
}

.tnc-cybermap-data-status__icon {
    font-size: 16px;
    display: inline-block;
    margin-right: 6px;
}

.tnc-cybermap-data-status__text {
    font-weight: 600;
    color: rgba(191, 212, 255, 0.95);
}

.tnc-cybermap-data-status__detail {
    font-size: 10px;
    color: rgba(191, 212, 255, 0.7);
    font-family: monospace;
}

.tnc-cybermap-data-status__backup {
    font-size: 10px;
    color: #00ff41;
    font-family: monospace;
    margin-left: 8px;
    padding: 2px 6px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

/* İstatistik sayfa değiştirici butonları */
.tnc-cybermap-stat-view-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(191, 212, 255, 0.1);
}

.tnc-cybermap-stat-view-btn {
    flex: 1;
    padding: 8px 12px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 6px;
    color: rgba(191, 212, 255, 0.7);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tnc-cybermap-stat-view-btn:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: rgba(0, 255, 65, 0.4);
    color: #bfd4ff;
}

.tnc-cybermap-stat-view-btn.active {
    background: rgba(0, 255, 65, 0.15);
    border-color: rgba(0, 255, 65, 0.5);
    color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* İstatistik sayfaları (Anlık/Günlük/Total) */
.tnc-cybermap-stat-pages {
    position: relative;
    min-height: 200px;
}

.tnc-cybermap-stat-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.tnc-cybermap-stat-page.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mini grafik - Modern Tasarım */
.tnc-cybermap-mini-chart {
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 20, 10, 0.3) 100%);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 90px;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 255, 65, 0.1);
}

.tnc-cybermap-mini-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.tnc-cybermap-mini-chart canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

/* Real-time akan grafik - Modern Tasarım */
.tnc-cybermap-realtime-chart {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 20, 10, 0.3) 100%);
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 255, 65, 0.1);
    overflow: hidden;
}

.tnc-cybermap-realtime-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.05) 0%, transparent 50%, rgba(0, 255, 65, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.tnc-cybermap-realtime-chart canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

/* Chart legend */
.tnc-cybermap-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 20, 10, 0.2) 100%);
    border-radius: 6px;
    font-size: 11px;
    border: 1px solid rgba(0, 255, 65, 0.15);
}

.tnc-cybermap-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(191, 212, 255, 0.8);
}

.tnc-cybermap-chart-legend-item__color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
    box-shadow: 0 0 4px currentColor;
}

.tnc-cybermap-chart-legend-item__label {
    font-family: monospace;
}

/* Chart Stats */
.tnc-cybermap-chart-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(191, 212, 255, 0.1);
}

.tnc-cybermap-chart-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 65, 0.15);
}

.tnc-cybermap-chart-stat-label {
    font-size: 9px;
    color: rgba(191, 212, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tnc-cybermap-chart-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

.tnc-cybermap-chart-stat-value--up {
    color: #00ff41;
}

.tnc-cybermap-chart-stat-value--down {
    color: #ff6b6b;
}

/* Pie Chart Container */
.tnc-cybermap-chart-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 12px;
}

.tnc-cybermap-pie-chart {
    width: 100%;
    height: 100%;
    display: block;
}

.tnc-cybermap-chart-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 10;
}

.tnc-cybermap-chart-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tnc-cybermap-chart-overlay-value {
    font-size: 24px;
    font-weight: 700;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 12px rgba(0, 255, 65, 0.6);
}

.tnc-cybermap-chart-overlay-label {
    font-size: 11px;
    color: rgba(191, 212, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chart Legend Inline */
.tnc-cybermap-chart-legend-inline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 20, 10, 0.2) 100%);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 65, 0.15);
}

.tnc-cybermap-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tnc-cybermap-legend-item:hover {
    background: rgba(0, 255, 65, 0.1);
    transform: translateX(4px);
}

.tnc-cybermap-legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: block;
    box-shadow: 0 0 6px rgba(0, 255, 65, 0.5);
}

.tnc-cybermap-legend-label {
    flex: 1;
    font-size: 12px;
    color: rgba(191, 212, 255, 0.9);
    font-weight: 500;
}

.tnc-cybermap-legend-value {
    font-size: 12px;
    font-weight: 700;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    min-width: 40px;
    text-align: right;
}

/* Bar Chart */
.tnc-cybermap-bar-chart {
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 20, 10, 0.3) 100%);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 255, 65, 0.1);
}

/* Line Chart */
.tnc-cybermap-line-chart {
    width: 100%;
    height: 160px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 20, 10, 0.3) 100%);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 255, 65, 0.1);
    position: relative;
}

.tnc-cybermap-line-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.05) 0%, transparent 50%, rgba(0, 255, 65, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 10px;
}

.tnc-cybermap-line-chart canvas {
    position: relative;
    z-index: 2;
}

/* Time Range Buttons */
.tnc-cybermap-chart-time-range {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding-top: 8px;
}

.tnc-cybermap-time-btn {
    padding: 6px 12px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 6px;
    color: rgba(191, 212, 255, 0.7);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.tnc-cybermap-time-btn:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: rgba(0, 255, 65, 0.4);
    color: #bfd4ff;
}

.tnc-cybermap-time-btn.active {
    background: rgba(0, 255, 65, 0.15);
    border-color: rgba(0, 255, 65, 0.5);
    color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* Donut Chart */
.tnc-cybermap-donut-chart {
    width: 100%;
    height: 100%;
    display: block;
}

/* Horizontal Bar Chart */
.tnc-cybermap-horizontal-bar-chart {
    width: 100%;
    height: 200px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 20, 10, 0.3) 100%);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 255, 65, 0.1);
    position: relative;
}

.tnc-cybermap-horizontal-bar-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.05) 0%, transparent 50%, rgba(0, 255, 65, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 10px;
}

.tnc-cybermap-horizontal-bar-chart canvas {
    position: relative;
    z-index: 2;
}

/* Chart Progress List */
.tnc-cybermap-chart-progress-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tnc-cybermap-chart-progress-item {
    padding: 10px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(0, 200, 50, 0.03) 100%);
    border: 1px solid rgba(0, 255, 65, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tnc-cybermap-chart-progress-item:hover {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1) 0%, rgba(0, 200, 50, 0.05) 100%);
    border-color: rgba(0, 255, 65, 0.3);
    transform: translateX(4px);
}

.tnc-cybermap-chart-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tnc-cybermap-chart-progress-label {
    font-size: 12px;
    color: rgba(191, 212, 255, 0.9);
    font-weight: 600;
}

.tnc-cybermap-chart-progress-value {
    font-size: 12px;
    font-weight: 700;
    color: #00ff41;
    font-family: 'Courier New', monospace;
}

.tnc-cybermap-chart-progress-bar {
    height: 6px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.tnc-cybermap-chart-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
    position: relative;
}

.tnc-cybermap-chart-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Saldırı listesi - Modern Tasarım */
.tnc-cybermap-attack-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
}

.tnc-cybermap-attack-list::-webkit-scrollbar {
    width: 6px;
}

.tnc-cybermap-attack-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.tnc-cybermap-attack-list::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 65, 0.3);
    border-radius: 3px;
}

.tnc-cybermap-attack-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 65, 0.5);
}

.tnc-cybermap-attack-item {
    background: linear-gradient(135deg, rgba(191, 212, 255, 0.08) 0%, rgba(0, 255, 65, 0.05) 100%);
    border: 1px solid rgba(191, 212, 255, 0.15);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: tnc-cybermap-slide-in 0.3s ease-out both;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.tnc-cybermap-attack-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tnc-cybermap-attack-item:hover::before {
    opacity: 1;
}

@keyframes tnc-cybermap-slide-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tnc-cybermap-attack-item:hover {
    background: linear-gradient(135deg, rgba(191, 212, 255, 0.12) 0%, rgba(0, 255, 65, 0.08) 100%);
    border-color: rgba(0, 255, 65, 0.4);
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.2);
    transform: translateX(4px);
}

.tnc-cybermap-attack-item__icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.tnc-cybermap-attack-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tnc-cybermap-attack-item__location {
    color: #00ff41;
    font-weight: 600;
    font-size: 12px;
}

.tnc-cybermap-attack-item__type {
    color: rgba(191, 212, 255, 0.8);
    font-size: 11px;
    text-transform: capitalize;
}

.tnc-cybermap-attack-item__time {
    color: rgba(191, 212, 255, 0.5);
    font-size: 10px;
    min-width: 60px;
    text-align: right;
    font-family: monospace;
}

/* List items */
.tnc-cybermap-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tnc-cybermap-list-item {
    background: linear-gradient(135deg, rgba(191, 212, 255, 0.08) 0%, rgba(0, 255, 65, 0.05) 100%);
    border: 1px solid rgba(191, 212, 255, 0.15);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.tnc-cybermap-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tnc-cybermap-list-item:hover::before {
    opacity: 1;
}

.tnc-cybermap-list-item:hover {
    background: linear-gradient(135deg, rgba(191, 212, 255, 0.12) 0%, rgba(0, 255, 65, 0.08) 100%);
    border-color: rgba(0, 255, 65, 0.4);
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.2);
    transform: translateX(4px);
}

/* Tehdit türleri */
.tnc-cybermap-threat-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.tnc-cybermap-threat-type__icon {
    font-size: 18px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 3px currentColor);
}

.tnc-cybermap-threat-type__name {
    flex: 1;
    color: #bfd4ff;
    font-size: 13px;
    text-transform: capitalize;
    font-weight: 500;
}

.tnc-cybermap-threat-type__count {
    color: #00ff41;
    font-weight: 700;
    font-size: 16px;
    min-width: 45px;
    text-align: right;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.4);
}

.tnc-cybermap-threat-type__percentage {
    color: rgba(191, 212, 255, 0.7);
    font-size: 12px;
    min-width: 50px;
    text-align: right;
    font-weight: 500;
}

/* Coğrafi dağılım */
.tnc-cybermap-region {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 4px 0;
}

.tnc-cybermap-region__name {
    color: #bfd4ff;
    font-size: 13px;
    min-width: 90px;
    flex-shrink: 0;
    font-weight: 500;
}

.tnc-cybermap-region__bar {
    flex: 1;
    height: 8px;
    background: rgba(191, 212, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tnc-cybermap-region__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff41, #39ff14, #00ffcc);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.4), inset 0 0 5px rgba(255, 255, 255, 0.2);
    position: relative;
}

.tnc-cybermap-region__bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tnc-cybermap-region__count {
    color: #00ff41;
    font-weight: 700;
    font-size: 13px;
    min-width: 40px;
    text-align: right;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.4);
}

.tnc-cybermap-region__percentage {
    color: rgba(191, 212, 255, 0.7);
    font-size: 12px;
    min-width: 50px;
    text-align: right;
    font-weight: 500;
}

/* Scrollbar özelleştirme */
.tnc-cybermap-dashboard::-webkit-scrollbar {
    width: 6px;
}

.tnc-cybermap-dashboard::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.tnc-cybermap-dashboard::-webkit-scrollbar-thumb {
    background: rgba(191, 212, 255, 0.3);
    border-radius: 3px;
}

.tnc-cybermap-dashboard::-webkit-scrollbar-thumb:hover {
    background: rgba(191, 212, 255, 0.5);
}

/* Geçmiş Veriler Bölümü */
#tnc-cybermap-history-chart {
    width: 100%;
    height: 180px;
    display: block;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 20, 10, 0.3) 100%);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(0, 255, 65, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 255, 65, 0.1);
}

.tnc-cybermap-dashboard__section-title {
    font-size: 13px;
    margin-top: 16px;
    color: rgba(191, 212, 255, 0.9);
    font-weight: 600;
}

/* Anlık Veri Akışı Göstergeleri */
.tnc-cybermap-live-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10010;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.15) 0%, rgba(0, 200, 50, 0.1) 100%);
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.tnc-cybermap-live-indicator--show {
    opacity: 1;
    transform: translateX(0);
}

.tnc-cybermap-live-indicator__pulse {
    width: 8px;
    height: 8px;
    background: #00ff41;
    border-radius: 50%;
    animation: tnc-pulse 2s infinite;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

@keyframes tnc-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.tnc-cybermap-live-indicator__content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tnc-cybermap-live-indicator__icon {
    font-size: 18px;
}

.tnc-cybermap-live-indicator__text {
    color: #bfd4ff;
    font-size: 12px;
    font-weight: 600;
    font-family: monospace;
}

/* Anlık Veri Sayacı */
.tnc-cybermap-live-counter {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 100, 200, 0.08) 100%);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tnc-cybermap-live-counter--updated {
    border-color: rgba(0, 255, 65, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    animation: tnc-counter-update 0.5s ease;
}

@keyframes tnc-counter-update {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.tnc-cybermap-live-counter__icon {
    font-size: 24px;
    filter: drop-shadow(0 0 4px rgba(0, 150, 255, 0.6));
}

.tnc-cybermap-live-counter__content {
    flex: 1;
}

.tnc-cybermap-live-counter__label {
    font-size: 10px;
    color: rgba(191, 212, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.tnc-cybermap-live-counter__value {
    font-size: 20px;
    font-weight: 700;
    color: #00ff41;
    font-family: monospace;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

.tnc-cybermap-live-counter__new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    color: #00ff41;
    font-family: monospace;
    animation: tnc-new-badge 0.6s ease;
}

@keyframes tnc-new-badge {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Son Saldırılar - Yeni Gelenler Highlight */
.tnc-cybermap-attack-item--new {
    border-left: 3px solid #00ff41 !important;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.1) 0%, rgba(0, 255, 65, 0) 100%) !important;
    animation: tnc-attack-new 0.5s ease;
}

@keyframes tnc-attack-new {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.tnc-cybermap-attack-item__badge {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid rgba(0, 255, 65, 0.4);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    color: #00ff41;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Güncelleme Pulse Animasyonu */
.tnc-cybermap-update-pulse {
    animation: tnc-update-pulse 1s ease;
}

@keyframes tnc-update-pulse {
    0%, 100% {
        color: rgba(191, 212, 255, 0.9);
    }
    50% {
        color: #00ff41;
        text-shadow: 0 0 8px rgba(0, 255, 65, 0.6);
    }
}

/* Canvas'ın dashboard'ların altında kalması için */
#tnc-cybermap-canvas {
    z-index: 1;
}

/* Dashboard'lar canvas'ın üstünde */
.tnc-cybermap-dashboard {
    z-index: 1000;
}

/* Responsive */
@media (max-width: 1200px) {
    .tnc-cybermap-dashboard {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .tnc-cybermap-dashboard {
        width: 100%;
        max-width: 100%;
        height: 40vh;
        bottom: 0;
        top: auto;
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(191, 212, 255, 0.2);
    }
    
    .tnc-cybermap-dashboard--left {
        left: 0;
    }
    
    .tnc-cybermap-dashboard--right {
        right: 0;
        top: auto;
    }
}

