/* Rencontres & Grilles */

:root {
  --primary-red: 225,6,0;
}

/* Navbar brand */
.navbar-brand {
  font-family: 'Montserrat', sans-serif;
}

/* Sections & labels */
.form-label {
  font-weight: 600;
  font-size: .9rem;
}
.section {
  margin-bottom: 1.5rem;
}
.col-left {
  background: #fff;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: .5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.section-top {
  border-left: 4px solid rgba(var(--primary-red),1);
}
.section-single {
  border-left: 4px solid rgba(var(--primary-red),.8);
}

/* Graphiques & grille */
.chart-container {
  position: relative;
  height: 400px;
  margin-bottom: 1rem;
}
.global-chart {
  height: 250px !important;
}
.grid-opponents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px,1fr));
  gap: .5rem;
}

/* Cartes adversaires */
.opponent-card {
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  padding: .4rem;
  text-align: center;
  cursor: pointer;
  transition: transform .2s;
}
.opponent-card:hover {
  transform: translateY(-2px);
}
.opponent-card .fw-semibold {
  display: block;
  width: 100%;
  font-size: .75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.opponent-count {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: .2rem;
}

/* Instructions */
.instructions p {
  margin: .2rem 0;
  font-size: .9rem;
}
.instructions strong {
  color: #555;
}
