.seriea-results-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff !important;
    background-color: #001f2d;
    padding: 10px;
    font-family: Arial, sans-serif;
}

#giornata-select {
    background-color: #003b5c;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    margin: 10px 0 20px 0;
    font-size: 16px;
}

.seriea-matches {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Match orizzontale con separazione */
.seriea-match {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; /* spazio tra colonne */
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #003b5c; /* linea separatrice tra match */
}

.seriea-match:last-child {
    border-bottom: none; /* niente bordo sull’ultimo */
}

.seriea-team-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px; /* stessa larghezza per tutte le squadre */
    box-sizing: border-box;
}

.seriea-team-logo {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.seriea-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.seriea-team-name {
    color: #ffffff !important;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

.seriea-score {
    font-weight: bold;
    color: #00ffff;
    font-size: 22px;
    text-align: center;
    width: 80px; /* larghezza fissa per allineare tutti i punteggi */
}

/* Layout responsive per smartphone */
@media screen and (max-width: 600px) {
    #giornata-select {
        width: 100%;
        font-size: 14px;
        padding: 5px;
    }

    .seriea-match {
        flex-direction: column; /* squadre sopra/sotto */
        gap: 10px;
        padding: 8px 5px;
        width: 100%;
    }

    .seriea-team-column {
        width: 100%;
    }

    .seriea-team-logo {
        width: 35px;
        height: 35px;
    }

    .seriea-score {
        font-size: 20px;
        width: 100%;
    }
}
