/*
 * ====================================================================
 * MATCHDAY GUEST SUMMARY STYLES
 * ====================================================================
 * Template: matchday_guest_summary_bs5.twig
 * Zweck: Zuschauer-Spieltag-Übersicht - zeigt Zuschauerzahlen, 
 *        Auslastung und Gästefans pro Spieltag
 * 
 * Enthält nur template-spezifische Styles für:
 * - Matchday Summary Header (Featured/Prominent Style)
 * - Auslastung-Zelle mit Progress Bar
 * - Tabellen-spezifische Anpassungen (Team Logos, Spaltenbreiten)
 * - Badge-Styles für Geisterspiele
 * 
 * Wrapper, Responsive-Breakpoints und Print-Styles 
 * werden zentral gehandhabt
 * ====================================================================
 */

/* Zusammenfassungs-Header - Featured/Prominent Style */
.matchday-summary-header {
    background: #a47731 !important; /* fallback */
    background: linear-gradient(135deg, #a47731 0%, #b68b47 50%, #c5a366 100%) !important;
    color: var(--fm-white) !important;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid #c5a366;
    box-shadow: 0 0.5rem 1rem rgba(182, 139, 71, 0.3);
    position: relative;
    overflow: hidden;
}

.matchday-summary-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    opacity: 0.3;
}

.summary-label {
    font-family: var(--fm-font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-left: var(--fm-spacing-sm);
    position: relative;
    z-index: 2;
}

.summary-total {
    font-family: var(--fm-font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.summary-avg {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Spezielle Anpassungen für dieses Template */
#matchdayGuestSummaryTable .team-logo {
    width: 35px;
    height: 35px;
}

/* Auslastung-Zelle */
.auslastung-cell {
    min-width: 80px;
}

.attendance-progress {
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.attendance-progress .progress-bar {
    height: 100%;
    background-color: var(--fm-gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Spalten-spezifische Breiten */
#matchdayGuestSummaryTable th:nth-child(4),
#matchdayGuestSummaryTable td:nth-child(4) {
    min-width: 120px; /* Zuschauer */
}

#matchdayGuestSummaryTable th:nth-child(5),
#matchdayGuestSummaryTable td:nth-child(5) {
    min-width: 100px; /* Auslastung */
}

#matchdayGuestSummaryTable th:nth-child(6),
#matchdayGuestSummaryTable td:nth-child(6) {
    min-width: 100px; /* Gäste */
}

#matchdayGuestSummaryTable th:nth-child(7),
#matchdayGuestSummaryTable td:nth-child(7) {
    min-width: 80px; /* Distanz */
}

/* Badge-Styles für Geisterspiele */
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* Mobile-spezifische Anpassungen für Summary Header */
@media (max-width: 767px) {
    .matchday-summary-header {
        padding: 1rem;
    }
    
    .summary-total {
        font-size: 1.5rem;
    }
    
    .summary-avg {
        font-size: 0.875rem;
    }
}