/**
 * Threat & Bot Detection Dashboard - Dark Theme
 * Professional security monitoring interface with real-time data visualization
 * NO inline styles - CSP compliant
 */

/* ========== ROOT VARIABLES - THREAT DETECTION THEME ========== */
:root {
    --threat-bg-primary: #0a0e1a;
    --threat-bg-secondary: #12172a;
    --threat-bg-tertiary: #1a2033;
    --threat-bg-card: #1e2640;
    --threat-bg-hover: #252d4a;

    --threat-text-primary: #e8ecf4;
    --threat-text-secondary: #a0a8bd;
    --threat-text-muted: #6b7280;

    --threat-border: #2a3350;
    --threat-border-hover: #3d4a6e;

    /* Threat Level Colors */
    --threat-critical: #dc2626;
    --threat-high: #ea580c;
    --threat-medium: #f59e0b;
    --threat-low: #10b981;
    --threat-info: #3b82f6;
    --threat-honeypot: #8b5cf6;

    /* Status Colors */
    --status-active: #10b981;
    --status-blocked: #dc2626;
    --status-monitoring: #f59e0b;

    /* Glow Effects */
    --glow-critical: 0 0 20px rgba(220, 38, 38, 0.5);
    --glow-high: 0 0 15px rgba(234, 88, 12, 0.4);
    --glow-success: 0 0 15px rgba(16, 185, 129, 0.4);
    --glow-info: 0 0 15px rgba(59, 130, 246, 0.4);

    /* Animation Speeds */
    --anim-fast: 0.2s;
    --anim-medium: 0.4s;
    --anim-slow: 0.6s;
}

/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--threat-bg-primary);
    color: var(--threat-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.dashboard-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}

/* ========== HEADER ========== */
.dashboard-header {
    background: linear-gradient(135deg, var(--threat-bg-secondary) 0%, var(--threat-bg-tertiary) 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--threat-border);
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--threat-critical) 0%,
        var(--threat-high) 25%,
        var(--threat-medium) 50%,
        var(--threat-low) 75%,
        var(--threat-info) 100%
    );
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    font-size: 2.5rem;
    filter: drop-shadow(var(--glow-critical));
}

.header-title h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--threat-critical), var(--threat-high));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.header-subtitle {
    font-size: 0.95rem;
    color: var(--threat-text-secondary);
    margin-top: 5px;
}

.header-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.header-stat {
    text-align: center;
}

.header-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--threat-text-primary);
    display: block;
}

.header-stat-label {
    font-size: 0.85rem;
    color: var(--threat-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.threat-critical-value {
    color: var(--threat-critical);
    text-shadow: var(--glow-critical);
}

.threat-high-value {
    color: var(--threat-high);
    text-shadow: var(--glow-high);
}

.threat-success-value {
    color: var(--status-active);
    text-shadow: var(--glow-success);
}

/* ========== STATUS INDICATORS ========== */
.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid;
}

.status-operational {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: var(--status-active);
    color: var(--status-active);
}

.status-degraded {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: var(--status-monitoring);
    color: var(--status-monitoring);
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* ========== GRID LAYOUT ========== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .dashboard-row {
        grid-template-columns: 1fr;
    }
}

/* ========== CARDS ========== */
.threat-card {
    background: linear-gradient(135deg, var(--threat-bg-card) 0%, var(--threat-bg-secondary) 100%);
    border: 1px solid var(--threat-border);
    border-radius: 12px;
    padding: 25px;
    transition: all var(--anim-medium) ease;
    position: relative;
    overflow: hidden;
}

.threat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--threat-info) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity var(--anim-medium) ease;
}

.threat-card:hover {
    border-color: var(--threat-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.threat-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--threat-border);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--threat-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon {
    font-size: 1.4rem;
}

.card-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-critical {
    background-color: rgba(220, 38, 38, 0.2);
    color: var(--threat-critical);
    border: 1px solid var(--threat-critical);
}

.badge-high {
    background-color: rgba(234, 88, 12, 0.2);
    color: var(--threat-high);
    border: 1px solid var(--threat-high);
}

.badge-medium {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--threat-medium);
    border: 1px solid var(--threat-medium);
}

.badge-low {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--threat-low);
    border: 1px solid var(--threat-low);
}

