/* ============================================================
   COIFF'TENDANCES · dashboard.css
   Styles de l'espace privé (login.html + dashboard.html).
   Même palette DA v2 que le site public, interface outil :
   sobre, lisible, utilisable d'une main sur téléphone.
   ============================================================ */

:root {
  --bleu-royal: #1668D4;
  --blanc-pur: #FFFFFF;
  --jaune-soleil: #F5C200;
  --hibiscus: #E02828;
  --navy: #0C1C46;

  --fond: #F3F6FC;
  --bordure: rgba(12, 28, 70, 0.12);
  --vert-ok: #1B9E4B;

  --font-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --font-texte: "Hanken Grotesk", sans-serif;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(12, 28, 70, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-texte);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--navy);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-titre); font-weight: 800; line-height: 1.15; }

button { font-family: inherit; }

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo img { display: block; width: 96px; height: auto; }

/* Sur la carte de connexion, le logo est le seul repère : il peut respirer */
.page-login .logo img { width: 200px; margin: 0 auto 1.2rem; }
.page-login .logo { justify-content: center; width: 100%; }

/* ------------------------------------------------------------
   BOUTONS DASHBOARD
   ------------------------------------------------------------ */
.btn-dash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-dash:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-dash:disabled { opacity: 0.55; cursor: wait; }

.btn-dash-primaire { background: var(--bleu-royal); color: var(--blanc-pur); }
.btn-dash-soleil   { background: var(--jaune-soleil); color: var(--navy); }
.btn-dash-danger   { background: transparent; color: var(--hibiscus); border: 1.5px solid var(--hibiscus); }
.btn-dash-ghost    { background: transparent; color: var(--bleu-royal); border: 1.5px solid var(--bleu-royal); }
.btn-dash-wa       { background: #25D366; color: var(--blanc-pur); }

/* ------------------------------------------------------------
   PAGE LOGIN
   ------------------------------------------------------------ */
.page-login {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(150deg, var(--bleu-royal), var(--navy));
}

.login-carte {
  width: min(400px, 100%);
  background: var(--blanc-pur);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2.2rem 1.8rem;
  text-align: center;
}

.login-carte h1 { font-size: 1.5rem; margin: 1rem 0 0.3rem; }
.login-sous-titre { font-size: 0.95rem; opacity: 0.75; margin-bottom: 1.5rem; }

.login-carte form { text-align: left; display: grid; gap: 0.4rem; }

.login-carte label { font-weight: 500; font-size: 0.9rem; margin-top: 0.6rem; }

.login-carte input {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--bordure);
  border-radius: 10px;
  width: 100%;
}

.login-carte input:focus { outline: 2px solid var(--bleu-royal); border-color: transparent; }

.login-carte .btn-dash { margin-top: 1.2rem; width: 100%; }

.login-erreur {
  color: var(--hibiscus);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.6rem;
}

.login-retour {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--bleu-royal);
  text-decoration: none;
}

/* ------------------------------------------------------------
   STRUCTURE DASHBOARD
   ------------------------------------------------------------ */
.dash-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blanc-pur);
  border-bottom: 1px solid var(--bordure);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.dash-header .titre-espace {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  opacity: 0.8;
}

.dash-main {
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: 1.2rem 1rem 5rem;
}

/* Onglets de navigation interne */
.dash-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.dash-nav button {
  flex-shrink: 0;
  background: var(--blanc-pur);
  border: 1.5px solid var(--bordure);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
}

.dash-nav button.actif {
  background: var(--bleu-royal);
  border-color: var(--bleu-royal);
  color: var(--blanc-pur);
}

.vue { display: none; }
.vue.active { display: block; }

.vue h1 { font-size: 1.45rem; margin-bottom: 1rem; }
.vue h2 { font-size: 1.1rem; margin: 1.6rem 0 0.7rem; }

/* ------------------------------------------------------------
   CARTES ET COMPTEURS
   ------------------------------------------------------------ */
.compteurs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

@media (min-width: 720px) { .compteurs { grid-template-columns: repeat(4, 1fr); } }

.compteur {
  background: var(--blanc-pur);
  border-radius: var(--radius);
  padding: 1rem;
  border-top: 4px solid var(--bleu-royal);
}

.compteur:nth-child(2) { border-top-color: var(--jaune-soleil); }
.compteur:nth-child(3) { border-top-color: var(--hibiscus); }
.compteur:nth-child(4) { border-top-color: var(--vert-ok); }

.compteur .valeur {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--navy);
}

