body {
    font-family: Helvetica, sans-serif;
    background-color: #f5f5f5;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    margin: 0;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header .logo {
    width: 300px; /* Adjust the size as needed */
    height: auto;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 32px;
    color: #333;
    margin: 0;
}

.login-container {
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.login-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.login-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.login-form input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.login-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #0056b3;
}

.tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(44px, 1fr));
    gap: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 1.2em;
    justify-content: center;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 12px;
}

.tabs div:hover,
.tabs div:focus {
    background-color: #ddd;
}

.tab {
    text-decoration: none;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    color: #000;
    min-height: 64px;
    white-space: pre-line;
    overflow-wrap: anywhere;
    line-height: 1.15;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .tabs {
        gap: 6px;
        font-size: 1em;
        padding: 0 8px;
    }

    .tab {
        min-height: 56px;
        font-size: 0.9em;
        padding: 8px 4px;
    }
}

#matches {
    margin-top: 20px;
}

.matches-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.match-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 10px;
    align-items: center;
    width: 100%;
}

.match-time {
    grid-column: 1 / span 6;
    text-align: center;
    font-size: 0.8em;
}

.team-name-visitor {
    text-align: left;
    font-size: 1.2em;
    overflow-wrap: anywhere;
}

.team-name-home {
    text-align: right;
    font-size: 1.2em;
    overflow-wrap: anywhere;
}

.team-flag {
    min-width: 1.8em;
    text-align: center;
    font-size: 1.2em;
}

.score-input {
    width: 50px;
    text-align: center;
    font-size: 1.2em;
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.additional-info {
    grid-column: 1 / span 6;
    text-align: center;
    font-size: 1em;
    color: gray;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.prediction-score {
    grid-column: 1 / span 6;
    text-align: center;
    font-size: 1em;
    color: forestgreen;
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #444;
}

.scores-container {
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /*max-width: 1000px;*/
    text-align: center;
    align-items: center;
    /*display: flex;*/
}

.scores-container h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.players-table th, .players-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.players-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.nav-container {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.nav-link {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #0056b3;
}
