/* Borne Ninja — kiosk + dashboard */
:root {
  /* Legacy stadium (revenir en arrière) :
     --stadium-legacy: #1a3568;
     --stadium-dark-legacy: #050a18;
     --stadium-glow-legacy: rgba(26, 53, 104, 0.35);
     --stadium-light-legacy: #2d508f;
     --accent-red-legacy: #ff2d3a;
  */
  --stadium: #26b3f7;
  --stadium-dark: #0e7bb8;
  --stadium-glow: rgba(38, 179, 247, 0.4);
  --stadium-light: #5cc5f9;
  --stadium-accent: #fe39ad;
  --stadium-accent-dark: #d91f8f;
  --stadium-accent-glow: rgba(254, 57, 173, 0.35);
  --box: #ff2c7a;
  --box-dark: #d91a5c;
  --box-glow: rgba(255, 44, 122, 0.35);
  --bg: #f0f2f7;
  --bg-accent: #e8ebf3;
  --panel: #ffffff;
  --text: #12141f;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.12);
  --brand: var(--stadium);
  --brand-dark: var(--stadium-dark);
  --brand-glow: var(--stadium-glow);
  --accent: var(--stadium-accent);
  --accent-dark: var(--stadium-accent-dark);
  --accent-glow: var(--stadium-accent-glow);
}

[data-site="box"] {
  --brand: var(--box);
  --brand-dark: var(--box-dark);
  --brand-glow: var(--box-glow);
}

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

html { font-size: 16px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .borne-kiosk__brand {
  font-family: 'Barlow', system-ui, sans-serif;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout principal borne */
.borne-app {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 42%);
  min-height: 100vh;
  align-items: start;
}

@media (max-width: 1100px) {
  .borne-app {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}

/* Interrupteurs volets formulaire / borne */
.borne-panel-switch {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--panel, #fff) 92%, var(--brand) 8%);
  border-bottom: 1px solid var(--border, #e2e8f0);
  position: sticky;
  top: 0;
  z-index: 20;
}

.borne-panel-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--border, #e2e8f0);
  background: #fff;
  color: var(--muted, #64748b);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.borne-panel-switch__btn:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
  color: var(--brand-dark, var(--brand));
}

.borne-panel-switch__btn.is-on {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark, var(--brand)));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 35%, transparent);
}

.borne-app--hide-wizard .borne-wizard {
  display: none !important;
}

.borne-app--hide-kiosk .borne-kiosk-wrap {
  display: none !important;
}

.borne-app--form-only,
.borne-app--kiosk-only-manual {
  grid-template-columns: 1fr;
}

.borne-app--form-only .borne-wizard {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.borne-app--kiosk-only-manual .borne-kiosk-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 24px 16px 40px;
  position: relative;
  top: auto;
  background: linear-gradient(165deg, #e8ebf2 0%, #dde2ec 45%, #d4dae6 100%);
}

.borne-app--kiosk-only-manual .borne-kiosk {
  width: min(100%, 420px);
  margin: 0 auto;
}

.borne-app--kiosk-only-manual .borne-kiosk__screen p {
  white-space: pre-line;
}

@media (max-width: 1100px) {
  .borne-panel-switch {
    display: none;
  }
}

/* —— Panneau gauche (wizard) —— */
.borne-wizard {
  padding: 32px 48px 48px;
  display: flex;
  flex-direction: column;
  max-width: 760px;
  background: var(--panel);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .borne-wizard { padding: 24px 24px 32px; box-shadow: none; }
}

@media (max-width: 640px) {
  .borne-wizard {
    padding: 16px 14px 28px;
  }
}

.borne-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}

.borne-topbar__back {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.borne-topbar__back:hover {
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  text-decoration: none;
}

.borne-topbar__back i { font-size: 0.95rem; }

.borne-topbar__links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.borne-topbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--brand-dark);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.borne-topbar__link i {
  font-size: 0.95em;
  line-height: 1;
}

.borne-topbar__link:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  text-decoration: none;
}

.borne-topbar__link.borne-topbar__cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  box-shadow: 0 4px 14px var(--brand-glow);
}

.borne-topbar__link.borne-topbar__cta:hover {
  filter: brightness(1.05);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  text-decoration: none;
}

.borne-topbar__link[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .borne-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 18px;
  }

  .borne-topbar__back {
    align-self: flex-start;
    padding: 4px 2px;
    font-size: 0.82rem;
  }

  .borne-topbar__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    padding: 6px;
    border-radius: 14px;
    background: #f1f5f9;
    border: 1px solid var(--border);
  }

  .borne-topbar__links--single {
    grid-template-columns: 1fr;
  }

  .borne-topbar__link {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.8rem;
    border-radius: 10px;
    background: #fff;
    border-color: var(--border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }

  .borne-topbar__link.borne-topbar__cta {
    box-shadow: 0 4px 12px var(--brand-glow);
  }

  .borne-topbar__links--single .borne-topbar__link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .borne-topbar__link {
    font-size: 0.75rem;
    gap: 5px;
    padding: 0 8px;
  }
}

.borne-brand-card,
.borne-site-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  padding: 16px 24px;
  margin-bottom: 20px;
  border-radius: 14px;
}

