* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f1117;
    color: #e1e4e8;
    line-height: 1.5;
}

.navbar {
    background: #161b22;
    padding: 12px 24px;
    border-bottom: 1px solid #30363d;
}

.nav-brand {
    color: #58a6ff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 24px;
}

h2 {
    margin: 24px 0 16px;
    color: #c9d1d9;
}

h3 {
    margin: 20px 0 12px;
    color: #c9d1d9;
}

/* Stats */
.stats {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.stat-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 20px 28px;
    min-width: 180px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #58a6ff;
}

.stat-label {
    font-size: 14px;
    color: #8b949e;
    margin-top: 4px;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #21262d;
}

.table th {
    background: #1c2128;
    color: #8b949e;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    font-size: 14px;
}

.table a {
    color: #58a6ff;
    text-decoration: none;
}

.table a:hover {
    text-decoration: underline;
}

/* Row severity */
.row-warning {
    border-left: 3px solid #d29922;
}

.row-critical {
    border-left: 3px solid #f85149;
    background: rgba(248, 81, 73, 0.05);
}

/* IP tags */
.ip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ip-tag {
    background: #1c2128;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 12px;
    font-family: monospace;
    color: #c9d1d9;
}

/* User info */
.user-info {
    margin-bottom: 16px;
}

.info-table {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 8px 16px;
    border-bottom: 1px solid #21262d;
}

.info-table th {
    background: #1c2128;
    color: #8b949e;
    font-weight: 600;
    text-align: left;
    width: 160px;
}

.text-danger {
    color: #f85149;
    font-weight: 600;
}

.empty-state {
    color: #8b949e;
    padding: 24px;
    text-align: center;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
}
