.filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-group select {
  width: 100%;
  background: #ffffff;
  border: 1px solid #2a2f3e;
  border-radius: 8px;
  color: #000000;
  font-size: 13px;
  padding: 8px 10px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  transition: border-color 0.2s;
}
.filter-group select:focus { border-color: #cffe61; }

.btn-reset {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid #2a2f3e;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
}
.btn-reset:hover {
  border-color: #cffe61;
  color: #cffe61;
}

button.formsapp-popup-button {
  padding: 0.8em 1em !important;
  font-size: 12px !important;
  color: #ffffff !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  gap: 10px !important;
}

.btn-adhesion {
  display: block;
  width: 100%;
  padding: 10px;
  background: #cffe61;
  border: none;
  border-radius: 8px;
  color: #3959b0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-lien {
  display: flex;
  align-items: center; /* Aligne verticalement l'icône et le texte */
  gap: 10px; /* Espace entre l'icône et le texte */
  width: 100%;
  padding: 0.8em 1em;
  background: #3959b0;
  border: 1px solid #2a2f3e;
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: left; /* Texte aligné à gauche */
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 8px;
}

.btn-lien:hover {
  background: #cffe61;
  border-color: #4fc3a1;
  color: #000000;
}

.btn-lien svg {
  flex-shrink: 0; /* Empêche le SVG de rétrécir */
  stroke: currentColor; /* Prend la couleur du texte parent */
}

.btn-signalement {
  margin: 0 auto;
  padding: 10px;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.75;
}

.legend-details {
  margin-top: 8px;
}

.legend-details summary {
  cursor: pointer;
  list-style: none; /* enlève la flèche par défaut du navigateur */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legend-details summary::-webkit-details-marker {
  display: none; /* enlève la flèche sur Chrome/Safari */
}

.legend-details summary::after {
  content: '▸';
  font-size: 25px;
  transition: transform 0.2s;
  color: #6b7280;
}

.legend-details[open] summary::after {
  transform: rotate(90deg);
}

.legend-details .legend {
  margin-top: 8px;
}

.icon-btn {
  width: 100%;
  height: auto;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
  padding: 10px 4px;

  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0; /* empêche le SVG de se faire écraser */
}

.icon-btn:hover {
  background: #1e2233;
  color: #cffe61;
}

.icon-btn.active {
  background: #cffe61;
  color: #3959b0;
}

/* ── Panneaux internes de la sidebar ── */
.panel-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-form:hover {
  background: #cffe61 !important;
  border-color: #4fc3a1 !important;
  color: #000000 !important;
}

/* Légende couleurs par rôle */
.legend { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9ca3af; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }