:root {
    --primary: #00a79d;
    --primary-dark: #007a73;
    --primary-light: #e6f6f5;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --success: #2ecc71;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --bg: #f4f7f6;
}

body { 
    font-family: 'Inter', -apple-system, system-ui, sans-serif; 
    background: var(--bg); 
    margin: 0; 
    padding: 20px; 
    color: var(--dark);
    min-height: 100vh;
}

/* Background Video Styles */
.video-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background-size: cover;
    overflow: hidden;
}

/* Hide video on mobile */
@media (max-width: 768px) {
    .video-bg {
        display: none;
    }
}

.container { max-width: 1200px; margin: auto; background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.header-flex { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--primary-light); padding-bottom: 20px; margin-bottom: 30px; }
.logo-box { display: flex; align-items: center; gap: 15px; }
.logo-box img { height: 75px; }
h1 { margin: 0; color: var(--primary-dark); font-size: 24px; font-weight: 800; }

.stats-grid { display: flex; gap: 20px; margin-bottom: 30px; }
.stat-card { flex: 1; padding: 20px; background: #fff; border: 1px solid #e1e8e7; border-radius: 12px; text-align: center; border-bottom: 4px solid var(--primary); }
.stat-card.danger { border-bottom-color: var(--danger); }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); font-weight: 700; }
.stat-val { font-size: 28px; font-weight: 800; display: block; margin-top: 8px; color: var(--dark); }

.tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.tab-btn { padding: 10px 20px; cursor: pointer; border-radius: 8px; font-weight: 700; color: var(--gray); border: none; background: transparent; }
.tab-btn.active { background: var(--primary-light); color: var(--primary-dark); }

.btn { padding: 8px 16px; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: 13px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 5px; }
.btn-primary { background: var(--primary); }
.btn-danger { background: var(--danger); }
.btn-ghost { background: transparent; border: 1px solid var(--gray); color: var(--gray); }

table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 10px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
th, td { text-align: left; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
th { background: #fafafa; color: var(--gray); text-transform: uppercase; font-weight: 800; font-size: 11px; }
tr:hover td { background: #fcfcfc; }

.payload-cell { font-family: monospace; color: #e67e22; background: #fff9f0; padding: 2px 5px; border-radius: 3px; font-size: 12px; word-break: break-all; }
.badge { padding: 3px 8px; border-radius: 12px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.badge-ip { background: #eee; color: #666; }
.badge-cidr { background: var(--primary-light); color: var(--primary-dark); }
.badge-low { background: #dff9fb; color: #130f40; }
.badge-medium { background: #f9ca24; color: #fff; }
.badge-high { background: #eb4d4b; color: #fff; }
.badge-critical { background: #000; color: #fff; }

.btn:hover { filter: brightness(1.1); }
.tab-btn { text-decoration: none; display: inline-block; font-size: 14px; }
.tab-btn:hover { background: #f0f0f0; color: var(--dark); }
.tab-btn.active { background: var(--primary); color: #fff; }

@media (max-width: 768px) {
    .stats-grid { flex-direction: column; }
    .header-flex { flex-direction: column; align-items: flex-start; gap: 15px; }
}
