@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #003366;
    --primary-light: #004080;
    --ice-blue: #cce0f5;
    --tech-gray: #2a3440;
    --deep-space: #121822;
    --danger: #d12026;
    --success: #00a878;
    --warning: #f59e0b;
    --text-primary: #e8edf4;
    --text-secondary: #8a9bb3;
    --glass-bg: rgba(42, 52, 64, 0.6);
    --glass-border: rgba(204, 224, 245, 0.1);
}

[data-theme="light"] {
    --primary: #ffffff;
    --primary-light: #f8f9fa;
    --ice-blue: #1a3a5c;
    --tech-gray: #f5f7fa;
    --deep-space: #ffffff;
    --danger: #dc3545;
    --success: #28a745;
    --warning: #ffc107;
    --text-primary: #1a2a3a;
    --text-secondary: #5a6a7a;
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --header-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .logo-text {
    color: #1a2a3a;
}

[data-theme="light"] .logo-sub {
    color: #5a6a7a;
}

[data-theme="light"] .header-stat-value {
    color: #1a2a3a;
}

[data-theme="light"] .header-stat-label {
    color: #5a6a7a;
}

[data-theme="light"] .status-indicator.online {
    background: #28a745;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle svg {
    color: #1a2a3a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--deep-space);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body.alert-active {
    --primary: #8b1a1a;
    --primary-light: #a82020;
    --danger-overlay: rgba(209, 32, 38, 0.15);
}

body.alert-active::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--danger-overlay);
    pointer-events: none;
    z-index: 9998;
    animation: alertPulse 1.5s ease-in-out infinite;
}

@keyframes alertPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-rows: 70px 1fr;
    min-height: 100vh;
    gap: 1px;
    background: var(--glass-border);
}

.header {
    grid-column: 1 / -1;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 45px;
    width: auto;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 11px;
    color: var(--ice-blue);
    font-weight: 400;
    letter-spacing: 2px;
}

.header-stats {
    display: flex;
    gap: 32px;
}

.header-stat {
    text-align: center;
}

.header-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--ice-blue);
}

.header-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.status-indicator.online { background: var(--success); }
.status-indicator.warning { background: var(--warning); }
.status-indicator.danger { background: var(--danger); }

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 24px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--ice-blue);
    transition: all 0.3s ease;
}

.sun-icon { display: block; }
.moon-icon { display: none; }

