
    .scorecard-modern {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        max-width: 900px;
        margin: 0 auto;
        padding: 20px;
    }

    #jk-scorecard-container h2 {
         color: #feeb04;
         text-align: center;
    }

    #jk-scorecard-output {
        color: #ffffff;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
    }

    .scorecard-modern h2 {
        color: #feeb04;
        text-align: center;
        margin-bottom: 25px;
        font-size: 28px;
        border-bottom: 2px solid #eaeaea;
        padding-bottom: 10px;
    }

    .game-card {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 25px;
        overflow: hidden;
    }

    .game-header {
        background-color: #016a0e;
        color: white;
        padding: 15px 20px;

        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .game-header h3 {
        margin: 0;
        color: #ffffff;
        line-height: 1.2;   
        font-size: 18px;
        text-align: left;
        margin-bottom: 0 !important;
    }

.game-status {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* ruimte tussen dot en tekst */
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: #4caf50;
}

.game-status.inactive {
    background-color: #44e74980;
}

.game-status::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    animation: pulse 1.5s infinite;
}


    .game-status::before {
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ffffff;
        animation: pulse 1.5s infinite;
    }

    .game-status.inactive {
        background-color: #44e74980;
    }

    .player-table {
        width: 100%;
        border-collapse: collapse;
    }

    .player-table th {
        background-color: #f5f5f5;
        text-align: left;
        padding: 12px 15px;
        font-weight: 600;
        color: #444;
    }

    .player-table td {
        padding: 12px 15px;
        color: #444;
        border-top: 1px solid #eaeaea;
    }

    .player-table tr:hover {
        background-color: #f9f9f9;
    }

    .score-value {
        font-weight: bold;
        text-align: center;
    }

    .holes-value {
        text-align: center;
        color: #666;
    }

    .loading-spinner {
        text-align: center;
        padding: 30px;
        color: #666;
        font-style: italic;
    }

    @keyframes pulse {
        0% {
            opacity: 0.4;
        }

        50% {
            opacity: 1;
        }

        100% {
            opacity: 0.4;
        }
    }

@media (max-width: 600px) {
    .game-header {
        flex-direction: row; /* blijf horizontaal */
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .game-status {
        position: static;
        transform: none;
        margin-top: 0;
        margin-left: auto;
    }
}

#jk-scorecard-output .player-table tr.updated {
 animation: highlightRow 1.8s ease-in-out;
}

@keyframes highlightRow {
    0%   { background-color: #fffae6; }
    30%  { background-color: #fff1b8; }
    100% { background-color: transparent; }
}

#jk-scorecard-output .change-up,
#jk-scorecard-output .change-down,
#jk-scorecard-output .change-same {
    display: inline-block;
    animation: arrowFadeMove 1.2s ease-in-out;
}

@keyframes arrowFadeMove {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(1.4);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



