/* Styles pour le gestionnaire de tirages FDJ */
.manage-draws-btn {
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  margin-bottom: 15px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.manage-draws-btn:hover {
  background-color: #2980b9;
}

#fdj-draws-modal .popup-content {
  width: 600px;
  max-width: 90vw;
}

#fdj-draws-container {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.draw-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.draw-row:hover {
  background-color: #f9f9f9;
}

.draw-title {
  font-weight: 500;
  flex: 2;
  margin-right: 10px;
}

/* Nouveau conteneur pour les boules */
.draw-numbers-balls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 5px;
  flex-wrap: nowrap;
}

/* Style pour les boules de tirage */
.draw-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Effet de reflet 3D pour les boules */
.draw-ball::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.1) 30%,
    transparent 70%
  );
  opacity: 0.4;
}

/* Animation légère au survol */
.draw-ball:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

/* Boules principales - bleu FDJ */
.main-ball {
  background: linear-gradient(135deg, #4a90e2, #1e3a8a);
  color: white;
}

/* Boule complémentaire - rouge */
.comp-ball {
  background: linear-gradient(135deg, #e74c3c, #7f1d1d);
  color: white;
}

/* Séparateur entre boules principales et complémentaire */
.draw-ball-separator {
  font-weight: bold;
  color: #666;
  margin: 0 2px;
}

.delete-draw-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-left: 10px;
}

.delete-draw-btn:hover {
  background-color: #c0392b;
}

.no-draws {
  text-align: center;
  padding: 20px;
  color: #666;
  font-style: italic;
}

.modal-subtitle {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
  text-align: center;
}

/* Style réactif pour les écrans plus petits */
@media (max-width: 600px) {
  .draw-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .draw-title {
    margin-bottom: 8px;
    flex: none;
    width: 100%;
  }

  .draw-numbers-balls {
    margin-bottom: 8px;
    justify-content: flex-start;
  }

  .delete-draw-btn {
    align-self: flex-end;
    margin-left: 0;
  }
}
