.card h2 {
    color: #ffffff;
    text-shadow: 2px 2px 6px #000000;

}

/* Container */
#output {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    font-family: var(--font_family, 'Poppins', sans-serif);
}

/* Match Row */
.match-row {
    display: flex;
    flex-direction: column;
    background: var(--background_white);
    /* border-left: 4px solid var(--prime_color, #1ce5ff); */
    border-radius: 8px;
    padding: 0;
    color: var(--text_color, #fff);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 0.4s ease forwards;
    margin: 10px 0;

    overflow: hidden;
}



.match-date {
    font-weight: bold;
}

.match-status {
    color: var(--text_color);
    font-weight: bold;
    display: none;
}

.match-venue {
    font-style: italic;
    opacity: 0.7;
}



/* Team Block */
.team {
    display: flex;
    align-items: center;
    gap: 8px;

}

.team.home {
    justify-content: flex-start;
}

.team.away {
    justify-content: flex-end;
    text-align: right;
}

/* Logos */
.team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Team Names */
.team-name {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Score */
.score-box {
    min-width: 70px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    background: var(--background_cream);
    border: var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    box-shadow: var(--shadow);
}

/* Animation */
@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Win/Loss coloring */
.team-name.win {
    color: var(--text_green);
}

.team-name.loss {
    color: var(--text_red);
}

.team-name.draw {
    color: var(--text_orange);
}

/* OBS-friendly sharpness */
.match-row,
.score-box {
    backdrop-filter: blur(4px);
}

.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    /* background-color: #1ce5ff; */
    display: none;
}

.pagination-controls button {
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--prime_color);
    color: var(--text_color, );
    cursor: pointer;
    font-weight: bold;
    font-size: small;
}

.win-loss-draw {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background-color: var(--background_green);
    color: var(--text_color, #fff);
    cursor: pointer;
    font-weight: bold;
    font-size: small;

}


.copy_button {
    position: absolute;
    top: 50px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
}

.copy_button button {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: #505050;
    color: #ffffff;
    cursor: pointer;
    font-weight: lighter;
    font-size: x-small;
    transition: 0.5s ease;
}

.copy_button:hover button {
    background: #d66363;
    color: #ffffff;
}

body:hover .copy_button {
    opacity: 1;
}

.wins_and_losses {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 15px;
    /* background-color: var(--background_black); */
    color: var(--text_color);
    border-radius: 12px;
    margin: 20px 0;
    align-items: center;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 0.9rem
}

.home_team,
.away_team {
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* flex-direction: column; */
}

.away_team {
    justify-content: flex-start;
    width: 48%;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    /* flex-direction: column; */
}

.wins_and_losses .away_team {
    width: auto;
    background-color: var(--background_black);
    border-radius: 12px;
    padding: 10px 20px;
    justify-content: flex-end;
}

.wins_and_losses .home_team {
    background-color: var(--background_black);
    border-radius: 12px;
    justify-content: flex-start;
    padding: 10px 20px;
    width: auto;

}

.wins_and_losses .draws_panel {

    border-radius: 12px;
    padding: 10px 20px;
    background-color: var(--background_black);

}

.wins_and_losses_team_info img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 10px;

}

.team-info {
    display: flex;
    align-items: center;

    gap: 20px;
    text-align: center;
}




@media screen and (max-width: 768px) {

    /* Score */
    .score-box {
        min-width: 50px;

        font-size: 1rem;

    }

    .wins_and_losses {
        border-radius: 8px;
        margin: 10px 0;

        padding: 5px;
        /* font-weight: 500; */
        font-size: 0.7rem;
        text-align: center;
    }

    .wins_and_losses .away_team {

        border-radius: 12px;
        flex-direction: column-reverse;
        padding: 5px 10px;
        justify-content: center;
    }

    .wins_and_losses .home_team {

        border-radius: 8px;
        flex-direction: column;
        justify-content: center;
        padding: 5px 10px;


    }

    .wins_and_losses .draws_panel {

        border-radius: 8px;
        padding: 5px 10px;


    }

    .wins_and_losses_team_info img {
        width: 28px;
        height: 28px;

        margin: 0 5px;

    }
}