.journee-banner {
    margin-bottom:0px !important;
    margin-top:0px !important;
    padding-top:0px !important;
    padding-bottom:5px !important;
}

.journee-content {
    /*background: linear-gradient(90deg, #3b3737 0%, #3b3939 50%, #000000 100%);
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);*/
    color:black;
}

.journee-banner h5 {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Mobile optimisation */
@media (max-width: 576px) {
    .journee-banner {
        border-radius: 8px;
        padding: 0.6rem 0;
    }

    .journee-banner h5 {
        font-size: 0.95rem;
    }

    .journee-content {
        padding: 0.4rem 1rem;
    }
}
.match-item{
    margin-bottom:10px !important;
}
/* Carte de match */
.match-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f1f1f1;
}
.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Bandeau de division sur chaque carte */
.division-header {
    background: linear-gradient(90deg, #ff0000 0%, #bb0013 100%);
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Corps du match */
.match-card .teams {
    font-size: 0.95rem;
}
.match-card .team {
    font-weight: 500;
}
.match-card .score {
    font-size: 1.3rem;
    color: #222;
}

/* Bouton moderne */
.btn-outline-danger {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-outline-danger:hover {
    background: linear-gradient(90deg, #dc3545 0%, #ac0e00 100%);
    color: white !important;
    border-color: transparent;
}


/* === Conteneur principal === */
.teams-modern {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* === Ligne d’équipe === */
.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-left: 5px solid transparent;
  transition: all 0.25s ease;
  padding:0px !important;
  padding-left:5px !important;
}

.team-row.win {
  border-left-color: #28a745;
}
.team-row.draw {
  border-left-color: #ffc107;
}
.team-row.lose {
  border-left-color: #dc3545;
}

.team-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* === Nom d’équipe === */
.team-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: #212529;
  text-align: left;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Score === */
.team-score {
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
  min-width: 28px;
  text-align: right;
}

/* === Icône résultat (petite pastille discrète) === */
.result-icon {
  margin-left: 6px;
  font-size: 1rem;
}

.team-row.win .result-icon i { color: #28a745; }
.team-row.draw .result-icon i { color: #ffc107; }
.team-row.lose .result-icon i { color: #dc3545; }

/* === Score central (seulement pour la mise en page interne) === */
.score-modern {
  display: flex;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: #222;
  margin: 0.2rem 0;
}

.score-modern .sep {
  color: #aaa;
  margin: 0 0.3rem;
}

/* === Responsive === */
@media (max-width: 576px) {
  .team-row {
    padding: 0.5rem 0.7rem;
  }
  .team-name {
    font-size: 0.75rem;
    text-overflow: ellipsis;
  }
  .team-score {
    font-size: 1rem;
  }
}

.color-match-0 {
    background-color: white;
}

.color-match-1 {
    background-color: #efefef !important;
}

.font-bold {
    font-weight: 700;
    color: red !important;
}
.modal table {
    font-size:0.8rem;
}

/* === Classement moderne === */
.list-group-item {
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.list-group-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.list-group-item.bg-danger {
    background-color: #dc3545 !important;
    color: white !important;
}
.fw-bold { font-weight: 600; }

.container {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 2rem;
}
.accordion-button:not(.collapsed) {
    background-color: var(--bs-danger) !important;
    color: #fff !important;
}