.compteur .intitule { font-size: 0.82rem; opacity: 0.75; }

.carte {
  background: var(--blanc-pur);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-top: 1rem;
}

/* ------------------------------------------------------------
   LISTES DE CLIENTES
   ------------------------------------------------------------ */
.barre-outils {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
}

.champ-recherche {
  flex: 1;
  min-width: 200px;
  font: inherit;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--bordure);
  border-radius: 999px;
  background: var(--blanc-pur);
}

.champ-recherche:focus { outline: 2px solid var(--bleu-royal); border-color: transparent; }

select.tri {
  font: inherit;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--bordure);
  border-radius: 999px;
  background: var(--blanc-pur);
}

.liste-clientes { list-style: none; display: grid; gap: 0.6rem; }

.ligne-cliente {
  background: var(--blanc-pur);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}

.ligne-cliente:hover { border-color: var(--bleu-royal); }

.ligne-cliente .nom { font-weight: 700; }
.ligne-cliente .detail { font-size: 0.83rem; opacity: 0.7; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-fidelite { background: var(--jaune-soleil); color: var(--navy); }
.badge-relance  { background: rgba(224, 40, 40, 0.12); color: var(--hibiscus); }

.liste-vide {
  text-align: center;
  padding: 1.5rem;
  opacity: 0.65;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   FICHE CLIENTE
   ------------------------------------------------------------ */
.fiche-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.fiche-infos {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.fiche-infos .etiquette { font-weight: 700; font-size: 0.8rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.06em; }

/* Barre de progression fidélité */
.fidelite-barre {
  background: rgba(12, 28, 70, 0.08);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.fidelite-barre .remplissage {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bleu-royal), var(--jaune-soleil));
  transition: width 0.4s ease;
}

.fidelite-texte { font-size: 0.85rem; opacity: 0.8; }

/* Historique des visites */
.historique { list-style: none; display: grid; gap: 0.5rem; margin-top: 0.6rem; }

.historique li {
  border-left: 3px solid var(--bleu-royal);
  background: var(--fond);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.historique .date { font-weight: 700; }
.historique .etoiles { color: var(--jaune-soleil); letter-spacing: 0.1em; }

/* ------------------------------------------------------------
   TEMPLATES MESSAGES
   ------------------------------------------------------------ */
.template-msg {
  background: var(--fond);
  border: 1.5px dashed var(--bordure);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-top: 0.8rem;
}

.template-msg .type {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bleu-royal);
  display: block;
  margin-bottom: 0.4rem;
}

.template-msg p { font-size: 0.92rem; margin-bottom: 0.7rem; white-space: pre-line; }

/* ------------------------------------------------------------
   FORMULAIRES ET MODALES
   ------------------------------------------------------------ */
dialog.modale {
  width: min(520px, calc(100% - 2rem));
  border: none;
  border-radius: 16px;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog.modale::backdrop { background: rgba(12, 28, 70, 0.55); }

.modale-inner { padding: 1.4rem; }

.modale-inner h2 { font-size: 1.2rem; margin-bottom: 1rem; }

.form-grille { display: grid; gap: 0.7rem; }

.form-grille label { font-weight: 500; font-size: 0.88rem; }

.form-grille input,
.form-grille select,
.form-grille textarea {
  font: inherit;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--bordure);
  border-radius: 10px;
  margin-top: 0.2rem;
}

.form-grille input:focus,
.form-grille select:focus,
.form-grille textarea:focus { outline: 2px solid var(--bleu-royal); border-color: transparent; }

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

/* Étoiles de satisfaction (radios masquées, labels cliquables) */
.etoiles-choix { display: flex; gap: 0.3rem; font-size: 1.7rem; }

.etoiles-choix input { position: absolute; opacity: 0; pointer-events: none; }

.etoiles-choix label { cursor: pointer; color: rgba(12, 28, 70, 0.25); transition: color 0.15s ease; }

.etoiles-choix label.active { color: var(--jaune-soleil); }

/* Alerte fidélité atteinte */
.alerte-fidelite {
  background: var(--jaune-soleil);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-weight: 500;
  margin-top: 1rem;
}

.alerte-fidelite strong { font-family: var(--font-titre); }

/* Avertissement configuration Supabase manquante */
.alerte-config {
  background: rgba(224, 40, 40, 0.1);
  border: 1.5px solid var(--hibiscus);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

/* Notification passagère (toast) */
.toast {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--blanc-pur);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.toast.visible { opacity: 1; }

/* ------------------------------------------------------------
   GALERIE : uploader avant/après + photos
   ------------------------------------------------------------ */
.type-ajout { display: flex; gap: 0.6rem; margin-bottom: 1rem; flex-wrap: wrap; }

.type-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--bordure);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
}

.type-option input { accent-color: var(--bleu-royal); }

.type-option.actif {
  border-color: var(--bleu-royal);
  background: rgba(22, 104, 212, 0.08);
  color: var(--bleu-royal);
  font-weight: 700;
}

.dropzones { display: grid; gap: 1rem; grid-template-columns: 1fr; }

/* Sans cette règle, le "display: grid" ci-dessus l'emporte sur l'attribut
   hidden et les deux blocs de dépôt restent visibles en même temps. */
.dropzones[hidden] { display: none; }

@media (min-width: 560px) { #dropzones-paire { grid-template-columns: 1fr 1fr; } }

.dropzone {
  position: relative;
  border: 2px dashed var(--bordure);
  border-radius: var(--radius);
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  background: var(--fond);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone.survol { border-color: var(--bleu-royal); background: rgba(22, 104, 212, 0.06); }
.dropzone.rempli { border-style: solid; }

.dz-vide { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem; pointer-events: none; }
.dz-titre { font-family: var(--font-titre); font-weight: 700; color: var(--navy); }
.dz-aide { font-size: 0.82rem; opacity: 0.7; }

.dz-apercu { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.dz-retirer {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--hibiscus);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}

.barre-progres {
  height: 6px;
  border-radius: 999px;
  background: rgba(12, 28, 70, 0.1);
  overflow: hidden;
  margin-top: 1rem;
}

.barre-progres-remplissage {
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bleu-royal), var(--jaune-soleil));
  animation: progres-indef 1.1s ease-in-out infinite;
}

@keyframes progres-indef {
  0% { margin-left: -40%; }
  100% { margin-left: 100%; }
}

.galerie-admin { display: grid; gap: 0.8rem; }

.real-admin {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--blanc-pur);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 0.7rem;
}

