@charset "UTF-8";
/* ==========================================================================
   MAIN (SCSS)
   Structure: variables -> reset -> base -> effets -> layout -> composants -> pages -> responsive
   ========================================================================== */
/* 1) Variables en premier */
/* ---- Font Onboarding (Montserrat / Akatab / Roboto ---- */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:root {
  /*-------------------- FONT ----------------------*/
  /* Titres */
  --font-h1: 600 32px/1.1 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h1-responsive: 600 22px/1.15 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h2: 700 24px/1.15 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h2-responsive: 700 20px/1.15 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h3: 600 20px/1.2 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h3-responsive: 600 18px/1.2 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h4: 600 14px/1.2 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h4-responsive: 600 14px/1.2 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h1-small: 600 18px/1.2 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-p: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-p-small: 600 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-small: 500 13px/1.4 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-a: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cta: 600 16px/1.3 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-dash-h1: 800 30px/1.1 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-dash-h2: 700 24px/1.15 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-dash-p: 500 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-dash-button: 600 14px/1.2 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-span: 400 12px/1.2 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /*-------------------- TAILLE ----------------------*/
  /* ---- Dashbord ---- */
  --rad: 18px;
  /*-------------------- COULEURS ----------------------*/
  /* ---- Base Glass / Background ---- */
  /* --glass-bg: rgba(20, 22, 25, 0.38); */
  --glass-bg: rgba(255, 255, 255, .1);
  --border-glass: rgba(255, 255, 255, 0.2);
  --border-glass-light: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.55);
  --glass-shadow: rgba(0, 0, 0, 0.45);
  /* ---- Nav color ---- */
  --nav-bg: rgba(54, 54, 54, 0.7);
  --nav-border: rgba(255, 255, 255, 0.2);
  --nav-shadow: rgba(0, 0, 0, 0.45);
  --nav-color: #c7c7cc;
  /* ---- Card Elements ---- */
  --card-bg: rgba(255, 255, 255, 0.07);
  --card-stroke: rgba(255, 255, 255, 0.28);
  --card-shadow: rgba(0, 0, 0, 0.35);
  /* ---- general colors ---- */
  --white: #fff;
  --text: #e6e6e6;
  --white-gray: #d3d2dc;
  --white-ligth: rgba(255, 255, 255, 0.9);
  --black: #000;
  --gray-light: rgba(255, 255, 255, 0.6);
  --gray-medium: rgba(255, 255, 255, 0.4);
  --gray-dark: rgba(255, 255, 255, 0.2);
  --dark-extralight: rgba(0, 0, 0, 0.25);
  --blue-light: #99b4e6;
  /* ---- Call to Action ---- */
  --cta-bg: rgba(79, 131, 255, 0.85);
  --cta-bg-hover: rgba(79, 131, 255, 0.95);
  --cta-shadow: rgba(79, 131, 255, 0.35);
  --accent-green: rgba(101, 235, 44, 0.77);
  --accent-purple: #8e61fa;
  --accent-blue: #61a6fa;
  --accent-pink: #e855ff;
  --accent-cyan: rgba(44, 181, 235, 0.77);
  /* ---- Input colors ---- */
  --input-bg: rgba(176, 176, 176, 0.01);
  --input-bg-focus: rgba(255, 255, 255, 0.12);
  --input-border: rgba(255, 255, 255, 0.32);
  --input-border-focus: rgba(126, 162, 255, 0.95);
  --input-border-focus-shadow: rgba(126, 162, 255, 0.28);
  /* ---- header dash color ---- */
  --ring: 1px;
  --rad: 18px;
  --chip-r: 12px;
  --ring-top: rgba(255, 255, 255, 0.45);
  --ring-mid: rgba(255, 255, 255, 0.18);
  --ring-bot: rgba(255, 255, 255, 0.65);
  /* ---- dash color ---- */
  --dash-green: #34c759;
  --dash-red: #ff0000;
  /* ---- Stepper ---- */
  /*-------------------- TRANSITION HOVER ----------------------*/
  --transition-hover: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  /*-------------------- TRANSITION HOVER ----------------------*/
  --border-glass: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.45);
  --panel-w: clamp(320px, 92vw, 1440px);
  --rail-w: 60px;
  --rail-gap: 18px;
  --safe: 12px;
  /*-------------------- RADIUS ----------------------*/
  --radius-sd: 12px;
  --radius-md: 30px;
  --radius-hd: 46px;
  --radius-max: 999px;
}

/* 2) Reset ensuite */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select {
  margin: 0;
}

html {
  box-sizing: border-box;
}

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

img,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

a {
  text-decoration: none;
}

/* 3) Base / utilitaires */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.space-between {
  justify-content: space-between;
}

.space-around {
  justify-content: space-around;
}

.space-evenly {
  justify-content: space-evenly;
}

.direction-column {
  flex-direction: column;
}

.margin-auto {
  margin-left: auto;
  margin-right: auto;
}

.item-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.center-text {
  text-align: center;
}

.margin-bottom20px {
  margin-bottom: 20px;
}

.margin-bottom5 {
  margin-bottom: 5%;
}

.padding-bottom20px {
  padding-bottom: 20px;
}

.m-auto {
  margin: 0px auto;
}

.mt20px {
  margin-top: 20px;
}

.mb10px {
  margin-bottom: 10px;
}

.mt20 {
  margin-top: 20%;
}

.p20 {
  padding: 20px;
}

.p10 {
  padding: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-10 {
  gap: 10px;
}

.gap-5 {
  gap: 5px;
}

.gap5p {
  gap: 50px;
}

.w100 {
  width: 100%;
}

.phb10px {
  padding: 10px 0;
}

.line {
  border-bottom: 1px solid #292626;
}

.container1440 {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.mt10p {
  margin-top: 10%;
}

.mb10p {
  margin-bottom: 10%;
}

.mt2p {
  margin-top: 2%;
}

.mb5p {
  margin-bottom: 5%;
}

.mb10px {
  margin-bottom: 10px;
}

.mt10px {
  margin-top: 10px;
}

.h80 {
  height: 80%;
}

.h50 {
  height: 50%;
}

a {
  color: black;
}
a :visited {
  color: black;
}

.w100 {
  width: 100%;
}

.d-none {
  display: none;
}

.card-inner {
  overflow: scroll;
  width: 100%;
  height: 100%;
}

.text-white {
  color: var(--white);
}

.text-red {
  color: var(--dash-red);
}

.hidden {
  display: none !important;
}

/*-------------------- DESIGN DES FONT ----------------------*/
/* Titres + Sous titres + CTA */
.glass-title {
  margin: 0 0 20px;
  font: var(--font-h1);
}

.glass-sub {
  margin: 0 0 16px;
  opacity: 0.9;
  font: var(--font-p);
}

/* Titres + sous titres cartes */
.card-title {
  margin: 15px 10px;
  font: var(--font-h2);
  color: var(--white);
}

.card-sub {
  margin: 10px 10px;
  font: var(--font-p-small);
  color: var(--white);
  opacity: 0.9;
}

.error-log {
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid black;
  margin: 50px auto;
  white-space: pre-wrap;
}

/* 4) Effets (glass/blur, fx-reflect) */
.box-background {
  background: linear-gradient(to right, rgba(255, 253, 253, 0.1), rgba(0, 0, 0, 0.1));
  box-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.effect-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 34px 40px var(--glass-shadow);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.01);
}

.box-background.dark-theme {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.1);
}

/* Variables paramétrables */
.fx-reflect {
  --fx-pad: 1px; /* épaisseur de bord */
  --fx-angle: 135deg; /* orientation du reflet */
  --fx-stop1: .10; /* opacités des stops */
  --fx-stop2: .30;
  --fx-stop3: .06;
  position: relative;
  border-radius: var(--radius-md);
}

/* Bordure + reflet */
.fx-reflect::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--fx-pad);
  border-radius: inherit;
  background: linear-gradient(var(--fx-angle), rgba(255, 255, 255, var(--fx-stop1)), rgba(255, 255, 255, var(--fx-stop2)) 40%, rgba(255, 255, 255, var(--fx-stop3)) 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* FIREFOX ONLY
/* @supports (-moz-appearance: none) {

  .effect-glass{
    position: relative;
    overflow: hidden;          
    isolation: isolate;        
  }

  .effect-glass::before{
    content: "";
    position: absolute;
    inset: -30px;             
    background: url('/public/images/img_dash_style1.png') center/cover no-repeat;
    filter: blur(28px) saturate(1.15);
    transform: scale(1.08);    
    opacity: .55;            
    z-index: 0;
  }


  .effect-glass::after{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(255,255,255,.10); 
    z-index: 1;
  }

  .effect-glass > *{
    position: relative;
    z-index: 2;
  } 
} */
/* 5) Layout */
.aside {
  position: relative;
  width: 17vw;
  height: 100vh;
  border-radius: 0 var(--radius-hd) var(--radius-hd) 0;
  padding-top: 20px;
  z-index: 100;
  overflow: visible;
}

.aside::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  border-radius: 0 var(--radius-hd) var(--radius-hd) 0;
  pointer-events: none;
}

.aside .aside-header img {
  width: 100%;
  padding: 30px;
}

.aside .line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.225), rgba(255, 255, 255, 0.448), rgba(255, 255, 255, 0.225), rgba(255, 255, 255, 0.1));
  margin: 10px 0;
}

.icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

.aside-nav {
  margin: 10% 0 10% 0;
}

.aside-nav p {
  color: #fff;
  font-size: 14px;
  margin-top: 8px;
}

.header-notif {
  gap: 20%;
}

.header-notif h2 {
  color: var(--white-gray);
}

.notif-list {
  gap: 20px;
  margin-top: 20px;
}

.notif {
  margin: 10% 0;
}

.notif-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-content p {
  color: var(--white-gray);
  font-size: 14px;
}

.notif-content-logo {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-max);
  background: rgba(0, 0, 0, 0.731);
}

.notif-content-logo::after {
  content: "1";
  position: absolute;
  display: flex;
  align-items: center;
  font-size: 8px;
  justify-content: center;
  color: white;
  top: -10px;
  right: -10px;
  width: 15px;
  height: 15px;
  border-radius: var(--radius-max);
  background: rgb(243, 3, 3);
}

.support {
  position: relative;
  width: 80%;
  border-radius: var(--radius-sd);
  margin: 10% auto;
}

