@charset "UTF-8";
.gradient-custom-2 {
  /* fallback for old browsers */
  background: #fccb90;
  /* Chrome 10-25, Safari 5.1-6 */
  background: -webkit-linear-gradient(to left, #D54616, #E69669);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  background: linear-gradient(to left, #D54616, #E69669);
}

.gradient-form {
  height: 100vh;
  overflow: hidden;
}

@media (min-width: 769px) {
  .gradient-custom-2 {
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
  }
}
.case {
  text-decoration: none;
  color: black;
}
.case:hover {
  text-decoration: none;
  color: black;
}
.case-content {
  min-height: 185px;
}

.counter {
  height: 7rem;
}

.count {
  background: linear-gradient(to bottom, #f0f0f0, #c0c0c0, #b2b2b2);
  border: 1px solid #707070;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  display: flex;
  justify-content: center;
  font-size: 3rem;
  align-items: center;
  width: 6rem;
  height: 4rem;
  text-align: center;
  border-radius: 5px;
  margin-left: 2rem;
  margin-right: 7rem;
}

.marquee {
  overflow: hidden;
  width: 100%;
  position: absolute;
  bottom: 0;
  background: #D54716;
  color: white;
  font-size: 3rem;
}

.marquee__track {
  display: inline-flex;
  white-space: nowrap;
}

.marquee__item {
  flex-shrink: 0;
  padding-right: 2rem; /* petit espace entre les répétitions */
}

/* ==========================================================================
   Dashboard TV — thème Noël (.xmas)
   ========================================================================== */
.xmas {
  position: relative;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding-bottom: 5em; /* place pour le bandeau défilant */
  /* Toute la page est dimensionnée en em : 16px pour un écran 1920×1080,
     réduit proportionnellement si la TV affiche une zone plus petite. */
  font-size: clamp(8px, min(1.4vh, 0.8vw), 32px);
  background: #0D2A1F;
  color: #F6EFDF;
  font-family: "Inter Tight", system-ui, sans-serif;
}

.xmas__num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.xmas__eyebrow {
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E3B65A;
}

/* --- Neige --- */
.xmas__snow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.xmas__flake {
  position: absolute;
  top: -24px;
  border-radius: 50%;
  background: #fff;
  animation-name: xmas-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes xmas-fall {
  0% {
    transform: translate3d(0, -24px, 0);
  }
  100% {
    transform: translate3d(48px, 110vh, 0);
  }
}
/* --- Guirlande --- */
.xmas__garland {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 2;
  pointer-events: none;
}

.xmas__wire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 64px;
}

.xmas__bulb {
  position: absolute;
  top: 24px;
  width: 18px;
  height: 26px;
  margin-left: -9px;
  border-radius: 50% 50% 50% 50%/40% 40% 60% 60%;
  animation: xmas-twinkle 2.6s ease-in-out infinite;
}
.xmas__bulb::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 4px;
  width: 10px;
  height: 7px;
  border-radius: 2px;
  background: #3C6B54;
}
.xmas__bulb--0 {
  background: #E5384F;
  box-shadow: 0 0 18px #E5384F;
}
.xmas__bulb--1 {
  background: #F2C14E;
  box-shadow: 0 0 18px #F2C14E;
}
.xmas__bulb--2 {
  background: #7FD39A;
  box-shadow: 0 0 18px #7FD39A;
}
.xmas__bulb--3 {
  background: #BFE3FF;
  box-shadow: 0 0 18px #BFE3FF;
}

@keyframes xmas-twinkle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
/* --- Contenu --- */
.xmas__content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  flex: 1;
  min-height: 0;
  padding: 4.5em 2.75em 1.5em;
  display: flex;
  flex-direction: column;
  gap: 1.6em;
}

.xmas__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
}

.xmas__date {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 4em;
  line-height: 1.05;
}

.xmas__time {
  font-size: 8em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.xmas__countdown {
  display: flex;
  align-items: center;
  gap: 1.1em;
  padding: 0.9em 1.9em 0.9em 1.4em;
  border-radius: 999px;
  background: #B3122B;
  color: #FFF7EA;
}

.xmas__countdown-icon {
  width: 2.5em;
  height: 2.5em;
}

.xmas__countdown-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.xmas__countdown-big {
  font-size: 3.25em;
  font-weight: 800;
}

.xmas__countdown-small {
  font-size: 1.25em;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.xmas__main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.6em;
}

.xmas__col {
  display: flex;
  flex-direction: column;
  gap: 1.4em;
  min-width: 0;
  min-height: 0;
}

.xmas__kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4em;
}

/* --- Cartes --- */
.xmas-card {
  background: #143A2C;
  border: 1px solid #2A5743;
  border-radius: 1.6em;
  padding: 1.4em 1.9em;
  box-sizing: border-box;
}

.xmas-card__head {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin-bottom: 0.6em;
}
.xmas-card__head--split {
  justify-content: space-between;
}

