/* Styles centralisés pour les boules de numéros - utilisables dans toute l'application */

/* Boules principales (numéros de tirage) */
.grid-number,
.number-bubble {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: linear-gradient(145deg, #4a90e2 0%, #1e3a8a 100%);
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  margin: 0 3px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  border-collapse: collapse;
  align-items: center;
  justify-content: center;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Boules numéros chance */
.grid-chance,
.chance-bubble {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background-color: #ea3946;
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  margin: 0 3px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  border-collapse: collapse;
  align-items: center;
  justify-content: center;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Effet de reflet 3D pour toutes les boules */
.grid-number::before,
.number-bubble::before,
.grid-chance::before,
.chance-bubble::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 30%;
  height: 30%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 40%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Styles pour les conteneurs de numéros chance */
.chance-numbers {
  display: flex;
  margin-left: 10px;
  position: relative;
  align-items: center;
}

.chance-numbers::before {
  content: "+";
  display: flex;
  align-items: center;
  margin-right: 5px;
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
}
