/* ==========================================================================
   SMS de rappel avant un tir (lot 3) : Réglages → SMS (carte des rappels),
   Réglages → un événement (interrupteur de l'événement).
   Reprend les cartes, lignes, pastilles et interrupteurs de app.css.
   ========================================================================== */

/* ---------- Réglages → SMS ---------- */
.rappels { margin-bottom: 12px; }
.rappels-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.rappels-tete h2, .rappels-suite { margin: 0; }
.rappels-suite { margin: 20px 0 14px; }
.rappels .carte > h3, .rappels .sms-texte h3 { text-transform: uppercase; }
.rappels .sms-grille .carte > h3.mt-0 { margin-top: 0; }
.rappels .alerte { margin: 12px 0 8px; }
.rappels .interrupteur { margin-top: 4px; }
.rappels-aide { margin: 2px 0 16px; }
.rappels-minutes .champ { margin-bottom: 14px; }
.rappels-minutes-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 400; }
.rappels-minutes-ligne input { width: 110px; flex: none; font-size: 1.3rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.rappels-unite { font-weight: 600; margin-right: 6px; }
.rappels .ligne-titre { overflow-wrap: anywhere; }
.rappels-quand { font-weight: 400; font-size: 1rem; white-space: nowrap; }
.rappels-sms { font-style: italic; margin-top: 4px; }
.rappels .ligne-detail .pastille { margin-right: 4px; }
/* Pastille sans couleur d'état (« SMS à 14:25 », « Simulé ») : fond blanc, pour ressortir sur la ligne grise. */
.rappels .ligne .pastille:not([class*="etat-"]) { background: var(--surface); }
/* (revue) Très petit téléphone (320 px) : une longue pastille (« Rappels coupés pour cet événement ») passe à la
   ligne au lieu de pousser la ligne hors de l'écran (14 px : toujours arrondie comme une pastille sur une ligne). */
.rappels .ligne .pastille { white-space: normal; border-radius: 14px; }
.rappels-vide { margin: 0; }
.rappels .sms-details { margin: 8px 0 0; }
.rappels .sms-details > .liste { margin-top: 4px; }

/* ---------- Réglages → un événement ---------- */
.rappels-evenement { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--bordure); }
.rappels-evenement .interrupteur { margin-top: 0; }
.rappels-evenement p { margin: 0; }

/* (lot 9a) Téléphone : la pastille d'état est TOUJOURS sous le titre (même place, quelle que soit la
   longueur de son texte) : rien ne descend quand elle passe de « … » à « En marche ». */
@media (max-width: 759px) {
  .rappels-tete { flex-direction: column; align-items: flex-start; }
}