.xmas-card__icon {
  width: 2.2em;
  height: 2.2em;
  color: #E3B65A;
}

.xmas-card__title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.5em;
  font-weight: 600;
}

.xmas-kpi {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}
.xmas-kpi--highlight {
  background: #E3B65A;
  border-color: #E3B65A;
  color: #0D2A1F;
}
.xmas-kpi--highlight .xmas-kpi__label {
  color: #0D2A1F;
  font-weight: 700;
}

.xmas-kpi__label {
  font-size: 1.85em;
  font-weight: 600;
  color: #CFE3D6;
}

.xmas-kpi__value {
  font-size: 6.5em;
  font-weight: 800;
  line-height: 1;
}

.xmas-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.1em;
  padding-bottom: 1.1em;
}

.xmas-stat__value {
  white-space: nowrap;
  font-size: 3.75em;
  font-weight: 800;
}

.xmas-futures {
  flex: 1;
}

.xmas-futures__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4em;
}

.xmas-futures__item {
  display: flex;
  flex-direction: column;
}

.xmas-futures__value {
  font-size: 4.5em;
  font-weight: 800;
  line-height: 1.05;
}

/* --- Transporteurs --- */
.xmas-shipping {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.xmas-shipping__row {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  padding: 0.4em 0;
  border-top: 1px solid #2A5743;
}

.xmas-shipping__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7em 11em;
  align-items: center;
  gap: 1em;
}

.xmas-shipping__logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  height: 3em;
  padding: 0.3em 0.8em;
  border-radius: 0.8em;
  background: #F6EFDF;
}
.xmas-shipping__logo img {
  height: 100%;
  width: auto;
}

.xmas-shipping__count {
  font-size: 3em;
  font-weight: 800;
  text-align: right;
  line-height: 1;
}

.xmas-shipping__weight {
  white-space: nowrap;
  font-size: 1.75em;
  font-weight: 500;
  text-align: right;
  color: #CFE3D6;
}

.xmas-shipping__track {
  height: 8px;
  border-radius: 4px;
  background: #23503D;
}

.xmas-shipping__bar {
  height: 8px;
  width: 0;
  border-radius: 4px;
  background: #E3B65A;
  transition: width 0.6s ease;
}

/* --- Météo + saint du jour --- */
.xmas-meteo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
}

.xmas-meteo__weather {
  display: flex;
  align-items: center;
  gap: 1.1em;
}

.xmas-meteo__img {
  height: 4.5em;
  width: auto;
}

.xmas-meteo__temp {
  font-size: 4em;
  font-weight: 800;
}

.xmas-meteo__saint {
  text-align: right;
}

.xmas-meteo__saint-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.5em;
  font-weight: 600;
}

/* --- Bandeau défilant --- */
.marquee--xmas {
  z-index: 3;
  background: #B3122B;
  color: #FFF7EA;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 600;
  font-size: 2.6em;
  padding: 0.3em 0;
}

/* --- Écrans étroits --- */
@media (max-width: 1024px) {
  .xmas__main {
    grid-template-columns: 1fr;
  }
  .xmas__time {
    font-size: 5em;
  }
  .xmas__date {
    font-size: 2.75em;
  }
  .xmas-kpi__value {
    font-size: 4.5em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xmas__flake,
  .xmas__bulb {
    animation: none;
  }
}
/* ==========================================================================
   Éditeur de modèles d'étiquettes (Production > Impressions) — préfixe .le-
   ========================================================================== */
.le-root {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* L'éditeur occupe la hauteur de l'écran : la zone de dessin défile, pas la page. */
  height: calc(100vh - 3rem);
  min-height: 560px;
}

.le-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgb(230, 218, 192);
  border-radius: 0.75rem;
  background: #fffdf8;
}

.dark .le-toolbar {
  border-color: rgb(55, 65, 81);
  background: rgb(31, 41, 55);
}

.le-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr) 17rem;
  gap: 0.75rem;
}

@media (max-width: 1100px) {
  .le-body {
    grid-template-columns: 11rem minmax(0, 1fr) 15rem;
  }
}
.le-side,
.le-props {
  overflow-y: auto;
  padding: 0.75rem;
  border: 1px solid rgb(230, 218, 192);
  border-radius: 0.75rem;
  background: #fffdf8;
}

.dark .le-side,
.dark .le-props {
  border-color: rgb(55, 65, 81);
  background: rgb(31, 41, 55);
}

.le-side-title {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(107, 93, 75);
}

.dark .le-side-title {
  color: rgb(174, 182, 194);
}

.le-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  color: rgb(75, 85, 99);
}

.dark .le-label {
  color: rgb(209, 213, 219);
}

.le-props-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(230, 218, 192);
}

.dark .le-props-section {
  border-top-color: rgb(55, 65, 81);
}