/* ========== STATS GRID ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-box {
    background-color: var(--threat-bg-tertiary);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--threat-border);
    transition: all var(--anim-fast) ease;
}

.stat-box:hover {
    background-color: var(--threat-bg-hover);
    border-color: var(--threat-border-hover);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--threat-text-primary);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--threat-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
    display: block;
    position: relative;
    cursor: help;
}

/* Show full text on hover */
.stat-label:hover {
    overflow: visible;
    white-space: normal;
    z-index: 100;
    background: var(--card-bg, #1a1a2e);
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: none;
}

.stat-trend {
    font-size: 0.75rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend-up {
    color: var(--threat-critical);
}

.trend-down {
    color: var(--threat-low);
}

/* ========== THREAT LIST ========== */
.threat-list {
    max-height: 500px;
    overflow-y: auto;
    margin-top: 15px;
}

.threat-item {
    background-color: var(--threat-bg-tertiary);
    border: 1px solid var(--threat-border);
    border-left: 4px solid var(--threat-info);
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    transition: all var(--anim-fast) ease;
}

.threat-item:hover {
    background-color: var(--threat-bg-hover);
    border-left-width: 6px;
    transform: translateX(4px);
}

.threat-item-critical {
    border-left-color: var(--threat-critical);
    background-color: rgba(220, 38, 38, 0.05);
}

.threat-item-high {
    border-left-color: var(--threat-high);
    background-color: rgba(234, 88, 12, 0.05);
}

.threat-item-medium {
    border-left-color: var(--threat-medium);
    background-color: rgba(245, 158, 11, 0.05);
}

.threat-item-low {
    border-left-color: var(--threat-low);
    background-color: rgba(16, 185, 129, 0.05);
}

.threat-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.threat-ip {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--threat-text-primary);
}

.threat-score {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.score-critical {
    background-color: rgba(220, 38, 38, 0.2);
    color: var(--threat-critical);
}

.score-high {
    background-color: rgba(234, 88, 12, 0.2);
    color: var(--threat-high);
}

.score-medium {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--threat-medium);
}

.threat-item-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 15px;
    font-size: 0.85rem;
    color: var(--threat-text-secondary);
}

.detail-label {
    font-weight: 600;
    color: var(--threat-text-muted);
}

.detail-value {
    color: var(--threat-text-secondary);
}

.threat-reason {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--threat-border);
    font-size: 0.9rem;
    color: var(--threat-text-secondary);
    font-style: italic;
}

/* ========== TIMELINE ========== */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-chart {
    width: 100%;
    height: 300px;
    position: relative;
}

.timeline-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 250px;
    padding: 0 5px;
}

.timeline-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--threat-critical), var(--threat-high));
    border-radius: 4px 4px 0 0;
    margin: 0 2px;
    position: relative;
    transition: all var(--anim-fast) ease;
    cursor: pointer;
}

.timeline-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
}

.timeline-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--threat-bg-card);
    border: 1px solid var(--threat-border);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--anim-fast) ease;
    z-index: 10;
}

.timeline-bar:hover .timeline-tooltip {
    opacity: 1;
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--threat-text-muted);
}

/* ========== MAP VISUALIZATION ========== */
.map-container {
    width: 100%;
    height: 400px;
    background-color: var(--threat-bg-tertiary);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(10, 14, 26, 0.9);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--threat-border);
    z-index: 5;
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* ========== TABLE ========== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table thead {
    background-color: var(--threat-bg-tertiary);
    border-bottom: 2px solid var(--threat-border);
}

.data-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--threat-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--threat-border);
    font-size: 0.9rem;
    color: var(--threat-text-primary);
}

.data-table tbody tr {
    transition: background-color var(--anim-fast) ease;
}

.data-table tbody tr:hover {
    background-color: var(--threat-bg-hover);
}

.table-ip {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.table-country {
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* ========== LOADING & EMPTY STATES ========== */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--threat-border);
    border-top-color: var(--threat-critical);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--threat-text-muted);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.empty-subtext {
    font-size: 0.9rem;
    color: var(--threat-text-muted);
}

/* ========== FILTERS & CONTROLS ========== */
.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-select {
    padding: 10px 15px;
    background-color: var(--threat-bg-card);
    border: 1px solid var(--threat-border);
    border-radius: 6px;
    color: var(--threat-text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--anim-fast) ease;
}

.filter-select:hover {
    border-color: var(--threat-border-hover);
    background-color: var(--threat-bg-hover);
}

.filter-select:focus {
    outline: none;
    border-color: var(--threat-info);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.refresh-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--threat-info), #2563eb);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--anim-fast) ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.refresh-button:active {
    transform: translateY(0);
}

