html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #0d0d0d;
  color: #f0f0f0;
  font-family: 'Segoe UI', sans-serif;
}

header {
  background: #1e1e1e;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #00ff80;
  position: relative;
}

.logo {
  height: 40px;
  position: absolute;
  left: 20px;
  top: 15px;
}

h1 {
  color: white;
}

.selector-section {
  text-align: center;
  margin: 40px 0;
}

.selector-section label {
  display: block;
  margin-top: 20px;
  font-size: 18px;
  color: #00ff80;
}

.selector-section select {
  width: 300px;
  padding: 12px;
  margin: 10px;
  font-size: 16px;
  border: 2px solid #00ff80;
  border-radius: 10px;
  background-color: #1a1a1a;
  color: white;
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

.button-container button {
  padding: 10px 25px;
  font-size: 16px;
  border: 2px solid #00ff80;
  background-color: #121212;
  color: #00ff80;
  border-radius: 10px;
  cursor: pointer;
}

#history-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  min-height: 300px;
  transition: all 0.2s ease-in-out;
  position: relative;
}

#history-container.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  min-height: 100px;
  margin-top: 30px;
}


.match-card {
  background-color: #1a1a1a;
  border: 1px solid #00ff80;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease;
}

.match-card:hover {
  transform: scale(1.02);
  background-color: #222;
}

.match-date {
  font-weight: bold;
  color: #00ff80;
}

.match-info {
  text-align: center;
  flex-grow: 1;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.match-teams img {
  height: 26px;
  width: 26px;
  border-radius: 50%;
}

footer {
  text-align: center;
  padding: 25px;
  background-color: #111;
  color: #aaa;
  margin-top: 50px;
  border-top: 1px solid #222;
  font-size: 14px;
}

.custom-select {
  width: 300px;
  margin: 10px auto;
  background-color: #1a1a1a;
  border: 2px solid #00ff80;
  border-radius: 10px;
  color: white;
  text-align: left;
  padding: 10px;
}

.custom-select ul {
  max-height: 200px;
  overflow-y: auto;
  padding-left: 0;   /* Supprime le padding à gauche */
  margin-left: 0;    /* Supprime la marge à gauche */
}

.custom-select li {
  display: flex;
  align-items: center;
  padding: 8px;
  cursor: pointer;
}

.custom-select li:hover {
  background-color: #2a2a2a;
}

.custom-select img {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-right: 10px;
}

.custom-select ul li.selected {
  background-color: #00ff80;
  color: #000;
  font-weight: bold;
}

#league-list > button {
  display: block;
  width: 100%;
  padding: 4px 0;       /* Hauteur réduite */
  margin-bottom: 10px;
  background-color: #121212;
  color: #00ff80;
  font-weight: bold;
  border: 2px solid #00ff80;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;      /* Texte plus petit */
  transition: background-color 0.3s ease, color 0.3s ease;
}

#league-list > button:hover {
  background-color: #00ff80;
  color: #121212;
}