/* Logo Stadium = texte blanc → fond sombre obligatoire */
[data-site="stadium"] .borne-brand-card,
[data-site="stadium"] .borne-site-badge {
  background: linear-gradient(
    135deg,
    #0f1118 0%,
    #0f1a28 45%,
    color-mix(in srgb, var(--brand-dark) 65%, #12141f) 100%
  );
  border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
  box-shadow:
    0 12px 36px color-mix(in srgb, var(--brand) 28%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Logo Ninja Box (SVG coloré) → fond clair possible */
[data-site="box"] .borne-brand-card,
[data-site="box"] .borne-site-badge {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, #fff), #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border));
  box-shadow: 0 8px 28px color-mix(in srgb, var(--brand) 14%, transparent);
}

/* Logo wordmark large (≈ 4.4:1) — ne pas écraser en flex */
.borne-logo,
.borne-site-badge img,
.borne-kiosk__header img,
.borne-ticket__head img {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.borne-brand-card .borne-logo-wrap.ns-logo-stack,
.borne-brand-card .borne-logo-wrap {
  max-width: min(320px, 100%);
}

.borne-brand-card .borne-logo,
.borne-site-badge .borne-logo,
.borne-brand-card .ns-logo-base {
  max-height: 68px;
  max-width: min(340px, 100%);
  min-height: 28px;
}

/* Logo Stadium — ninjastadium.png sur plaque blanche */
.borne-logo-wrap.ns-logo-stack .ns-logo-glow {
  display: none !important;
}

.ns-logo-plate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  padding: 14px 22px 12px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(26, 53, 104, 0.06);
  line-height: 0;
  transition: box-shadow 0.35s ease;
}

.ns-logo-plate--kiosk {
  padding: 8px 14px 6px;
  border-radius: 12px;
}

.borne-logo-wrap.ns-logo-stack--stadium {
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(340px, 100%);
  margin-inline: auto;
  line-height: 0;
  overflow: visible;
}

.borne-logo-wrap.ns-logo-stack--stadium .ns-logo-base {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 68px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.borne-kiosk__header .borne-logo-wrap.ns-logo-stack--stadium {
  max-width: 92%;
  width: fit-content;
  margin-inline: auto;
}

.borne-kiosk__header .borne-logo-wrap.ns-logo-stack--stadium .ns-logo-base {
  max-height: 44px;
  width: auto !important;
  max-width: 100%;
}

.borne-kiosk__header .ns-logo-plate,
.borne-kiosk__header .ns-logo-plate--kiosk {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.borne-kiosk__header .ns-logo-plate--kiosk .ns-logo-base {
  max-height: 40px;
}

/* Kiosk : pas d'animation ni d'ombre sombre sur le logo */
.dash-header .borne-logo-wrap.ns-logo-stack,
.dash-header--dashboard .borne-logo-wrap.ns-logo-stack,
.borne-kiosk__header .borne-logo-wrap.ns-logo-stack {
  animation: none;
  filter: none;
}

.borne-kiosk__header .borne-logo-wrap.ns-logo-stack--stadium .ns-logo-base {
  animation: none !important;
  filter: none !important;
}

[data-site="stadium"] .borne-logo-wrap.ns-logo-stack--stadium.logo--animate .ns-logo-base,
[data-site="stadium"] .borne-logo-wrap.ns-logo-stack--stadium.logo--animate:hover .ns-logo-base {
  animation: none;
  filter: none;
}

.borne-logo-wrap.ns-logo-stack {
  position: relative;
  display: inline-block;
  line-height: 0;
  transform-origin: center bottom;
  /* Pas d’anim d’entrée : ralentit l’ouverture de la réservation */
  animation: none;
}

.borne-logo-wrap.ns-logo-stack .ns-logo-base {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center bottom;
}

/* legacy glow layer — désactivé */
.borne-logo-wrap.ns-logo-stack .ns-logo-glow {
  display: none !important;
}

.borne-logo-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
  transform-origin: center bottom;
}

.borne-logo-wrap.logo--animate .borne-logo:not(.ns-logo-base) {
  position: relative;
  z-index: 1;
  transform-origin: center bottom;
  animation: none;
}

.borne-kiosk__header .borne-logo-wrap.ns-logo-stack {
  max-width: calc(100% - 8px);
  width: fit-content;
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

[data-site="stadium"] .borne-kiosk__header .borne-logo-wrap.ns-logo-stack--stadium .ns-logo-base {
  max-height: 44px;
  width: auto !important;
  margin-inline: auto;
}

.borne-kiosk__header .ns-logo-glow {
  max-height: none;
  width: 100%;
  height: auto;
}

.borne-logo-wrap.logo--animate:hover .borne-logo,
.borne-logo-wrap.logo--animate:hover .ns-logo-base,
.borne-logo-wrap.ns-logo-stack:hover {
  animation: none;
}

/* Volet site : pas besoin du gros logo brand en haut (déjà dans le kiosk) */
html.borne-html--embed-drawer .borne-brand-card {
  display: none;
}

@keyframes nsLogoEnter {
  0% {
    opacity: 0;
    transform: scale(1.12, 0.88) translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: scale(1, 1) translateY(0);
  }
}

@keyframes nsLogoSquashHover {
  35% {
    transform: scale(1.08, 0.9) translateY(3px);
    filter: drop-shadow(0 6px 16px var(--brand-glow));
  }
  100% {
    transform: scale(1, 1) translateY(0);
  }
}

@keyframes nsLogoFloat {
  0%, 78%, 100% {
    transform: scale(1, 1) translateY(0);
  }
  10% {
    transform: scale(1.04, 0.96) translateY(2px);
  }
  40% {
    transform: scale(1, 1) translateY(-3px);
  }
}

@keyframes nsLogoShine {
  0%, 24%, 76%, 100% {
    opacity: 0;
  }
  42%, 58% {
    opacity: 0.92;
  }
}

@media (prefers-reduced-motion: reduce) {
  .borne-logo-wrap.logo--animate .borne-logo,
  .borne-logo-wrap.ns-logo-stack,
  .borne-logo-wrap.ns-logo-stack .ns-logo-glow {
    animation: none;
  }
  .borne-kiosk__btn-key--wide {
    animation: none !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Stepper moderne */
.borne-stepper {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  padding: 6px;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.borne-stepper::-webkit-scrollbar { display: none; }

.borne-stepper__item {
  flex: 1;
  min-width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: default;
  transition: background 0.25s, transform 0.2s;
}

.borne-stepper__item.is-clickable {
  cursor: pointer;
}

.borne-stepper__item.is-clickable:hover {
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  transform: translateY(-1px);
}

.borne-stepper__item.is-clickable:hover .borne-stepper__bubble {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  color: var(--brand-dark);
}

.borne-stepper__item:disabled {
  cursor: default;
  opacity: 1;
}

.borne-stepper__item:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.borne-stepper__bubble {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.borne-stepper__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.25s;
}

.borne-stepper__item.is-done .borne-stepper__bubble {
  background: color-mix(in srgb, var(--brand) 15%, white);
  color: var(--brand-dark);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
}

.borne-stepper__item.is-active {
  background: var(--panel);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.borne-stepper__item.is-active .borne-stepper__bubble {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--brand-glow);
  transform: scale(1.05);
}

.borne-stepper__item.is-active .borne-stepper__label {
  color: var(--brand-dark);
}

/* Récapitulatif persistant (repliable) */
.borne-recap {
  margin-bottom: 20px;
  padding: 14px 16px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #fafbfc 0%, #fff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: padding 0.35s ease, box-shadow 0.35s ease;
}

.borne-recap.is-hidden { display: none; }

.borne-recap.is-collapsed {
  padding: 10px 14px;
}

.borne-recap__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  margin: 0 0 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.borne-recap.is-collapsed .borne-recap__toggle {
  margin-bottom: 0;
}

.borne-recap__toggle-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.borne-recap__toggle-left > i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  flex-shrink: 0;
}

.borne-recap__toggle-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.borne-recap__total-mini {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-dark);
  font-family: 'Barlow', sans-serif;
}

.borne-recap:not(.is-collapsed) .borne-recap__total-mini {
  display: none;
}

.borne-recap__chevron {
  font-size: 0.85rem;
  color: var(--brand);
  transition: transform 0.35s ease;
}

.borne-recap.is-collapsed .borne-recap__chevron {
  transform: rotate(180deg);
}

.borne-recap__body {
  overflow: hidden;
  max-height: 520px;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.35s ease;
}

.borne-recap.is-collapsed .borne-recap__body {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.borne-recap__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.borne-recap__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
  border-bottom: 1px dashed color-mix(in srgb, var(--border) 80%, transparent);
}

.borne-recap__list li:last-child { border-bottom: none; }

.borne-recap__list li > span {
  flex: 1;
  min-width: 0;
}

.borne-recap__list i {
  width: 18px;
  margin-top: 2px;
  color: var(--brand);
  text-align: center;
  flex-shrink: 0;
}

.borne-recap__list strong { color: var(--brand-dark); }

.borne-recap__tag {
  color: var(--brand);
  font-weight: 700;
}

.borne-recap__clear {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: color-mix(in srgb, #fe39ad 10%, transparent);
  color: #fe39ad;
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.borne-recap__clear:hover {
  background: color-mix(in srgb, #fe39ad 18%, transparent);
  transform: scale(1.05);
}

.borne-recap__footer {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
}

.borne-recap__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.borne-recap__total-row span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.borne-recap__footer .borne-recap__price {
  font-size: 1.25rem;
  color: var(--brand-dark);
}

.borne-recap__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.borne-recap__action {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand-dark);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.borne-recap__action:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, #fff);
}

.borne-recap__action--danger {
  color: #fe39ad;
  border-color: color-mix(in srgb, #fe39ad 35%, var(--border));
}

.borne-recap__action--danger:hover {
  border-color: #fe39ad;
  background: color-mix(in srgb, #fe39ad 8%, #fff);
}

.borne-panel {
  display: none;
  animation: borneFade 0.4s ease;
}

.borne-panel.is-active { display: block; }

@keyframes borneFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.borne-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.borne-panel__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 24px var(--brand-glow);
}

.borne-panel__icon--success {
  background: linear-gradient(145deg, #22c55e, #16a34a);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.borne-panel h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.borne-panel__sub {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

.borne-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.borne-section-label i {
  color: var(--brand);
  font-size: 0.85rem;
}

.borne-field {
  margin-bottom: 18px;
}

.borne-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--muted);
}

.borne-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.borne-input-wrap__icon,
.borne-section-label i,
.borne-panel__icon i,
.borne-choice__icon i,
.pay-icon i,
.borne-stepper__bubble i {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.borne-input-wrap__icon.fa-solid,
.borne-section-label .fa-solid,
.borne-choice__icon .fa-solid,
.pay-icon .fa-solid {
  font-weight: 900;
}

.borne-input-wrap__icon.fa-regular,
.borne-input-wrap__icon.far {
  font-weight: 400;
}

.borne-input-wrap__icon.fa-brands,
.pay-icon .fa-brands {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}

.borne-input-wrap__icon {
  position: absolute;
  left: 16px;
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
  transition: color 0.2s;
}

.borne-input-wrap:focus-within .borne-input-wrap__icon {
  color: var(--brand);
}

.borne-field input,
.borne-field select,
.borne-field textarea,
.borne-input-wrap input,
.borne-input-wrap select {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: #fafbfc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.borne-input-wrap--select select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.borne-field input:focus,
.borne-field select:focus,
.borne-input-wrap:focus-within input,
.borne-input-wrap:focus-within select {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent);
}

/* Date : tout le champ ouvre le calendrier (pas seulement l’icône native à droite) */
.borne-input-wrap:has(input[type="date"]) {
  cursor: pointer;
}

.borne-input-wrap input[type="date"] {
  cursor: pointer;
  position: relative;
}

.borne-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.borne-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 500px) {
  .borne-row { grid-template-columns: 1fr; }
}

/* Choix cartes */
.borne-choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.borne-choice {
  padding: 18px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fafbfc;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s, background 0.2s;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
}

.borne-choice:hover {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--border));
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: #fff;
}

.borne-choice.is-selected {
  border-color: var(--brand);
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--brand) 6%, #fff) 100%);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--brand) 22%, transparent);
}

.borne-choice__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand) 12%, white);
  transition: background 0.2s, color 0.2s;
}

.borne-choice.is-selected .borne-choice__icon {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.borne-choice small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.75rem;
}

/* Compteur personnes */
.borne-counter {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #fafbfc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow);
}

.borne-counter button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: transform 0.15s, filter 0.2s;
}

.borne-counter button:hover { filter: brightness(1.08); }

.borne-counter button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.borne-counter span {
  font-size: 1.5rem;
  font-weight: 800;
  min-width: 36px;
  text-align: center;
}

.borne-promo {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  align-items: stretch;
}

.borne-promo__input { flex: 1; }

.borne-promo .borne-btn { white-space: nowrap; }

.borne-promo-applied {
  margin-top: 10px;
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #047857;
  display: none;
}

.borne-promo-applied.is-visible { display: block; }

/* Récap prix */
.borne-summary {
  background: #f9fafb;
  border-radius: 14px;
  padding: 18px;
  margin: 20px 0;
  border: 1px solid var(--border);
}

.borne-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
}

.borne-summary__row.total {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 800;
  font-size: 1.15rem;
}

.borne-summary__row.discount { color: #047857; }

/* Paiement */
.borne-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.borne-pay-option {
  padding: 18px 14px;
  border: 2px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  background: var(--panel);
}

.borne-pay-option.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}

.borne-pay-option .pay-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand) 10%, #f8fafc);
  transition: background 0.2s, color 0.2s;
}

