/*
 * ====================================================================
 * STADIUMS TABLE STYLES (stadiums_bs5.twig)
 * ====================================================================
 * Styles für die Stadion-Vergleichs-Tabelle mit FM-Sticky-Table
 * 
 * WICHTIG: Diese Datei nutzt jetzt gemeinsame Styles aus:
 * - bs5_table_common.css (Content Wrapper, Responsive, Print)
 * - fm-sticky-table.css (Sticky Column Backgrounds)
 * ====================================================================
 */

/* Stadium-spezifische Spaltenbreiten */
#stadiumsTable th:nth-child(3),
#stadiumsTable td:nth-child(3) {
    min-width: 200px; /* Stadion-Spalte breiter für lange Namen */
}

#stadiumsTable th:nth-child(4),
#stadiumsTable td:nth-child(4) {
    min-width: 100px; /* Kapazität */
}

#stadiumsTable th:nth-child(5),
#stadiumsTable td:nth-child(5) {
    min-width: 120px; /* Gästeblock mit Prozent */
}

#stadiumsTable th:nth-child(6),
#stadiumsTable td:nth-child(6) {
    min-width: 130px; /* Stehplätze mit Preis */
}

#stadiumsTable th:nth-child(7),
#stadiumsTable td:nth-child(7) {
    min-width: 110px; /* Stehplatzanteil */
}

#stadiumsTable th:nth-child(8),
#stadiumsTable td:nth-child(8) {
    min-width: 80px; /* Baujahr */
}

#stadiumsTable th:nth-child(9),
#stadiumsTable td:nth-child(9) {
    min-width: 120px; /* Verpflegung */
}

/* Stadium Link Styling */
.stadium-link {
    color: var(--fm-text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.stadium-link:hover {
    color: var(--fm-gold);
    text-decoration: none;
}

/* Guest Block Info */
.guest-block-info small {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-top: 0.1rem;
}

/* Standing Room Info */
.standing-room-info small {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-top: 0.1rem;
}

/* Standing Percentage */
.standing-percentage {
    color: var(--fm-gold);
    font-weight: 700;
}

/* Build Year */
.build-year {
    font-weight: 500;
}

/* Food Prices */
.food-prices {
    font-size: 0.9rem;
}

.beer-price,
.bratwurst-price {
    line-height: 1.3;
}

.beer-price .bi,
.bratwurst-price .bi {
    color: var(--fm-gold);
    margin-right: 0.25rem;
}

/* Responsive Anpassungen - NUR für spezifische Stadium-Elemente */
@media (max-width: 1199px) {
    .food-prices {
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .guest-block-info small,
    .standing-room-info small {
        font-size: 0.75rem;
    }
    
    .food-prices {
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    /* Kompaktere Spalten auf Mobile */
    #stadiumsTable th:nth-child(3),
    #stadiumsTable td:nth-child(3) {
        min-width: 150px;
    }
    
    #stadiumsTable th:nth-child(4),
    #stadiumsTable td:nth-child(4) {
        min-width: 80px;
    }
    
    #stadiumsTable th:nth-child(5),
    #stadiumsTable td:nth-child(5) {
        min-width: 100px;
    }
    
    #stadiumsTable th:nth-child(6),
    #stadiumsTable td:nth-child(6) {
        min-width: 110px;
    }
    
    .stadium-link {
        font-size: 0.9rem;
    }
    
    .guest-block-info small,
    .standing-room-info small {
        font-size: 0.7rem;
    }
    
    .food-prices {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .stadium-link {
        font-size: 0.85rem;
    }
    
    .guest-block-info small,
    .standing-room-info small {
        font-size: 0.65rem;
    }
    
    .food-prices {
        font-size: 0.7rem;
    }
    
    .beer-price,
    .bratwurst-price {
        line-height: 1.2;
    }
}

/* Print Styles - NUR spezifische Anpassungen */
@media print {
    .stadium-link,
    .standing-percentage {
        color: #000 !important;
    }
}