.le-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-height: 3.6rem;
  padding: 0.5rem 0.25rem;
  border: 1px solid rgb(230, 218, 192);
  border-radius: 0.6rem;
  background: #fff;
  font-size: 0.75rem;
  color: rgb(31, 26, 20);
  cursor: grab;
}
.le-add:hover, .le-add:focus-visible {
  border-color: #e94e1b;
  color: #b93b13;
}

.dark .le-add {
  border-color: rgb(75, 85, 99);
  background: rgb(17, 24, 39);
  color: rgb(243, 244, 246);
}

.le-layers {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.le-layers button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  text-align: left;
  color: rgb(55, 65, 81);
}
.le-layers button:hover {
  background: rgb(241, 228, 198);
}
.le-layers button[aria-current=true] {
  background: #ffe3d6;
  color: #9e310f;
  font-weight: 600;
}

.dark .le-layers button {
  color: rgb(209, 213, 219);
}
.dark .le-layers button:hover {
  background: rgb(55, 65, 81);
}
.dark .le-layers button[aria-current=true] {
  background: #3a2219;
  color: #ffb9a1;
}

/* --- Zone de dessin --- */
.le-canvas {
  position: relative;
  overflow: auto;
  border-radius: 0.75rem;
  /* damier discret : distingue l'étiquette du fond */
  background-color: rgb(229, 231, 235);
  background-image: linear-gradient(45deg, rgb(209, 213, 219) 25%, transparent 25%), linear-gradient(-45deg, rgb(209, 213, 219) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(209, 213, 219) 75%), linear-gradient(-45deg, transparent 75%, rgb(209, 213, 219) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  outline: none;
}
.le-canvas:focus-visible {
  box-shadow: inset 0 0 0 2px #e94e1b;
}

.dark .le-canvas {
  background-color: rgb(17, 24, 39);
  background-image: none;
}

.le-paper-wrap {
  display: flex;
  min-width: 100%;
  min-height: 100%;
  width: max-content;
  padding: 48px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.le-paper {
  position: relative;
  flex: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.le-paper.is-drop-target {
  outline: 2px dashed #e94e1b;
  outline-offset: 4px;
}

.le-el {
  position: absolute;
  box-sizing: border-box;
  cursor: move;
  user-select: none;
  touch-action: none;
  transform-origin: center center;
  /* Masqué par sa condition pour le produit de l'aperçu : visible en filigrane, non imprimé. */
}
.le-el:hover {
  outline: 1px dashed rgba(233, 78, 27, 0.6);
}
.le-el.is-locked {
  cursor: default;
}
.le-el.is-selected {
  outline: 1px solid #e94e1b;
  z-index: 1000;
}
.le-el.is-hidden-by-rule {
  opacity: 0.15;
}
.le-el img,
.le-el svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.le-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  /* Comme dans le PDF : le texte qui dépasse du cadre reste visible. */
  overflow: visible;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.le-barcode {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.le-barcode .le-bars {
  flex: 1;
  min-height: 0;
}
.le-barcode .le-bars-text {
  flex: none;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.le-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-sizing: border-box;
  border: 1px dashed rgb(156, 163, 175);
  background: rgba(243, 244, 246, 0.7);
  color: rgb(107, 114, 128);
  font: 11px/1.2 system-ui, sans-serif;
  text-align: center;
  overflow: hidden;
}

.le-handle {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -5px 0 0 -5px;
  border: 1px solid #e94e1b;
  background: #fff;
  box-sizing: border-box;
  z-index: 2;
}
.le-handle[data-handle=nw] {
  left: 0;
  top: 0;
  cursor: nwse-resize;
}
.le-handle[data-handle=n] {
  left: 50%;
  top: 0;
  cursor: ns-resize;
}
.le-handle[data-handle=ne] {
  left: 100%;
  top: 0;
  cursor: nesw-resize;
}
.le-handle[data-handle=e] {
  left: 100%;
  top: 50%;
  cursor: ew-resize;
}
.le-handle[data-handle=se] {
  left: 100%;
  top: 100%;
  cursor: nwse-resize;
}
.le-handle[data-handle=s] {
  left: 50%;
  top: 100%;
  cursor: ns-resize;
}
.le-handle[data-handle=sw] {
  left: 0;
  top: 100%;
  cursor: nesw-resize;
}
.le-handle[data-handle=w] {
  left: 0;
  top: 50%;
  cursor: ew-resize;
}

/* Damier sous les vignettes de la bibliothèque : rend visibles les images transparentes. */
.le-checker {
  background-color: #fff;
  background-image: linear-gradient(45deg, rgb(229, 231, 235) 25%, transparent 25%), linear-gradient(-45deg, rgb(229, 231, 235) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(229, 231, 235) 75%), linear-gradient(-45deg, transparent 75%, rgb(229, 231, 235) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
}

.name-product {
  width: 30%;
}

.table-promos tr {
  height: 50px;
}

/*# sourceMappingURL=app.output.css.map */