.borne-pay-option.is-selected .pay-icon {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
}

.pay-icon--paypal i { font-size: 1.6rem; }
.pay-icon--paypal { color: #003087; }
.borne-pay-option.is-selected .pay-icon--paypal { color: #fff; }

.borne-pay-option span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}

.borne-qr-scan {
  text-align: center;
  padding: 24px;
  border: 2px dashed var(--border);
  border-radius: 14px;
  margin-top: 16px;
  display: none;
}

.borne-qr-scan.is-visible { display: block; }

.borne-qr-scan canvas {
  margin: 12px auto;
  border-radius: 8px;
}

.borne-adult-block {
  margin-top: 4px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid color-mix(in srgb, var(--brand) 25%, var(--border));
  background: color-mix(in srgb, var(--brand) 4%, #fafbfc);
}

.borne-adult-block.is-hidden {
  display: none;
}

.borne-signature {
  margin-top: 4px;
}

.borne-signature label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--muted);
}

.borne-signature__canvas {
  display: block;
  width: 100%;
  height: 140px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}

.borne-signature__canvas:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent);
}

.borne-signature__clear {
  margin-top: 10px;
  font-size: 0.85rem;
  padding: 8px 14px;
}

.borne-kiosk__overlay-body .borne-signature__canvas {
  height: 120px;
  margin-bottom: 4px;
}

.borne-minor-block {
  margin-top: 4px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid color-mix(in srgb, var(--brand) 25%, var(--border));
  background: color-mix(in srgb, var(--brand) 4%, #fafbfc);
}

.borne-minor-block.is-hidden {
  display: none;
}

.borne-discharge {
  margin-top: 4px;
}

.borne-discharge__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
}

.borne-discharge__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.borne-discharge__check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.borne-discharge__text--overlay {
  margin-top: 8px;
  font-size: 0.82rem;
}

.borne-consent {
  margin: 4px 0 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fafbfc;
}

.borne-consent__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

.borne-consent__check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.borne-consent__check strong {
  color: var(--brand);
}

.borne-fidelity-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

.borne-fidelity-hint strong { color: var(--brand); }

/* Navigation */
.borne-nav {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.borne-btn {
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.borne-btn:active { transform: scale(0.98); }

.borne-btn--ghost {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.borne-btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand) 5%, #fff);
}

.borne-btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  flex: 1;
  box-shadow: 0 8px 28px var(--brand-glow);
}

.borne-btn--primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 32px var(--brand-glow);
}

.borne-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Bon / confirmation */
.borne-ticket {
  background: linear-gradient(145deg, #fff 0%, #f8f9fc 100%);
  border: 2px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 420px;
}

.borne-ticket__head {
  padding: 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
}

.borne-ticket__head img {
  max-height: 44px;
  max-width: 260px;
  margin: 0 auto 12px;
}

/* Ticket : fond déjà violet — logo blanc natif (Stadium) */
[data-site="stadium"] .borne-ticket__head img {
  filter: none;
}

/* Box : SVG coloré sur fond violet → léger éclaircissement si besoin */
[data-site="box"] .borne-ticket__head img {
  filter: brightness(0) invert(1);
}

.borne-ticket__head h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
}

.borne-ticket__body {
  padding: 24px;
  text-align: center;
}

.borne-ticket__qr,
.borne-kiosk__qr {
  margin: 16px auto;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  min-height: 200px;
  min-width: 200px;
}

.borne-ticket__qr img,
.borne-ticket__qr canvas,
.borne-kiosk__qr img,
.borne-kiosk__qr canvas {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 6px;
}

.borne-qr-error {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 12px;
}

.borne-kiosk__qr-wrap {
  margin: 8px 0 12px;
}

.borne-kiosk__qr-wrap.is-hidden { display: none; }

.borne-kiosk__qr-wrap:not(.is-hidden) + .borne-kiosk__progress {
  margin-top: 4px;
}

.borne-kiosk__screen-content.is-step-done .borne-kiosk__screen-main {
  display: none;
}

.borne-kiosk__screen-content.is-step-done .borne-kiosk__qr-wrap {
  display: block;
}

