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;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 20px;
}

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;
}

button:hover {
    background: #0052a3;
}

#logout {
  font-weight: bold;
}

#currentTime {
    color: white;
    font-weight: bold;
    margin-left: auto;
}

.userBar {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.tables-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.group-card {
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.group-tables {
    flex: 1;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#thirdPlacesTableContainer {
    width: 650px;
}

.eliminated {
    background-color: darkgray;
}

table {
    width: 100%;
    background: lightgray;
}

table, th, td {
    text-align: center;
    border: 1px solid black;
}

th {
    background: gray;
}

th,td {
    padding: 4px;
    white-space: nowrap;
}