/* ── Conteneur principal ── */
.event-picker.ml-dux-ready {
  border: 1px solid #06694f;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}

.event-picker.ml-dux-ready > .dates-list,
.event-picker.ml-dux-ready > .date-add-new,
.event-picker.ml-dux-ready script.datetpl {
  display: none !important;
}

.ml-dux {
  font-family: inherit;
  color: #1f2937;
}

/* ── Onglets : pills, toujours horizontaux, jamais empilés ── */
.ml-dux__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ml-dux__tab {
  appearance: none;
  border: 1px solid #d7dfdb;
  background: #fff;
  color: #374151;
  font-weight: 600;
  font-size: 14px;
  border-radius: 20px;
  padding: 8px 18px;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

.ml-dux__tab.is-active {
  background: #06694f;
  border-color: #06694f;
  color: #fff;
}

.ml-dux__panel {
  display: none;
}

.ml-dux__panel.is-active {
  display: block;
}

.ml-dux__section-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

/* ── Cartes ── */
.ml-dux-card {
  background: #fff;
  border: 1px solid #dbe5e0;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.ml-dux-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ml-dux-card__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #1f2937;
}

/* ── Boutons ── */
.ml-dux-btn {
  appearance: none;
  border: 1px solid #d7dfdb;
  background: #fff;
  color: #263238;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
}

.ml-dux-linkbtn {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 0;
  font-weight: 600;
  color: #374151;
}

.ml-dux-btn--danger {
  color: #c74c46;
  border-color: transparent;
  background: transparent;
  padding: 4px 8px;
  font-size: 13px;
}

.ml-dux-btn--ghost {
  background: #f7faf8;
  width: 100%;
  text-align: center;
  display: block;
  box-sizing: border-box;
  border-style: dashed;
}

/* ── Inputs (date, time, number) ── */
.ml-dux input[type="date"],
.ml-dux input[type="time"],
.ml-dux input[type="number"] {
  width: 100%;
  border: 1px solid #d7dfdb;
  border-radius: 12px;
  padding: 11px 13px;
  min-height: 46px;
  font-size: 16px;
  background: #fff;
  box-sizing: border-box;
  color: #1f2937;
  -webkit-appearance: none;
}

.ml-dux input[type="number"] {
  min-height: 40px;
  padding: 8px 12px;
}

/* ── Champ date (pleine largeur) ── */
.ml-dux-date-field {
  margin-bottom: 10px;
}

/* ── Créneau wrapper ── */
.ml-dux-slot-wrap {
  border: 1px solid #edf2ef;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.ml-dux-slot-wrap:last-of-type {
  margin-bottom: 0;
}

/* ── Ligne De / À : deux colonnes côte à côte, JAMAIS de scroll ── */
.ml-dux-time-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.ml-dux-time-row > div {
  flex: 1;
  min-width: 0; /* empêche le débordement */
}

/* ── Labels discrets au-dessus des inputs ── */
.ml-dux-time-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Capacité inline dans chaque créneau ── */
.ml-dux-cap-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.ml-dux-cap-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  padding-top: 2px;
  white-space: nowrap;
}

.ml-dux-cap-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.ml-dux-cap-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 90px;
  max-width: 160px;
}

/* ── Actions d'un créneau (supprimer) ── */
.ml-dux-slot-actions {
  margin-top: 10px;
  text-align: right;
}

/* ── Pied de carte (bouton ajouter créneau) ── */
.ml-dux-footer {
  margin-top: 12px;
}

/* ── Cercles de jours (mode récurrence) ── */
.ml-dux-day-circles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ml-dux-day-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d7dfdb;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  appearance: none;
  flex-shrink: 0;
}

.ml-dux-day-circle.is-active {
  background: #06694f;
  border-color: #06694f;
  color: #fff;
}

/* ── Message aide ── */
.ml-dux-help {
  margin: 4px 0 12px;
  color: #6b7280;
  font-size: 13px;
  font-style: italic;
}

/* ── Utilitaires ── */
.ml-dux-hidden {
  display: none !important;
}

/* ── Aucun media-query nécessaire : tout est déjà mobile-first ── */
