html {
    background: rgba(198,205,214,0.8);
}

body {
    font-family: sans-serif;
    padding: 20px;
    margin: 0;
}

.container {
    display: grid;
    grid-template-columns: 600px 700px; /* linke Liste flexibel, rechte Tabelle fix */
    gap: 40px;
    align-items: start;
    justify-content: center;
    max-width: 100%;
}

.game-list {
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto; /* scrollbar für linke Liste */
}

.table-container {
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top: 20px; /* Tabelle rechts sticky */
    max-height: 80vh;
    overflow-y: auto;
}

.game {
    display: grid;
    grid-template-columns: 120px 1fr 1fr auto; /* Datum | Team A | Team B | Dropdown */
    align-items: center;
    gap: 8px;
    padding: 8px;
    margin-bottom: 12px;
    background: #eee;
    border-radius: 4px;
}

.game .date {
    /*font-size: 0.9em;*/
    color: #555;
}

.game .team-a,
.game .team-b {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px;
}

.winner {
    background-color: #d4edda; /* dezentes Grün */
    border-radius: 4px;
    transition: background-color 0.3s;
}

select {
    min-width: 80px;
    padding: 4px;
}

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

th, td {
    padding: 6px 10px;
    border: 1px solid #ccc;
    text-align: center;
}

th {
    background: #eee;
}

tbody tr:nth-child(even) {
    background: #f4f4f4;
}

tbody tr:hover {
    background: #e0eaff;
}

h1 {
    text-align: center;
}