[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.sidebar {
    background: var(--tech-gray);
    padding: 20px 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    padding: 0 20px;
    margin-bottom: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-item:hover, .nav-item.active {
    background: rgba(0, 51, 102, 0.3);
    color: var(--ice-blue);
    border-left-color: var(--ice-blue);
}

.nav-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.main-content {
    background: var(--deep-space);
    padding: 24px;
    overflow-y: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(42, 52, 64, 0.8);
    transform: translateY(-2px);
}

[data-theme="light"] .stat-card:hover {
    background: rgba(0, 51, 102, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .card:hover {
    background: rgba(0, 51, 102, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-item:hover,
[data-theme="light"] .nav-item.active {
    background: rgba(0, 51, 102, 0.1);
    color: #0056b3;
    border-left-color: #0056b3;
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.stat-card-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.stat-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 51, 102, 0.4);
}

.stat-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--ice-blue);
}

.stat-card-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 700;
    color: var(--ice-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card-change {
    font-size: 12px;
    font-weight: 500;
}

.stat-card-change.up { color: var(--success); }
.stat-card-change.down { color: var(--danger); }

.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.card-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0, 168, 120, 0.2);
    color: var(--success);
}

.card-badge.danger {
    background: rgba(209, 32, 38, 0.2);
    color: var(--danger);
    animation: badgePulse 1s infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.chart-container {
    height: 200px;
    position: relative;
}

.chart-canvas {
    width: 100%;
    height: 100%;
}

.server-list {
    max-height: 400px;
    overflow-y: auto;
}

.server-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
}

.server-item:last-child {
    border-bottom: none;
}

.server-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.server-status.online { background: var(--success); }
.server-status.warning { background: var(--warning); }
.server-status.offline { background: var(--danger); }

.server-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.server-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.server-metrics {
    display: flex;
    gap: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.server-metric {
    text-align: center;
}

.server-metric-label {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.server-metric-value {
    font-weight: 600;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-bottom: 1px solid var(--glass-border);
}

.data-table td {
    padding: 10px 12px;
    font-size: 13px;
    border-bottom: 1px solid rgba(42, 52, 64, 0.5);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table .mono {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.data-table .danger-text {
    color: var(--danger);
}

.data-table .success-text {
    color: var(--success);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(42, 52, 64, 0.8);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 6px;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-fill.low { background: var(--success); }
.progress-fill.medium { background: var(--warning); }
.progress-fill.high { background: var(--danger); }

.gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.gauge {
    position: relative;
    width: 100px;
    height: 100px;
}

.gauge svg {
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: rgba(42, 52, 64, 0.8);
    stroke-width: 8;
}

.gauge-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.gauge-fill.low { stroke: var(--success); }
.gauge-fill.medium { stroke: var(--warning); }
.gauge-fill.high { stroke: var(--danger); }

.gauge-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 700;
}

.gauge-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mini-gauges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 4px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: var(--tech-gray);
    border-radius: 2px;
}

.firewall-status {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.firewall-stat {
    flex: 1;
    text-align: center;
    padding: 16px;
    background: rgba(0, 51, 102, 0.2);
    border-radius: 8px;
}

.firewall-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 700;
}

.firewall-stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.connection-list {
    max-height: 300px;
    overflow-y: auto;
}

.connection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 12px;
}

.connection-item:last-child {
    border-bottom: none;
}

.connection-ip {
    font-family: 'JetBrains Mono', monospace;
    color: var(--ice-blue);
}

.connection-port {
    color: var(--text-secondary);
}

.connection-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.connection-status.allowed {
    background: rgba(0, 168, 120, 0.2);
    color: var(--success);
}

.connection-status.blocked {
    background: rgba(209, 32, 38, 0.2);
    color: var(--danger);
}

.attack-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 24, 34, 0.9);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.attack-modal-overlay.active {
    display: flex;
}

.attack-modal {
    width: 800px;
    max-width: 95vw;
    background: var(--tech-gray);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.attack-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--danger), #8b1a1a);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.attack-status {
    display: flex;
    align-items: center;
    gap: 16px;
}

.attack-status-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: statusPulse 1s infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.attack-status-text h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.attack-status-text p {
    font-size: 12px;
    opacity: 0.9;
    font-family: 'JetBrains Mono', monospace;
}

.attack-info {
    display: flex;
    gap: 24px;
}

.attack-info-item {
    text-align: center;
}

.attack-info-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.attack-info-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
}

.attack-map-container {
    width: calc(100% - 40px);
    height: 280px;
    margin: 20px;
    position: relative;
    background: linear-gradient(180deg, var(--deep-space) 0%, rgba(18, 24, 34, 0.8) 100%);
    overflow: hidden;
    border-radius: 8px;
}

.attack-map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.attack-map svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.attack-map svg path {
    fill: rgba(0, 51, 102, 0.6);
    stroke: var(--ice-blue);
    stroke-width: 0.5;
    opacity: 0.8;
}

.attack-source {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--danger);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--danger), 0 0 40px var(--danger);
    z-index: 10;
    transition: all 0.3s;
    animation: sourcePulse 1s infinite;
}

.attack-source::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid var(--danger);
    border-radius: 50%;
    animation: sourceRing 1.5s infinite;
}

.attack-source.attacking {
    animation: sourceAttacking 0.3s infinite;
}

.attack-source.attacking::before {
    animation: sourceRing 0.5s infinite;
    border-color: var(--danger);
    box-shadow: 0 0 15px var(--danger);
}

.attack-source.destroyed {
    animation: sourceDestroyed 0.8s ease-out forwards;
}

.attack-source.destroyed::before {
    animation: none;
    opacity: 0;
}

@keyframes sourcePulse {
    0%, 100% { box-shadow: 0 0 20px var(--danger), 0 0 40px var(--danger); }
    50% { box-shadow: 0 0 30px var(--danger), 0 0 60px var(--danger), 0 0 80px var(--danger); }
}