.button-help {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white-gray);
  background: linear-gradient(to top, rgb(6, 11, 254), rgb(10, 14, 15));
  border-radius: var(--radius-max);
  cursor: pointer;
  z-index: 100000;
}

#helpBtn {
  pointer-events: auto;
}

.button-help a {
  background: transparent;
  border: none;
  color: var(--white-gray);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.support-content-img img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sd);
}

.img-content {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 100%;
}

.img-content h2 {
  color: var(--white-gray);
  font-size: 14px;
  font-weight: 700;
}

.img-content p {
  color: var(--white-gray);
  font-size: 12px;
  font-weight: 500;
}

.account {
  position: relative;
  margin: 0 auto;
  width: 80%;
  padding: 12px 14px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-hd);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.account-content {
  display: flex;
  width: 100%;
  color: var(--white-gray);
  font-size: 12px;
  font-weight: 500;
}

.account::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.role-user {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-gray);
}

.name-user {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* =========================================================================
   TOGGLE SIDEBAR UNIQUEMENT SUR PETITS ÉCRANS
   ========================================================================= */
.sidebar-toggle {
  display: none;
}

/* ====== Mobile & tablettes (≤ 992px) ==================================== */
@media (max-width: 992px) {
  .aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    max-width: 80vw;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  body.sidebar-open .aside {
    transform: translateX(0);
  }
  .sidebar-toggle {
    display: flex;
    position: fixed;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 25px;
    height: 100px;
    border-radius: 0 var(--radius-sd) var(--radius-sd) 0;
    border: none;
    background: rgba(247, 247, 247, 0.262745098);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    padding: 2px;
    z-index: 1100 !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .sidebar-toggle__chevron {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }
  body.sidebar-open .sidebar-toggle__chevron {
    transform: rotate(-135deg);
  }
}
.topbar {
  width: 83vw;
  height: 5vh;
}

.topbar {
  position: relative;
  gap: 16px;
  padding: 16px 24px;
}

.breadcrumb {
  color: var(--white-gray);
  font-size: 16px;
  gap: 8px;
}

.breadcrumb .sep {
  opacity: 0.6;
}

.breadcrumb strong {
  color: #fff;
}

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

/* champ de recherche “glass” avec anneau dégradé */
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px 0 36px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: var(--ring);
  border-radius: inherit;
  background: linear-gradient(to bottom, var(--ring-top), var(--ring-mid), var(--ring-bot));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.search .ico {
  position: absolute;
  left: 12px;
  color: #fff;
  opacity: 0.85;
  display: grid;
  place-items: center;
}

.search input {
  width: 280px;
  max-width: 32vw;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 14px;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

/* petits boutons “chip” à droite */
.chip-1 {
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  border-radius: var(--chip-r);
  color: #fff;
  cursor: pointer;
}

.chip-1:hover {
  background: rgba(255, 255, 255, 0.24);
}

.chip-2 {
  border: none;
  background: none;
  width: 12px;
  border-radius: var(--chip-r);
  cursor: pointer;
}

.chip-1:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* Nouveau conteneur commun */
.nav-oval-group {
  position: fixed;
  bottom: 5%;
  right: 5%;
  z-index: 99;
  display: flex;
  align-items: center;
}

.slider-nav {
  gap: 10px;
}

/* variantes pilotées par `position` */
.nav-oval-group.is-bottom-right {
  right: 5%;
  bottom: 6%;
}

.nav-oval-group.is-bottom-left {
  left: 5%;
  bottom: 5%;
}

.nav-oval-group.is-top-right {
  right: 5%;
  top: 5%;
}

.nav-oval-group.is-top-left {
  left: 5%;
  top: 5%;
}

.nav-oval-group.is-bottom-center {
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
}

/* tes styles existants inchangés */
.nav-oval {
  width: 90px;
  height: 45px;
  border: none;
  border-radius: var(--radius-hd);
  background: var(--nav-bg);
  color: #c7c7cc;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-oval:hover {
  background: rgba(45, 45, 45, 0.9);
  transform: scale(1.05);
}

.nav-oval:active {
  transform: scale(0.97);
}

/* IMPORTANT : dans ce composant, on neutralise le fixed des boutons
   (comme ça, ailleurs tu gardes ta base telle quelle) */
.nav-oval-group .nav-oval {
  position: static;
}

/* Responsive (reprend ta logique) */
@media (max-width: 1900px) {
  .nav-oval-group.is-bottom-right,
  .nav-oval-group.is-top-right {
    right: 2px;
  }
  .nav-oval-group.is-bottom-left,
  .nav-oval-group.is-top-left {
    left: 10px;
  }
  .nav-oval-group.is-bottom-center {
    bottom: 6%;
  }
}
/* responsive inchangé */
@media (max-width: 1900px) {
  .nav-oval {
    width: 70px;
    height: 35px;
  }
  .nav-oval-group {
    bottom: 3%;
    right: 10px;
    gap: 8px;
  }
}
/* 6) UI / composants */
.stepper {
  --step: 1;
  --count: 5;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--count), 1fr);
  gap: clamp(14px, 3vw, 36px);
  padding-top: 8px;
}

.stepper::before,
.stepper::after {
  content: "";
  position: absolute;
  left: calc(var(--dot) / 2);
  right: calc(var(--dot) / 2);
  top: calc(var(--dot) / 2 + 6px);
  height: 2px;
  border-radius: 999px;
}

.stepper::before {
  background: rgba(255, 255, 255, 0.35);
}

.stepper::after {
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  width: calc(max(var(--step) - 1, 0) / (var(--count) - 1) * 100%);
}

.step {
  gap: 8px;
  text-align: center;
  min-width: 0;
}

.dot {
  position: relative;
  width: var(--dot);
  height: var(--dot);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.step.is-done .dot {
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-purple));
  border-color: transparent;
}

.step.is-current .dot {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 2px rgba(255, 66, 214, 0.25) inset;
}

.label {
  font-size: 12px;
  color: var(--ring-top);
  white-space: nowrap;
}

.steppers-box {
  position: absolute;
  padding: 5px 10px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1%;
  border-radius: var(--radius-max);
  gap: 5px;
}

.steppers-box .button-step {
  border: 1px solid white;
  color: white;
  border-radius: var(--radius-max);
  width: 28px;
  height: 28px;
  font-size: 12px;
  font-weight: 400;
  background: transparent;
}

.steppers-box .button-step.is-active {
  border: 1px solid #06b217;
  color: #06b217;
}

.separator-point {
  height: fit-content;
  gap: 5px;
}

.separator-point .point {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-max);
  background: rgba(255, 255, 255, 0.436);
}

.separator-point .point.is-active {
  background: #06b217;
}

.actions-cdc {
  position: absolute;
  bottom: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 520px) {
  :root {
    --dot: 24px;
  }
  .label {
    font-size: 11px;
  }
}
/*************************************************
 * PROMPT DOCK (barre flottante)
 *************************************************/
.prompt-dock {
  position: absolute;
  left: 50%;
  bottom: -40px; /* chevauche sous le panneau */
  transform: translateX(-50%);
  width: min(965px, 100%);
  padding: 0;
  z-index: 100;
}

.prompt-inner {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 10px 0 6px;
  border-radius: var(--radius-max);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 52px var(--glass-shadow);
}

.prompt-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-max);
  font-weight: 800;
}

.prompt-inner input {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: var(--radius-max);
  background: linear-gradient(180deg, rgba(40, 40, 40, 0.55) 0%, rgba(30, 30, 30, 0.45) 100%);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 6px 22px rgba(0, 0, 0, 0.35);
  color: #fff;
  font: 600 16px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 0 16px;
  outline: none;
  box-sizing: border-box;
}

.prompt-inner input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.prompt-send {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
}

.toolP {
  position: absolute; /* pas de changement au survol */
  display: inline-block;
}

.tooltip {
  position: absolute;
  display: block;
  width: 100px;
  height: auto;
  left: 50%;
  bottom: calc(100% + 8px); /* au-dessus du lien, 8px d’écart */
  transform: translateX(-50%); /* centre horizontal */
  white-space: wrap;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(20, 20, 24, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  pointer-events: none; /* ne capte pas la souris */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s 0.15s;
  z-index: 99999;
}

/* optionnel : au cas où ton CSS met des transitions */
.tooltip--overlay {
  transform: none;
}

.toolP:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px); /* petit lift */
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* petite flèche */
.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(20, 20, 24, 0.92);
}

.retouche-help {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 18px;
  height: 18px;
  font-size: 11px;
  color: var(--white);
  background: rgba(150, 150, 150, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.toolTip-info {
  position: absolute;
  background-color: rgb(115, 148, 178);
  border: 1px solid rgb(96, 142, 185);
  border-radius: 8px;
  top: 40px;
  right: 20px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* ================= PACK TABLE (THEME QCIS) — CLEAN ================= */
/* Title (si tu l’utilises ailleurs, garde juste cette classe) */
.pack-title,
.glass-title {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  color: var(--text);
}

/* Container safety (évite le dépassement dans des layouts flex) */
.setting-panel,
.pack-table {
  max-width: 100%;
  min-width: 0;
}

/* ================= Wrapper scroll ================= */
.pack-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: calc(var(--rad) + 6px);
  border: 1px solid var(--card-stroke);
  box-shadow: 0 28px 90px var(--glass-shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ================= Table ================= */
.pack {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}

/* cells */
.pack th,
.pack td {
  padding: 16px 6px;
  border-bottom: 1px solid var(--border-glass-light);
  color: var(--gray-light);
  font-size: 0.8rem;
  line-height: 1.45;
  /* évite que le contenu fasse exploser la table */
  white-space: normal;
  word-break: break-word;
}

/* séparateurs entre colonnes */
.pack th + th,
.pack td + td {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

/* ================= Header ================= */
.pack thead th {
  text-align: center;
  font-size: 0.86rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--white-ligth);
  background: rgba(0, 0, 0, 0.18);
  position: sticky; /* header sticky */
  top: 0;
  z-index: 3;
}

.pack thead th:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--gray-light);
}

.pack thead small {
  display: block;
  margin-top: 7px;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--gray-medium);
}

/* ================= Sticky first column ================= */
.pack thead th:first-child,
.pack tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 4;
  text-align: left;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ================= Rows ================= */
.pack tbody tr:last-child th,
.pack tbody tr:last-child td {
  border-bottom: none;
}

/* ================= Status ================= */
.ok {
  color: var(--accent-green);
  font-weight: 800;
}

.muted {
  color: var(--gray-dark);
}

/* dots */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 8px;
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.dot.starter {
  background: var(--accent-blue);
}

.dot.avance {
  background: var(--accent-purple);
}

.dot.premium {
  background: var(--accent-pink);
}

/* ================= Actions row ================= */
.pack-actions-row td {
  background: rgba(0, 0, 0, 0.12);
}

.pack-actions-row td:first-child {
  font-weight: 600;
  color: var(--white-ligth);
}

/* Si ton bouton a déjà des styles globaux, ça reste léger */
.pack-actions-row .btn {
  width: 100%;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-sd);
}

