/* assets/css/gironi_classifica.css */

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

.group-container {
    width: 95%;
    max-width: 900px;
    margin: 30px auto;
    padding: 0; /* Padding rimosso dal contenitore per far toccare i bordi alla tabella o header */
    background-color: rgba(0, 0, 0, 0.6); /* Sfondo scuro uniforme */
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden; /* Importante per i bordi arrotondati */
}

/* HEADER GIRONE */
.group-header {
    font-family: 'DrukWide', sans-serif !important;
    font-size: 1.4rem;
    background: rgba(255, 25, 255, 0.1); /* Sfondo leggermente rosato */
    color: var(--rosa-elettrico);
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 5px rgba(255, 25, 255, 0.4);
}

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

.standings-table th {
    text-align: center;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'HelveticaBold', sans-serif;
    color: var(--rosa-elettrico);
    font-size: 0.8rem;
    text-transform: uppercase;
    background: rgba(0,0,0,0.2);
}

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

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

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

.team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

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

/* Responsive Mobile */
@media (max-width: 768px) {
    .group-container { width: 98%; margin: 20px auto; }
    
    .group-header { font-size: 1.1rem; padding: 12px; }

    .standings-table th, 
    .standings-table td {
        padding: 8px 4px;
        font-size: 0.75rem;
    }

    /* Riduciamo larghezza colonne numeri */
    .standings-table th:not(:first-child),
    .standings-table td:not(:first-child) {
        width: 30px; 
    }

    .team-cell {
        gap: 6px;
        padding-left: 5px;
    }

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

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