/* assets/css/gironi_classifica.css - TEMA 2026 */

.no-link-decoration {
    text-decoration: none;
    color: inherit;
}

.group-container {
    width: 95%;
    max-width: 603px;
    margin: 20px auto;
    padding: 0; 
    background-color: rgba(18, 0, 40, 0.6); /* Sfondo Vinaccia scuro */
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 7px 20px rgba(18, 0, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden; 
}

/* HEADER GIRONE (Es. "GIRONE A") */
.group-header {
    font-family: 'DrukWide', sans-serif !important;
    font-style: italic !important; /* Aggiunto Corsivo */
    font-size: 0.94rem;
    background: rgba(255, 25, 255, 0.1); /* Sfondo leggermente rosato */
    color: var(--rosa-neon);
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 3px rgba(255, 25, 255, 0.4);
}

/* TABELLA */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'HelveticaBold', sans-serif !important; 
}

.standings-table th {
    text-align: center;
    padding: 10px 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'HelveticaBold', sans-serif;
    color: var(--rosa-neon);
    font-size: 0.54rem;
    text-transform: uppercase;
    background: rgba(18, 0, 40, 0.4); /* Intestazione Vinaccia */
}

.standings-table td {
    text-align: center;
    padding: 8px 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: bold;
    color: #fff;
    font-size: 0.6rem;
}

/* Righe alternate */
.standings-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

/* Effetto Hover sulle squadre in classifica */
.standings-table tr:hover {
    background: rgba(255, 25, 255, 0.15); /* Luce rosa al passaggio del mouse */
}

/* CELLA SQUADRA */
.team-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding-left: 7px;
}

.team-logo {
    width: 27px;
    height: 27px;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(18, 0, 40, 0.6));
}

.team-name {
    font-size: 0.6rem;
    text-transform: uppercase;
    text-align: left;
}

/* Responsive Mobile */
@media (max-width: 515px) {
    .group-container { width: 90%; margin: 13px auto; }
    
    .group-header { font-size: 0.74rem; padding: 8px; }

    .standings-table th, 
    .standings-table td {
        padding: 5px 3px;
        font-size: 0.5rem;
    }

    /* Riduciamo larghezza colonne numeri (V, N, P, GF, GS, ecc.) */
    .standings-table th:not(:first-child),
    .standings-table td:not(:first-child) {
        width: 20px; 
    }

    .team-cell {
        gap: 4px;
        padding-left: 3px;
    }

    .team-logo {
        width: 20px; height: 20px;
    }

    .team-name {
        font-size: 0.47rem;
        line-height: 1.1;
    }
}