﻿.jackpot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2px;
}

.jackpot-table {
    width: 100%;
    max-width: 400px;
    margin: 20px auto; /* Etwas Abstand für die Wirkung des Schattens */
    text-align: center;
    background-color: #02407D;
    font-size: 14px;
    border: 1px solid #666;
    color: white;
    border-collapse: separate; /* Damit die Ecken funktionieren */
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden; /* Verhindert Überlauf */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 117, 190, 0.3);
}

    .jackpot-table thead {
        background-color: #02407D;
        color: #FFFFFF;
        border-bottom: 1px solid #000;
    }

    .jackpot-table .table-title {
        background-image: linear-gradient(0deg, #0075BE 0%, #190A46 100%);
        font-size: 20px;
        color: #FFFFFF;
        border: 1px solid #FFFFFF;
        border-bottom: 1px solid #000;
        border-color: #000;
        height: 40px;
    }

    /* Abrundung der äußeren Ecken */
    .jackpot-table thead tr:first-child td:first-child {
        border-top-left-radius: 15px;
    }

    .jackpot-table thead tr:first-child td:last-child {
        border-top-right-radius: 15px;
    }

    .jackpot-table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 15px;
    }

    .jackpot-table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 15px;
    }

    .jackpot-table tbody tr {
        background-color: #FFFFFF;
        color: #000;
        border-bottom: 1px solid #000;
    }

#SelectedSpieltag {
    text-align: center;
    margin-bottom: 20px;
}

.table td, .table th {
    text-align: center;
    vertical-align: middle;
}

.jackpot-table td.heim {
    text-align: right;
}

.jackpot-table td.auswaerts {
    text-align: left;
}

.team-table-container {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    background-color: #fff;
}

.table-main-header {
    background: linear-gradient(90deg, #0075BE 0%, #00c896 100%);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.team-table thead tr:first-child th {
    border: none;
}

.team-table thead tr:nth-child(2) th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
}

.team-table th, .team-table td {
    text-align: center;
    vertical-align: middle;
}

.team-table td.heim-col {
    background-color: rgba(0, 123, 255, 0.08); /* leichter Blauton */
}

.team-table td.away-col {
    background-color: rgba(40, 167, 69, 0.08); /* leichter Grünton */
}

.team-table tbody tr td {
    border-top: none;
}

#modal-content-placeholder {
    max-height: 65vh;
    overflow-y: auto;
}

.modal-header {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.modal-title {
    font-size: 1.2rem;
}

.modal-footer {
    padding: 0.5rem 1rem;
}

.scrollable-table {
    max-height: 200px; /* etwa Platz für ca. 6-7 Zeilen, anpassbar */
    overflow-y: auto;
    border: 1px solid #ddd;
}

.scrollable-table table {
    width: 100%;
    border-collapse: collapse;
}

.scrollable-table thead th {
    position: sticky;
    top: 0;
    background-color: linear-gradient(90deg, #0075BE 0%, #00c896 100%);
    color: white;
}

@media (min-width: 768px) {
    .table .col-heim,
    .table .col-auswaerts {
        min-width: 150px;
    }

    .table .col-dash {
        width: 5px;
    }

    .table .col-input {
        width: 30px;
    }

    .table .col-button {
        width: 60px;
    }
}

.pdf-container {
    display: flex;
    justify-content: center; /* Zentriert den Link */
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.pdf-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: #d32f2f; /* Rotes PDF-Design */
    border: 2px solid #d32f2f;
    padding: 4px 8px;
    border-radius: 8px;
    margin-left: 20px;
    margin-right: 20px;
    transition: all 0.3s ease-in-out;
}

    .pdf-link:hover {
        background-color: #d32f2f;
        color: white;
    }

.pdf-icon {
    width: 20px;
    height: 20px;
}