* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f1f5f9;
    color: #1e293b;
}

header {
    background: #14243d;
    color: white;
    padding: 25px 6%;
}

header h1 {
    margin: 0;
    font-size: 26px;
}

header p {
    color: #b4c4df;
    margin-bottom: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
}

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

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 12px #00000008;
}

.card h3 {
    color: #64748b;
    font-size: 14px;
    margin-top: 0;
}

.number {
    color: #2563eb;
    font-size: 32px;
    font-weight: bold;
}

.connected {
    color: #16a34a;
    font-weight: bold;
}

.table-wrapper {
    overflow-x: auto;
}

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

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background: #f8fafc;
    color: #475569;
}

tr:hover {
    background: #f8fafc;
}

footer {
    text-align: center;
    padding: 25px;
    color: #64748b;
    font-size: 13px;
}