.match-header {
    background-color: #D0662A;
    color: white;
    border-radius: 15px;
    padding: 40px 20px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.score-display {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.team-logo {
    width: 90px;
    height: 90px;
    padding: 10px;
}

.match-info-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

[data-bs-theme="dark"] .custom-card {

    background-color: #242424;

}

.custom-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    background-color: #ecebeb;
    overflow: hidden;
    border: solid 2px #D0662A;
    margin: 1rem;
}

[data-bs-theme="dark"] .card-header-custom {

    background-color: #000000;

}

.card-header-custom {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}

.player-row {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.player-num {
    color: #D0662A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 8px;
    font-weight: bold;
}

.timeline-container {
    position: relative;
    padding-left: 10px;
}

.event-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.event-time {
    font-weight: bold;
    width: 45px;
    color: #cfcdcd;
}

.event-detail {
    flex: 1;
}

.icon-event {
    margin-right: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: #cfcdcd;
    margin-bottom: 2px;
}

.progress-thin {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.team-link {
    display: block; /* Important pour que le lien englobe le logo et le nom */
    text-decoration: none; /* Enlève le soulignement */
    color: inherit; /* Utilise la couleur du texte parent (blanc/noir) */
    flex: 0 0 auto;
    width: 33.33333333%;
}

.card-body{
    padding: 2vw;
}