:root {
    --bg: #0b0f13;
    --panel: #0f1720;
    --muted: #9aa5b1;
    --accent: #1e88e5;
    --accent-2: #4dd0e1;
    --card: #0b1220;
    --row-alt: #0d1520;
    --danger: #ff6b6b;
    --success: #7ed957;
    --glass: rgba(255, 255, 255, 0.03);
    --radius: 10px;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    background: linear-gradient(180deg, var(--bg) 0%, #071019 100%);
    color: #e6eef6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 28px auto;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: var(--radius);
    box-shadow: 0 6px 30px rgba(2, 8, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

h1 {
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #02121a;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(30, 136, 229, 0.12);
}

#controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

label {
    color: var(--muted);
    font-size: 14px;
}

input[type="number"] {
    width: 110px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--glass);
    color: var(--muted);
    outline: none;
    font-size: 15px;
}

button {
    padding: 9px 14px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #02121a;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(30, 136, 229, 0.12);
}
button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    box-shadow: none;
}

#stationName {
    margin: 8px 0 0 0;
    color: var(--muted);
    font-size: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
    border-radius: 8px;
    overflow: hidden;
}
thead th {
    text-align: center;
    font-size: 13px;
    padding: 12px 10px;
    color: #cfe9ff;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    letter-spacing: 0.6px;
}
tbody td {
    padding: 12px 10px;
    text-align: center;
    font-size: 14px;
    color: #e6eef6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
tbody tr:nth-child(even) {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
}

.small {
    font-size: 12px;
    color: var(--muted);
}

#lastUpdate {
    margin-top: 12px;
    text-align: right;
    color: var(--muted);
    font-size: 13px;
}

.hint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 720px) {
    .container {
        padding: 12px;
    }
    thead th,
    tbody td {
        font-size: 12px;
        padding: 8px 6px;
    }
    input[type="number"] {
        width: 85px;
    }
    h1 {
        font-size: 16px;
    }
}