.borne-kiosk__qr-ref {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.borne-kiosk__recap {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.borne-kiosk__recap strong { color: #fff; }

.borne-kiosk__recap-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.borne-kiosk__recap-row:last-child { margin-bottom: 0; }

.borne-kiosk__recap-row i {
  width: 14px;
  color: color-mix(in srgb, var(--brand) 70%, white);
}

.borne-ticket__meta {
  text-align: left;
  font-size: 0.9rem;
  margin: 16px 0;
  line-height: 1.7;
}

.borne-ticket__meta p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.borne-ticket__meta i {
  color: var(--brand);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.borne-ticket__meta strong { color: var(--brand-dark); }

.borne-ticket__badge {
  width: 56px;
  height: 56px;
  margin: 8px auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand) 12%, white);
  border: 2px solid color-mix(in srgb, var(--brand) 25%, transparent);
}

.borne-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.borne-share .borne-btn { flex: 1; min-width: 120px; font-size: 0.85rem; padding: 12px 16px; }

/* —— Panneau droit : visuel borne (fixe pendant le scroll du formulaire) —— */
.borne-kiosk-wrap {
  background: linear-gradient(160deg, #eef0f5 0%, #e2e6ef 50%, #d8dde8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px 40px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  max-height: 100vh;
  box-sizing: border-box;
  overflow: visible;
  z-index: 2;
}

.borne-kiosk {
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .borne-kiosk-wrap {
    position: relative;
    height: auto;
    max-height: none;
    min-height: 420px;
    order: -1;
    padding: 24px;
  }
}

/* Mobile : uniquement la borne (formulaire masqué, saisie via le kiosque) */
@media (max-width: 1100px) {
  .borne-app--kiosk-only {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .borne-app--kiosk-only .borne-wizard {
    display: none !important;
  }

  /* Mode Claire : forcer le formulaire visible même si kiosk-only a fuité */
  .borne-html--view-form .borne-wizard,
  .borne-app--form-only .borne-wizard,
  .borne-html--view-form .borne-app--kiosk-only .borne-wizard {
    display: flex !important;
  }

  .borne-html--view-form .borne-app--kiosk-only .borne-kiosk-wrap,
  .borne-app--form-only.borne-app--kiosk-only .borne-kiosk-wrap {
    display: none !important;
  }

  .borne-app--kiosk-only .borne-kiosk-wrap {
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 12px 14px 24px;
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    background: linear-gradient(165deg, #e8ebf2 0%, #dde2ec 45%, #d4dae6 100%);
  }

  .borne-app--kiosk-only .borne-kiosk-mobile-chrome {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: min(400px, 100%);
    margin-bottom: 12px;
    flex-shrink: 0;
  }

  .borne-app--kiosk-only .borne-kiosk {
    width: min(100%, 400px);
    animation: none;
    filter: drop-shadow(0 16px 40px rgba(26, 29, 40, 0.14));
  }

  .borne-app--kiosk-only .borne-kiosk__screen {
    min-height: 200px;
  }

  .borne-app--kiosk-only .borne-kiosk__screen p {
    white-space: pre-line;
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

.borne-kiosk-mobile-chrome {
  display: none;
}

.borne-kiosk__back-step {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.borne-kiosk__back-step:hover {
  background: rgba(255, 255, 255, 0.22);
}

.borne-kiosk__back-step.is-hidden {
  display: none;
}

.borne-kiosk__recap-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.borne-kiosk__recap-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.borne-kiosk__recap-btn:active {
  transform: scale(0.97);
}

.borne-kiosk__recap-btn.is-hidden {
  display: none;
}

.borne-kiosk__recap-btn i {
  font-size: 0.85rem;
}

.borne-kiosk__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: inherit;
}

.borne-kiosk__overlay.is-hidden {
  display: none;
}

.borne-kiosk__overlay-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.borne-kiosk__overlay-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.borne-kiosk__overlay-close:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #000;
}

.borne-kiosk__overlay-close:active {
  transform: scale(0.96);
}

.borne-kiosk__overlay-title {
  margin: 0 40px 12px 0;
  font-family: Barlow, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}

.borne-kiosk__overlay--recap .borne-kiosk__overlay-card {
  max-width: 320px;
}

.borne-kiosk__overlay-btn.is-hidden {
  display: none;
}

.borne-kiosk__overlay-recap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: min(42vh, 280px);
  overflow-y: auto;
}

.borne-kiosk__overlay-recap-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.88rem;
  line-height: 1.35;
  color: #334155;
}

.borne-kiosk__overlay-recap-list li:last-child {
  border-bottom: none;
}

.borne-kiosk__overlay-recap-list i {
  width: 18px;
  margin-top: 2px;
  color: #1e3a5f;
  text-align: center;
  flex-shrink: 0;
}

.borne-kiosk__overlay-recap-list strong {
  color: #0f172a;
}

.borne-kiosk__overlay-recap-empty {
  margin: 0;
  padding: 8px 0 4px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #64748b;
}

.borne-kiosk__overlay-recap-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.borne-kiosk__overlay-recap-total strong {
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: #0f172a;
}

.borne-kiosk__overlay-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.borne-kiosk__overlay-body label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.borne-kiosk__overlay-body input,
.borne-kiosk__overlay-body select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text);
  font-family: inherit;
}

.borne-kiosk__overlay-body input:focus,
.borne-kiosk__overlay-body select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
  background: #fff;
}

.borne-kiosk__overlay-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.borne-kiosk__overlay-btn {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
}

.borne-kiosk__overlay-btn--ghost {
  background: #f1f5f9;
  color: var(--muted);
}

.borne-kiosk__overlay-btn--primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-color: transparent;
}

.borne-kiosk-wrap::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  top: 10%;
  right: -80px;
  filter: blur(60px);
}

.borne-kiosk {
  position: relative;
  width: min(100%, 380px);
  filter: drop-shadow(0 24px 48px rgba(26, 29, 40, 0.18));
  animation: none;
}

@keyframes kioskFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.borne-kiosk__shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, #e8eaef 0%, #eceff4 100%);
  border-radius: 28px 28px 12px 12px;
  padding: 14px 14px 0;
  border: 3px solid #d1d5db;
  box-shadow: 0 4px 0 #c4c9d4;
  position: relative;
  overflow: visible;
}

.borne-kiosk__header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  min-height: 60px;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
  text-align: center;
}

[data-site="stadium"] .borne-kiosk__header {
  background: linear-gradient(180deg, #12141f 0%, #0f1a28 100%);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  box-shadow: 0 4px 12px rgba(15, 17, 24, 0.25);
}

[data-site="box"] .borne-kiosk__header {
  background: linear-gradient(180deg, #f8f9fc 0%, #eef0f5 100%);
  border: 1px solid var(--border);
}

.borne-kiosk__header .ns-logo-stack {
  max-width: calc(100% - 8px);
}

.borne-kiosk__header .ns-logo-base {
  max-height: 48px;
  width: auto;
}

.borne-kiosk__header .ns-logo-stack--stadium .ns-logo-base {
  max-height: 44px;
  width: auto !important;
  max-width: 100%;
}

.borne-kiosk__header img.ns-logo-glow {
  max-height: none;
}

.borne-kiosk__screen {
  background: #1a1d28;
  border-radius: 12px;
  aspect-ratio: 4/5;
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 16px rgba(15, 17, 24, 0.2);
}

.borne-kiosk__screen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 65%);
  pointer-events: none;
}

.borne-kiosk__screen-content {
  position: relative;
  z-index: 1;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: center;
  padding: 12px;
  transition: opacity 0.35s;
}

.borne-kiosk__screen-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 8px;
}

.borne-kiosk__screen-content.is-changing {
  opacity: 0;
  transform: scale(0.96);
}

.borne-kiosk__screen-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  background: color-mix(in srgb, var(--brand) 35%, rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: none;
  flex-shrink: 0;
  transform-origin: center center;
}

.borne-kiosk__screen-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  margin: 0;
}

@keyframes screenPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.borne-kiosk__screen h4 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #fff;
}

.borne-kiosk__screen p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  white-space: pre-line;
}

.borne-kiosk__progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  margin-top: auto;
  flex-shrink: 0;
  overflow: hidden;
}

.borne-kiosk__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #7eb6ff, #fff);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.borne-kiosk__progress-label {
  margin: 6px 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.borne-kiosk__buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 4px 0 20px;
  margin-top: 4px;
  background: transparent;
  border-radius: 0 0 8px 8px;
}

.borne-kiosk__btn-key {
  min-height: 52px;
  padding: 6px 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #e8ebf2 100%);
  border: 2px solid #b8bec9;
  box-shadow:
    0 3px 0 #a8afb9,
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.1s, box-shadow 0.1s, border-color 0.15s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: inherit;
  color: var(--text);
  user-select: none;
}

.borne-kiosk__btn-key:not(.borne-kiosk__btn-key--wide):not(.is-empty) {
  cursor: pointer;
}

.borne-kiosk__btn-key:not(.borne-kiosk__btn-key--wide):not(.is-empty):hover {
  border-color: var(--brand);
}

.borne-kiosk__btn-key.is-selected {
  border-color: var(--brand);
  background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--brand) 14%, #e8ebf2) 100%);
  box-shadow:
    0 2px 0 var(--brand-dark),
    inset 0 0 0 1px color-mix(in srgb, var(--brand) 25%, transparent);
}

.borne-kiosk__btn-key.is-empty {
  opacity: 0.35;
  pointer-events: none;
  box-shadow: 0 2px 0 #c5cad3;
}

.borne-kiosk__btn-key__icon {
  font-size: 0.95rem;
  line-height: 1;
  color: var(--brand-dark);
}

.borne-kiosk__btn-key.is-selected .borne-kiosk__btn-key__icon {
  color: var(--brand-dark);
}

.borne-kiosk__btn-key--wide .borne-kiosk__btn-key__icon {
  color: #fff;
}

.borne-kiosk__btn-key__label {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.borne-kiosk__btn-key.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 0 0 #a8afb9;
}

.borne-kiosk__btn-key--wide {
  grid-column: span 3;
  min-height: 48px;
  padding: 10px 16px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  border: 2px solid var(--brand-dark);
  box-shadow:
    0 4px 0 color-mix(in srgb, var(--brand-dark) 75%, #1a1d28),
    0 0 0 0 color-mix(in srgb, var(--brand) 50%, transparent);
  color: #fff;
  cursor: pointer;
  animation: borneKioskCtaPulse 2.2s ease-in-out infinite;
}

.borne-kiosk__btn-key--wide .borne-kiosk__btn-key__label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #fff;
  -webkit-line-clamp: 1;
}

.borne-kiosk__btn-key--wide:hover {
  filter: brightness(1.08);
  animation-play-state: paused;
}

.borne-kiosk__btn-key--wide.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--brand-dark) 75%, #1a1d28);
  animation: none;
}

