/* Aide et suggestions (écran des utilisateurs et suivi par le site père).
  Règles déplacées de booking.css (étape 7 de l’audit), dans leur ordre d’origine ; chargé juste après booking.css. */

:root {
  /* Palette du fichier : couleurs écrites en dur remplacées par ces variables (mêmes valeurs). */
  --c-amber-44: #e0a100;
  --c-green-30: #1a7f37;
  --c-red-41: #b3261e;
  --c-white: #fff;
}
/* Section d’origine : Vols suivis (alertes retard / annulation) */
.sup-choices {
  display: grid;
  gap: 0.7rem;
  margin: 0.6rem 0 1.2rem;
}
.sup-choice {
  display: grid;
  gap: 0.25rem;
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--theme-border, #c9ced6);
  background: var(--theme-surface, #fff);
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-height: 64px;
}
.sup-choice:hover,
.sup-item:hover {
  border-color: var(--theme-primary, #1d4ed8);
}
.sup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.sup-item {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  text-align: left;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--theme-border, #c9ced6);
  background: var(--theme-surface, #fff);
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.sup-meta {
  color: var(--theme-muted, #5b6168);
  font-size: 0.88rem;
}
.sup-dot {
  color: var(--c-white);
  background: var(--c-danger);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  font-size: 0.78rem;
  margin-left: 0.3rem;
}
.sup-kind {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.05rem 0.6rem;
  background: var(--theme-primary-soft, rgba(29, 78, 216, 0.1));
}
.sup-bug {
  background: rgba(179, 38, 30, 0.12);
  color: var(--c-danger);
}
.sup-idea {
  background: rgba(26, 127, 55, 0.12);
  color: var(--c-green-30);
}
.sup-status {
  font-weight: 700;
}
.sup-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--theme-border, #d0d5dd);
  border-radius: 14px;
  background: var(--theme-surface, #fff);
  margin: 0.6rem 0;
}
.sup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.sup-back {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--theme-border, #c9ced6);
  background: var(--theme-surface, #fff);
  color: inherit;
}
.sup-error {
  color: var(--c-danger);
  margin: 0;
  min-height: 1.2em;
}
.sup-msg {
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: var(--theme-primary-soft, rgba(29, 78, 216, 0.1));
}
.sup-previews,
.sup-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sup-thread {
  display: grid;
  gap: 0.6rem;
  margin: 0.6rem 0;
}
.sup-bubble {
  max-width: 92%;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--theme-border, #d0d5dd);
}
.sup-me {
  justify-self: end;
  background: var(--theme-primary-soft, rgba(29, 78, 216, 0.1));
}
.sup-them {
  justify-self: start;
  background: var(--theme-surface, #fff);
}
.sup-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  margin: 0 0 0.8rem;
  border-radius: 12px;
  background: var(--theme-primary-soft, rgba(29, 78, 216, 0.12));
  border: 1px solid var(--theme-primary, #1d4ed8);
}
.sup-question {
  background: rgba(31, 79, 142, 0.12);
  color: #1f4f8e;
}
/* V199 : SAV côté demandeur (note, réouverture, canal, demandes de la société). */
.sup-stars {
  display: flex;
  gap: 4px;
  border: 0;
  padding: 0;
  margin: 0;
}
.sup-stars legend {
  font-weight: 700;
  margin-bottom: 6px;
}
.sup-stars label {
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  color: #c3cad4;
}
.sup-stars input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.sup-stars label:has(input:checked),
.sup-stars label:has(~ label input:checked) {
  color: var(--c-amber-44);
}
.sup-stars input:focus-visible + span {
  outline: 2px solid var(--theme-accent, #1f5f9e);
}
.sup-scope {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.sup-scope button {
  border: 1px solid var(--theme-border, #d5dde7);
  background: var(--theme-surface, #fff);
  border-radius: 999px;
  padding: 6px 14px;
  min-height: 40px;
  cursor: pointer;
}
.sup-scope button[aria-selected='true'] {
  background: var(--theme-accent, #1f5f9e);
  color: var(--theme-on-accent, #fff);
  border-color: var(--theme-accent, #1f5f9e);
}
.sup-channel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.sup-solution {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(26, 127, 55, 0.1);
}
.sup-stars .sr-only,
.as-rate .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#sup-reopen {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--c-red-41);
  background: var(--theme-surface, #fff);
  color: var(--c-red-41);
}
.sup-rm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sup-vote {
  margin-left: auto;
  min-height: 40px;
  min-width: 56px;
  border: 1px solid var(--theme-border, #d5dde7);
  border-radius: 999px;
  background: var(--theme-surface, #fff);
  cursor: pointer;
}
.sup-vote[aria-pressed='true'] {
  background: var(--theme-accent, #1f5f9e);
  color: var(--theme-on-accent, #fff);
}
