html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #121212;
    color: #f1f1f1;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

h1 {
    font-size: 24px;
    margin: 0;
    color: #4CAF50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status.connected {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.status.disconnected {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #1e1e1e;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.metric-card:hover {
    transform: translateY(-2px);
    border-color: #555;
}

.metric-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
}

.metric-card .value {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.chart-container {
    background: #1e1e1e;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #333;
    height: 350px;
    margin-bottom: 30px;
}

.chart-container h3 {
    margin: 0 0 20px 0;
    color: #aaa;
    font-size: 14px;
    text-transform: uppercase;
}

.table-container {
    background: #1e1e1e;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #333;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

td {
    font-variant-numeric: tabular-nums;
}

tbody tr:hover {
    background-color: #252525;
}
