/*
 * ====================================================================
 * TICKETPRICES TABLE STYLES
 * ====================================================================
 * Template: ticketprices_bs5.twig
 * Zweck: Ticketpreis-Tabelle - zeigt Ticketpreise verschiedener 
 *        Kategorien mit Gesamtkosten für Vielfahrer
 * 
 * Enthält nur template-spezifische Styles für:
 * - Hero-Hintergrundbild (Stadionerlebnis)
 * - Total Cost Styling (Kostenaufschlüsselung)
 * - Cost Breakdown Box
 * - Tabellen-spezifische Spaltenbreiten
 * - Dark Mode Support
 * 
 * Wrapper, Responsive-Breakpoints, Print-Styles und Sticky-Backgrounds
 * werden zentral gehandhabt
 * ====================================================================
 */

/* Hero Specific Background */
.ticketprices-hero {
    background-image: url('https://www.fussballmafia.de/cms/images/news/stadionerlebnis-min.jpg');
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

/* Total Cost Styling */
.total-cost {
    min-width: 200px;
}

.cost-breakdown {
    padding: 0.5rem;
    background-color: rgba(182, 139, 71, 0.1);
    border-radius: 0.375rem;
    border: 1px solid rgba(182, 139, 71, 0.2);
}

/* Hover Effects */
#ticketpricesTable tbody tr:hover .cost-breakdown {
    background-color: rgba(182, 139, 71, 0.2);
}

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

#ticketpricesTable th:nth-child(4),
#ticketpricesTable td:nth-child(4) {
    min-width: 100px;
}

#ticketpricesTable th:nth-child(5),
#ticketpricesTable td:nth-child(5) {
    min-width: 200px;
}

/* Mobile-spezifische Anpassungen */
@media (max-width: 767px) {
    #ticketpricesTable {
        font-size: 0.8rem;
    }
    
    .total-cost {
        min-width: 150px;
    }
    
    .cost-breakdown {
        padding: 0.25rem;
        font-size: 0.7rem;
    }
    
    #ticketpricesTable th:nth-child(5),
    #ticketpricesTable td:nth-child(5) {
        min-width: 150px;
    }
}

@media (max-width: 575px) {
    .total-cost {
        min-width: 120px;
    }
    
    #ticketpricesTable {
        font-size: 0.75rem;
    }
    
    .cost-breakdown {
        font-size: 0.65rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cost-breakdown {
        background-color: rgba(182, 139, 71, 0.2);
        border-color: rgba(182, 139, 71, 0.3);
    }
    
    #ticketpricesTable tbody tr:hover .cost-breakdown {
        background-color: rgba(182, 139, 71, 0.3);
    }
}