#mapid {
  margin-top: 30px;
  height: 70vh;
  border: #0952f0 solid 2px;
  /*background-color: bisque;*/
}
/* Couleur pour les petits clusters */
.marker-cluster-small {
  background-color: #f1e204 !important; /* bleu */
  color: #fff;
}

/* Couleur pour les clusters moyens */
.marker-cluster-medium {
  background-color: #1cc88a !important; /* vert */
  color: #fff;
}

/* Couleur pour les grands clusters */
.marker-cluster-large {
  background-color: #0952f0 !important; /* rouge */
  color: #fff;
}

/* Style général du cercle */
.marker-cluster div {
  border-radius: 50%;
  border: 2px solid #fff;
  text-align: center;
  font-weight: bold;
  line-height: 40px;
}
/* Style pour le contrôle personnalisé */
#custom-control {
  margin-bottom: 10px;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  width: fit-content;
}
.filtre-group label {
  margin-right: 15px;
  font-weight: bold;
  cursor: pointer;
}
/* Style pour la légende */
.info.legend {
  background-color: rgba(132, 129, 129, 0.7); /* Fond sombre semi-transparent */
  padding: 10px;
  color: #0d0d0d; /* Texte en blanc */
  font-family: Arial, sans-serif;
  font-size: 14px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Style pour l'en-tête de la légende */
.info.legend strong {
  font-weight: bold;
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}

/* Style pour les icônes de la légende */
.info.legend i {
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 5px;
  border: 1px solid #fff; /* contour en blanc pour plus de contraste */
}
/* Ajoute ce style dans ton fichier css/style.css */
#chart-container {
  width: 350px;
  max-width: 100%;
  margin: 0 auto 20px auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 10px;
}
#chart-container canvas {
  width: 100% !important;
  height: 300px !important;
  max-height: 350px;
  display: block;
  margin: 0 auto;
}
  /* conteneur responsive pour le canvas */
  
  
/* ====================================================================== */
/* Styles personnalisés pour la startbar menu - boutons plus larges */
/* ====================================================================== */
.startbar .card-body {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.startbar .btn-group-vertical {
  width: 100% !important;
}

.startbar .btn-group-vertical .btn {
  width: 100% !important;
  text-align: left !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  margin-bottom: 8px !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.startbar .btn-outline-primary {
  border: 2px solid #4f46e5 !important;
  color: #4f46e5 !important;
  background-color: transparent !important;
}

.startbar .btn-outline-primary:hover {
  background-color: #4f46e5 !important;
  color: white !important;
  transform: translateX(5px) !important;
  border-color: #4f46e5 !important;
}

.startbar .btn-check:checked + .btn-outline-primary {
  background-color: #4f46e5 !important;
  border-color: #4f46e5 !important;
  color: white !important;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3) !important;
}

.startbar .btn-check:checked + .btn-outline-primary::after {
  content: '✓' !important;
  margin-left: auto !important;
  font-size: 16px !important;
  font-weight: bold !important;
  color: white !important;
}

.startbar .menu-label {
  padding: 0 15px !important;
  margin-top: 1rem !important;
  margin-bottom: 15px !important;
}

.startbar .menu-label span {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #6b7280 !important;
  letter-spacing: 1px !important;
}