@keyframes sourceAttacking {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px var(--danger), 0 0 60px var(--danger);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 0 0 40px var(--danger), 0 0 80px var(--danger), 0 0 100px var(--danger);
    }
}

@keyframes sourceDestroyed {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        box-shadow: 0 0 30px var(--danger), 0 0 60px var(--danger);
    }
    30% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 1;
        box-shadow: 0 0 50px var(--danger), 0 0 100px var(--warning);
        background: var(--warning);
    }
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        box-shadow: 0 0 20px var(--success);
        background: var(--success);
    }
}

@keyframes sourceRing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.attack-target {
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border: 3px solid var(--ice-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary);
    transition: all 0.5s;
}

.attack-target.safe {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 30px var(--success), 0 0 60px var(--success);
}
}

.attack-target svg {
    width: 14px;
    height: 14px;
    color: var(--ice-blue);
}

.attack-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, var(--danger), rgba(209, 32, 38, 0.5), transparent);
    transform-origin: left center;
    z-index: 5;
    opacity: 0;
}

.attack-line.attacking {
    opacity: 1;
    animation: lineAttack 0.3s linear infinite;
}

@keyframes lineAttack {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}

.attack-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--danger);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--danger);
    z-index: 15;
    opacity: 0;
}

.attack-particle.active {
    animation: particleTravel 0.6s ease-in-out forwards;
}

@keyframes particleTravel {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

.attack-shield {
    position: absolute;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 0;
}

.attack-shield.active {
    opacity: 1;
    animation: shieldBlock 1s ease-out forwards;
}

@keyframes shieldBlock {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; box-shadow: 0 0 0 var(--success); }
    20% { transform: translate(-50%, -50%) scale(1); opacity: 1; box-shadow: 0 0 30px var(--success), 0 0 60px var(--success); }
    80% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; box-shadow: 0 0 50px var(--success), 0 0 100px var(--success); }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; box-shadow: 0 0 80px var(--success); }
}

.attack-shield svg {
    width: 100%;
    height: 100%;
}

.attack-blocked-text {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--danger);
    text-shadow: 0 0 15px var(--danger), 0 0 30px var(--danger);
    opacity: 0;
    z-index: 25;
    transform: translateX(-50%);
}

.attack-blocked-text.active {
    animation: bannedFade 1.5s ease-out forwards;
}

@keyframes bannedFade {
    0% { opacity: 0; transform: translateX(-50%) translateY(0) scale(0.5); }
    20% { opacity: 1; transform: translateX(-50%) translateY(-10px) scale(1.2); }
    40% { opacity: 1; transform: translateX(-50%) translateY(-10px) scale(1); }
    80% { opacity: 1; transform: translateX(-50%) translateY(-20px) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-30px) scale(0.8); }
}

.success-indicator {
    position: absolute;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    z-index: 30;
    opacity: 0;
}

.success-indicator.active {
    opacity: 1;
    animation: successPop 1.2s ease-out forwards;
}

@keyframes successPop {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    30% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.success-indicator svg {
    width: 100%;
    height: 100%;
}

.attack-footer {
    padding: 16px 24px;
    background: rgba(18, 24, 34, 0.8);
    display: flex;
    justify-content: center;
    gap: 16px;
}

.attack-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(42, 52, 64, 0.8);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    opacity: 0.5;
    transition: all 0.3s;
}

.attack-step.active {
    opacity: 1;
    border-color: var(--ice-blue);
    background: rgba(0, 51, 102, 0.4);
}

.attack-step.completed {
    opacity: 1;
    border-color: var(--success);
    background: rgba(0, 168, 120, 0.2);
}

.attack-step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.attack-step.active .attack-step-icon {
    background: var(--danger);
    animation: stepPulse 1s infinite;
}

.attack-step.completed .attack-step-icon {
    background: var(--success);
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.attack-step-text {
    font-size: 12px;
    font-weight: 600;
}

.attack-step-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    opacity: 0.7;
    margin-top: 2px;
}

.attack-step svg {
    width: 14px;
    height: 14px;
}
