:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent: #00ff88;
    --text: #ffffff;
    --bg-color: #121212;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 50px;
}

.background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, #2c3e50, #000000);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

h1, h2 { margin-top: 0; color: var(--accent); }

/* Grid Layouts */
.tables-grid {
    display: grid;
    grid-template-columns: 1fr; /* Egymás alá kerültek a jobb olvashatóságért mobilon is */
    gap: 20px;
}
@media(min-width: 900px) { .tables-grid { grid-template-columns: 3fr 2fr; } }

.driver-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.driver-input-card {
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid transparent; /* Itt látszik majd a szín */
}

/* Inputok */
input[type="number"] {
    width: 50px;
    padding: 5px;
    border-radius: 4px;
    border: none;
    background: #333;
    color: white;
    text-align: center;
    font-weight: bold;
}

.checkbox-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
    font-size: 0.85em;
    color: #ccc;
}

input[type="checkbox"] { transform: scale(1.2); cursor: pointer; }

/* Tables - A láthatóság javítása */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); }
th { color: #aaa; font-weight: 600; font-size: 0.9em; text-transform: uppercase; }

/* Színjelölő pötty a táblázatba */
.color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Buttons */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}
.btn-primary { background: var(--accent); color: black; width: 100%; margin-top: 10px;}
.btn-save { background: #3498db; color: white; }
.btn-danger { background: #e74c3c; color: white; }
button:hover { filter: brightness(1.2); }

/* Chart Containers */
.chart-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}