.real-admin img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }

.real-admin-info { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; min-width: 0; }
.real-admin-info strong { font-size: 0.98rem; }
.real-admin-info span { font-size: 0.83rem; opacity: 0.75; }

.real-admin-badge {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bleu-royal);
  color: #fff;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
}

.real-admin .btn-dash { flex-shrink: 0; }

/* ------------------------------------------------------------
   AUJOURD'HUI : la journée de travail de Rose-Marie
   ------------------------------------------------------------ */
.jour-entete {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.jour-entete h1 { margin-bottom: 0.2rem; }

.jour-date {
  font-size: 0.95rem;
  opacity: 0.75;
  text-transform: capitalize;
}

.compteurs-jour { grid-template-columns: repeat(3, 1fr); }

.liste-rdv { list-style: none; display: grid; gap: 0.6rem; }

.ligne-rdv {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--blanc-pur);
  border: 1px solid var(--bordure);
  border-left: 5px solid var(--bleu-royal);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  flex-wrap: wrap;
}

/* Heure du rendez-vous, bien lisible d'un coup d'œil */
.rdv-heure {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--bleu-royal);
  min-width: 3.6rem;
  flex-shrink: 0;
}

.rdv-info { flex: 1; min-width: 8rem; }
.rdv-info .nom { font-weight: 700; }
.rdv-info .detail { font-size: 0.84rem; opacity: 0.72; }

.rdv-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.rdv-actions .btn-dash { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* Rendez-vous déjà traités : en retrait, sans disparaître */
.ligne-rdv.statut-venue { border-left-color: var(--vert-ok); opacity: 0.72; }
.ligne-rdv.statut-absente { border-left-color: var(--hibiscus); opacity: 0.6; }

.badge-venue { background: rgba(27, 158, 75, 0.15); color: var(--vert-ok); }

/* Deux champs côte à côte dans les formulaires (date et heure) */
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

/* ------------------------------------------------------------
   FIDÉLITÉ : paliers multiples
   ------------------------------------------------------------ */
.liste-paliers { list-style: none; display: grid; gap: 0.6rem; margin-top: 1rem; }

.ligne-palier {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--blanc-pur);
  border: 1px solid var(--bordure);
  border-left: 5px solid var(--jaune-soleil);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  flex-wrap: wrap;
}

/* Le nombre de visites, bien lisible d'un coup d'œil */
.palier-nb {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--bleu-royal);
  min-width: 2.4rem;
  text-align: center;
  flex-shrink: 0;
}

