/*
 * ====================================================================
 * TEAMS COMPARE TABLE STYLES (teams_compare_bs5.twig)
 * ====================================================================
 * Styles für die umfassende Vereinsvergleichs-Tabelle
 * Nutzt FM-Sticky-Table System
 * ====================================================================
 */


/* Season Tickets Info */
.season-tickets-info strong {
    color: var(--fm-text-primary);
    font-size: 1.1rem;
}

.season-tickets-info small {
    font-size: 0.8rem;
    line-height: 1;
}

/* Average Guests Info */
.avg-guests-info strong {
    color: var(--fm-text-primary);
    font-size: 1rem;
}

.avg-guests-info small {
    font-size: 0.8rem;
    line-height: 1;
}

/* Away Fans Info */
.away-fans-info strong {
    color: var(--fm-text-primary);
    font-size: 1rem;
}

.away-fans-info small {
    font-size: 0.8rem;
    line-height: 1;
    color: var(--fm-text-secondary);
}

.away-fans-info .bi {
    color: var(--fm-gold);
    margin-right: 0.25rem;
}

/* Penalties Info */
.penalties-info strong {
    color: var(--fm-text-primary);
    font-size: 1rem;
}

.penalties-info small {
    font-size: 0.8rem;
    color: var(--fm-text-secondary);
}

/* Choreo Count */
.choreo-count {
    color: var(--fm-gold);
    font-size: 1.1rem;
}

/* Pyro Count */
.pyro-count {
    color: var(--fm-orange);
    font-size: 1.1rem;
}

/* Club Age */
.club-age {
    color: var(--fm-text-primary);
    font-size: 1rem;
}


/* Spalten-spezifische Breiten */
#teamsCompareTable th:nth-child(3),
#teamsCompareTable td:nth-child(3) {
    min-width: 120px; /* Dauerkarten */
}

#teamsCompareTable th:nth-child(4),
#teamsCompareTable td:nth-child(4) {
    min-width: 80px; /* AWDK */
}

#teamsCompareTable th:nth-child(5),
#teamsCompareTable td:nth-child(5) {
    min-width: 130px; /* Zuschauer */
}

#teamsCompareTable th:nth-child(6),
#teamsCompareTable td:nth-child(6) {
    min-width: 100px; /* Mitglieder */
}

#teamsCompareTable th:nth-child(7),
#teamsCompareTable td:nth-child(7) {
    min-width: 140px; /* Auswärtsfahrer */
}

#teamsCompareTable th:nth-child(8),
#teamsCompareTable td:nth-child(8) {
    min-width: 110px; /* Strafen */
}

#teamsCompareTable th:nth-child(9),
#teamsCompareTable td:nth-child(9) {
    min-width: 80px; /* Choreos */
}

#teamsCompareTable th:nth-child(10),
#teamsCompareTable td:nth-child(10) {
    min-width: 90px; /* Pyroshows */
}

#teamsCompareTable th:nth-child(11),
#teamsCompareTable td:nth-child(11) {
    min-width: 60px; /* Alter */
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .season-tickets-info strong,
    .avg-guests-info strong,
    .away-fans-info strong,
    .penalties-info strong {
        font-size: 0.95rem;
    }
    
    .choreo-count,
    .pyro-count {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    /* Kompaktere Info-Boxen */
    .season-tickets-info small,
    .avg-guests-info small,
    .away-fans-info small,
    .penalties-info small {
        font-size: 0.75rem;
    }
    
    .season-tickets-info strong,
    .avg-guests-info strong,
    .away-fans-info strong,
    .penalties-info strong {
        font-size: 0.9rem;
    }
    
    .choreo-count,
    .pyro-count,
    .club-age {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .season-tickets-info strong,
    .avg-guests-info strong,
    .away-fans-info strong,
    .penalties-info strong {
        font-size: 0.85rem;
    }
    
    .season-tickets-info small,
    .avg-guests-info small,
    .away-fans-info small,
    .penalties-info small {
        font-size: 0.7rem;
    }
    
    .choreo-count,
    .pyro-count,
    .club-age {
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    /* Print: Zeige beide Namen */
    #teamsCompareTable .team-name,
    #teamsCompareTable .team-short {
        display: inline !important;
    }
}