/**
 * Styles pour la Carte Interactive de France
 */

.france-map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.france-map-wrapper {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.france-map {
  width: 100%;
  height: auto;
  display: block;
}

/* Styles des départements (déjà dans le SVG mais on peut les overrider ici) */
.france-map .departement {
  transition: all 0.3s ease;
}

.france-map .departement.active:hover {
  filter: brightness(1.1);
  stroke: #1e40af;
  stroke-width: 2;
}

.france-map .departement.inactive {
  opacity: 0.6;
}

.france-map .departement.inactive:hover {
  opacity: 0.6;
  stroke-width: 1;
}

/* Tooltip - styles supplémentaires si nécessaire */
.france-map-tooltip {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
}

/* Légende optionnelle */
.france-map-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
  padding: 15px;
  background: #f9fafb;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
}

.france-map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.france-map-legend-color {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
  .france-map-container {
    padding: 15px;
  }

  .france-map-wrapper {
    padding: 15px;
  }

  .france-map-legend {
    flex-direction: column;
    gap: 15px;
  }
}

/* Animation au chargement */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.france-map-container {
  animation: fadeIn 0.5s ease-out;
}

/* Style pour les données JSON cachées */
.france-map-data {
  display: none;
}

/* Titre optionnel */
.france-map-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}

.france-map-subtitle {
  text-align: center;
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 30px;
}
