.sp-auth-my-account,
.sp-auth-my-account * {
  box-sizing: border-box;
}

/*
 * Remise à zéro limitée au conteneur mon compte (remplace preflight Tailwind globale).
 */
.sp-auth-my-account,
.sp-auth-my-account-guest {
  line-height: inherit;
}

.sp-auth-my-account :where(h1, h2, h3, h4, h5, h6),
.sp-auth-my-account-guest :where(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.sp-auth-my-account :where(a),
.sp-auth-my-account-guest :where(a) {
  color: inherit;
  text-decoration: inherit;
}

.sp-auth-my-account :where(ol, ul),
.sp-auth-my-account-guest :where(ol, ul) {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Kadence/thème : `.sp-auth-table` EST la <table>, pas un wrapper.
   Neutralise les marges sur toutes les tables du shortcode mon compte (+ modal portail). */
.sp-auth-my-account table,
.sp-auth-my-account table.sp-auth-table,
.sp-auth-my-account .sp-auth-table,
.sp-auth-my-account .sp-auth-table-wrap table,
.sp-auth-my-account .sp-auth-booking-recap table,
.sp-auth-modal table,
.sp-auth-modal table.sp-auth-table,
.sp-auth-modal .sp-auth-table,
.sp-auth-modal .sp-auth-booking-recap table {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-block: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.sp-auth-my-account .sp-auth-table-wrap,
.sp-auth-my-account .sp-auth-table-wrap__scroller,
.sp-auth-my-account table.sp-auth-table {
  width: 100% !important;
  max-width: 100% !important;
}

.sp-auth-my-account {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.sp-auth-modal {
  z-index: 200000 !important;
}

.sp-auth-modal__dialog {
  z-index: 200001 !important;
}

.sp-auth-booking-recap__credipark-popover {
  z-index: 200100 !important;
}

.sp-auth-info-tooltip__panel {
  z-index: 200100 !important;
}

/*
 * Thème bloc : `svg { fill: … }` remplit les pictogrammes stroke (remboursement, étapes)
 * d’un disque blanc. On force le trait.
 */
.sp-auth-modal .sp-cx-icon,
.sp-auth-modal .sp-auth-cancel-modal__step-dot svg,
.sp-auth-modal .sp-auth-cancel-modal__booking-icon svg,
.sp-auth-modal .sp-auth-cancel-modal__success-icon svg,
.sp-auth-modal .sp-refund-note__medallion svg,
.sp-auth-modal .sp-status-hero__halo svg,
.sp-auth-modal .sp-parking-contact__medallion svg {
  fill: none !important;
  stroke: currentColor !important;
  max-width: none !important;
  max-height: none !important;
}

.sp-auth-modal .sp-auth-cancel-modal__success-actions :is(a, button).sp-auth-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  min-height: 3rem !important;
  height: 3rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.25 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sp-auth-modal .sp-auth-cancel-modal__steps-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sp-auth-modal .sp-auth-cancel-modal__step + .sp-auth-cancel-modal__step::before {
  align-self: center !important;
  height: 2px !important;
  min-height: 2px !important;
  max-height: 2px !important;
}

/* Thème WP : margin-bottom des <p> trop fort sous le sous-titre ACF Credipark. */
.sp-auth-my-account .sp-auth-credipark__subtitle,
.sp-auth-my-account p.sp-auth-credipark__subtitle {
  margin-top: 0 !important;
  margin-bottom: 0.25rem !important;
}

/*
 * Thème bloc (solution-web-base) : le chrome natif `button` / styles éléments WP
 * peignent un carré clair par-dessus l’icône d’expiration Credipark.
 */
.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn,
.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn:hover,
.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn:active,
.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn:focus,
.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn:focus-visible {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.7) !important;
  min-height: 0 !important;
  min-width: 0 !important;
  height: 1rem !important;
  width: 1rem !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  filter: none !important;
  transform: none !important;
}

.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn svg {
  display: block !important;
  width: 1rem !important;
  height: 1rem !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  fill: none !important;
  color: inherit !important;
}

.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn svg circle[fill="currentColor"],
.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn svg [fill="currentColor"] {
  fill: currentColor !important;
}

.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn svg path,
.sp-auth-my-account button.sp-auth-credipark__expiration-info-btn svg circle[fill="none"] {
  fill: none !important;
  stroke: currentColor !important;
}

/* Checklist : marge haute fiable (gap grille) + pas de squelette fantôme. */
.sp-auth-my-account .sp-auth-my-account__grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

.sp-auth-my-account .sp-auth-checklist[hidden],
.sp-auth-my-account .sp-auth-credipark__expiration[hidden] {
  display: none !important;
}

.sp-auth-my-account .sp-auth-checklist:not([hidden]) {
  margin-top: 0 !important;
}

.sp-auth-my-account .sp-auth-checklist__header {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.sp-auth-my-account .sp-auth-checklist__track {
  position: relative !important;
  min-height: 0.375rem !important;
  height: 0.375rem !important;
  margin-bottom: 1.125rem !important;
}

.sp-auth-my-account .sp-auth-checklist__fill {
  position: absolute !important;
  inset-block: 0 !important;
  left: 0 !important;
  min-height: 100% !important;
}

.sp-auth-my-account .sp-auth-checklist__stop {
  position: absolute !important;
}

.sp-auth-my-account .sp-auth-checklist__counter:empty {
  display: none !important;
}

/* Booking modal: empêche le flex row du header générique de casser la mise en page. */
.sp-auth-modal__header.sp-auth-modal__header--booking {
  display: block;
  width: 100%;
}

.sp-auth-booking-modal__toolbar,
.sp-auth-booking-modal__toolbar-divider,
.sp-auth-booking-modal__header-body,
.sp-auth-booking-modal__hero {
  width: 100%;
  min-width: 0;
}

/* Toolbar : grille stable ; desktop aligne fermer avec les actions. */
.sp-auth-modal .sp-auth-booking-modal__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.sp-auth-modal .sp-auth-booking-modal__header-actions {
  grid-column: 1 / -1;
  min-width: 0;
  flex-wrap: wrap;
}

.sp-auth-modal .sp-auth-booking-modal__toolbar > .sp-auth-modal__close--booking {
  flex-shrink: 0;
  justify-self: end;
}

@media (min-width: 641px) {
  .sp-auth-modal .sp-auth-booking-modal__toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) auto;
    grid-template-areas: "breadcrumb actions close";
  }

  .sp-auth-modal .sp-auth-booking-modal__breadcrumb {
    grid-area: breadcrumb;
  }

  .sp-auth-modal .sp-auth-booking-modal__header-actions {
    grid-area: actions;
    grid-column: auto;
    width: auto;
  }

  .sp-auth-modal .sp-auth-booking-modal__toolbar > .sp-auth-modal__close--booking {
    grid-area: close;
    justify-self: end;
  }
}

.sp-auth-booking-recap__section-head {
  list-style: none;
}

.sp-auth-booking-recap__section-head::-webkit-details-marker {
  display: none;
}

.sp-auth-modal .sp-auth-booking-recap__section {
  border: 1px solid color-mix(in oklab, var(--sp-wp-border, #e0e0e0) 78%, transparent);
}

@media (min-width: 641px) {
  .sp-auth-modal .sp-auth-booking-recap__section {
    border: 0;
  }

  .sp-auth-modal .sp-auth-booking-recap__task-wrap {
    border: 1px solid color-mix(in oklab, var(--sp-wp-border, #e0e0e0) 78%, transparent);
  }
}

/* Empêche le scroll de fond pendant qu’une modal est ouverte. */
html:has(body.sp-auth-modal-scroll-locked),
body.sp-auth-modal-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
  height: auto;
}

body.sp-auth-modal-scroll-locked {
  position: fixed !important;
  left: 0;
  right: 0;
  width: 100% !important;
}

/* Champs mon compte / modales : neutralise les overrides thème (Kadence, etc.). */
.sp-auth-my-account .sp-auth-input,
.sp-auth-modal .sp-auth-input {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 2.75rem !important;
  margin: 0 !important;
  border-radius: var(--sp-ma-radius-control, 12px) !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  line-height: 1.35 !important;
}

.sp-auth-my-account select.sp-auth-input,
.sp-auth-modal select.sp-auth-input {
  appearance: none !important;
  -webkit-appearance: none !important;
}

.sp-auth-my-account input[type="date"].sp-auth-input,
.sp-auth-modal input[type="date"].sp-auth-input {
  appearance: none !important;
  -webkit-appearance: none !important;
}

.sp-auth-my-account-guest {
  padding: 1.5rem;
  border: 1px solid var(--sp-ma-color-border, var(--sp-wp-border, #e0e0e0));
  border-radius: var(--sp-ma-radius-card, 20px);
  background: var(--sp-ma-color-base, var(--sp-wp-base, #fff));
}

/* Status badges: kept here (not Tailwind) so dynamic variants are never purged.
   Also scoped to .sp-auth-modal — booking/cancel dialogs are portaled to document.body. */
.sp-auth-my-account .sp-auth-status-badge,
.sp-auth-modal .sp-auth-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.375rem !important;
  width: max-content !important;
  max-width: 100%;
  min-height: 1.75rem;
  height: auto !important;
  box-sizing: border-box;
  border-radius: 9999px !important;
  padding: 0.25rem 0.625rem !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0;
  white-space: nowrap !important;
  vertical-align: middle;
}

.sp-auth-my-account .sp-auth-status-badge__label,
.sp-auth-modal .sp-auth-status-badge__label {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-weight: inherit;
}

.sp-auth-my-account .sp-auth-status-badge__icon,
.sp-auth-my-account .sp-auth-status-badge svg,
.sp-auth-modal .sp-auth-status-badge__icon,
.sp-auth-modal .sp-auth-status-badge svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  flex: 0 0 14px !important;
  margin: 0 !important;
}

.sp-auth-my-account .sp-auth-status-badge__dot,
.sp-auth-modal .sp-auth-status-badge__dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 0.5rem;
  border-radius: 9999px;
  background-color: currentColor;
}

.sp-auth-my-account .sp-auth-status-badge--completed,
.sp-auth-modal .sp-auth-status-badge--completed {
  color: #166534 !important;
  background-color: #dcfce7 !important;
}

.sp-auth-my-account .sp-auth-status-badge--processing,
.sp-auth-modal .sp-auth-status-badge--processing {
  color: #166534 !important;
  background-color: #dcfce7 !important;
}

.sp-auth-my-account .sp-auth-status-badge--processing .sp-auth-status-badge__dot,
.sp-auth-modal .sp-auth-status-badge--processing .sp-auth-status-badge__dot {
  background-color: #22c55e !important;
}

.sp-auth-my-account .sp-auth-status-badge--pending,
.sp-auth-modal .sp-auth-status-badge--pending {
  color: #c2410c !important;
  background-color: #ffedd5 !important;
}

.sp-auth-my-account .sp-auth-status-badge--on-hold,
.sp-auth-modal .sp-auth-status-badge--on-hold {
  color: #c2410c !important;
  background-color: #ffedd5 !important;
}

.sp-auth-my-account .sp-auth-status-badge--cancelled,
.sp-auth-my-account .sp-auth-status-badge--failed,
.sp-auth-modal .sp-auth-status-badge--cancelled,
.sp-auth-modal .sp-auth-status-badge--failed {
  color: #991b1b !important;
  background-color: #fee2e2 !important;
}

.sp-auth-my-account a.sp-auth-booking-recap__invoice--download,
.sp-auth-my-account a.sp-auth-booking-recap__invoice--download:hover,
.sp-auth-my-account a.sp-auth-booking-recap__invoice--download:active,
.sp-auth-my-account a.sp-auth-booking-recap__invoice--download:focus,
.sp-auth-my-account a.sp-auth-booking-recap__invoice--download:focus-visible,
.sp-auth-my-account a.sp-auth-booking-recap__invoice--download:visited,
.sp-auth-modal a.sp-auth-booking-recap__invoice--download,
.sp-auth-modal a.sp-auth-booking-recap__invoice--download:hover,
.sp-auth-modal a.sp-auth-booking-recap__invoice--download:active,
.sp-auth-modal a.sp-auth-booking-recap__invoice--download:focus,
.sp-auth-modal a.sp-auth-booking-recap__invoice--download:focus-visible,
.sp-auth-modal a.sp-auth-booking-recap__invoice--download:visited {
  color: #fff !important;
  text-decoration: none !important;
}

.sp-auth-my-account .sp-auth-status-badge--refunded,
.sp-auth-modal .sp-auth-status-badge--refunded {
  color: var(--sp-wp-subtle, #64748b) !important;
  background-color: color-mix(
    in oklab,
    var(--sp-wp-subtle, #64748b) 24%,
    transparent
  ) !important;
}

.sp-auth-my-account .sp-auth-status-badge--default,
.sp-auth-modal .sp-auth-status-badge--default {
  color: var(--sp-wp-contrast, #0f172a) !important;
  background-color: color-mix(
    in oklab,
    var(--sp-wp-muted, #e2e8f0) 72%,
    var(--sp-wp-base, #fff)
  ) !important;
}

/*
 * Variante « pastille » : entête de journée, indicateur seul.
 * Les couleurs de statut (fond + teinte) restent celles définies plus haut.
 */
.sp-auth-my-account .sp-auth-status-badge--dot,
.sp-auth-modal .sp-auth-status-badge--dot {
  position: relative;
  width: 1.75rem !important;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 !important;
  gap: 0 !important;
}

.sp-auth-my-account .sp-auth-status-badge--dot .sp-auth-status-badge__label,
.sp-auth-modal .sp-auth-status-badge--dot .sp-auth-status-badge__label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Pastille seule : ne pas écraser les badges texte (ex. « En attente de paiement »). */
.sp-auth-my-account .sp-auth-active-group__row-tags .sp-auth-status-badge--dot {
  width: 1.75rem !important;
  min-width: 1.75rem;
  height: 1.75rem;
  min-height: 1.75rem;
  padding: 0 !important;
  border-radius: var(--sp-ma-radius-control, 12px) !important;
}

/* Variante « plain » : statut de ligne en icône + libellé, sans pastille pleine. */
.sp-auth-my-account .sp-auth-status-badge--plain,
.sp-auth-modal .sp-auth-status-badge--plain {
  justify-content: flex-start !important;
  padding: 0 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
}

/* Badges Commande / paiement : lisibles, sans surcharger le design. */
.sp-auth-modal .sp-auth-booking-recap__section--order .sp-auth-status-badge {
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  border: 0;
  box-shadow: none;
}

.sp-auth-modal
  .sp-auth-booking-recap__section--order
  .sp-auth-status-badge--completed {
  color: #166534 !important;
  background-color: #dcfce7 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sp-auth-modal
  .sp-auth-booking-recap__section--order
  .sp-auth-status-badge--pending {
  color: #9a3412 !important;
  background-color: #ffedd5 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sp-auth-modal
  .sp-auth-booking-recap__section--order
  .sp-auth-status-badge--processing {
  color: #1e40af !important;
  background-color: #dbeafe !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sp-auth-modal
  .sp-auth-booking-recap__section--order
  .sp-auth-status-badge--failed,
.sp-auth-modal
  .sp-auth-booking-recap__section--order
  .sp-auth-status-badge--cancelled {
  color: #991b1b !important;
  background-color: #fee2e2 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sp-auth-modal
  .sp-auth-booking-recap__section--order
  .sp-auth-status-badge--on-hold {
  color: #9a3412 !important;
  background-color: #ffedd5 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/*
 * Boutons primary (lien ou button) : Kadence/entry-content force au hover
 * une couleur de texte qui disparaît sur le fond primary (ex. « Passer une commande »).
 * Aligné sur « Ajouter » : fond primary + texte palette9, léger opacity au hover.
 * Exclut `.sp-auth-btn--loading` : le texte doit rester transparent sous le spinner.
 */
.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading),
.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):hover,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):active,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):focus,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):focus-visible,
.sp-auth-my-account a.sp-auth-btn--primary:not(.sp-auth-btn--loading):visited,
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading),
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):hover,
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):active,
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):focus,
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):focus-visible,
.sp-auth-modal a.sp-auth-btn--primary:not(.sp-auth-btn--loading):visited {
  background: var(--sp-wp-primary, #32678a) !important;
  background-color: var(--sp-wp-primary, #32678a) !important;
  background-image: none !important;
  color: var(--sp-color-base, var(--sp-wp-base, #fff)) !important;
  -webkit-text-fill-color: var(
    --sp-color-base,
    var(--sp-wp-base, #fff)
  ) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  text-decoration: none !important;
}

.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):hover,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):active,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):focus,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):focus-visible,
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):hover,
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):active,
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):focus,
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):focus-visible {
  opacity: 0.9 !important;
}

.sp-auth-my-account :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):not(:hover):not(:active):not(:focus):not(:focus-visible),
.sp-auth-modal :is(a, button).sp-auth-btn--primary:not(.sp-auth-btn--loading):not(:hover):not(:active):not(:focus):not(:focus-visible) {
  opacity: 1 !important;
}

/* Loading : libellé masqué, spinner ::after seul visible (modales portailées). */
.sp-auth-my-account :is(a, button).sp-auth-btn--loading,
.sp-auth-my-account :is(a, button).sp-auth-btn--loading:hover,
.sp-auth-my-account :is(a, button).sp-auth-btn--loading:active,
.sp-auth-my-account :is(a, button).sp-auth-btn--loading:focus,
.sp-auth-my-account :is(a, button).sp-auth-btn--loading:focus-visible,
.sp-auth-modal :is(a, button).sp-auth-btn--loading,
.sp-auth-modal :is(a, button).sp-auth-btn--loading:hover,
.sp-auth-modal :is(a, button).sp-auth-btn--loading:active,
.sp-auth-modal :is(a, button).sp-auth-btn--loading:focus,
.sp-auth-modal :is(a, button).sp-auth-btn--loading:focus-visible {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 1 !important;
  cursor: wait !important;
}

.sp-auth-my-account :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading:hover,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading:active,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading:focus,
.sp-auth-my-account :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading:focus-visible,
.sp-auth-modal :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading,
.sp-auth-modal :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading:hover,
.sp-auth-modal :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading:active,
.sp-auth-modal :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading:focus,
.sp-auth-modal :is(a, button).sp-auth-btn--primary.sp-auth-btn--loading:focus-visible {
  background: var(--sp-wp-primary, #32678a) !important;
  background-color: var(--sp-wp-primary, #32678a) !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.sp-auth-my-account :is(a, button).sp-auth-btn--loading > *,
.sp-auth-modal :is(a, button).sp-auth-btn--loading > * {
  visibility: hidden !important;
}

/* Filet partenaire : le thème ne doit pas l’effacer au hover (header bouton / ligne). */
.sp-auth-my-account .sp-auth-active-group--partner,
.sp-auth-my-account .sp-auth-active-group--partner:hover,
.sp-auth-my-account .sp-auth-active-group--partner:focus-within {
  border-left-width: 3px !important;
  border-left-style: solid !important;
  border-left-color: color-mix(
    in oklab,
    var(--sp-wp-primary, #32678a) 55%,
    var(--sp-wp-border, #e2e8f0)
  ) !important;
}

/* Bouton Consulter (lignes réservations actives) : contour, le thème ne doit pas l’effacer. */
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay),
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):hover,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):active,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):focus,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):focus-visible,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):visited,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:hover,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:active,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:focus,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:focus-visible {
  color: var(--sp-wp-primary, #32678a) !important;
  -webkit-text-fill-color: var(--sp-wp-primary, #32678a) !important;
  text-decoration: none !important;
  filter: none !important;
  transform: none !important;
  border: 1px solid var(--sp-wp-primary, #32678a) !important;
  border-radius: var(--sp-ma-radius-control, 12px) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:hover,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:focus-visible {
  background-color: color-mix(
    in oklab,
    var(--sp-wp-primary, #32678a) 8%,
    var(--sp-wp-base, #fff)
  ) !important;
}

/* CTA paiement : bouton plein, hors règles contour « Consulter ». */
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:hover,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:active,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:focus,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:focus-visible,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:visited {
  color: var(--sp-wp-base, #fff) !important;
  -webkit-text-fill-color: var(--sp-wp-base, #fff) !important;
  text-decoration: none !important;
  filter: none !important;
  transform: none !important;
  border: 1px solid var(--sp-wp-primary, #32678a) !important;
  border-radius: var(--sp-ma-radius-control, 12px) !important;
  background: var(--sp-wp-primary, #32678a) !important;
  background-color: var(--sp-wp-primary, #32678a) !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:hover,
.sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:focus-visible {
  opacity: 0.92;
}

@container sp-active-orders (max-width: 950px) {
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay),
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):hover,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):active,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):focus,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):focus-visible,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta:not(.sp-auth-order-card__cta--pay):visited,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:hover,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:active,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:focus,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--link:focus-visible {
    border: 1px solid var(--sp-wp-primary, #32678a) !important;
    border-radius: var(--sp-ma-radius-control, 12px) !important;
    background: transparent !important;
    background-color: transparent !important;
    text-decoration: none !important;
    min-height: 2.75rem !important;
    width: auto !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
    box-shadow: none !important;
  }

  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:hover,
  .sp-auth-my-account .sp-auth-active-group__actions a.sp-auth-order-card__cta--pay:focus-visible {
    min-height: 2.75rem !important;
    width: auto !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
  }

  .sp-auth-my-account .sp-auth-active-group__cta-pair {
    width: 100%;
    justify-content: stretch;
  }

  .sp-auth-my-account .sp-auth-active-group__cta-pair > a {
    flex: 1 1 auto;
  }
}

.sp-auth-my-account button.sp-auth-active-orders__more,
.sp-auth-my-account button.sp-auth-active-orders__more:hover,
.sp-auth-my-account button.sp-auth-active-orders__more[aria-expanded="true"] {
  display: flex !important;
  width: 100% !important;
  min-height: 3.25rem !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: var(--sp-ma-radius-box, 12px) !important;
  background-color: color-mix(
    in oklab,
    var(--sp-wp-primary, #32678a) 8%,
    var(--sp-wp-muted, #f8f9fa)
  ) !important;
  color: var(--sp-wp-primary, #32678a) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  filter: none !important;
  transform: none !important;
}

.sp-auth-my-account button.sp-auth-active-orders__more:hover,
.sp-auth-my-account button.sp-auth-active-orders__more[aria-expanded="true"] {
  background-color: color-mix(
    in oklab,
    var(--sp-wp-muted, #f8f9fa) 70%,
    var(--sp-wp-border, #e0e0e0)
  ) !important;
}

.sp-auth-my-account button.sp-auth-active-orders__more:active,
.entry-content .sp-auth-my-account button.sp-auth-active-orders__more:active,
.sp-auth-my-account button.sp-auth-active-orders__more:hover:active,
.entry-content .sp-auth-my-account button.sp-auth-active-orders__more:hover:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: color-mix(
    in oklab,
    var(--sp-wp-primary, #32678a) 8%,
    var(--sp-wp-muted, #f8f9fa)
  ) !important;
  background-color: color-mix(
    in oklab,
    var(--sp-wp-primary, #32678a) 8%,
    var(--sp-wp-muted, #f8f9fa)
  ) !important;
  background-image: none !important;
  color: var(--sp-wp-primary, #32678a) !important;
  -webkit-text-fill-color: var(--sp-wp-primary, #32678a) !important;
  border: 0 !important;
  border-color: transparent !important;
  border-radius: var(--sp-ma-radius-box, 12px) !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  transform: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.sp-auth-my-account button.sp-auth-active-orders__more:focus,
.sp-auth-my-account button.sp-auth-active-orders__more:focus-visible,
.entry-content .sp-auth-my-account button.sp-auth-active-orders__more:focus,
.entry-content .sp-auth-my-account button.sp-auth-active-orders__more:focus-visible {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: color-mix(
    in oklab,
    var(--sp-wp-primary, #32678a) 8%,
    var(--sp-wp-muted, #f8f9fa)
  ) !important;
  background-color: color-mix(
    in oklab,
    var(--sp-wp-primary, #32678a) 8%,
    var(--sp-wp-muted, #f8f9fa)
  ) !important;
  background-image: none !important;
  color: var(--sp-wp-primary, #32678a) !important;
  -webkit-text-fill-color: var(--sp-wp-primary, #32678a) !important;
  border: 0 !important;
  border-color: transparent !important;
  border-radius: var(--sp-ma-radius-box, 12px) !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  transform: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.sp-auth-my-account button.sp-auth-active-orders__more:focus-visible,
.entry-content .sp-auth-my-account button.sp-auth-active-orders__more:focus-visible {
  box-shadow: 0 0 0 3px
    color-mix(in oklab, var(--sp-wp-primary, #32678a) 18%, transparent) !important;
}

.sp-auth-my-account
  button.sp-auth-active-orders__more[aria-expanded="true"]
  .sp-auth-active-orders__more-chevron {
  transform: rotate(180deg) !important;
}

/* Badges status group header — couleurs garanties (évite purge / override thème) */
.sp-auth-my-account .sp-auth-active-group__status-badge--processing {
  color: #166534 !important;
  background-color: #dcfce7 !important;
}

.sp-auth-my-account .sp-auth-active-group__status-badge--pending {
  color: #c2410c !important;
  background-color: #ffedd5 !important;
}

.sp-auth-my-account .sp-auth-active-group__status-badge--completed {
  color: #166534 !important;
  background-color: #dcfce7 !important;
}

.sp-auth-my-account .sp-auth-active-group__status-badge--default {
  color: var(--sp-wp-subtle, #64748b) !important;
  background-color: color-mix(in oklab, var(--sp-wp-muted, #e2e8f0) 80%, #fff) !important;
}

/* Bouton Annuler (cartes réservations) : neutralise le hover plein du thème Kadence. */
.sp-auth-my-account button.sp-auth-order-card__cancel,
.sp-auth-my-account button.sp-auth-order-card__cancel:hover,
.sp-auth-my-account button.sp-auth-order-card__cancel:active,
.sp-auth-my-account button.sp-auth-order-card__cancel:focus,
.sp-auth-my-account button.sp-auth-order-card__cancel:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--sp-wp-subtle, #64748b) !important;
  border-color: transparent !important;
  opacity: 1 !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
}

.sp-auth-my-account button.sp-auth-order-card__cancel:hover,
.sp-auth-my-account button.sp-auth-order-card__cancel:active,
.sp-auth-my-account button.sp-auth-order-card__cancel:focus,
.sp-auth-my-account button.sp-auth-order-card__cancel:focus-visible {
  background: color-mix(in oklab, #ef4444 12%, transparent) !important;
  background-color: color-mix(in oklab, #ef4444 12%, transparent) !important;
  color: #b42318 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
}

/* Focus clavier visible (le fond teinté seul ne suffit pas). */
.sp-auth-my-account button.sp-auth-order-card__cancel:focus-visible {
  outline: 2px solid #b42318 !important;
  outline-offset: 2px !important;
}

/* Bouton outline profil : neutralise les hovers du thème WP/Kadence. */
.sp-auth-my-account button.sp-auth-btn--outline,
.sp-auth-my-account button.sp-auth-btn--outline:hover,
.sp-auth-my-account button.sp-auth-btn--outline:active,
.sp-auth-my-account button.sp-auth-btn--outline:focus,
.sp-auth-my-account button.sp-auth-btn--outline:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--sp-wp-primary, #32678a) !important;
  border-color: var(--sp-wp-primary, #32678a) !important;
  opacity: 1 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

.sp-auth-my-account button.sp-auth-btn--outline:hover > span {
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
}

.sp-auth-my-account
  button.sp-auth-btn--outline:hover
  .sp-auth-profile__edit-btn-icon {
  text-decoration: none !important;
}

/* Titre véhicule (h4) : annule les marges thème pour laisser le gap de la carte. */
.sp-auth-my-account .sp-auth-panel__title,
.sp-auth-my-account h3.sp-auth-panel__title {
  min-width: 0;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

.sp-auth-my-account .sp-auth-vehicle-card__name,
.sp-auth-my-account h4.sp-auth-vehicle-card__name {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-block: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Badges plaque / type : même ligne, hauteurs alignées, hors marges thème. */
.sp-auth-my-account .sp-auth-vehicle-card__meta-row {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.375rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sp-auth-my-account .sp-auth-vehicle-card__plate,
.sp-auth-my-account .sp-auth-vehicle-card__type {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  margin-block: 0 !important;
  height: 1.5rem !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

/* Boutons Modifier / Supprimer (menu carte véhicule) : neutralise le hover plein du thème. */
.sp-auth-my-account button.sp-auth-vehicle-card__tool,
.sp-auth-my-account button.sp-auth-vehicle-card__tool:hover,
.sp-auth-my-account button.sp-auth-vehicle-card__tool:active,
.sp-auth-my-account button.sp-auth-vehicle-card__tool:focus,
.sp-auth-my-account button.sp-auth-vehicle-card__tool:focus-visible {
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  text-decoration: none !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit:hover,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit:active,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit:focus,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit:focus-visible {
  color: var(--sp-wp-primary, #32678a) !important;
  -webkit-text-fill-color: var(--sp-wp-primary, #32678a) !important;
  background-color: transparent !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit:hover,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit:active,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit:focus,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--edit:focus-visible {
  background-color: color-mix(
    in oklab,
    var(--sp-wp-primary, #32678a) 8%,
    var(--sp-wp-base, #fff)
  ) !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger:hover,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger:active,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger:focus,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger:focus-visible {
  color: #dc2626 !important;
  -webkit-text-fill-color: #dc2626 !important;
  background-color: transparent !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger:hover,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger:active,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger:focus,
.sp-auth-my-account button.sp-auth-vehicle-card__tool--danger:focus-visible {
  color: #b91c1c !important;
  -webkit-text-fill-color: #b91c1c !important;
  background-color: #fef2f2 !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__tool:hover .sp-auth-vehicle-card__tool-icon,
.sp-auth-my-account
  button.sp-auth-vehicle-card__tool:focus-visible
  .sp-auth-vehicle-card__tool-icon {
  text-decoration: none !important;
}

.sp-auth-my-account .sp-auth-vehicle-card__menu-toggle,
.sp-auth-my-account .sp-auth-vehicle-card__menu-toggle:hover,
.sp-auth-my-account .sp-auth-vehicle-card__menu-toggle:active,
.sp-auth-my-account .sp-auth-vehicle-card__menu-toggle:focus {
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  list-style: none !important;
  text-decoration: none !important;
}

.sp-auth-my-account .sp-auth-vehicle-card__menu-toggle:focus-visible {
  background-image: none !important;
  border: none !important;
  list-style: none !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: 0 0 0 3px
    color-mix(in oklab, var(--sp-wp-primary, #32678a) 18%, transparent) !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action,
.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action:hover,
.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action:active,
.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action:focus,
.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action:focus-visible {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: var(--sp-wp-base, #fff) !important;
  background-color: var(--sp-wp-base, #fff) !important;
  background-image: none !important;
  text-decoration: none !important;
  color: var(--sp-wp-success, #2e7d32) !important;
  -webkit-text-fill-color: var(--sp-wp-success, #2e7d32) !important;
  border: 1px solid var(--sp-wp-success, #2e7d32) !important;
  border-color: var(--sp-wp-success, #2e7d32) !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action,
.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action:focus {
  background: var(--sp-wp-base, #fff) !important;
  background-color: var(--sp-wp-base, #fff) !important;
  box-shadow: none !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action:hover,
.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action:active {
  background: color-mix(
    in oklab,
    var(--sp-wp-success, #2e7d32) 10%,
    var(--sp-wp-base, #fff)
  ) !important;
  background-color: color-mix(
    in oklab,
    var(--sp-wp-success, #2e7d32) 10%,
    var(--sp-wp-base, #fff)
  ) !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
}

.sp-auth-my-account button.sp-auth-vehicle-card__favorite--action:focus-visible {
  background-image: none !important;
  text-decoration: none !important;
  color: var(--sp-wp-success, #2e7d32) !important;
  -webkit-text-fill-color: var(--sp-wp-success, #2e7d32) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px
    color-mix(in oklab, var(--sp-wp-success, #2e7d32) 22%, transparent) !important;
}

.sp-auth-my-account .sp-auth-vehicles-favorite-hint__icon,
.sp-auth-my-account .sp-auth-vehicles-favorite-hint__icon svg,
.sp-auth-my-account .sp-auth-vehicles-favorite-hint__icon path {
  color: var(--sp-wp-success, #2e7d32) !important;
  fill: var(--sp-wp-success, #2e7d32) !important;
  stroke: none !important;
}

/* Refresh réservations actives : bouton compact discret, pas un CTA primaire thème. */
.sp-auth-my-account button.sp-auth-active-orders__refresh,
.sp-auth-my-account button.sp-auth-active-orders__refresh:hover,
.sp-auth-my-account button.sp-auth-active-orders__refresh:active,
.sp-auth-my-account button.sp-auth-active-orders__refresh:focus,
.sp-auth-my-account button.sp-auth-active-orders__refresh:focus-visible {
  background-image: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  min-height: 0 !important;
}

/*
 * Boutons / champs du formulaire écrit embarqué : Kadence ne doit pas écraser
 * le primaire ni le hover (mêmes garde-fous que `.sp-auth-withdrawal`).
 */
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary:not(:disabled),
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary:not(:disabled):hover,
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary:not(:disabled):active,
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary:not(:disabled):focus,
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary:not(:disabled):focus-visible {
  background: var(--sp-wd-primary, var(--sp-wp-primary, #32678a)) !important;
  background-color: var(--sp-wd-primary, var(--sp-wp-primary, #32678a)) !important;
  background-image: none !important;
  color: var(--sp-wd-base, var(--sp-wp-base, #fff)) !important;
  -webkit-text-fill-color: var(--sp-wd-base, var(--sp-wp-base, #fff)) !important;
  border-color: transparent !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px -8px
    color-mix(in oklab, var(--sp-wd-primary, var(--sp-wp-primary, #32678a)) 70%, transparent) !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
}

.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary:hover:not(:disabled),
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary:focus-visible:not(:disabled) {
  filter: brightness(0.93) !important;
}

/* Envoi grisé tant que la certification n'est pas cochée. */
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary:disabled,
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-btn--primary[aria-disabled="true"] {
  background: color-mix(
    in oklab,
    var(--sp-wd-subtle, var(--sp-wp-subtle, #64748b)) 28%,
    var(--sp-wd-base, var(--sp-wp-base, #fff))
  ) !important;
  background-color: color-mix(
    in oklab,
    var(--sp-wd-subtle, var(--sp-wp-subtle, #64748b)) 28%,
    var(--sp-wd-base, var(--sp-wp-base, #fff))
  ) !important;
  background-image: none !important;
  color: color-mix(
    in oklab,
    var(--sp-wd-subtle, var(--sp-wp-subtle, #64748b)) 72%,
    var(--sp-wd-contrast, var(--sp-wp-contrast, #0f172a))
  ) !important;
  -webkit-text-fill-color: color-mix(
    in oklab,
    var(--sp-wd-subtle, var(--sp-wp-subtle, #64748b)) 72%,
    var(--sp-wd-contrast, var(--sp-wp-contrast, #0f172a))
  ) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-input,
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-input:hover,
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-input:focus,
.sp-auth-modal .sp-auth-withdrawal--embedded .sp-wd-input:focus-visible {
  background: var(--sp-wd-base, var(--sp-wp-base, #fff)) !important;
  background-image: none !important;
  color: var(--sp-wd-contrast, var(--sp-wp-contrast, #0f172a)) !important;
  -webkit-text-fill-color: var(--sp-wd-contrast, var(--sp-wp-contrast, #0f172a)) !important;
}