/* ================= USERS LIST ================= */
.user-list-wrap {
  border-radius: var(--radius-hd);
  border: 1px solid var(--card-stroke);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  box-shadow: 0 28px 90px var(--glass-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

/* Wrapper qui scrolle horizontalement */
.user-list-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Grille + largeur mini => déclenche le scroll */
.user-list-header,
.user-row {
  display: grid;
  grid-template-columns: 70px 220px 260px 140px 220px 220px; /* ID, Nom, Email, Role, Entreprise, Actions */
  min-width: 1130px; /* IMPORTANT : plus grand que mobile */
  column-gap: 12px;
}

/* header */
.user-list-header {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 1fr 1.5fr 1.5fr;
  padding: 14px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-light);
  background: rgba(0, 0, 0, 0.22);
}

/* body scroll */
.user-list-body {
  max-height: 65dvh; /* CRUCIAL pour 1000 users */
  overflow-y: auto;
}

/* row */
.user-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 1fr 1.5fr 1.5fr;
  padding: 14px 16px;
  align-items: center;
  border-bottom: 1px solid var(--border-glass-light);
  color: var(--gray-light);
}

.user-row:last-child {
  border-bottom: none;
}

/* hover */
.user-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* chips */
.chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
}

/* actions */
.user-row .actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

/* empty */
.user-row.empty {
  justify-content: center;
  text-align: center;
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .user-list-header,
  .user-row {
    grid-template-columns: 1fr 2fr;
    row-gap: 6px;
  }
  .pack thead th:first-child,
  .pack tbody td:first-child {
    width: 10%;
  }
  .user-row .actions {
    grid-column: span 2;
    justify-content: flex-start;
  }
  .user-list-wrap {
    overflow-x: auto;
  }
  .user-list-header,
  .user-row {
    min-width: 1050px;
  }
}
/* ================= Responsive ================= */
/* IMPORTANT : supprime tout ancien code qui fait .pack{display:block} */
@media (max-width: 900px) {
  .pack th,
  .pack td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .pack thead th {
    font-size: 0.78rem;
  }
}
/* ultra petit : garde le scroll mais rend plus compact */
@media (max-width: 480px) {
  .pack th,
  .pack td {
    padding: 10px;
    font-size: 0.72rem;
  }
  .pack thead small {
    font-size: 0.78rem;
  }
  .pack thead th {
    width: 4%;
  }
  .pack thead th:first-child,
  .pack tbody td:first-child {
    width: 2%;
  }
}
/* Layout interne du panneau */
.form-card {
  padding: 32px 32px 44px;
}

.form-head {
  margin-bottom: 26px;
  height: 80px;
}

.form-head img {
  height: 44px;
  height: 44px;
}

.pins-form {
  max-height: inherit;
  overflow: auto;
}

.form-glass {
  max-width: 760px;
  height: 60%;
  margin: 8% auto 0;
  gap: 10%;
}

/* Champs */
.field {
  margin-bottom: 24px;
}

.input-glass {
  position: relative;
  width: 100%;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.input-glass::placeholder {
  color: var(--white-ligth);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.input-glass:focus {
  border-color: var(--input-border-focus);
  box-shadow: 0 12px 28px var(--dark-extralight), 0 0 0 3px var(--input-border-focus-shadow);
  background: var(--input-focus);
}

.input-large {
  min-height: 15vh;
}

textarea {
  background-color: transparent;
  resize: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--input-border);
  padding: 5px 20px;
}

textarea::placeholder {
  padding-top: 12px;
  color: var(--text);
}

.higth-label {
  font: var(--font-h3);
}

input[type=radio] {
  width: 24px;
  height: 24px;
  accent-color: var(--accent-green);
  padding: 0;
}

.radio-group {
  gap: 22px;
  align-items: flex-start;
}

.radio-group label input[type=radio] {
  align-items: flex-start;
}

.radio-item {
  gap: 18px;
  cursor: pointer;
  position: relative;
  margin: 0px auto;
}

.radio-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 26px;
  height: 26px;
}

.radio-ui {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  /* gris clair */
  transition: all 0.25s ease;
}

.radio-ui::after {
  content: "✓";
  font: var(--font-p);
  color: white;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.radio-item input:checked + .radio-ui {
  background: #4cd964;
}

.radio-item input:checked + .radio-ui::after {
  opacity: 1;
  transform: scale(1);
}

.radio-label {
  font: var(--font-p);
  line-height: 1.3;
  color: #f2e6e4;
}

.file-upload, .file-link {
  max-width: 520px;
}

.file-upload-square,
.file-link-square {
  width: 25dvw;
  height: 25dvh;
}

.file-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-upload__label {
  height: 100%;
  padding: 28px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-hover);
}

