nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    margin-bottom: 20px;
    background-color: #222;
    border-radius: 8px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

nav a:hover {
    background-color: #444;
}

nav a:active {
    background-color: #666;
}

nav a.active {
    background-color: #0066cc;
    color: white;
}

.title-left {
    text-align: start;
}

.prediction-cell {
    padding: 0;
}

.goal-controls {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 60px;
}

.team-controls {
    width: 25%;
    display: flex;
    flex-direction: column;
}

.prediction-button {
    width: 100%;
    height: 50%;

    padding: 0;
    margin: 0;

    color: black;
    background: lightgray;

    border-radius: 0;

    box-sizing: border-box;
}

.prediction-button:hover {
    background: white;
}

.prediction-display {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.topBar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.titleBar {
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.groupSection {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

#groupSelectors, #matchdaySelectors {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
}

#matchTable th:nth-child(-n+4),
#matchTable td:nth-child(-n+4) {
    width: 16%;
}

#matchTable th:nth-child(n+5):nth-child(-n+7),
#matchTable td:nth-child(n+5):nth-child(-n+7) {
    width: 11%;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 20px;
}

#matchTable {
    width: 100%;
}

.prediction-locked {
    font-size: 1.5rem;
}

table {
    border-collapse: collapse;
    background: lightgray;
}

table, th, td {
    text-align: center;
    border: 1px solid black;
}

th {
    background: gray;
}

th,td {
    padding: 12px;
    white-space: nowrap;
}

input {
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: #0066cc;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.active {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: #004285;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #0052a3;
}

#logout {
  font-weight: bold;
}

#currentTime {
    color: white;
    font-weight: bold;
    margin-left: auto;
}