/* Mode Noël (Administration → tableau de bord) : couleurs et décor du site, chargés en plus de style.css.
   Le fond animé (app.js) et la neige (season/fx.js) suivent le même mode. */
:root {
  --text: #f3f8ff;
  --dim: #a9b9cd;
  --faint: #66788f;
  --line: rgba(190, 225, 255, .2);
  --line-inner: rgba(210, 235, 255, .07);
  --glass: rgba(4, 10, 24, .58);
}
body { background: #01040d; }
::selection { background: #e63946; color: #fff; }

.glass { background: linear-gradient(180deg, rgba(200, 230, 255, .09), rgba(120, 170, 255, .02) 160px), var(--glass); }

/* éléments principaux : rouge de Noël, liseré doré */
.btn-primary, .btn-small, .step, .tab.on, .admin-side a.on, .btn-danger:hover,
.check input:checked + .box, .model input:checked + span, .amount:has(input:checked) em, .status-dot.s-done {
  border-color: #ffd76a;
  background: linear-gradient(180deg, #ff5a5f, #c8102e);
  color: #fff;
}
.btn-primary:hover, .btn-small:hover { background: linear-gradient(180deg, #ff7b7f, #e01d3a); box-shadow: 0 10px 40px -8px rgba(230, 57, 70, .65); }
a.btn-primary, .panel a.btn-primary, .card a.btn-primary { color: #fff; }
.amount:has(input:checked) { box-shadow: 0 0 0 2px #e63946; }
.btn-ghost:hover { border-color: rgba(200, 230, 255, .45); background: rgba(160, 210, 255, .13); }
.links a:hover { color: #fff; background: rgba(160, 210, 255, .13); }
.overline { color: #ffd76a; }
.dot.online { background: #4ade80; box-shadow: 0 0 10px rgba(74, 222, 128, .8); }
.dot.online::before, .dot.online::after { border-color: #4ade80; }
.check input:focus-visible + .box, .model input:focus-visible + span { box-shadow: 0 0 0 3px rgba(230, 57, 70, .4); }
.logo, .auth-logo { filter: drop-shadow(0 0 26px rgba(150, 200, 255, .3)) drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); }

/* guirlande lumineuse sous la barre de navigation */
.nav::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -6px;
  left: 28px;
  height: 11px;
  background:
    radial-gradient(circle at 50% 55%, #ff4d4d 0 2.6px, transparent 3.6px) 0 0 / 52px 11px repeat-x,
    radial-gradient(circle at 50% 55%, #ffd84d 0 2.6px, transparent 3.6px) 13px 0 / 52px 11px repeat-x,
    radial-gradient(circle at 50% 55%, #4dff88 0 2.6px, transparent 3.6px) 26px 0 / 52px 11px repeat-x,
    radial-gradient(circle at 50% 55%, #4db8ff 0 2.6px, transparent 3.6px) 39px 0 / 52px 11px repeat-x,
    linear-gradient(#2f4a33, #2f4a33) 0 3px / 100% 1px no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 240, 200, .55));
  pointer-events: none;
  animation: rs-lights 1.8s steps(2) infinite;
}
@keyframes rs-lights { 50% { opacity: .5; } }

/* effets animés (season/fx.js) */
.season-fx { position: fixed; inset: 0; z-index: 30; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }

/* code promo de l'accueil */
.promo-home .promo-off, .promo-home .promo-code { color: #ffd76a; }
.promo-home .promo-code:hover { background: rgba(255, 215, 106, .12); }
