/* ==========================================
   TIVOLISCORE – STATISTIKEN
========================================== */

.statistics-page {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
}

.statistics-header {
    text-align: center;
    margin-bottom: 25px;
}

.statistics-header h2 {
    margin-bottom: 8px;
}

/* ==========================================
   REITER
========================================== */

.statistics-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.statistics-tab {
    border: none;
    background: #eaf2fb;
    color: #2563eb;
    padding: 13px 30px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.statistics-tab:hover {
    background: #dbeafe;
}

.statistics-tab.aktiv {
    background: #2563eb;
    color: white;
}

/* ==========================================
   STATISTIK-BEREICHE
========================================== */

.statistics-bereich {
    display: none;
}

.statistics-bereich.aktiv {
    display: block;
}

.statistics-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    margin-bottom: 20px;
}

.statistics-card h3 {
    margin-top: 0;
    color: #2563eb;
    text-align: center;
}

/* ==========================================
   SPIELER-AUSWAHL
========================================== */

.spieler-auswahl {
    text-align: center;
    margin-bottom: 25px;
}

.spieler-auswahl select {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
}

/* ==========================================
   BAHNSTATISTIK
========================================== */

.statistics-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.statistics-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.statistics-table th {
    background: #2563eb;
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-size: 14px;
}

.statistics-table td {
    padding: 11px 8px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.statistics-table tbody tr:hover {
    background: #f8fafc;
}

.statistics-table td:first-child {
    color: #2563eb;
}

/* ==========================================
   PLATZHALTER
========================================== */

.statistics-placeholder {
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
    font-size: 17px;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .statistics-tabs {
        gap: 6px;
    }

    .statistics-tab {
        flex: 1;
        padding: 12px 8px;
        font-size: 15px;
    }

    .statistics-card {
        padding: 18px;
    }

}
.spieler-name {
    text-align: center;
    color: #2563eb;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
/* ==========================================
   STATISTIK FILTER
========================================== */

.statistik-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 25px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 14px;
}

.filter-feld {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-feld label {
    font-size: 13px;
    font-weight: bold;
    color: #475569;
}

.filter-feld input,
.filter-feld select {
    min-width: 130px;
    padding: 9px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: white;
    font-size: 14px;
}
.back-button {
    display: inline-block;
    margin: 15px 0 20px;
    padding: 10px 20px;
    background: #0d5bc6;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.back-button:hover {
    opacity: 0.9;
}