/**
 * ====================================================================
 * AURA STORE — AUTHENTICATION GLASSMORPHISM DESIGN SYSTEM
 * ====================================================================
 * Ultra-professional, modern, responsive glassmorphism styles
 * with fluid transitions, ambient lighting, and micro-interactions.
 */

:root {
  --auth-bg-deep: #0e171a;
  --auth-bg-gradient: radial-gradient(circle at 50% 0%, #1a292e 0%, #0a1114 100%);
  --auth-card-bg: rgba(22, 34, 38, 0.78);
  --auth-card-border: rgba(224, 252, 252, 0.12);
  --auth-card-border-glow: rgba(94, 234, 212, 0.35);
  --auth-card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  
  --auth-input-bg: rgba(14, 23, 26, 0.65);
  --auth-input-border: rgba(224, 252, 252, 0.14);
  --auth-input-focus-border: #2dd4bf;
  --auth-input-focus-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15), 0 0 16px rgba(45, 212, 191, 0.1);
  
  --auth-primary-btn: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  --auth-primary-btn-hover: linear-gradient(135deg, #2dd4bf 0%, #0f766e 100%);
  --auth-primary-btn-shadow: 0 8px 24px -4px rgba(20, 184, 166, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  
  --auth-secondary-btn: rgba(255, 255, 255, 0.08);
  --auth-secondary-btn-border: rgba(255, 255, 255, 0.14);
  --auth-secondary-btn-hover: rgba(255, 255, 255, 0.14);
  
  --auth-text-main: #f8fafc;
  --auth-text-muted: #94a3b8;
  --auth-text-cyan: #5eead4;
  --auth-error: #f87171;
  --auth-success: #34d399;
}

/* Base Body Styles */
body.auth-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--auth-bg-deep);
  background-image: var(--auth-bg-gradient);
  color: var(--auth-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ====================================================================
   BACKGROUND AMBIENT ORBS & LIGHTING
   ==================================================================== */
.auth-ambient-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
}

.ambient-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.5) 0%, rgba(13, 148, 136, 0.15) 70%, transparent 100%);
  top: -120px;
  left: 10%;
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(37, 99, 235, 0.1) 70%, transparent 100%);
  bottom: -100px;
  right: 10%;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

.ambient-orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, transparent 70%);
  top: 45%;
  left: 60%;
  animation: floatOrb3 15s ease-in-out infinite alternate;
}

/* Subtle Geometric Grid Layer */
.auth-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, -50px) scale(1.15); }
  100% { transform: translate(50px, -30px) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(0.9); opacity: 0.2; }
  50% { transform: translate(40px, -40px) scale(1.1); opacity: 0.35; }
  100% { transform: translate(-30px, 30px) scale(1); opacity: 0.2; }
}

/* ====================================================================
   MAIN AUTH CONTAINER & GLASS CARD
   ==================================================================== */
.auth-viewport {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.auth-viewport-wide {
  max-width: 520px;
}

.auth-glass-card {
  width: 100%;
  background: var(--auth-card-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--auth-card-border);
  box-shadow: var(--auth-card-shadow);
  border-radius: 24px;
  padding: 36px 32px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  animation: cardEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Specular Light Sweep Edge */
.auth-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.6), rgba(255, 255, 255, 0.8), rgba(94, 234, 212, 0.6), transparent);
  animation: topEdgeGlow 8s ease-in-out infinite;
}

@keyframes topEdgeGlow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(50%); }
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ====================================================================
   BRAND HEADER & LOGO
   ==================================================================== */
.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}

.auth-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(224, 252, 252, 0.35);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.35), 0 0 16px rgba(94, 234, 212, 0.25);
  margin-bottom: 14px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-brand-logo-wrap:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 30px -4px rgba(20, 184, 166, 0.4), 0 0 20px rgba(94, 234, 212, 0.35);
}

.auth-brand-logo-wrap img,
.auth-brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.auth-brand-logo-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--auth-text-cyan);
}

