/* ==========================================================================
   ANIX ONE - PREMIUM ONBOARDING GUIDE & WELCOME ENGINE (NO EMOJIS, PURE SVG)
   ========================================================================== */

.anix-guide-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.anix-guide-modal-overlay.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.anix-guide-modal-card {
  position: relative !important;
  width: 100% !important;
  max-width: 480px !important;
  background: #0d0e12 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  padding: 28px 24px 24px !important;
  box-sizing: border-box !important;
  color: #f4f4f5 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden !important;
}

.anix-guide-modal-overlay.open .anix-guide-modal-card {
  transform: translateY(0) scale(1) !important;
}

/* Close Button */
.anix-guide-close-btn {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #a1a1aa !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  z-index: 10 !important;
}
.anix-guide-close-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  transform: scale(1.05);
}

/* Header & Progress */
.anix-guide-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 22px !important;
  padding-right: 40px !important;
}

.anix-guide-progress-bar {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex: 1 !important;
  max-width: 220px !important;
}

.anix-guide-segment {
  height: 4px !important;
  flex: 1 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.anix-guide-segment.active {
  background: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6) !important;
}

.anix-guide-segment.passed {
  background: rgba(56, 189, 248, 0.45) !important;
}

.anix-guide-step-tag {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #71717a !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin-left: 10px !important;
}

.anix-guide-skip-btn {
  background: none !important;
  border: 0 !important;
  color: #71717a !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  transition: color 0.15s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.anix-guide-skip-btn:hover {
  color: #e4e4e7 !important;
}

/* Slides */
.anix-slide {
  display: none;
  animation: anixSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.anix-slide.active {
  display: block !important;
}

@keyframes anixSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.anix-slide-hero {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto 16px !important;
  position: relative !important;
}

.anix-svg-badge {
  width: 72px !important;
  height: 72px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
}

.anix-svg-glow {
  position: absolute !important;
  inset: -6px !important;
  border-radius: 24px !important;
  filter: blur(14px) !important;
  opacity: 0.3 !important;
  z-index: -1 !important;
}

.anix-slide h2 {
  font-size: 21px !important;
  font-weight: 750 !important;
  color: #ffffff !important;
  margin: 0 0 6px !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
}

.anix-guide-desc {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #a1a1aa !important;
  text-align: center !important;
  margin: 0 auto 18px !important;
  max-width: 380px !important;
}

/* Feature cards & checklist inside slides */
.anix-guide-card-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  margin-bottom: 22px !important;
}

.anix-guide-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: all 0.18s !important;
}
.anix-guide-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.anix-guide-card-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.anix-guide-card-title {
  font-size: 13.5px !important;
  font-weight: 650 !important;
  color: #f4f4f5 !important;
  margin-bottom: 2px !important;
}

.anix-guide-card-sub {
  font-size: 11.5px !important;
  color: #71717a !important;
  line-height: 1.35 !important;
}

/* Switch items (Consent & Policy) */
.anix-guide-consent-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 22px !important;
}

.anix-guide-consent-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px !important;
  padding: 13px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  cursor: pointer !important;
  user-select: none !important;
}

.anix-guide-consent-text {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #e4e4e7 !important;
}
.anix-guide-consent-text a {
  color: #38bdf8 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.anix-guide-consent-text a:hover {
  text-decoration: underline !important;
}
.anix-guide-consent-sub {
  font-size: 11px !important;
  color: #71717a !important;
  margin-top: 2px !important;
}

/* Custom Switch Toggle */
.anix-ui-switch {
  width: 42px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  flex-shrink: 0 !important;
  transition: background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.anix-ui-switch.on {
  background: #38bdf8 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
}
.anix-ui-switch-thumb {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
.anix-ui-switch.on .anix-ui-switch-thumb {
  transform: translateX(18px) !important;
}

/* Error/Warning box */
.anix-guide-warn {
  font-size: 12px !important;
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  margin-bottom: 14px !important;
  display: none;
  text-align: center !important;
}

/* Navigation Buttons */
.anix-guide-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-top: 6px !important;
}

.anix-guide-btn-prev {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e4e4e7 !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.15s !important;
}
.anix-guide-btn-prev:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.anix-guide-btn-next {
  background: #ffffff !important;
  border: 0 !important;
  color: #09090b !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  padding: 11px 24px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: auto !important;
  transition: all 0.15s !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15) !important;
}
.anix-guide-btn-next:hover {
  background: #f4f4f5 !important;
  transform: translateY(-1px) !important;
}

.anix-guide-btn-finish {
  width: 100% !important;
  justify-content: center !important;
  padding: 13px 20px !important;
  font-size: 14px !important;
  background: #38bdf8 !important;
  color: #09090b !important;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35) !important;
}
.anix-guide-btn-finish:hover {
  background: #7dd3fc !important;
}

/* Welcome Back Modal for Existing Users */
.anix-welcome-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.anix-welcome-modal-overlay.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.anix-welcome-card {
  width: 100% !important;
  max-width: 420px !important;
  background: #0d0e12 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 22px !important;
  padding: 32px 24px 26px !important;
  text-align: center !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9) !important;
  color: #fff !important;
}