.refresh-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== SCROLLBAR STYLING ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: var(--threat-bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--threat-border-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--threat-info);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 10px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-stats {
        width: 100%;
        justify-content: space-around;
    }

    .controls-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-select,
    .refresh-button {
        width: 100%;
    }

    .timeline-bars {
        height: 200px;
    }

    .map-container {
        height: 300px;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-critical { color: var(--threat-critical); }
.text-high { color: var(--threat-high); }
.text-medium { color: var(--threat-medium); }
.text-low { color: var(--threat-low); }
.text-info { color: var(--threat-info); }
.text-muted { color: var(--threat-text-muted); }

.hidden { display: none !important; }
.visible { display: block !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

/* Timeline Chart Improvements */
.timeline-container {
    position: relative;
    height: 320px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(16, 16, 36, 0.9) 100%);
    border-radius: 12px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

#timeline-chart {
    width: 100% !important;
    height: 100% !important;
}

/* System Statistics Compact Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.stat-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: rgba(255,75,75,0.3);
}

/* Stat value animation */
.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff4b4b 0%, #ff8c8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.text-critical {
    background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.text-high {
    background: linear-gradient(135deg, #ff6600 0%, #ff8844 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.text-medium {
    background: linear-gradient(135deg, #ffaa00 0%, #ffcc66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Time Range Selector */
.time-range-selector {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 16px;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.time-range-selector:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 75, 75, 0.5);
}

.time-range-selector:focus {
    border-color: rgba(255, 75, 75, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 75, 75, 0.2);
}

.time-range-selector option {
    background: #1a1a2e;
    color: #e0e0e0;
}

/* Compact System Statistics */
.stats-grid.compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 15px 0;
}

.stats-grid.compact .stat-box {
    padding: 15px 12px;
}

.stats-grid.compact .stat-value {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.stats-grid.compact .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.2px;
}

@media (max-width: 1200px) {
    .stats-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid.compact {
        grid-template-columns: 1fr;
    }
}

/* ========== HONEYPOT ENDPOINT STYLES ========== */
.honeypot-empty-state {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.honeypot-endpoint-card {
    background-color: var(--threat-bg-tertiary);
    border: 1px solid var(--threat-border);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all var(--anim-fast) ease;
}

.honeypot-endpoint-card:hover {
    background-color: var(--threat-bg-hover);
    border-color: var(--threat-border-hover);
    transform: translateY(-2px);
}

.honeypot-endpoint-card[data-threat="critical"] {
    border-left: 4px solid var(--threat-critical);
    background-color: rgba(220, 38, 38, 0.05);
}

.honeypot-endpoint-card[data-threat="high"] {
    border-left: 4px solid var(--threat-high);
    background-color: rgba(234, 88, 12, 0.05);
}

.honeypot-endpoint-card[data-threat="medium"] {
    border-left: 4px solid var(--threat-medium);
    background-color: rgba(245, 158, 11, 0.05);
}

.honeypot-endpoint-card[data-threat="low"] {
    border-left: 4px solid var(--threat-low);
    background-color: rgba(16, 185, 129, 0.05);
}

.honeypot-endpoint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.honeypot-endpoint-path {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--threat-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.honeypot-trigger-count {
    background-color: var(--threat-bg-secondary);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--threat-critical);
    margin-left: 10px;
}

.honeypot-endpoint-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.honeypot-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.honeypot-detail-label {
    font-size: 0.75rem;
    color: var(--threat-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.honeypot-detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--threat-text-primary);
}

.honeypot-threat-indicator {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.threat-critical-honey {
    background-color: rgba(220, 38, 38, 0.2);
    color: var(--threat-critical);
    border: 1px solid var(--threat-critical);
}

.threat-high-honey {
    background-color: rgba(234, 88, 12, 0.2);
    color: var(--threat-high);
    border: 1px solid var(--threat-high);
}

.threat-medium-honey {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--threat-medium);
    border: 1px solid var(--threat-medium);
}

.threat-low-honey {
    background-color: rgba(16, 185, 129, 0.2);
    color: var(--threat-low);
    border: 1px solid var(--threat-low);
}

.honeypot-distribution-bar {
    width: 100%;
    height: 6px;
    background-color: var(--threat-bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.honeypot-distribution-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--threat-critical), var(--threat-high));
    border-radius: 3px;
    transition: width var(--anim-medium) ease;
}

.honeypot-pattern-indicator {
    font-size: 0.85rem;
    color: var(--threat-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