.auth-brand-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  background: linear-gradient(135deg, #ffffff 30%, #99f6e4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-brand-subtitle {
  font-size: 13.5px;
  color: var(--auth-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ====================================================================
   FORM ELEMENTS
   ==================================================================== */
.auth-form-group {
  margin-bottom: 20px;
  position: relative;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.auth-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.auth-label.required::after {
  content: ' *';
  color: var(--auth-text-cyan);
}

.auth-link-forgot {
  font-size: 12.5px;
  color: var(--auth-text-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.auth-link-forgot:hover {
  color: #a7f3d0;
  text-shadow: 0 0 8px rgba(94, 234, 212, 0.4);
  text-decoration: underline;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  color: var(--auth-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--auth-input-bg);
  border: 1px solid var(--auth-input-border);
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  color: #ffffff;
  font-family: inherit;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) inset;
}

.auth-input.no-icon {
  padding-left: 14px;
}

.auth-input::placeholder {
  color: rgba(148, 163, 184, 0.55);
}

.auth-input:hover {
  border-color: rgba(224, 252, 252, 0.25);
  background: rgba(18, 30, 34, 0.75);
}

.auth-input:focus {
  border-color: var(--auth-input-focus-border);
  background: rgba(20, 34, 38, 0.85);
  box-shadow: var(--auth-input-focus-shadow);
}

.auth-input:focus + .auth-input-icon,
.auth-input-wrapper:focus-within .auth-input-icon {
  color: var(--auth-text-cyan);
}

.auth-input.is-invalid {
  border-color: var(--auth-error) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
  animation: shakeInput 0.4s ease;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.auth-input-error {
  color: var(--auth-error);
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 5px;
  min-height: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: fadeIn 0.2s ease;
}

.auth-input-help {
  font-size: 11.5px;
  color: var(--auth-text-muted);
  margin-top: 5px;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Password Toggle Button */
.auth-password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--auth-text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.auth-password-toggle:hover {
  color: var(--auth-text-cyan);
  background: rgba(255, 255, 255, 0.05);
}

/* ====================================================================
   BUTTONS
   ==================================================================== */
.auth-btn-primary {
  width: 100%;
  padding: 13px 20px;
  background: var(--auth-primary-btn);
  color: #042f2e;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--auth-primary-btn-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-btn-primary:hover {
  background: var(--auth-primary-btn-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 10px 28px -4px rgba(45, 212, 191, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.auth-btn-primary:active {
  transform: translateY(0.5px) scale(0.985);
}

/* Shimmer Sweep Animation */
.auth-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 80%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.auth-btn-primary:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.auth-btn-primary:disabled,
.auth-btn-primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-btn-secondary {
  padding: 13px 20px;
  background: var(--auth-secondary-btn);
  border: 1px solid var(--auth-secondary-btn-border);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.auth-btn-secondary:hover {
  background: var(--auth-secondary-btn-hover);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.auth-btn-secondary:active {
  transform: translateY(0.5px);
}

/* Button Navigation Grid */
.auth-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 12px;
  margin-top: 24px;
}

/* ====================================================================
   SINGLE LEVEL INDICATOR (INSCRIPTION PROGRESSION)
   Un seul indicateur de niveau ultra-élégant et soigné
   ==================================================================== */
.single-progress-indicator {
  background: rgba(14, 23, 26, 0.7);
  border: 1px solid rgba(224, 252, 252, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) inset;
  position: relative;
  overflow: hidden;
}

.single-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.single-progress-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: var(--auth-text-cyan);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.single-progress-step-pill svg {
  width: 13px;
  height: 13px;
}

.single-progress-percent {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.single-progress-hint {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 10px;
  transition: opacity 0.25s ease;
}

.single-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.single-progress-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, #0d9488 0%, #2dd4bf 70%, #99f6e4 100%);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
  position: relative;
}

.single-progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: #ffffff;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.8;
}

/* ====================================================================
   STEP TRANSITION ANIMATIONS (INSCRIPTION FLUIDE)
   ==================================================================== */
.registration-steps-viewport {
  position: relative;
  width: 100%;
  min-height: 230px;
  overflow: hidden;
}

.registration-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.registration-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.registration-step.slide-in-right {
  animation: stepSlideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.registration-step.slide-in-left {
  animation: stepSlideInLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stepSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes stepSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ====================================================================
   OTP 6-DIGIT INPUTS
   ==================================================================== */
.auth-otp-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 20px 0;
}

.auth-otp-digit {
  width: 48px;
  height: 58px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  background: var(--auth-input-bg);
  border: 1px solid var(--auth-input-border);
  border-radius: 14px;
  color: #ffffff;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25) inset;
  font-variant-numeric: tabular-nums;
}

.auth-otp-digit:hover {
  border-color: rgba(224, 252, 252, 0.3);
}

.auth-otp-digit:focus {
  border-color: var(--auth-input-focus-border);
  background: rgba(20, 34, 38, 0.9);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2), 0 0 16px rgba(45, 212, 191, 0.25);
  transform: translateY(-2px);
}

/* ====================================================================
   FOOTER & SWITCH LINKS
   ==================================================================== */
.auth-card-footer {
  margin-top: 26px;
  text-align: center;
  font-size: 13.5px;
  color: var(--auth-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.auth-card-footer a {
  color: var(--auth-text-cyan);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.auth-card-footer a:hover {
  color: #a7f3d0;
  text-shadow: 0 0 10px rgba(94, 234, 212, 0.4);
  text-decoration: underline;
}

/* Resend Countdown Link */
.auth-resend-link {
  background: none;
  border: none;
  color: var(--auth-text-cyan);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.auth-resend-link:hover {
  color: #a7f3d0;
}

.auth-resend-link:disabled {
  color: var(--auth-text-muted);
  cursor: not-allowed;
  text-decoration: none;
}

/* Badge Notification */
.auth-banner-notice {
  background: rgba(14, 23, 26, 0.7);
  border: 1px solid rgba(224, 252, 252, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-banner-notice svg {
  width: 18px;
  height: 18px;
  color: var(--auth-text-cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ====================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ==================================================================== */
@media (max-width: 640px) {
  .auth-viewport {
    padding: 16px 12px;
  }
  
  .auth-glass-card {
    padding: 28px 20px;
    border-radius: 20px;
  }
  
  .auth-brand-title {
    font-size: 22px;
  }
  
  .auth-otp-row {
    gap: 6px;
  }
  
  .auth-otp-digit {
    width: 42px;
    height: 52px;
    font-size: 20px;
    border-radius: 10px;
  }
  
  .auth-btn-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .ambient-orb-1 {
    width: 340px;
    height: 340px;
  }
  
  .ambient-orb-2 {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 380px) {
  .auth-otp-row {
    gap: 4px;
  }
  
  .auth-otp-digit {
    width: 38px;
    height: 48px;
    font-size: 18px;
    border-radius: 8px;
  }
}

/* ====================================================================
   INDICATEUR DE ROBUSTESSE DU MOT DE PASSE
   ==================================================================== */
.pw-meter {
  --pw-color: rgba(148, 163, 184, 0.28);
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(14, 23, 26, 0.5);
  border: 1px solid var(--auth-input-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pw-meter[data-level="1"] { --pw-color: #ef4444; }
.pw-meter[data-level="2"] { --pw-color: #f97316; }
.pw-meter[data-level="3"] { --pw-color: #eab308; }
.pw-meter[data-level="4"] { --pw-color: #34d399; }
.pw-meter[data-level="5"] { --pw-color: #14b8a6; }

.pw-meter.is-valid {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.07);
}

.pw-meter-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pw-meter-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  flex: 1;
}

.pw-meter-bars span {
  height: 5px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.18);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.pw-meter[data-level="1"] .pw-meter-bars span:nth-child(-n+1),
.pw-meter[data-level="2"] .pw-meter-bars span:nth-child(-n+2),
.pw-meter[data-level="3"] .pw-meter-bars span:nth-child(-n+3),
.pw-meter[data-level="4"] .pw-meter-bars span:nth-child(-n+4),
.pw-meter[data-level="5"] .pw-meter-bars span:nth-child(-n+5) {
  background: var(--pw-color);
  box-shadow: 0 0 8px -1px var(--pw-color);
}

.pw-meter-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--auth-text-muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.pw-meter:not([data-level="0"]) .pw-meter-label {
  color: var(--pw-color);
}

.pw-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 14px;
}

.pw-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--auth-text-muted);
  transition: color 0.25s ease;
}

.pw-rule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.14);
  color: rgba(148, 163, 184, 0.7);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.pw-rule.is-ok {
  color: var(--auth-text-main);
}

.pw-rule.is-ok .pw-rule-icon {
  background: rgba(52, 211, 153, 0.2);
  color: var(--auth-success);
  transform: scale(1.08);
}

.pw-warning {
  margin: 12px 0 0;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.09);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.pw-warning[hidden] { display: none; }

@media (max-width: 480px) {
  .pw-checklist { grid-template-columns: 1fr; }
}