.file-link {
  padding: 28px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-hover);
}
.file-link button {
  all: unset;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.file-upload__label:hover, .file-link:hover {
  background: rgba(65, 65, 65, 0.34);
}

.file-upload__label:active {
  transform: translateY(0px) scale(0.99);
}

.file-upload__input:focus + .file-upload__label {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

.file-upload__icon {
  width: 52px;
  height: 52px;
  color: rgba(255, 220, 230, 0.92);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

.file-upload__filename {
  font: 500 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: rgba(255, 255, 255, 0.85);
}

/* ====== DIALOG / MODAL (PRO GLASS) ====== */
.pack-dialog {
  border: none;
  padding: 0;
  background: transparent;
}

/* 1) Flou + assombrissement du fond */
.pack-dialog::backdrop {
  background: radial-gradient(circle at 30% 20%, rgba(232, 85, 255, 0.18), rgba(0, 0, 0, 0.45));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dialog-head {
  position: relative;
}

.dialog-close {
  position: absolute;
  top: 10px;
  left: calc(100% - 50px);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-hd);
  background: var(--dash-red);
  color: var(--white);
  border: transparent;
}

.security-note {
  padding: 20px;
}

/* Carte principale */
.pack-dialog .dialog-card {
  position: relative;
  width: min(760px, 90vw);
  border-radius: 28px;
  padding: 10px;
}

/* 5) Halo flouté autour de la carte (effet premium) */
.pack-dialog .dialog-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: radial-gradient(circle at 30% 20%, rgba(232, 85, 255, 0.55), rgba(97, 166, 250, 0.45), rgba(0, 0, 0, 0));
  filter: blur(46px);
  opacity: 0.55;
  border-radius: inherit;
}

/* 6) léger grain pour un rendu “mat” (optionnel mais très pro) */
.pack-dialog .dialog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* Animation d’ouverture */
.pack-dialog[open] .dialog-card {
  animation: modalIn 0.32s cubic-bezier(0.2, 0.85, 0.2, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Header/footer separation plus clean */
.pack-dialog .dialog-head,
.pack-dialog .dialog-actions {
  padding: 18px 22px;
}

.pack-dialog .dialog-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pack-dialog .dialog-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.container-pagination {
  width: 60%;
  position: fixed;
  bottom: 20px;
  left: 60%;
  transform: translateX(-50%);
  z-index: 1000;
}
.container-pagination ul {
  gap: 8px;
}
@media screen and (max-width: 768px) {
  .container-pagination {
    width: 70%;
  }
}

/* Le "pill" en verre */
.pagination.effect-glass {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Boutons */
.btn-paginat {
  display: inline-flex;
  padding: 6px 10px;
  min-width: 36px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn-paginat:hover {
  background: rgba(0, 0, 0, 0.54);
}

.btn-paginat.selected {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Points ... */
.page-ellipsis {
  color: rgba(255, 255, 255, 0.75);
  padding: 0 6px;
}

.page-item-suiv {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.page-item-prec {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.page-item-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.flash-zone {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 50dvw;
}

.alert {
  text-align: center;
  width: 50dvw;
  padding: 14px 18px;
  border-radius: 12px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  animation: slideIn 0.25s ease;
}

.alert-success {
  background: rgba(46, 239, 95, 0.38);
  color: #ffffff;
}

.alert-error {
  background: rgba(244, 31, 20, 0.38);
  color: #ffffff;
}

.alert-warning {
  background: rgba(237, 166, 22, 0.38);
  color: #ffffff;
}

.fade-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.glass-cta {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  margin: 25px auto 0;
  padding: 10px 58px;
  border: none;
  border-radius: var(--radius-sd);
  background: linear-gradient(145deg, var(--cta-bg), var(--card-bg));
  color: var(--white);
  font: var(--font-cta);
  letter-spacing: 0.2px;
  text-align: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 8px 24px var(--cta-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px) saturate(1.15);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.glass-cta:hover {
  background: linear-gradient(145deg, var(--cta-bg-hover), var(--cta-bg));
  box-shadow: 0 10px 30px var(--cta-shadow);
}

.glass-cta:active {
  transform: translateY(1px);
  box-shadow: 0 4px 14px var(--cta-shadow);
}

/* Bleu (par défaut) */
.glass-cta--blue {
  --cta-bg: rgba(79, 131, 255, 0.85);
  --cta-bg-hover: rgba(79, 131, 255, 0.95);
  --cta-shadow: rgba(79, 131, 255, 0.4);
}

/* Vert — exemple B2C */
.glass-cta--green {
  --cta-bg: rgba(72, 220, 121, 0.85);
  --cta-bg-hover: rgba(72, 220, 121, 1);
  --cta-shadow: rgba(72, 220, 121, 0.4);
}

/* Rose — exemple “promotion” */
.glass-cta--pink {
  --cta-bg: rgba(233, 65, 125, 0.85);
  --cta-bg-hover: rgba(233, 65, 125, 1);
  --cta-shadow: rgba(233, 65, 125, 0.45);
}

/* Jaune / Lime */
.glass-cta--lime {
  --cta-bg: rgba(214, 255, 94, 0.85);
  --cta-bg-hover: rgba(214, 255, 94, 1);
  --cta-shadow: rgba(214, 255, 94, 0.45);
}

/*blanc*/
.glass-cta--white {
  --cta-bg: rgba(255, 255, 255, 0.85);
  --cta-bg-hover: rgba(255, 255, 255, 1);
  --cta-shadow: rgba(255, 255, 255, 0.4);
}

.simple-cta {
  display: inline-block;
  padding: 10px 58px;
  border: none;
  border-radius: var(--radius-sd);
  background: var(--cta-bg);
  color: var(--white);
  font: var(--font-cta);
  letter-spacing: 0.2px;
  text-align: center;
  cursor: pointer;
  z-index: 100;
  margin: 0 auto;
  box-shadow: 0 8px 24px var(--cta-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px) saturate(1.15);
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.simple-cta--red {
  background: var(--dash-red);
}

.btn-transparent {
  background: transparent;
  border: 1px solid white;
  border-radius: var(--radius-max);
  color: white;
  padding: 5px 10px;
  width: 50px;
  height: 40px;
}

.btn {
  border-radius: var(--radius-max);
  padding: 9px 18px;
  font-size: 13px;
  width: fit-content;
  min-width: 110px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn.btn-primary {
  background: #ffffff;
  color: #111318;
  font-weight: 600;
}

.btn.btn-danger {
  background: var(--dash-red);
  color: var(--white);
  font-weight: 600;
}

.btn.btn-ghost {
  background: #30323a;
  color: #f5f5ff;
}

.btn-paginat {
  border-radius: var(--radius-max);
  padding: 9px 18px;
  font-size: 13px;
  width: fit-content;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  background: #30323a;
  color: #f5f5ff;
}

.btn-primary-white {
  background: #fff;
  color: #0a0f14;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

/* From Uiverse.io by zanina-yassine */
/* Remove this container when use*/
.component-title {
  width: 100%;
  position: absolute;
  z-index: 999;
  top: 30px;
  left: 0;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #888;
  text-align: center;
}

/* The switch - the box around the slider */
.container {
  width: 51px;
  height: 31px;
  position: relative;
}

/* Hide default HTML checkbox */
.checkbox {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.switch {
  width: 100%;
  height: 100%;
  display: block;
  background-color: #e9e9eb;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

/* The slider */
.slider {
  width: 27px;
  height: 27px;
  position: absolute;
  left: calc(50% - 13.5px - 10px);
  top: calc(50% - 13.5px);
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15), 0px 3px 1px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease-out;
  cursor: pointer;
}

.checkbox:checked + .switch {
  background-color: #333B32;
}

.checkbox:checked + .switch .slider {
  left: calc(50% - 13.5px + 10px);
  top: calc(50% - 13.5px);
}

.connexion-page {
  height: 100dvh;
  width: 100dvw;
  /* gap: 5%; */
}

.topbar-connexion {
  position: sticky;
  top: 0;
  z-index: 10;
  gap: 16px;
  height: 7dvh;
  width: 55%;
  padding: 0 28px;
  margin: 16px auto 0;
  /* border-radius: var(--radius-md); */
}

.topbar-connexion.fx-reflect {
  --fa-pad: 1px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.nav {
  width: 50%;
  gap: 30px;
  color: var(--white);
  font-size: 14px;
}

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

/* Page hero */
.connexion-img {
  width: 50%;
  height: 100%;
  position: relative;
  background-image: url("/public/images/img-connexion.webp");
  background-repeat: no-repeat;
  background-size: cover;
}

.connexion-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.connexion-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 2px;
}

.hero {
  position: relative;
  width: 50%;
  height: 100%;
  background-image: url("/images/bg-mobile.webp");
  background-repeat: no-repeat;
  background-size: cover;
  /* border-radius: var(--radius-hd); */
}

.hero.fx-reflect {
  --fx-pad: 1px;
}

.hero-frame {
  width: 100%;
  min-height: 70dvh;
  border-radius: var(--radius-hd);
  overflow: hidden;
}

.hero-head {
  text-align: center;
  margin-bottom: 22px;
}

.hero-head h1 {
  margin: 0 0 8px;
  font-size: 30px;
}

.hero-head p {
  margin: 0;
  color: var(--white);
  font-size: 14px;
  width: 300px;
}

.panel {
  display: none;
}

.hero[data-mode=signin] .panel--signin {
  display: block;
}

.hero[data-mode=signup] .panel--signup {
  display: block;
}

.hero-frame {
  gap: 10px;
}

/* Card */
.auth-card {
  position: relative;
  width: min(500px, 80%);
  height: 100%;
  border-radius: var(--radius-hd);
  align-items: stretch;
  padding: 20px;
  gap: 30px;
}

.auth-card h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  color: var(--muted);
}

.social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.social .icon-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.social .icon-btn.fx-reflect {
  --fx-pad: 1px;
}

form {
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  margin: 16px;
}

.label {
  font-size: 12px;
  color: var(--white-gray);
}

.input {
  height: 44px;
  border-radius: var(--radius-hd);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  outline: none;
}

.input::placeholder {
  color: var(--white-gray);
}

.remember {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.submit {
  margin-top: 6px;
}

.submit .btn {
  width: 100%;
  height: 44px;
  border-radius: 12px;
}

.small {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--white-gray);
}

.small a {
  color: #b9c7ff;
  text-decoration: none;
}

/* Footer */
.footer {
  display: flex;
  gap: 20px;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  margin: 28px 0 8px;
}

.forget-password {
  margin-top: 8px;
  text-align: center;
  font: var(--font-small);
  color: var(--white-gray);
}

.forget-password a {
  color: #b9c7ff; /* même couleur que tes liens .small */
  text-decoration: underline;
  cursor: pointer;
}

/* Page reset password */
.auth-card h1 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 22px;
}

.auth-card > p {
  margin: 0 0 12px;
  text-align: center;
  font-size: 13px;
  color: var(--white-gray);
}

#resetPassword .field {
  margin: 8px 0;
}

#resetPassword .input {
  height: 40px;
}

#resetPassword .submit .simple-cta {
  width: 100%;
  height: 40px;
}

/* =========================
   MEDIA QUERIES
   ========================= */
/* Écrans moyens (tablettes / petits laptops) */
@media (max-width: 1200px) {
  .topbar-connexion {
    width: 70%;
  }
  .hero {
    width: 70%;
    padding: 32px 16px 60px;
  }
  .hero-head h1 {
    font-size: 26px;
  }
  .hero-head p {
    width: 260px;
  }
  .auth-card {
    width: min(480px, 90%);
  }
}
/* Tablettes / paysage mobile large */
@media (max-width: 900px) {
  .connexion-page {
    height: auto;
    min-height: 100dvh;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 40px;
  }
  .topbar-connexion {
    position: static;
    width: 90%;
    margin: 16px auto 0;
  }
  .topbar-connexion.fx-reflect::before,
  .topbar-connexion.fx-reflect::after,
  .hero.fx-reflect::before,
  .hero.fx-reflect::after {
    content: none !important;
  }
  .hero {
    width: 90%;
    padding: 24px 12px 40px;
  }
  .hero-frame {
    min-height: auto;
  }
  .hero-head h1 {
    font-size: 24px;
  }
  .hero-head p {
    width: 100%;
  }
  .auth-card {
    width: 100%;
    padding: 16px;
  }
}
@media (max-width: 900px) {
  .auth-card--compact {
    max-width: 100%;
    max-height: 72dvh;
    padding: 14px 12px 12px;
    gap: 12px;
  }
  #forgotPassword .input {
    height: 38px;
  }
  #forgotPassword .submit .simple-cta {
    height: 38px;
  }
}
/* Mobile */
@media (max-width: 600px) {
  .topbar-connexion {
    height: auto;
    padding: 10px 14px;
    margin-top: 10px;
    gap: 10px;
  }
  /* On simplifie la topbar sur mobile */
  .nav {
    display: none;
  }
  .brand {
    font-size: 14px;
  }
  .cta .btn {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }
  .hero {
    width: 94%;
    padding: 20px 10px 32px;
  }
  .hero-head {
    margin-bottom: 18px;
  }
  .hero-head h1 {
    font-size: 22px;
  }
  .hero-head p {
    font-size: 13px;
  }
  .auth-card {
    padding: 14px 10px;
    gap: 5px;
    border-radius: 18px;
  }
  .field {
    margin: 10px 0;
  }
  .input {
    height: 42px;
  }
  .submit .btn {
    height: 42px;
  }
}
/* Très petit mobile */
@media (max-width: 380px) {
  .hero-head h1 {
    font-size: 20px;
  }
  .auth-card h2 {
    font-size: 16px;
  }
  .small {
    font-size: 12px;
  }
}
.input-error {
  border: 2px solid red !important;
}

.p-error {
  font-size: 14px;
  color: rgb(255, 255, 255);
}

.form-error-message {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
  background: rgba(244, 31, 20, 0.38);
  padding: 5px;
}

/* =========================================================================
   DIALOG INTRO / MODAL DE PRÉSENTATION / MODAL BREIF
   ========================================================================= */
dialog {
  overflow: visible;
  position: relative;
  border-radius: 50px;
}

.modal__overlays {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 99999;
}

/* Bouton d’ouverture */
#openDialog {
  height: 70dvh;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, #8f5bff, #ff4fd4);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

/* BACKDROP flou */
.intro-dialog::backdrop {
  background: rgba(5, 6, 31, 0.65);
  backdrop-filter: blur(14px);
}

/* Le <dialog> lui-même */
.intro-dialog {
  border: none;
  padding: 0;
  background: transparent;
  border-radius: var(--radius-md);
}

/* Carte centrale style player */
.intro-dialog__card {
  width: 55dvw;
  height: 75dvh;
  aspect-ratio: 16/9;
  border-radius: 32px;
  background: #050509;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.field-input {
  color: black;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

/* Zone "écran" */
.intro-dialog__screen {
  flex: 1;
  background: radial-gradient(circle at 50% 40%, #222a48 0, #050509 55%);
}

.intro-dialog__video {
  height: 100%;
  object-fit: cover; /* ou contain si tu veux tout voir */
  border-radius: 12px; /* optionnel */
}

/* Logo central */
.intro-dialog__logo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
}

.intro-dialog__logo-icon {
  font-size: 46px;
  font-weight: 700;
  color: #ffffff;
}

/* Bandeau bas */
.intro-dialog__bottom {
  padding: 18px 26px;
  background: linear-gradient(to top, #050509, rgba(5, 5, 9, 0.9176470588));
  color: #f5f5ff;
  gap: 24px;
}

.intro-dialog__text {
  flex: 1;
  max-width: 33%;
}

.intro-dialog__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.intro-dialog__desc {
  font-size: 16px;
  opacity: 0.86;
  margin-bottom: 4px;
}

.intro-dialog__meta {
  font-size: 11px;
  opacity: 0.7;
}

/* Boutons du bandeau bas */
.intro-dialog__actions {
  gap: 8px;
  min-width: 170px;
}

.intro-dialog__actions button:hover {
  cursor: pointer;
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
  transition: background-color 0.3s, color 0.3s;
}

#briefDialog[open],
#briefDialog.is-open {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  -webkit-overflow-scrolling: touch;
}

.has-dialog {
  overflow: hidden;
}

/* fallback si showModal n’existe pas */
#briefDialog {
  display: none;
}

#briefDialog[open],
#briefDialog.is-open {
  display: flex;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

/* Responsive dialog */
@media (max-width: 768px) {
  .intro-dialog__card {
    width: 100vw;
    height: auto;
    aspect-ratio: auto;
    border-radius: 0;
  }
  /* En mobile, on bascule en flex-col */
  .intro-dialog__bottom {
    display: flex;
    flex-direction: column;
  }
  .intro-dialog__actions {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }
  .intro-dialog__text {
    max-width: 100%;
    margin-bottom: 12px;
  }
}
/* ====== BRIEF MODAL (réutilise .intro-dialog etc.) ====== */
.brief-screen {
  position: relative;
  padding: 26px 26px 18px;
  display: flex;
  gap: 18px;
}

.brief-head {
  gap: 18px;
}

.brief-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brief-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.brief-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 2px;
}

.brief-sub--muted {
  opacity: 0.75;
}

.brief-pill-wrap {
  margin-top: 8px;
}

.brief-pill {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.brief-icons {
  gap: 14px;
  margin-top: 6px;
}

.brief-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.brief-icon__inner {
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.brief-form {
  width: min(720px, 100%);
  margin: 12px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brief-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.brief-row__ico {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.brief-input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 10px 6px;
}

.brief-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.brief-row__link {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* dock bottom */
.brief-dock {
  margin-top: auto;
  padding-top: 16px;
  gap: 14px;
}

.brief-dock__add {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
}

.brief-dock__seg {
  flex: 1;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 6px;
}

.brief-dock__btn {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 12px 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.brief-dock__btn.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.brief-dock__send {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: rgba(110, 135, 255, 0.9);
  color: #fff;
  font-size: 18px;
}

/* mobile */
@media (max-width: 768px) {
  .brief-head {
    align-items: flex-start;
  }
  .brief-title {
    font-size: 18px;
  }
  .brief-form {
    width: 100%;
  }
}
/* 7) Pages + responsive toujours en dernier */
/* =========================================================================
   RESET DE BASE & TYPO
   ========================================================================= */
/* Garde-fou : box-sizing + vh/vw fiables */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  letter-spacing: 1px !important;
}

/* ---- Définition des fonts globales ---- */
h1 {
  font: var(--font-dash-h1);
  color: var(--text);
}

h2 {
  font: var(--font-dash-h2);
  color: var(--text);
}

h3 {
  font: var(--font-h3);
  color: var(--text);
}

h4 {
  font: var(--font-h4);
  color: var(--blue-light);
}

p {
  font: var(--font-dash-p);
  color: var(--white);
}

a {
  font: var(--font-a);
  color: var(--white);
  text-decoration: none;
}

label,
::placeholder,
textarea {
  font: var(--font-dash-p);
  color: var(--white);
}

span {
  font: var(--font-span);
  color: var(--white);
}

/* Très souvent nécessaire quand Swiper est dans un parent flex */
.swiper {
  min-width: 0;
}

.swiper-wrapper {
  min-width: 0;
}

/* =========================================================================
   FOND GÉNÉRAL / BACKGROUND
   ========================================================================= */
body {
  height: 100dvh;
  width: 100dvw;
  background: linear-gradient(180deg, #0f123b 0%, #090d2e 59%, #020515 100%);
}

.background {
  background-image: url("/images/bg_dash.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 150%;
  height: 100dvh;
  width: 100dvw;
  transition: all 0.5s ease-in-out;
}

.background.dark-theme {
  background-image: url("/images/dark-bg.webp");
  transition: all 0.5s ease-in-out;
}

/* Conteneur principal (zone de contenu, hors sidebar) */
.body-container {
  width: calc(100dvw - 17vw);
  height: 100dvh;
}

/* =========================================================================
   BLOC COMPTE / HEADER AVEC BORDURE "VERRE"
   ========================================================================= */
.container-account {
  position: relative;
  width: 73dvw;
  height: 10dvh; /* tu gardes ta hauteur limitée */
  margin: 20px;
  border-radius: var(--radius-hd);
  overflow: visible;
  padding: 12px;
  margin: 0 auto;
  /* Layout principal */
  gap: 20px;
}

/* Bloc gauche (avatar + nom) et bloc droite (livraison) :
     ils prennent juste la place dont ils ont besoin */
#account,
.livraison {
  flex: 0 0 auto;
  min-width: 310px;
  max-height: 56px;
  padding: 0 8px;
  gap: 5px;
}

.container-account .livraison {
  height: 100%;
}

.container-account .logo-account {
  max-height: fit-content;
  max-width: clamp(40px, 34.29px + 0.397vw, 60px);
}

/* Séparateur rouge vertical */
.container-account .livraison .red-separator {
  width: 8px;
  height: 80%;
  background: var(--dash-red);
  border-radius: 8px;
}

.container-account .livraison .livraison-logo {
  margin: 20px;
}

/* Stepper dans le header : le centre est FLEXIBLE et s’étale */
.container-account .stepper-container {
  min-width: 500px;
}

.order-stepper-wrap {
  flex: 1 1 auto; /* <- le centre prend tout l’espace restant */
  min-width: 400px; /* évite qu’il soit trop compressé */
}

/* =========================================================================
     STEPPER GÉNÉRAL (icônes / pastilles / lignes)
     ========================================================================= */
.order-stepper-wrap {
  width: 100%;
}

/* La rangée entière */
.order-stepper {
  list-style: none;
  margin: 0;
  padding: 6px 18px;
}

/* Chaque step prend 1 “portion” de la rangée */
.order-step {
  flex: 1 1 0;
}

/* Bulle icône */
.order-step-icon {
  width: 100%;
  height: 50%;
  border-radius: 50%;
  padding: 6px;
  border: 1px solid #fff;
}

.order-step-indicator {
  position: relative;
}

.order-step-icon-img svg {
  width: clamp(12px, 2vw, 28px);
  height: clamp(12px, 2vw, 28px);
}

/* Label */
.order-step-label {
  position: absolute;
  font-size: 0.7rem;
  left: 50%;
  transform: translate(-50%);
  bottom: -30%;
  text-align: center;
}

/* Barre entre les steps : prend TOUT l’espace restant */
.box-step-bar {
  flex: 1 1 auto;
}

.order-step-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.4); /* style par défaut */
}

/* États, si tu veux différencier les couleurs */
.order-step.is-complete .order-step-icon-img svg path {
  stroke: #fff;
  fill: #fff;
}

.order-step.is-current .order-step-icon-img svg path {
  stroke: #ff4dd6;
  fill: #ff4dd6;
}

.order-step.is-next .order-step-icon-img svg path {
  stroke: rgba(255, 255, 255, 0.4);
  fill: rgba(255, 255, 255, 0.4);
}

.order-step.is-complete .order-step-bar {
  background: #ff4dd6;
}

.order-step.is-next .order-step-bar {
  background: rgba(255, 255, 255, 0.25);
} /* Ligne entre les steps (si tu t’en sers encore ailleurs) */
/*************************************************
 * ÉTATS DU STEPPER
 *  - is-complete : vert
 *  - is-current  : cercle jaune
 *  - is-next     : grisé
 *************************************************/
/* Steps complétés */
.order-step.is-complete .order-step-icon {
  background: var(--accent-pink);
  border: 2px solid var(--accent-pink);
}

.order-step.is-complete .box-step-bar {
  background: var(--accent-pink);
}

.order-step.is-complete .order-step-icon-img svg path {
  stroke: var(--white);
}

.order-step.is-current .order-step-icon {
  border: 2px solid var(--accent-pink);
  background: var(--border-glass);
}

/* Steps à venir (gris) */
.order-step.is-next .order-step-icon,
.order-step.is-next .box-step-bar {
  background: var(--border-glass);
}

.order-step.is-next .order-step-icon {
  opacity: 0.45;
}

.order-step.is-next .order-step-label {
  opacity: 0.7;
}

/* =========================================================================
   BOTTOM BAR 
   ========================================================================= */
.bottom-bar {
  display: none;
  align-items: center;
  justify-content: space-around;
  padding: 5px 12px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.bottom-bar .nav-item {
  width: clamp(42px, 6dvh, 56px);
  height: clamp(42px, 6dvh, 56px);
  border-radius: 50%;
}

.bottom-bar .nav-item-account {
  width: 50px;
  height: 50px;
}

.bottom-bar .nav-item img,
.bottom-bar .nav-item svg {
  width: 50%;
  height: 50%;
}

/* =========================================================================
   TAB BAR FLOTTANTE (à droite)
   ========================================================================= */
.tab-bar {
  position: absolute;
  right: -9%;
  top: 50%;
  transform: translateY(-50%);
  width: fit-content;
  height: min(12dvh, 160px);
  border-radius: var(--radius-md);
  padding: 20px;
  gap: 20px;
}

.container-data .tab-bar {
  width: 90px;
  height: 100%;
}

.tab-item {
  position: relative;
  justify-content: center;
  height: 33.3333333333%;
  gap: 10px;
}

.tab-item h4,
.tab-item p {
  text-align: center;
  font-size: 12px;
}

/* Bouton principal */
.tab-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(180, 180, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

/* Bouton vert validé */
.tab-btn--valid {
  background: #00c64f;
}

.tab-btn--valid:hover {
  background: #00e060;
}

/* Pastille d’aide “?” */
.tab-help {
  position: absolute;
  top: 5px;
  right: -5px;
  width: 18px;
  height: 18px;
  font-size: 11px;
  color: var(--white);
  background: rgba(150, 150, 150, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Ligne séparatrice */
.separator-line {
  width: 80%;
  height: 1px;
  background: linear-gradient(to left, rgba(150, 150, 150, 0.5), white, rgba(150, 150, 150, 0.5));
}

/* =========================================================================
   CERCLE / RING INDICATEURS (KPI)
   ========================================================================= */
/* Anneau de petits traits */
.countdown-ring {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-traits {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.countdown-traits div {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 8px;
  background: rgba(255, 255, 255, 0.438);
  transform-origin: center 40px;
  border-radius: 2px;
  opacity: 0.45; /* base grise */
}

.countdown-time {
  position: relative;
  color: white;
}

.countdown-traits div.active {
  background: white;
  opacity: 1;
}

/* CTA en bas de slide */
.slide-cta {
  position: absolute;
  width: 250px;
  bottom: 5%;
  left: calc(90% - 300px);
}

/* ================= GAUGE ==================== */
.gauge {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gauge svg {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-90deg);
  overflow: visible; /* parfois utile Safari */
}

.gauge-circle-bg {
  stroke: rgba(0, 0, 0, 0.1); /* gaugeSecondaryColor */
  stroke-width: 10;
  fill: none;
}

.gauge-circle {
  stroke: rgb(0, 254, 25); /* gaugePrimaryColor */
  stroke-width: 10;
  stroke-linecap: round;
  fill: none;
  transition: stroke-dashoffset 0.2s ease-out;
}

.gauge-text {
  position: absolute;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

/* =========================================================================
   LIGNES DE CARTES (container-data / container-project)
   ========================================================================= */
.container-data {
  height: 82dvh;
  width: 83dvw;
}

.container-data .carousel {
  position: relative;
  width: 75%;
  height: 85%;
}

/* ✅ Swiper = “cadre de référence” (obligatoire pour Cards) */
.container-data .swiper {
  width: min(100%, 80dvw);
  height: 100%;
}

.container-data .swiper-wrapper {
  height: 100%;
}

/* ta carte */
.container-data .slide {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-hd);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5%;
}

.container-data .slide-1 {
  background-image: url("/public/images/bg1.webp");
}

.container-data .slide-2 {
  background-image: url("/public/images/bg2.webp");
}

.container-data .slide-3 {
  background-image: url("/public/images/bg3.webp");
}

/* inutile en cards (tu peux l’enlever) mais si tu veux le garder : */
.container-data .slide-1,
.container-data .slide-2,
.container-data .slide-3 {
  z-index: auto !important;
}

.container-data .slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .homeSwiper {
  height: 100%;
}

.carousel .homeSwiper .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  border-radius: 32px;
}

/* wrapper swiper = on aligne le wrapper à gauche */
.carousel .homeSwiper .swiper-wrapper {
  justify-content: flex-start; /* ancrage à gauche */
}

/* et on évite que swiper centre visuellement */
.carousel .homeSwiper {
  margin-left: 0;
  margin-right: auto;
}

.carousel .homeSwiper {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.carousel .homeSwiper .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  border-radius: 32px;
  overflow: hidden;
}

/* force le sens normal */
.carousel .homeSwiper,
.carousel .homeSwiper .swiper-wrapper,
.carousel .homeSwiper .swiper-slide {
  direction: ltr !important;
}

/* =========================================================================
   BARRES / PRÉVISION
   ========================================================================= */
.box-progress-bar {
  width: 100%;
  height: 50%;
}

.progress-bar {
  width: auto;
  height: 10%;
  max-height: 20px;
  margin: 5% 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.progress-bar-fill {
  position: relative;
  height: 100%;
  background: var(--dash-green);
  border-radius: 5px;
}

/* Valeur numérique au-dessus de la barre */
.fill-number {
  position: absolute;
  top: -25px;
  right: -5%;
  color: var(--dash-green);
}

.fill-number p {
  color: var(--dash-green);
}

.box-prevision {
  width: 100%;
  height: 60%;
  border-radius: 5px;
}

.content-box-prevision {
  height: 50%;
}

.vertical-bar {
  width: 10px;
  height: 100%;
  min-height: 75px;
  max-height: 100px;
  background: var(--dash-red);
  border-radius: 5px;
  margin: 10px;
}

.box-project {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.content-box-prevision-right,
.content-box-prevision-left {
  width: 50%;
  min-width: 100px;
  margin: 10%;
}

.content-box-prevision-left p {
  font-size: 18px;
  min-width: 200px;
}

.content-box-prevision-right p {
  font-size: 18px;
}

.content-box-prevision-right > .date {
  font-size: 42px;
}

/* =========================================================================
   STEPPER (wrapper simple)
   ========================================================================= */
.stepper-card {
  position: relative;
  width: 40%;
}

.box-retouche {
  min-width: 160px;
  max-width: 250px;
}

.box-retouche .gauge {
  width: 50%;
  height: 100%;
}

/* =========================================================================
   CONTAINER FEEDBACK
   ========================================================================= */
.container-feedback {
  height: 82dvh;
  width: 83dvw;
  position: relative;
  perspective: 1200px;
  flex-direction: column;
}

.container-feedback h1 {
  padding-bottom: 30px;
}

.container-feedback .carousel {
  position: relative;
  height: 85%;
  width: 80%;
  display: grid;
  place-items: center;
}

.container-feedback .swipFeedback {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* Slides du feedback */
/* .container-feedback .swiper-slide {
  position: absolute;
  background-color: #af7373;
  width: 100%;
  height: 85%;
  padding: 20px;
  border-radius: var(--radius-hd);
  transform: translateY(40px) scale(0.9) rotateY(10deg);
  transition: transform 0.8s ease, opacity 0.6s ease;
  z-index: 10;
}

.container-feedback .slide-content {
  width: 100%;
  height: 20%;
}

.container-feedback .slide-img {
  width: 100%;
  height: 80%;
  max-width: 1000px;
  object-fit: cover;
}

.container-feedback .slide-img > img,
.container-feedback .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.container-feedback .slide h2 {
  text-align: center;
  color: white;
  letter-spacing: 1px;
  font: 700 24px/1.2 "Poppins", sans-serif;
}

.container-feedback .slide h2 span {
  font-weight: 300;
  font-size: 14px;
  opacity: 0.7;
}

.container-feedback .slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 3;
}

.container-feedback .slide.prev {
  opacity: 0.8;
  transform: translate(0, -50px) scale(0.95);
  z-index: 2;
}

.container-feedback .slide.next {
  opacity: 0.8;
  transform: translate(0, -100px) scale(0.9);
  z-index: 1;
} */
.swipFeedback {
  width: 100;
  height: 100%;
  overflow: visible;
}

.swipFeedback .swiper-wrapper {
  overflow: visible;
}

.swipFeedback .swiper-slide {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: visible;
}

/* ta carte garde EXACTEMENT ton verre trempé */
.swipFeedback .card-glass.effect-glass.fx-reflect {
  width: 100%;
  height: 80%;
  border-radius: 22px;
  overflow: hidden;
}

/* on empile les cartes en jouant sur les transforms des SLIDES (2D) */
.swipFeedback .swiper-slide {
  opacity: 1;
  transform: translateX(0) rotate(0deg) scale(0.96);
  transition: transform 0.6s ease;
  z-index: 1;
}

.swipFeedback .swiper-slide-prev {
  transform: translateX(-120px) rotate(-6deg) scale(0.96);
  z-index: 2;
}

.swipFeedback .swiper-slide-active {
  transform: translateX(0) rotate(0deg) scale(1);
  z-index: 5;
}

.swipFeedback .swiper-slide-next {
  transform: translateX(120px) rotate(6deg) scale(0.96);
  z-index: 2;
}

/* encore plus derrière (si Swiper ajoute des classes additionnelles) */
.swipFeedback .swiper-slide-prev + .swiper-slide-prev,
.swipFeedback .swiper-slide-next + .swiper-slide-next {
  z-index: 1;
} /* =========================================================================
 CONTAINER FEEDBACK - STEPPER / PROMPT
 ========================================================================= */
.container-stepper {
  padding: 20px;
}

.container-stepper .box-cta {
  justify-content: center;
  gap: 10%;
}

.container-stepper .box-cta p {
  font-size: 10px;
}

.container-stepper .box-cta a.active {
  background: #0075ff;
  border-radius: var(--radius-sd);
  padding: 5px 20px;
}

/* Champ prompt */
.feedback-prompt {
  position: relative;
  width: 100%;
  max-width: 1400px;
}

/* Intérieur du prompt */
.prompt-inner {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 10px 0 6px;
  border-radius: var(--radius-max);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 22px 52px var(--glass-shadow);
}

.prompt-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-max);
  font-weight: 800;
}

.prompt-inner input {
  width: 100%;
  height: 44px;
  border-radius: var(--radius-max);
}

.mockup {
  position: relative;
  width: 900px; /* adapte comme tu veux */
  background: url("/public/images/mockup/mockup.png") center/contain no-repeat;
  aspect-ratio: 1582/954; /* ou juste une height fixe */
}

/* Cadre de l’écran du Mac */
.screen {
  position: absolute;
  top: 11%; /* à ajuster pour coller à ton écran */
  left: 14%;
  width: 72%;
  height: 77%;
  overflow: hidden; /* ⬅⬅ C’EST ÇA QUI “BRIDE” */
  border-radius: 16px;
}

/* Image à l’intérieur */
.content-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* remplie le cadre */
  display: block;
  background: #111;
}
.content-img .swiper {
  width: 100%;
  height: 100%;
}

/* =========================================================================
 CONTAINER SCREEN CHAT (support)
 ========================================================================= */
:root {
  --bg: #0f1220;
  --me: #3b82f6;
  --other: #111318;
  --text: #e9eefb;
  --muted: #97a0b5;
}

.container-screen-chat {
  width: 83dvw;
  height: calc(80dvh - 40px);
  padding-top: 5%;
}

.container-screen-chat .tab-bar {
  top: 50%;
  transform: translateY(-50%);
}

/* Zone globale du chat */
.screen-chat {
  position: relative;
  width: 80%;
  height: 90%;
}

.screen-chat p {
  color: var(--text);
  font-size: 14px;
}

/* Liste des conversations */
.screen-chat-list {
  width: 30%;
  height: 100%;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  padding: 16px 8px;
  overflow: hidden;
}

.screen-chat-list-header {
  margin-bottom: 20%;
}

.row-chat .rowchat-logo {
  width: 40px;
  height: 40px;
}

/* Vignette de conversation */
.row-chat {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sd);
  padding: 10px;
}

.row-chat.active {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Zone messages */
.screen-chat-message {
  width: 70%;
  height: 100%;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.screen-chat-header {
  width: 100%;
  height: 15%;
  border-radius: 0 var(--radius-md) 0 0;
}

.box-message {
  width: 100%;
  height: 85%;
}

/* Liste des messages */
.chat {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
}

.box-chat-lists {
  overflow: scroll;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 5px 10px 30px 10px;
}

.chat__messages {
  flex: 1;
  overflow: auto;
  padding: 16px;
  gap: 10px;
}

/* Message individuel */
.msg {
  gap: 8px;
  align-items: flex-end;
  max-width: 80%;
}

.msg[data-from=me] {
  margin-left: auto;
  justify-content: flex-end;
}

.msg[data-from=other] {
  margin-right: auto;
}

/* Bulle de texte */
.bubble {
  padding: 10px 12px;
  border-radius: var(--radius-sd);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.msg[data-from=me] .bubble {
  background: var(--me);
  color: var(--white);
  border-bottom-right-radius: 6px;
}

.msg[data-from=other] .bubble {
  background: var(--other);
  color: var(--text);
  border-bottom-left-radius: 6px;
}

.bubble__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .msg {
    max-width: 90%;
  }
}
/* =========================================================================
   CONTAINER BRANDBOOK / LOGOS
   ========================================================================= */
.container-brendbook {
  width: 83dvw;
  height: calc(80dvh - 40px);
}

.box-brendbook {
  width: 80%;
  height: 85%;
  gap: 10px;
  perspective: 1000px;
}

/* Carte individuelle */
.box-brendbook-card {
  position: relative;
  width: calc(33.3333333333% - 40px);
  height: calc(50% - 40px);
  perspective: 1000px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.5s ease-out;
}

.brendbox-card-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: hidden;
}

.brendbox-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Badge download */
.brendbox-card-img .logo-download {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.344);
  border-radius: var(--radius-max);
}

.box-brendbox-card-content {
  position: absolute;
  bottom: -20px;
  left: 0;
}

/* Effet de perspective (4 coins) */
.box-brendbook-card.top-left {
  transform-origin: bottom right;
  transform: rotateX(0) rotateY(10deg);
  border-radius: var(--radius-md);
}

.box-brendbook-card.top-rigth {
  transform-origin: bottom left;
  transform: rotateX(0) rotateY(-10deg);
}

.box-brendbook-card.bottom-right {
  transform-origin: top left;
  transform: rotateX(0) rotateY(-10deg);
}

.box-brendbook-card.bottom-left {
  transform-origin: top right;
  transform: rotateX(0) rotateY(10deg);
}

/* Petit bloc download */
.box-download {
  position: relative;
  width: 100px;
  height: 80px;
  border-radius: var(--radius-hd);
  z-index: 0;
  overflow: hidden;
}

/* Position relative générique pour d’autres usages */
.logo-download {
  position: relative;
}

/* Halo autour du bloc download */
.box-download::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.help-download {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 24px;
  height: 24px;
  background-color: rgba(44, 44, 44, 0.2941176471);
  border-radius: var(--radius-max);
}

.help-download p {
  text-align: center;
}

/* =========================================================================
   CONTAINER SETTINGS
   ========================================================================= */
.container-setting {
  width: calc(80dvw - 40px);
  height: 83dvh;
  margin: 20px 5%;
  border-radius: var(--radius-hd);
  gap: 0;
  align-items: stretch;
}

/* Menu latéral */
.container-setting .setting-menu {
  width: 20%;
  padding: 20px;
  border-radius: var(--radius-hd) 0 0 var(--radius-hd);
  overflow-y: scroll;
}

.container-setting .setting-menu ul {
  align-items: start;
}

.container-setting .setting-menu ul img {
  width: 28px;
}

/* Contenu à droite */
.container-setting .setting-content {
  position: relative;
  width: 80%;
  height: auto;
  padding: 20px;
  border-radius: var(--radius-hd) var(--radius-hd) var(--radius-hd) 0px;
  overflow-y: scroll;
}

/* Boutons de menu */
button[data-setting-block] {
  background: none;
  border: none;
  font: var(--font-dash-button);
  color: var(--white);
  padding: 8px 100px 12px 2px;
  border-radius: var(--radius-sd);
  text-align: start;
}

/* État actif */
button[data-setting-block].is-active {
  font-weight: 700;
  text-decoration: underline;
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(1.15);
  -webkit-backdrop-filter: blur(40px) saturate(1.15);
  box-shadow: 0 34px 80px var(--glass-shadow);
}

.icon-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
  line-height: 1;
}

.icon-btn.danger:hover {
  background: rgba(220, 38, 38, 0.12);
}

.confirm-dialog .dialog-card {
  width: min(900px, 92vw);
  box-sizing: border-box;
  overflow-x: hidden;
}

.confirm-dialog::backdrop {
  background: radial-gradient(circle at 30% 20%, rgba(232, 85, 255, 0.18), rgba(0, 0, 0, 0.45));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.alert-danger-soft {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.35);
  margin-bottom: 16px;
}

.alert-icon {
  font-size: 24px;
  line-height: 1;
}

.alert-content p {
  margin: 6px 0;
}

.alert-content ul {
  margin: 6px 0 6px 18px;
  padding: 0;
}

.alert-content strong {
  color: #ffffff;
  background: var(--dash-red);
}

.alert-content .muted {
  font-size: 0.85rem;
  opacity: 0.8;
}

.danger {
  color: var(--dash-red);
}

/* =========================================================================
   RESPONSIVE (DATA / PROJECT)
   Objectif : ranger par “type de breakpoint”, puis du +grand au +petit
   NOTE : Aucun sélecteur/valeur n’a été modifié, juste réorganisé + commenté
   ========================================================================= */
/* =========================================================================
   1) Breakpoints basés sur la HAUTEUR d’écran (max-height)
   ========================================================================= */
/* === ≤ 850px (hauteur) : compacter UI, aside, stepper =================== */
@media (max-height: 850px) {
  .container-account .order-stepper-wrap .order-step-label {
    display: none;
  }
  .aside .aside-header img {
    padding: 0;
  }
  .aside-nav li p {
    font-size: 14px;
  }
  .aside-nav ul {
    gap: 5px;
  }
  .aside .support-content-img img {
    width: 100%;
    height: 50%;
    max-height: 100px;
    margin: 0 auto;
  }
  .aside-container :nth-child(6) {
    flex-direction: row;
  }
  .intro-dialog__card {
    height: 90dvh;
  }
}
/* === ≤ 699px (hauteur) : compacter encore le header account/stepper ===== */
@media (max-height: 699px) {
  .container-account {
    padding: 2px;
  }
  .container-account .logo-account {
    width: 38px;
  }
  .container-account .account-content p {
    display: none;
  }
  .container-account .order-step-icon {
    width: 24px;
    height: 24px;
  }
  .container-account .order-step-icon-img svg {
    width: 16px;
    height: 16px;
  }
}
@media (max-height: 699px) {
  .intro-dialog__card {
    height: 95dvh;
  }
}
/* === ≤ 599px (hauteur) : ajustement navigation aside ==================== */
@media (max-height: 599px) {
  .aside .aside-nav {
    margin: 0;
  }
}
/* =========================================================================
   2) Breakpoints basés sur la LARGEUR d’écran (max-width)
   ========================================================================= */
/* === ≤ 1490px : masquer blocs secondaires + ajuster containers/tabbar ==== */
@media (max-width: 1490px) {
  .account-content,
  .livraison {
    display: none;
  }
  .container-data,
  .container-feedback,
  .container-screen-chat,
  .container-brendbook,
  .container-setting {
    width: calc(80dvw - 40px);
  }
  .container-data .tab-bar {
    gap: 5px;
    width: 75px;
  }
  .container-data .carousel {
    width: 90%;
  }
  .tab-item h4,
  .tab-item p {
    font-size: 10px;
  }
  .countdown-ring {
    width: 60px;
    height: 60px;
  }
  .tab-item .gauge {
    width: 80%;
  }
  .countdown-traits div {
    width: 0.5px;
    height: 6px;
    transform-origin: center 30px;
  }
  .intro-dialog__card {
    width: 75dvw;
  }
}
/* === ≤ 1200px : bg mobile + ajustements layout slides/carousels ========= */
@media (max-width: 1200px) {
  .background {
    background-image: url("/images/bg-mobile.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150%;
  }
  /* Limiter la zone de travail */
  .container-data,
  .container-feedback,
  .container-screen-chat,
  .container-brendbook,
  .container-setting {
    width: calc(80dvw - 40px);
  }
  .container-feedback .carousel,
  .box-brendbook,
  .screen-chat {
    width: 100%;
  }
  .container-data .swiper {
    width: 90%;
  }
  .container-account {
    margin: 0 20px;
  }
  .tab-bar {
    right: -7%;
  }
  .container-feedback .slide {
    width: 100%;
  }
  .screen-chat-list-header {
    margin-bottom: 10%;
  }
  .order-step-icon img {
    width: 28px;
    height: 28px;
  }
}
/* === ≤ 992px : passage en full-width + tab-bar “off-canvas” (data) ====== */
@media (max-width: 992px) {
  /* Full width */
  .body-container,
  .container-data,
  .container-screen-chat,
  .container-brendbook,
  .container-setting {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
  }
  .container-setting .setting-content {
    width: 65%;
  }
  .container-feedback {
    width: 95%;
  }
  .container-account {
    width: 100%;
    margin: 10px;
  }
  .caroussel {
    width: 100%;
  }
  .container-data .slide {
    width: 80%;
  }
  .carousel,
  .screen-chat {
    width: 100%;
  }
  .box-brendbook {
    width: 80%;
    perspective: none;
  }
  /* TABBAR MENU (aside) */
  .container-data .tab-bar {
    position: fixed;
    top: 20px;
    right: 0;
    height: 90%;
    width: 100px;
    transform: translateX(100%); /* 100% de SA largeur */
    transition: transform 0.3s ease;
    z-index: 9999;
    pointer-events: auto; /* important */
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
  .container-data .tab-bar.is-open {
    transform: translateX(0); /* visible */
  }
  /* BOUTON D’OUVERTURE / FERMETURE */
  .progress-toggle {
    display: flex;
    position: fixed;
    top: 50%;
    right: 0; /* collé au bord droit */
    transform: translateY(-50%);
    width: 25px;
    height: 100px;
    border-radius: var(--radius-sd) 0 0 var(--radius-sd);
    border: none;
    background: rgba(247, 247, 247, 0.262745098);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    padding: 2px;
    z-index: 12000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, right 0.3s ease;
  }
  /* Quand la tab-bar est ouverte, on décale le bouton de la largeur de l’aside */
  .tab-bar.is-open + .progress-toggle {
    right: 100px;
  }
  /* Chevron */
  .progress-toggle__chevron {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    transform: rotate(-135deg);
    transition: transform 0.3s ease;
  }
  /* Chevron inversé quand ouvert (optionnel) */
  .tab-bar.is-open + .progress-toggle .progress-toggle__chevron {
    transform: rotate(45deg);
  }
  .container-brendbook .tab-bar {
    right: 2%;
  }
  /* Brandbook → 2 colonnes */
  .box-brendbook-card {
    width: calc(50% - 20px);
    height: 250px;
  }
  /* Chat vertical */
  .screen-chat {
    height: auto;
  }
  .screen-chat-list,
  .screen-chat-message {
    width: 100%;
    border-radius: var(--radius-md);
  }
  .screen-chat-message {
    margin-top: 16px;
  }
  /* Settings → vertical */
  .container-setting {
    height: auto;
    border-radius: 0;
    margin: 20px 0;
  }
  .container-setting .setting-content {
    width: 80%;
    border-radius: 0;
  }
  .container-setting .setting-menu {
    width: 20%;
    border-radius: 0;
  }
  .container-setting .setting-menu {
    border-bottom: 1px solid var(--border-glass);
  }
  button[data-setting-block] {
    padding-right: 40px;
  }
  #introDialog {
    height: 70dvh;
    border-radius: var(--radius-sd);
  }
  .intro-dialog__card {
    width: 90dvw;
  }
}
/* === ≤ 992px : aside “off-canvas” (sidebar) ============================= */
@media (max-width: 992px) {
  .aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    max-width: 80vw;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  body.sidebar-open .aside {
    transform: translateX(0);
  }
  .sidebar-toggle {
    display: flex;
    position: fixed;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 25px;
    height: 100px;
    border-radius: 0 var(--radius-sd) var(--radius-sd) 0;
    border: none;
    background: rgba(247, 247, 247, 0.262745098);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    padding: 2px;
    z-index: 1100 !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .sidebar-toggle__chevron {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }
  body.sidebar-open .sidebar-toggle__chevron {
    transform: rotate(-135deg);
  }
}
/* === ≤ 800px : data boxes en 100% ====================================== */
@media (max-width: 800px) {
  .box-data,
  .box-data-duo,
  .big-box-data {
    width: 100%;
  }
  .container-data .slide {
    width: 65%;
  }
}
/* === ≤ 768px : “mobile” principal (layout vertical + bottom bar etc.) ==== */
@media (max-width: 768px) {
  /* ===== GENERALITE ========
    .h80{
        height: 85%;
    } */
  /* Full width */
  .body-container,
  .container-account,
  .container-data,
  .container-feedback,
  .container-screen-chat,
  .container-brendbook,
  .container-setting {
    width: 100%;
    margin: 0;
  }
  .body-container {
    flex-direction: column;
  }
  .container-data h1 {
    font: var(--font-h1-small);
  }
  .container-data {
    padding: 0 10px;
  }
  .topbar {
    display: none;
  }
  .container-account {
    height: 7dvh;
  }
  /* ACCOUNT / STEPPER compact */
  .container-account .box-retouche {
    flex-direction: column;
    gap: 0;
    width: 30%;
  }
  .container-account .box-retouche h4,
  .container-account .box-retouche p {
    font-size: 6px;
  }
  .container-account .order-step-label {
    display: none;
  }
  .container-account .order-stepper-wrap {
    min-width: 300px;
  }
  .container-account .stepper-container {
    min-width: auto;
  }
  .container-account .order-step {
    gap: 0;
  }
  .container-account .order-step-dot {
    width: 4px;
    height: 4px;
  }
  .container-account .order-step-icon {
    width: 24px;
    height: 24px;
  }
  .container-account .order-step-label {
    font-size: 10px;
  }
  #account,
  .livraison {
    min-width: 0px;
    max-height: 0px;
    padding: 0 8px;
  }
  .box-dot {
    gap: 2px;
  }
  .livraison {
    display: none;
  }
  .logo-account {
    width: 80%;
  }
  .account-dash .order-stepper {
    width: 100% !important;
  }
  /* DATA SLIDES */
  .container-data {
    height: 80dvh;
  }
  .container-data .slide {
    height: auto;
    min-height: 40dvh;
    width: 100%;
  }
  .container-data .slide.prev {
    transform: translate(-10%, -30px) scale(0.95);
  }
  .container-data .slide.next {
    transform: translate(-25%, -50px) scale(0.95);
  }
  /* FEEDBACK */
  .container-feedback {
    gap: 25px;
  }
  .container-feedback .carousel {
    width: 90%;
    height: 80%;
  }
  .container-feedback .slider-nav {
    gap: 235px;
  }
  .prompt-inner {
    height: auto;
  }
  /* CHAT */
  .screen-chat-list,
  .screen-chat-message {
    padding: 12px;
  }
  .chat__messages {
    padding: 12px;
  }
  /* BRANDBOOK */
  .box-brendbook {
    width: 100%;
    justify-content: space-between;
    padding: 0 12px;
  }
  .container-brendbook {
    height: 83dvh;
  }
  .container-brendbook .tab-bar {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    width: fit-content;
    height: 60px;
    padding: 0 20px;
  }
  .box-download {
    width: 80px;
    height: 64px;
  }
  /* DIALOG intro */
  .intro-dialog__logo {
    width: 200px;
    height: 200px;
  }
  .intro-dialog__title,
  .intro-dialog__desc {
    font-size: 14px;
  }
  /* Perf : désactiver blur (actuellement commenté) */
  .screen-chat-list,
  .screen-chat-message,
  .row-chat,
  .container-feedback .slide,
  .prompt-inner,
  .container-setting .setting-menu,
  .container-setting .setting-content {
    /* backdrop-filter: none;
      -webkit-backdrop-filter: none; */
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }
  /* BOTTOM BAR */
  .bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100dvw;
    height: calc(8dvh + env(safe-area-inset-bottom));
    min-height: calc(7dvh + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .container-brendbook .tab-bar {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
    z-index: 10;
  }
  .container-feedback .tab-bar {
    bottom: -8%;
    left: 50%;
    width: 170px;
    gap: 10px;
    overflow: hidden;
    height: fit-content;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 2px 5px;
  }
  /* INTRO DIALOG (ancienne variante commentée)
    #introDialog{
      height: 70dvh;
    }
    .intro-dialog__card{
      height: 100%;
    } */
  .container-pagination {
    bottom: 13%;
  }
}
/* === ≤ 480px : “petit mobile” (typo, CTA, brandbook, settings) ========== */
@media (max-width: 480px) {
  /* Typo */
  h1 {
    font: var(--font-h1-responsive);
  }
  h2 {
    font: var(--font-h2-responsive);
  }
  p,
  a {
    font-size: 14px;
  }
  /* Padding */
  .container-account,
  .screen-chat-list,
  .screen-chat-message,
  .container-feedback .slide,
  .container-setting .setting-menu,
  .container-setting .setting-content {
    padding: 10px;
  }
  .container-account {
    width: 95%;
    margin: 1% auto;
  }
  /* GAUGE */
  .msg {
    max-width: 100%;
  }
  /* Toggle aside caché sur très petit écran */
  .sidebar-toggle {
    display: none;
  }
  .box-brendbook-card {
    height: 150px;
  }
  /* CTA */
  .btn-primary,
  .btn-ghost {
    min-width: 130px;
    padding: 8px 14px;
    font-size: 12px;
  }
  .slide-cta {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
  .container-data .slide {
    min-height: 65dvh;
    width: 85%;
    justify-content: space-between;
    border-radius: var(--radius-sd);
  }
  /* ACCOUNT compact ++ */
  .container-account .order-step {
    gap: 0;
  }
  .container-account .order-stepper {
    width: 80%;
  }
  .container-account .order-step-icon {
    width: 22px;
    height: 22px;
  }
  .box-retouche {
    min-width: 180px;
  }
  .box-retouche .gauge svg {
    width: 60%;
  }
  .box-retouche .gauge-text {
    font-size: 12px;
  }
  .box-retouche .retouche-help {
    display: none;
  }
  .box-retouche h4,
  .box-retouche p {
    text-align: center;
  }
  .container-account .order-step-label {
    font-size: 10px;
    font-weight: 100;
  }
  .box-dot {
    gap: 2px;
  }
  .container-account .logo-account {
    width: 40px;
  }
  /* BRENDBOOK */
  .container-brendbook .box-brendbook-card {
    width: 100%;
    height: 55%;
  }
  .container-brendbook .tab-bar {
    top: 9%;
  }
  .container-brendbook .box-download {
    position: absolute;
    top: 9%;
    left: 85%;
    transform: translateX(-50%);
    perspective: none;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(1.15);
    -webkit-backdrop-filter: blur(40px) saturate(1.15);
    box-shadow: 0 34px 80px var(--glass-shadow);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.01);
  }
  /* FEEDBACK */
  .container-feedback {
    padding: 10px;
    gap: 30px;
  }
  .container-feedback .tab-bar {
    bottom: -4%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
  }
  /* SETTINGS */
  .container-setting .setting-menu {
    width: 20%;
  }
  .container-setting .setting-menu li p {
    display: none;
  }
  .container-setting .setting-menu button[data-setting-block] {
    padding: 10px;
  }
  .container-setting .setting-content {
    width: 80%;
  }
  .pack {
    border-radius: var(--radius-sd);
  }
  .pack-table {
    padding: 30px 0;
  }
}
/* =========================================================================
   3) Préférence utilisateur : réduire animations/transitions
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*# sourceMappingURL=dashboard.css.map */