@keyframes borneKioskCtaPulse {
  0%, 100% {
    box-shadow:
      0 4px 0 color-mix(in srgb, var(--brand-dark) 75%, #1a1d28),
      0 0 16px color-mix(in srgb, var(--brand) 30%, transparent);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 4px 0 color-mix(in srgb, var(--brand-dark) 75%, #1a1d28),
      0 0 28px var(--brand-glow),
      0 0 48px color-mix(in srgb, var(--brand) 25%, transparent);
    transform: scale(1.02);
  }
}

.borne-kiosk__base {
  height: 14px;
  background: linear-gradient(180deg, #c8cdd6, #a8afb9);
  border-radius: 0 0 20px 20px;
  margin: 0 24px;
}

/* Dashboard pages */
.dash-body {
  background: #0f1118;
  min-height: 100vh;
  color: #fff;
}

.dash-header {
  padding: 22px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.dash-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}

.dash-card {
  background: #1a1d28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.dash-card h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
}

.dash-points {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 25%, #1a1d28), #1a1d28);
  border-radius: 14px;
  margin-bottom: 24px;
}

.dash-points__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  font-family: 'Barlow', sans-serif;
}

.dash-auth {
  max-width: 400px;
  margin: 60px auto;
}

.dash-auth .borne-field input {
  background: #12141d;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.dash-pay-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-pay-card span { font-size: 1.5rem; }

.dash-booking {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.dash-booking:last-child { border-bottom: none; }

.dash-alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.dash-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-weight: 600;
}

.dash-alert--ok {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-weight: 600;
}

.dash-body--auth .dash-alert--error {
  background: #fef2f2;
  border-color: #f87171;
  color: #991b1b;
}

.dash-body--auth .dash-alert--ok {
  background: #ecfdf5;
  border-color: #34d399;
  color: #064e3b;
}

/* Connexion inline — étape coordonnées */
.borne-coords-auth {
  margin: 0 0 18px;
}
.borne-coords-auth__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(19, 134, 207, 0.35);
  background: rgba(19, 134, 207, 0.1);
}
.borne-coords-auth__banner--ok {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.1);
}
.borne-coords-auth__banner strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.borne-coords-auth__banner p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.35;
}
.borne-coords-auth__form {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}
.borne-coords-auth__form.is-hidden,
.borne-coords-auth__logged.is-hidden,
.borne-coords-auth__guest.is-hidden {
  display: none !important;
}
.borne-coords-auth__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.borne-coords-auth__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #7dd3fc;
}
.borne-alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.borne-alert.is-hidden { display: none !important; }
.borne-alert--error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
}
.borne-alert--ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.hidden { display: none !important; }

/* Pages compte (login, inscription, dashboard) */
.dash-header__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.dash-header__brand .borne-logo-wrap {
  display: block;
  line-height: 0;
  margin-inline: auto;
}

.dash-header--dashboard .dash-header__brand .borne-logo-wrap {
  margin-inline: 0;
}

.dash-header__brand .borne-logo-wrap .borne-logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: min(280px, 50vw);
  object-fit: contain;
}

@media (min-width: 768px) {
  .dash-header__brand .borne-logo-wrap .borne-logo {
    max-height: 64px;
    max-width: 320px;
  }
}

.dash-header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dash-header__nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.dash-header__nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.dash-header__nav a.is-active {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 18%, transparent);
}

.dash-header .borne-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.dash-header .borne-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand);
  color: #fff;
}

.dash-auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.dash-auth-card {
  width: 100%;
  max-width: 440px;
  background: #1a1d28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.dash-auth-card__head {
  text-align: center;
  margin-bottom: 28px;
}

.dash-auth-card__head .borne-panel__icon {
  margin: 0 auto 16px;
}

.dash-auth-card h1 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.dash-auth-card__sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.5;
}

.dash-auth-card .borne-field label {
  color: rgba(255, 255, 255, 0.55);
}

.dash-auth-card .borne-input-wrap input {
  background: #12141d;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dash-auth-card .borne-btn--primary {
  width: 100%;
  margin-top: 8px;
}

.dash-auth-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.dash-auth-links a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.dash-auth-links a:hover {
  text-decoration: underline;
}

/* Connexion / inscription — thème clair + mobile */
.dash-body--auth {
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 50%),
    #eef1f6;
  color: var(--text);
}

.dash-body--auth .dash-header,
.dash-header--auth {
  background: linear-gradient(160deg, #0c0e14 0%, #16122a 42%, color-mix(in srgb, var(--brand-dark) 55%, #12141f) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  box-shadow: 0 10px 40px rgba(15, 17, 24, 0.18);
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 22px 20px 20px;
  gap: 0;
}

.dash-header__shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dash-header--auth .dash-header__brand,
.dash-body--auth .dash-header__brand {
  justify-content: center;
  width: 100%;
}

.dash-header--auth .dash-header__nav,
.dash-body--auth .dash-header__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dash-header__link,
.dash-body--auth .dash-header__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.dash-header__link i,
.dash-body--auth .dash-header__nav a i {
  font-size: 0.9em;
  opacity: 0.95;
  line-height: 1;
}

.dash-header__link:hover,
.dash-body--auth .dash-header__nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.dash-header__link.is-active,
.dash-body--auth .dash-header__nav a.is-active {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  box-shadow: 0 4px 18px var(--brand-glow);
}

.dash-header__link--cta,
.dash-body--auth .dash-header__nav a.dash-header__link--cta {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.dash-header__link--cta:hover,
.dash-body--auth .dash-header__nav a.dash-header__link--cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: color-mix(in srgb, var(--brand) 45%, rgba(255, 255, 255, 0.2));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 25%, transparent);
}

.dash-header__link--cta.is-active {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
}

.dash-body--auth .dash-auth-card {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
  color: var(--text);
}

.dash-auth-card--wide {
  max-width: 480px;
}

.dash-body--auth .dash-auth-card__sub {
  color: var(--muted);
}

.dash-body--auth .dash-auth-card .borne-field label {
  color: var(--muted);
}

.dash-body--auth .dash-auth-card .borne-input-wrap input {
  background: #f8fafc;
  border-color: var(--border);
  color: var(--text);
}

.dash-body--auth .dash-auth-card .borne-input-wrap:focus-within input {
  background: #fff;
}

.dash-body--auth .dash-auth-links {
  color: var(--muted);
  border-top-color: var(--border);
}

.dash-auth-hint {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 6%, #f8fafc);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border));
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.dash-auth-hint > p:first-child {
  margin-bottom: 10px;
}

.dash-auth-hint i.fa-circle-info {
  color: var(--brand);
}

.dash-auth-hint a {
  color: var(--brand-dark);
  font-weight: 600;
}

.dash-auth-hint__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 10px 0 12px;
  font-size: 0.9rem;
  color: var(--text);
}

.dash-auth-hint__creds span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dash-auth-hint__creds i {
  color: var(--brand);
}

.borne-btn--sm {
  padding: 10px 16px;
  font-size: 0.85rem;
  width: 100%;
}

/* Page merci — fin de réservation */
.dash-body--merci {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
}

.borne-merci {
  width: 100%;
  max-width: 520px;
}

.borne-merci__card {
  position: relative;
  text-align: center;
  padding: 28px 24px 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.borne-merci__ninja-wrap {
  margin: -8px auto 8px;
  max-width: 220px;
}

.borne-merci__ninja {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px color-mix(in srgb, var(--brand) 35%, transparent));
  animation: borneMerciFloat 3.2s ease-in-out infinite;
}

@keyframes borneMerciFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.borne-merci__logo {
  max-width: 140px;
  margin: 0 auto 16px;
}

.borne-merci__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #15803d;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.borne-merci__badge i {
  font-size: 1rem;
}

.borne-merci__title {
  margin: 0 0 12px;
  font-family: Barlow, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.borne-merci__lead {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.borne-merci__lead strong {
  color: var(--brand-dark);
}

.borne-merci__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.borne-merci__actions .borne-btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .borne-merci__card {
    padding: 36px 40px 40px;
  }

  .borne-merci__ninja-wrap {
    max-width: 260px;
  }
}

.dash-reset-code {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 8%, #f8fafc);
  border: 2px solid color-mix(in srgb, var(--brand) 35%, var(--border));
  text-align: center;
}

.dash-reset-code__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.dash-reset-code strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  color: var(--brand-dark);
  font-family: 'Barlow', sans-serif;
}