.palier-info { flex: 1; min-width: 8rem; }
.palier-info .nom { font-weight: 700; }
.palier-info .detail { font-size: 0.83rem; opacity: 0.7; }

.palier-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.palier-actions .btn-dash { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ------------------------------------------------------------
   CAMPAGNES : segments, modèles, liste d'envoi
   ------------------------------------------------------------ */
.segments { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.segment {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--bordure);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.segment input { accent-color: var(--bleu-royal); }

.segment.actif {
  border-color: var(--bleu-royal);
  background: rgba(22, 104, 212, 0.08);
  color: var(--bleu-royal);
  font-weight: 700;
}

.segment-compte {
  margin-top: 0.9rem;
  font-family: var(--font-titre);
  font-weight: 700;
  color: var(--bleu-royal);
}

.modeles { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.modele-btn {
  border: 1.5px dashed var(--bordure);
  background: var(--fond);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.modele-btn:hover { border-color: var(--bleu-royal); color: var(--bleu-royal); }

#campagne-message {
  font: inherit;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--bordure);
  border-radius: 10px;
  resize: vertical;
}

#campagne-message:focus { outline: 2px solid var(--bleu-royal); border-color: transparent; }

.apercu-msg {
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(37, 211, 102, 0.1);
  border-left: 3px solid #25D366;
  border-radius: 8px;
  font-size: 0.92rem;
  white-space: pre-line;
}

.campagne-entete {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
}

.note-envoi {
  font-size: 0.86rem;
  opacity: 0.75;
  margin: 0.7rem 0 1rem;
}

.liste-campagne { list-style: none; display: grid; gap: 0.5rem; }

.ligne-campagne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: var(--blanc-pur);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 0.75rem 0.95rem;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.ligne-campagne .nom { font-weight: 700; }
.ligne-campagne .detail { font-size: 0.83rem; opacity: 0.7; }

/* Ligne déjà traitée : on la met en retrait sans la masquer */
.ligne-campagne.envoye { opacity: 0.55; border-color: var(--vert-ok); }

.sans-numero { font-size: 0.83rem; color: var(--hibiscus); flex-shrink: 0; }

/* Envoi groupé par email */
#email-objet {
  font: inherit;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--bordure);
  border-radius: 10px;
}

#email-objet:focus { outline: 2px solid var(--bleu-royal); border-color: transparent; }

.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.email-actions .note-envoi { flex-basis: 100%; margin: 0.2rem 0 0; }

.email-actions .envoye-btn { background: var(--vert-ok); }

/* ------------------------------------------------------------
   CORRECTIFS D'AUDIT (07/08/2026)
   Rose-Marie utilise ce dashboard d'une main, sur téléphone :
   toutes les cibles doivent tenir sous le pouce (44px minimum).
   ------------------------------------------------------------ */

.btn-dash {
  min-height: 44px;
}

/* Venue / Absente : le geste quotidien, et deux boutons voisins.
   Trop serrés, on marque "absente" une cliente qui est venue. */
.rdv-actions .btn-dash {
  padding: 0.7rem 1.2rem;
}

.rdv-actions { gap: 0.7rem; }

.palier-actions .btn-dash { padding: 0.6rem 1rem; }

/* Étoiles de satisfaction : viser la 3e ou la 4e au pouce était aléatoire */
.etoiles-choix label {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dz-retirer {
  width: 40px;
  height: 40px;
}

/* Onglets : Campagnes et Fidélité sortent de l'écran à 360px sans que
   rien ne le laisse deviner, la barre de défilement étant masquée. */
.dash-nav {
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}

@media (min-width: 620px) {
  .dash-nav { -webkit-mask-image: none; mask-image: none; }
}

.dash-nav button { min-height: 44px; }

/* Bloc de sauvegarde, en bas de la liste des clientes */
.bloc-sauvegarde { margin-top: 1.6rem; }
.bloc-sauvegarde p { margin: 0.5rem 0 1rem; opacity: 0.85; }

/* Zone de suppression : visuellement à part, en bas de fiche.
   Le rouge n'est pas décoratif ici, il annonce l'irréversible. */
.zone-danger {
  margin-top: 2rem;
  border: 1.5px solid rgba(224, 40, 40, 0.35);
  background: rgba(224, 40, 40, 0.04);
}

.zone-danger h2 { margin-top: 0; color: var(--hibiscus); font-size: 1rem; }
.zone-danger p { font-size: 0.9rem; opacity: 0.85; margin: 0.4rem 0 1rem; }
