/*!***********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/auth-glass.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************/
/* Fond glass — écran d'authentification unifié */

.auth-glass-page {
  --ink: #0a1228;
  --gold: #ff6a00;
  --gold-bright: #ffb07a;
  position: relative;
  min-height: 100dvh;
  isolation: isolate;
  overflow-x: hidden;
}

.auth-glass-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% 18%, rgba(232, 201, 124, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 12%, rgba(87, 168, 140, 0.28), transparent 50%),
    radial-gradient(ellipse 45% 50% at 78% 78%, rgba(31, 111, 84, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 35% at 20% 85%, rgba(14, 21, 38, 0.12), transparent 50%),
    linear-gradient(165deg, #f7f5f0 0%, #efe9de 100%);
}

.auth-glass-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.48;
  animation: auth-drift 21s ease-in-out infinite alternate;
}

.auth-glass-blob--a {
  width: 300px;
  height: 300px;
  top: -50px;
  right: 10%;
  background: rgba(232, 197, 119, 0.75);
}

.auth-glass-blob--b {
  width: 340px;
  height: 340px;
  bottom: 0;
  left: 2%;
  background: rgba(196, 83, 78, 0.5);
  opacity: 0.4;
  animation-duration: 23s;
  animation-delay: -5s;
}

.auth-glass-blob--c {
  width: 260px;
  height: 260px;
  top: 40%;
  right: 22%;
  background: rgba(62, 142, 130, 0.55);
  opacity: 0.42;
  animation-duration: 19s;
  animation-delay: -9s;
}

@keyframes auth-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-24px, 20px) scale(1.08);
  }
}

.auth-glass-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 12px 0;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid rgba(140, 170, 255, 0.28);
  background: rgba(7, 16, 51, 0.55);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 16px 40px -20px rgba(7, 16, 51, 0.45),
    0 0 36px rgba(76, 124, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.auth-glass-card {
  border-radius: 24px;
  border: 1px solid rgba(140, 170, 255, 0.28);
  background: rgba(251, 252, 254, 0.94);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 24px 55px -22px rgba(7, 16, 51, 0.4),
    0 0 28px rgba(76, 124, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.auth-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(140, 170, 255, 0.22);
}

.auth-seg button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(244, 246, 252, 0.78);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-seg button[data-active="true"] {
  background: linear-gradient(155deg, #4c7cff, #1b3f9c 55%, #0b1a4d);
  color: #fff;
  box-shadow: 0 4px 18px rgba(76, 124, 255, 0.4);
}

.auth-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.auth-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.auth-step::before {
  content: "";
  position: absolute;
  top: 14px;
  inset-inline-start: calc(50% + 16px);
  width: calc(100% - 8px);
  height: 2px;
  background: rgba(22, 35, 63, 0.12);
}

.auth-step:last-child::before {
  display: none;
}

.auth-step[data-done="true"]::before {
  background: #e85a00;
}

.auth-step-dot {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid rgba(22, 35, 63, 0.2);
  background: #fff;
  color: #2c3b5c;
}

.auth-step[data-active="true"] .auth-step-dot {
  background: #16233f;
  border-color: #16233f;
  color: #fff;
}

.auth-step[data-done="true"] .auth-step-dot {
  background: #e85a00;
  border-color: #e85a00;
  color: #fff;
}

.auth-step-label {
  font-size: 10px;
  font-weight: 600;
  color: #2c3b5c;
  text-align: center;
}

.auth-stepper--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 280px;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .auth-glass-card {
    padding: 1rem !important;
  }

  .auth-stepper {
    gap: 0.2rem;
  }

  .auth-step-label {
    font-size: 9px;
    line-height: 1.2;
  }

  .auth-step-dot {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .auth-glass-page .auth-particles,
  .auth-glass-page canvas {
    opacity: 0.35;
  }
}

@media (max-width: 940px) {
  .auth-glass-nav {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (prefers-reduced-motion: reduce) {
  .auth-glass-blob {
    animation: none !important;
  }
}