.dash-reset-code__hint {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.dash-body--auth .dash-auth-card .borne-btn--primary {
  animation: borneAuthCtaPulse 2.4s ease-in-out infinite;
}

.dash-body--auth .dash-auth-card .borne-btn--primary:hover {
  animation-play-state: paused;
}

@keyframes borneAuthCtaPulse {
  0%, 100% {
    box-shadow: 0 8px 28px var(--brand-glow);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 12px 36px var(--brand-glow), 0 0 0 6px color-mix(in srgb, var(--brand) 18%, transparent);
    transform: scale(1.01);
  }
}

@media (max-width: 768px) {
  .dash-body--auth .dash-header,
  .dash-header--auth {
    padding: 16px 12px 14px;
  }

  .dash-header__shell {
    gap: 16px;
  }

  .dash-body--auth .dash-header__brand {
    width: 100%;
    justify-content: center;
  }

  .dash-body--auth .dash-header__brand .borne-logo-wrap {
    margin-inline: auto;
  }

  .dash-body--auth .dash-header__brand .borne-logo-wrap .borne-logo {
    max-height: 50px;
    max-width: min(280px, 88vw);
  }

  .dash-header--auth .dash-header__nav,
  .dash-body--auth .dash-header__nav {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px;
  }

  .dash-header--auth .dash-header__nav::-webkit-scrollbar,
  .dash-body--auth .dash-header__nav::-webkit-scrollbar {
    display: none;
  }

  .dash-header__link,
  .dash-body--auth .dash-header__nav a {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .dash-body--auth .dash-auth-page {
    min-height: auto;
    align-items: flex-start;
    padding: 16px 12px 40px;
  }

  .dash-body--auth .dash-auth-card {
    padding: 24px 18px;
    border-radius: 14px;
    max-width: 100%;
  }

  .dash-body--auth .dash-auth-card .borne-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dash-body--auth .dash-auth-card h1 {
    font-size: 1.3rem;
  }

  .dash-body--auth .dash-auth-card__head .borne-panel__icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .dash-body--auth .borne-field input,
  .dash-body--auth .borne-input-wrap input,
  .dash-body--auth .borne-input-wrap select {
    font-size: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .dash-body--auth .dash-auth-card .borne-btn--primary {
    padding: 18px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .dash-header__link,
  .dash-body--auth .dash-header__nav a {
    padding: 0 11px;
    font-size: 0.75rem;
    min-height: 38px;
  }

  .dash-header__link--cta span,
  .dash-header__link--cta {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dash-body--auth .dash-auth-card .borne-btn--primary {
    animation: none;
  }
}

.dash-auth-forgot {
  text-align: right;
  margin-bottom: 16px;
}

.dash-auth-forgot a {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.dash-auth-forgot a:hover {
  text-decoration: underline;
}

.dash-user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-user-chip__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.dash-empty {
  text-align: center;
  padding: 32px 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
}

.dash-empty i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--brand);
  display: block;
}

.dash-booking strong { color: #fff; }

.dash-booking__meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin-top: 4px;
}

/* ——— Tableau de bord (Mon compte) ——— */
.dash-body--dashboard {
  background:
    radial-gradient(ellipse 90% 55% at 100% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 50%),
    radial-gradient(ellipse 70% 45% at 0% 100%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 45%),
    #e8ebf2;
  color: var(--text);
  min-height: 100vh;
}

.dash-header--dashboard {
  background: linear-gradient(160deg, #0c0e14 0%, #16122a 42%, color-mix(in srgb, var(--brand-dark) 55%, #12141f) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
  box-shadow: 0 10px 40px rgba(15, 17, 24, 0.15);
  padding: 18px 20px;
  flex-wrap: nowrap;
}

.dash-header__shell--row {
  max-width: 1100px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-header--dashboard .dash-header__brand {
  justify-content: flex-start;
  width: auto;
  flex-shrink: 0;
}

.dash-header--dashboard .dash-header__nav {
  flex-shrink: 0;
}

.dash-header__link--logout {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.dash-header__link--logout i {
  opacity: 1;
  color: #475569;
}

.dash-header__link--logout:hover {
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.95);
  border-color: rgba(239, 68, 68, 0.35);
}

.dash-header__link--logout:hover i {
  color: #b91c1c;
}

.dash-main--account {
  max-width: 1100px;
  padding: 28px 20px 48px;
}

.dash-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  gap: 24px;
  align-items: start;
}

.dash-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-layout__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.dash-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 28px rgba(15, 23, 42, 0.06);
  color: var(--text);
}

.dash-panel--profile {
  padding: 20px;
}

.dash-panel--points {
  padding: 0;
  overflow: hidden;
}

.dash-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: Barlow, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}

.dash-section__title i {
  color: var(--brand);
  font-size: 1.1rem;
}

.dash-panel__lead {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.dash-user-chip__name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.dash-user-chip__email {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  word-break: break-word;
}

.dash-user-chip__meta {
  margin: 6px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0c5f9a;
}

.dash-user-chip__avatar {
  background: linear-gradient(145deg, #0c1630, #1386cf) !important;
  box-shadow: 0 6px 16px rgba(19, 134, 207, 0.35);
}

.dash-profile-form {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-profile-form__title {
  margin: 0 0 4px;
  font-family: Barlow, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0c1630;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-profile-form__title i { color: #fe39ad; }

.dash-profile-form__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-profile-form__row label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.dash-profile-form__row input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font: inherit;
  color: var(--text);
}

.dash-profile-form__row input:focus {
  outline: none;
  border-color: #1386cf;
  box-shadow: 0 0 0 3px rgba(19, 134, 207, 0.15);
  background: #fff;
}

.dash-profile-form__email-locked {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.dash-profile-form__btn {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}

.dash-profile-form__msg {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  font-weight: 600;
}

.dash-profile-form__msg.is-ok { color: #047857; }
.dash-profile-form__msg.is-error { color: #b91c1c; }

.dash-body--dashboard .dash-points {
  margin: 0;
  padding: 22px 20px;
  border-radius: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 10%, #fff) 0%,
    #fff 55%
  );
  border: none;
  align-items: center;
}

.dash-points__label {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dash-points__hint {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.dash-points__subhint {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.85;
}

.dash-parrain {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.dash-parrain__label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dash-parrain__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-parrain__code {
  flex: 1;
  font-family: ui-monospace, 'DM Sans', monospace;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
}

.dash-parrain__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  color: var(--brand-dark);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.dash-parrain__copy:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, #fff);
}

.dash-parrain__hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.dash-points__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: var(--brand);
  font-size: 1.5rem;
}

.dash-body--dashboard .dash-points__value {
  color: var(--brand-dark);
  font-size: 2.35rem;
  line-height: 1;
}

.dash-body--dashboard .dash-booking {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  color: var(--text);
}

.dash-body--dashboard .dash-booking:last-child {
  margin-bottom: 0;
}

.dash-booking__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.dash-booking__ref {
  font-family: Barlow, sans-serif;
  letter-spacing: 0.02em;
}

.dash-booking__badge {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #e2e8f0;
  color: #475569;
}

.dash-booking.is-paid .dash-booking__badge,
.dash-booking.is-done .dash-booking__badge {
  background: #dcfce7;
  color: #166534;
}

.dash-booking.is-pending .dash-booking__badge {
  background: #fef3c7;
  color: #92400e;
}

.dash-booking.is-cancelled .dash-booking__badge {
  background: #fee2e2;
  color: #991b1b;
}

.dash-booking__title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #0c1630;
}

.dash-body--dashboard .dash-booking__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.dash-booking__meta i { color: #1386cf; margin-right: 4px; }

.dash-booking__price {
  color: #fe39ad;
  font-weight: 800;
}

.dash-booking__actions {
  margin-top: 10px;
}

.dash-booking__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1386cf;
  text-decoration: none;
}

.dash-booking__link:hover { color: #fe39ad; }

.dash-body--dashboard .dash-empty {
  color: var(--muted);
  padding: 24px 12px;
}

.dash-empty--compact { padding: 12px; }

.dash-body--dashboard .dash-empty i {
  color: #fe39ad;
}

.dash-empty__cta {
  display: inline-flex;
  margin-top: 16px;
  text-decoration: none;
}

.dash-pay-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.dash-pay-row:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-pay-row:first-child { padding-top: 0; }

.dash-pay-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(19, 134, 207, 0.12);
  color: #1386cf;
  flex-shrink: 0;
}

.dash-pay-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
}

.dash-pay-row__body strong { color: #0c1630; }
.dash-pay-row__body span { color: var(--muted); }
.dash-pay-row__amount {
  font-family: Barlow, sans-serif;
  font-weight: 800;
  color: #fe39ad;
  white-space: nowrap;
}

.dash-refer__btn--wa {
  background: #ecfdf5 !important;
  border-color: #6ee7b7 !important;
  color: #047857 !important;
}

.dash-refer__btn--mail {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}

.dash-parrain__copy {
  background: linear-gradient(135deg, #1386cf, #0c5f9a) !important;
  border: none !important;
  color: #fff !important;
}

.dash-rank-badge {
  background: linear-gradient(135deg, rgba(254, 57, 173, 0.12), rgba(19, 134, 207, 0.12)) !important;
  color: #0c1630 !important;
  border-color: rgba(254, 57, 173, 0.25) !important;
}

.dash-empty__cta:hover,
.dash-empty__cta:focus {
  text-decoration: none;
}

/* ——— Fidélité & parrainage (dashboard) ——— */
.dash-panel--loyalty {
  padding: 0;
  overflow: hidden;
}

.dash-loyalty__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px 0;
}

.dash-loyalty__title {
  margin: 0;
  font-family: Barlow, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.dash-loyalty__title i { color: var(--brand); }

.dash-rank-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--brand) 14%, #fff);
  color: var(--brand-dark);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  white-space: nowrap;
}

.dash-rank-progress {
  padding: 0 20px 16px;
}

.dash-rank-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.dash-rank-progress__track {
  height: 8px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.dash-rank-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1386cf, #fe39ad);
  transition: width 0.4s ease;
  box-shadow: 0 0 12px rgba(254, 57, 173, 0.35);
}

.dash-rank-ladder {
  list-style: none;
  margin: 0;
  padding: 0 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-rank-ladder li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid transparent;
}

.dash-rank-ladder li.is-done {
  color: var(--text);
}

.dash-rank-ladder li.is-current {
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  border-color: color-mix(in srgb, var(--brand) 22%, transparent);
  color: var(--brand-dark);
  font-weight: 700;
}

.dash-rank-ladder li.is-locked { opacity: 0.55; }

.dash-rank-ladder__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: var(--muted);
  flex-shrink: 0;
  font-size: 0.78rem;
}

.dash-rank-ladder li.is-done .dash-rank-ladder__icon,
.dash-rank-ladder li.is-current .dash-rank-ladder__icon {
  background: color-mix(in srgb, var(--brand) 15%, #fff);
  color: var(--brand);
}

.dash-rank-ladder__pts {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.dash-refer {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.dash-refer__title {
  margin: 0 0 8px;
  font-family: Barlow, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.dash-refer__title i { color: var(--brand); }

.dash-refer__lead {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.dash-refer__lead strong { color: var(--brand-dark); }

.dash-refer__code-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dash-refer__code {
  flex: 1;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--border));
  background: #fff;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-dark);
}

.dash-refer__copy {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.dash-refer__copy:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, #fff);
}

.dash-refer__hint {
  min-height: 1.2em;
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: var(--brand-dark);
}

.dash-refer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.dash-refer__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.dash-refer__btn:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  text-decoration: none;
}

.dash-refer__stats {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.dash-refer__stats span {
  font-weight: 800;
  color: var(--brand-dark);
}

.dash-body--dashboard .dash-pay-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text);
}

.dash-body--dashboard .dash-pay-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.dash-pay-card__sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.dash-pay-card__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dash-pay-card__icon--card {
  color: var(--brand);
}

.dash-pay-card__icon--paypal {
  color: #0070ba;
}

.dash-body--dashboard .dash-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .dash-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dash-layout__aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .dash-header--dashboard {
    padding: 14px 12px;
  }

  .dash-header__shell--row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .dash-header--dashboard .dash-header__brand {
    justify-content: center;
    width: 100%;
  }

  .dash-header--dashboard .dash-header__brand .borne-logo-wrap {
    margin-inline: auto;
  }

  .dash-header--dashboard .dash-header__brand .borne-logo-wrap .borne-logo {
    max-height: 48px;
    max-width: min(260px, 88vw);
  }

  .dash-header--dashboard .dash-header__nav {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .dash-header--dashboard .dash-header__nav::-webkit-scrollbar {
    display: none;
  }

  .dash-main--account {
    padding: 20px 14px 36px;
  }

  .dash-layout__aside {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dash-panel {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .dash-body--dashboard .dash-points__value {
    font-size: 2rem;
  }

  .dash-body--dashboard .dash-grid {
    grid-template-columns: 1fr;
  }

  .dash-header--dashboard .dash-header__link {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .dash-header--dashboard .dash-header__link i {
    font-size: 0.85em;
  }
}

@media (max-width: 380px) {
  .dash-header--dashboard .dash-header__link {
    padding: 0 10px;
    font-size: 0.72rem;
  }
}

/* —— Mode volet intégré (site marketing ninjastadium) —— */
html.borne-html--embed-drawer,
html:has(.borne-body--embed-drawer),
.borne-body--embed-drawer {
  min-height: 100%;
  height: 100%;
  overflow: auto;
  background: var(--panel);
}

html.borne-html--embed-drawer body,
.borne-body--embed-drawer {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--panel);
}

/* Dès le chargement HTML (classe sur <html>) — masque le kiosk avant JS */
html.borne-html--embed-drawer .borne-kiosk-wrap,
html.borne-html--embed-drawer .borne-kiosk-mobile-chrome,
.borne-app--embed-drawer .borne-kiosk-wrap,
.borne-app--embed-drawer .borne-kiosk-mobile-chrome {
  display: none !important;
}

html.borne-html--embed-drawer .borne-app,
.borne-body--embed-drawer .borne-app--embed-drawer,
.borne-app--embed-drawer {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  min-height: 100%;
  height: auto;
  width: 100%;
}

html.borne-html--embed-drawer .borne-wizard,
.borne-app--embed-drawer .borne-wizard {
  max-width: none;
  width: 100%;
  min-height: 100%;
  height: auto;
  box-shadow: none;
  padding: 14px 16px 24px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  order: 0 !important;
}

.borne-app--embed-drawer .borne-topbar,
html.borne-html--embed-drawer .borne-topbar {
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* Logo brand : masqué dans le volet (déjà dans le header site) */
.borne-app--embed-drawer .borne-brand-card,
html.borne-html--embed-drawer .borne-brand-card {
  display: none !important;
}

.borne-app--embed-drawer .borne-nav,
html.borne-html--embed-drawer .borne-nav {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent, var(--panel) 28%);
  padding-top: 16px;
  padding-bottom: 4px;
  margin-top: 1.5rem;
  flex-shrink: 0;
}

/* Empêcher le mode kiosk-only d'écraser le volet */
html.borne-html--embed-drawer .borne-app--kiosk-only .borne-wizard,
.borne-app--embed-drawer.borne-app--kiosk-only .borne-wizard {
  display: flex !important;
}

html.borne-html--embed-drawer .borne-app--kiosk-only .borne-kiosk-wrap,
.borne-app--embed-drawer.borne-app--kiosk-only .borne-kiosk-wrap {
  display: none !important;
}

/* —— Compte client en volet (dashboard / login) —— */
html.dash-html--embed-drawer,
html:has(.dash-body--embed-drawer),
.dash-body--embed-drawer {
  min-height: 100%;
  height: auto;
  overflow: visible;
  background: var(--panel);
}

.dash-body--embed-drawer .dash-header {
  position: sticky;
  top: 0;
  z-index: 3;
  box-shadow: 0 1px 0 rgba(5, 10, 24, 0.06);
}

.dash-body--embed-drawer .dash-header__nav a:not(.dash-header__link--cta),
.dash-body--embed-drawer .dash-header__link:not(.dash-header__link--cta),
.dash-body--embed-drawer .dash-header__link--logout {
  display: none;
}

.dash-body--embed-drawer .dash-main,
.dash-body--embed-drawer .dash-auth-page {
  padding-top: 12px;
  padding-bottom: 24px;
}

.dash-body--embed-drawer .dash-layout {
  gap: 14px;
}

.dash-body--embed-drawer .dash-header__shell {
  padding-block: 10px;
}

.dash-body--embed-drawer .dash-header__brand {
  display: none !important;
}

/* —— Mon espace Ninja (page pleine) —— */
.dash-body--espace,
.dash-body--espace.dash-body--auth {
  background: #0c1630 !important;
  color: #e8eefc;
}
.dash-body--embed-page .dash-header--espace {
  display: none;
}

/* Formulaire : pas de centrage 100vh */
.dash-body--espace .dash-auth-page,
.dash-body--embed-page .dash-auth-page,
.dash-body--espace.dash-body--auth .dash-auth-page,
.dash-auth-page--espace {
  min-height: 0 !important;
  height: auto !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  background: transparent !important;
}

.dash-espace-panel[hidden] { display: none !important; }

.dash-espace-guest {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 18px 36px;
}

.dash-espace-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px 36px;
  align-items: start;
}

.dash-espace-welcome {
  padding: 8px 4px 0;
  color: #d5dced;
}
.dash-espace-welcome__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fe39ad;
}
.dash-espace-welcome__title {
  margin: 0;
  font-family: Barlow, sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
  color: #f4f7ff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.dash-espace-welcome__lead {
  margin: 12px 0 0;
  color: #a8b4cc;
  line-height: 1.5;
  font-size: 1.02rem;
}
.dash-espace-welcome__perks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.dash-espace-welcome__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e8eefc;
  font-weight: 600;
  font-size: 0.95rem;
}
.dash-espace-welcome__perks i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 57, 173, 0.16);
  color: #ff6b76;
  flex-shrink: 0;
}
.dash-espace-welcome__reserve {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f4f7ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dash-espace-welcome__reserve:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.dash-espace-auth {
  min-width: 0;
}

.dash-espace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-espace-tab {
  border: 0;
  background: transparent;
  color: #9aa8c2;
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  flex: 1 1 auto;
  text-align: center;
}
.dash-espace-tab.is-active {
  background: #fe39ad;
  color: #fff;
  box-shadow: 0 6px 18px rgba(254, 57, 173, 0.35);
}

.dash-auth-page--espace .dash-auth-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.dash-auth-page--espace .dash-auth-card h2 {
  margin: 0;
  font-size: 1.35rem;
  color: #0c1630;
}
.dash-auth-page--espace .dash-auth-card__sub {
  color: #64748b;
}
.dash-auth-page--espace .borne-btn--danger {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  box-shadow: 0 8px 22px rgba(254, 57, 173, 0.28);
}

/* Embed dans la page site : fond transparent, hauteur au contenu */
html.dash-html--embed-page,
html:has(.dash-body--embed-page) {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
}
.dash-body--embed-page,
.dash-body--embed-page.dash-body--auth,
.dash-body--embed-page.dash-body--espace,
.dash-body--embed-page.dash-body--dashboard {
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  overflow: hidden;
}
.dash-body--embed-page .dash-espace-guest,
.dash-body--embed-page .dash-espace-account,
.dash-body--embed-page .dash-main--account {
  padding-bottom: 16px;
}
.dash-body--embed-page .dash-espace-guest {
  padding: 12px 20px 16px;
  max-width: none;
}
.dash-body--embed-page .dash-espace-welcome__title {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
}

.dash-link-btn {
  border: 0;
  background: none;
  color: #1386cf;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.dash-espace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.dash-espace-hero__eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fe39ad;
}
.dash-espace-toolbar__title {
  margin: 0;
  font-family: Barlow, sans-serif;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: #f4f7ff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.dash-body--espace .dash-main--account {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px 40px;
  color: #e8eefc;
}
@media (max-width: 860px) {
  .dash-espace-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .dash-espace-welcome {
    text-align: left;
  }
  .dash-espace-welcome__perks {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .dash-espace-tab { font-size: 0.8rem; padding: 9px 8px; }
}

.borne-btn--danger {
  background: #fe39ad;
  color: #fff;
  border: none;
}
.borne-btn--danger:hover { background: #d91f8f; color: #fff; }
.dash-espace-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.dash-espace-logout {
  width: 100%;
  margin-top: 14px;
  justify-content: center;
  border: 1px solid #fecaca;
  color: #b91c1c;
  background: #fff5f5;
}
.dash-espace-logout:hover {
  background: #fee2e2;
  color: #991b1b;
}

/* —— Modes dédiés URL (kiosk / form / both) —— */
.borne-html--view-kiosk .borne-panel-switch,
.borne-html--view-form .borne-panel-switch {
  display: none !important;
}

/* Masquer le panneau inutile dès le HTML (sans attendre borne.js) */
.borne-html--view-kiosk .borne-wizard {
  display: none !important;
}

.borne-html--view-form .borne-kiosk-wrap {
  display: none !important;
}

.borne-html--view-kiosk body,
.borne-body--view-kiosk {
  background: #0b1220;
  min-height: 100dvh;
}

.borne-html--view-kiosk .borne-app {
  min-height: 100dvh;
  background: #0b1220;
  grid-template-columns: 1fr;
}

.borne-html--view-kiosk,
.borne-body--view-kiosk,
.borne-html--view-form,
.borne-body--view-form {
  overflow-x: hidden;
  max-width: 100vw;
}

.borne-html--view-kiosk .borne-app,
.borne-body--view-kiosk .borne-app {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.borne-html--view-kiosk .borne-kiosk-wrap,
.borne-html--view-kiosk .borne-app--kiosk-only-manual .borne-kiosk-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  height: 100dvh;
  width: 100%;
  max-width: 100vw;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #0b1220;
  justify-content: stretch;
  align-items: stretch;
}

.borne-html--view-kiosk .borne-kiosk,
.borne-html--view-kiosk .borne-app--kiosk-only-manual .borne-kiosk {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.borne-html--view-kiosk .borne-kiosk__shell,
.borne-html--view-kiosk .borne-app--kiosk-only-manual .borne-kiosk__shell {
  flex: 1;
  min-height: 0;
  height: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #0b1220;
  padding: 12px 12px 0;
  gap: 10px;
}

.borne-html--view-kiosk .borne-kiosk__screen,
.borne-html--view-kiosk .borne-app--kiosk-only-manual .borne-kiosk__screen {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  border-radius: 16px;
}

.borne-html--view-kiosk .borne-kiosk__buttons,
.borne-html--view-kiosk .borne-app--kiosk-only-manual .borne-kiosk__buttons {
  flex-shrink: 0;
  max-height: min(42vh, 320px);
  overflow: auto;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

.borne-html--view-kiosk .borne-kiosk__base,
.borne-html--view-kiosk .borne-app--kiosk-only-manual .borne-kiosk__base {
  display: none;
}

.borne-html--view-kiosk .borne-kiosk-mobile-chrome {
  display: none !important;
}

.borne-html--view-kiosk .borne-kiosk__header {
  display: none !important;
}

.borne-html--view-form .borne-app {
  grid-template-columns: 1fr;
  min-height: 100dvh;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #eef2f7;
}

.borne-html--view-form body,
.borne-body--view-form {
  background: #eef2f7;
  min-height: 100dvh;
}

.borne-html--view-form .borne-wizard {
  max-width: min(100%, 720px);
  width: 100%;
  margin: 0 auto;
  min-height: 100dvh;
  padding: 18px 18px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Borne physique : pas de chrome web */
.borne-html--view-form .borne-topbar,
.borne-html--view-form .borne-brand-card {
  display: none !important;
}

.borne-html--view-form .borne-stepper {
  margin-top: 8px;
}

.borne-html--view-form .borne-choices {
  gap: 12px;
}

.borne-html--view-form .borne-choice {
  min-height: 118px;
  padding: 14px 12px;
  font-size: 0.95rem;
}

.borne-html--view-form .borne-nav {
  margin-top: auto;
  padding-top: 18px;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, transparent, #eef2f7 28%);
  z-index: 5;
}

.borne-html--view-form .borne-nav .borne-btn {
  min-height: 56px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.borne-html--view-form .borne-recap__action {
  min-height: 48px;
  padding: 10px 16px;
  font-size: 0.95rem;
}

/* —— Switch Clair / Sombre — haut gauche, hors du contenu —— */
.borne-view-switch {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: max(10px, env(safe-area-inset-left));
  right: auto;
  bottom: auto;
  transform: none;
  z-index: 120;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  padding: 3px;
  width: auto;
  max-width: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.borne-html--view-form .borne-view-switch {
  top: max(10px, env(safe-area-inset-top));
  left: max(10px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

.borne-html--view-form .borne-wizard {
  position: relative;
  padding-top: 64px;
  padding-bottom: 28px;
}

.borne-html--view-kiosk .borne-kiosk__screen-content {
  padding-top: 52px;
}

.borne-view-switch__hint {
  display: none;
}

.borne-view-switch__btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.borne-html--view-form .borne-view-switch__btn {
  color: #64748b;
}

.borne-view-switch__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.borne-html--view-form .borne-view-switch__btn:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}

.borne-view-switch__btn:active {
  transform: scale(0.97);
}

.borne-view-switch__btn.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.borne-html--view-form .borne-view-switch__btn.is-active {
  background: linear-gradient(165deg, #1e3a5f, #0f172a);
  color: #fff;
}

.borne-view-switch__btn i {
  font-size: 0.85rem;
}

@media (max-width: 420px) {
  .borne-view-switch__btn span {
    display: none;
  }
  .borne-view-switch__btn {
    min-height: 36px;
    width: 36px;
    padding: 0;
  }
}
