/* Sign Up Wizard - Premium Modern Design */
/* ================================
   CSS Variables & Theme
   ================================ */
:root {
  /* Primary Colors */
  --wizard-primary: #026bc3;
  --wizard-primary-dark: #004d8c;
  --wizard-primary-light: #19b5c1;
  /* Success / CTA */
  --wizard-success: #45d605;
  --wizard-success-dark: #1a8514;
  /* Neutral Colors */
  --wizard-white: #ffffff;
  --wizard-bg: #f6f8fc;
  --wizard-text: #333333;
  --wizard-text-light: #666666;
  --wizard-text-muted: #999999;
  --wizard-border: #e0e6ed;
  /* Gradients */
  --wizard-gradient-primary: linear-gradient(135deg, #026bc3 0%, #19b5c1 100%);
  --wizard-gradient-success: linear-gradient(135deg, #45d605 0%, #2cb824 100%);
  --wizard-gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgb(255 255 255) 100%);
  /* Shadows */
  --wizard-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --wizard-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --wizard-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --wizard-shadow-glow: 0 0 40px rgba(2, 107, 195, 0.2);
  /* Transitions */
  --wizard-transition-fast: 0.15s ease;
  --wizard-transition: 0.3s ease;
  --wizard-transition-slow: 0.5s ease;
  /* Border Radius */
  --wizard-radius-sm: 8px;
  --wizard-radius-md: 12px;
  --wizard-radius-lg: 16px;
  --wizard-radius-xl: 24px;
}

/* Dark Mode Support */
.dark-mode .sign-up-wizard {
  --wizard-bg: #1a1a2e;
  --wizard-text: #f0f0f0;
  --wizard-text-light: #b0b0b0;
  --wizard-text-muted: #707070;
  --wizard-border: #2a2a4a;
  --wizard-gradient-glass: linear-gradient(135deg, rgba(30, 30, 50, 0.9) 0%, rgba(30, 30, 50, 0.7) 100%);
}

/* ================================
   Main Wizard Container
   ================================ */
.sign-up-wizard {
  font-family: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wizard-container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

.wizard-content {
  background: var(--wizard-gradient-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--wizard-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--wizard-shadow-lg), var(--wizard-shadow-glow);
  padding: 40px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.wizard-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--wizard-gradient-primary);
}

/* Step Animation */
.wizard-step-wrapper {
  animation: wizardFadeIn 0.4s ease forwards;
}

@keyframes wizardFadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* ================================
   Step Indicator
   ================================ */
.wizard-step-indicator {
  position: relative;
  padding: 0 10px;
}

.wizard-progress-track {
  position: absolute;
  top: 50%;
  left: 20px;
  /* Start behind the center of the first circle (half of 40px) */
  right: 20px;
  /* End behind the center of the last circle */
  height: 3px;
  background: var(--wizard-border);
  border-radius: 3px;
  transform: translateY(-50%);
  z-index: 0;
  margin-top: -12px;
  /* Adjust line to align with center of 40px circle (which has label below it) */
}

.wizard-progress-fill {
  height: 100%;
  background: var(--wizard-gradient-primary);
  border-radius: 3px;
  transition: width var(--wizard-transition-slow);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wizard-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wizard-white);
  /* border: 2px solid var(--wizard-border); REMOVED */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--wizard-text-muted);
  transition: all var(--wizard-transition);
  box-shadow: var(--wizard-shadow-sm);
}

.wizard-step.active .wizard-step-circle {
  /* border-color: var(--wizard-primary); REMOVED */
  background: var(--wizard-white);
  border: 2px solid var(--wizard-success);
  /* White background + Green border for active */
  color: var(--wizard-success);
  /* Match text to border */
  box-shadow: 0 0 0 4px rgba(69, 214, 5, 0.2);
  /* Green glow */
  animation: wizardPulse 2s infinite;
}

@keyframes wizardPulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(69, 214, 5, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(69, 214, 5, 0.1);
  }
}
.wizard-step.completed .wizard-step-circle {
  /* border-color: var(--wizard-success); REMOVED */
  background: var(--wizard-success);
  /* Solid color instead of gradient */
  color: var(--wizard-white);
}

.wizard-check-icon {
  width: 18px;
  height: 18px;
}

.wizard-step-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  /* White with transparency for inactive */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--wizard-transition);
}

.wizard-step.active .wizard-step-label {
  color: #ffffff !important;
}

.wizard-step.completed .wizard-step-label {
  color: #ffffff !important;
}

/* ================================
   Step Content
   ================================ */
.wizard-step-content {
  text-align: center;
}

.wizard-step-header {
  margin-bottom: 32px;
}

.wizard-icon-container {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--wizard-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(2, 107, 195, 0.3);
}

.wizard-icon-container.success {
  background: var(--wizard-gradient-success);
  box-shadow: 0 8px 24px rgba(69, 214, 5, 0.3);
}

.wizard-icon {
  width: 32px;
  height: 32px;
  color: var(--wizard-white);
}

.wizard-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--wizard-text);
  margin: 0 0 8px;
  line-height: 1.3;
}

.wizard-subtitle {
  font-size: 15px;
  color: var(--wizard-text-light);
  margin: 0;
  line-height: 1.5;
}

/* ================================
   Google Button
   ================================ */
.wizard-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  background: var(--wizard-white);
  border: 1px solid var(--wizard-border);
  border-radius: var(--wizard-radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--wizard-text);
  cursor: pointer;
  transition: all var(--wizard-transition);
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  /* Lighter, clearer shadow */
}

.wizard-google-btn:hover {
  border-color: var(--wizard-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
  color: var(--wizard-text) !important;
  /* Force text color to remain dark */
  background-color: white;
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* ================================
   Divider
   ================================ */
.wizard-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  gap: 16px;
}

.wizard-divider::before,
.wizard-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--wizard-border);
}

.wizard-divider span {
  font-size: 13px;
  color: var(--wizard-text-light);
  /* Improved contrast */
  text-transform: lowercase;
}

/* ================================
   Form Fields
   ================================ */
.wizard-form-fields {
  text-align: left;
}

.wizard-input-group {
  position: relative;
  margin-bottom: 24px;
  margin-top: 8px;
  /* Add space for potentially floating label */
}

.wizard-input-icon {
  position: absolute;
  left: 16px;
  top: 26px;
  /* Align to center of 52px input, disregarding error message height */
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--wizard-text-muted);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wizard-input-group .input-field {
  margin: 0;
}

.wizard-input-group .input-field input {
  padding-left: 48px !important;
  height: 52px;
  font-size: 15px;
  border: 1px solid var(--wizard-border);
  /* Thinner border */
  border-radius: var(--wizard-radius-md);
  background: var(--wizard-white);
  transition: all var(--wizard-transition);
  width: 100%;
  box-sizing: border-box;
  /* Fix width including padding */
}

.wizard-input-group .input-field input:focus {
  border-color: var(--wizard-primary);
  box-shadow: 0 0 0 4px rgba(2, 107, 195, 0.1);
  outline: none;
}

.wizard-input-group .input-field input.invalid {
  border-color: #F44336;
}

.wizard-input-group .input-field label {
  position: absolute;
  left: 48px;
  top: 26px;
  /* Fixed position relative to top of container, ignoring error message */
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--wizard-text-muted);
  pointer-events: none;
  transition: 0.2s ease all;
}

.wizard-input-group .input-field label.active {
  top: 0;
  transform: translateY(-50%) scale(0.9);
  left: 12px;
  color: var(--wizard-primary);
  background: var(--wizard-white);
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 3;
}

.wizard-input-group .error_message {
  font-size: 12px;
  color: #F44336;
  margin-top: 4px;
  padding-left: 4px;
}

/* ================================
   Password Strength
   ================================ */
.password-strength-container {
  margin-bottom: 20px;
  animation: wizardFadeIn 0.3s ease;
}

.password-strength-bar {
  height: 6px;
  background: var(--wizard-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.password-strength-fill {
  height: 100%;
  border-radius: 3px;
  transition: width var(--wizard-transition), background var(--wizard-transition);
}

.password-strength-fill.weak {
  background: #F44336;
}

.password-strength-fill.medium {
  background: #FF9800;
}

.password-strength-fill.strong {
  background: #8BC34A;
}

.password-strength-fill.very-strong {
  background: var(--wizard-success);
}

.password-strength-label {
  text-align: right;
  margin-bottom: 12px;
}

.strength-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.strength-text.weak {
  color: #F44336;
}

.strength-text.medium {
  color: #FF9800;
}

.strength-text.strong {
  color: #8BC34A;
}

.strength-text.very-strong {
  color: var(--wizard-success-dark);
}

.password-requirements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--wizard-text-light);
  /* Improved contrast */
  transition: color var(--wizard-transition);
}

.requirement.met {
  color: var(--wizard-success-dark);
}

.requirement-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.requirement-icon svg {
  width: 100%;
  height: 100%;
}

.requirement.met .requirement-icon svg {
  stroke: var(--wizard-success);
}

/* ================================
   Buttons
   ================================ */
.wizard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--wizard-radius-md);
  cursor: pointer;
  transition: all var(--wizard-transition);
  text-decoration: none;
}

.wizard-btn-primary {
  width: 100%;
  background: var(--wizard-gradient-primary);
  color: var(--wizard-white);
  box-shadow: 0 4px 16px rgba(2, 107, 195, 0.3);
}

.wizard-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 107, 195, 0.4);
}

.wizard-btn-primary:active {
  transform: translateY(0);
}

.wizard-btn-success {
  flex: 1;
  background: var(--wizard-gradient-success);
  color: var(--wizard-white);
  box-shadow: 0 4px 16px rgba(69, 214, 5, 0.3);
}

.wizard-btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(69, 214, 5, 0.4);
}

.wizard-btn-secondary {
  background: transparent;
  color: var(--wizard-text-light);
  padding: 14px 20px;
}

.wizard-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--wizard-text);
}

.wizard-btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--wizard-transition);
}

.wizard-btn-primary:hover .wizard-btn-arrow {
  transform: translateX(4px);
}

.wizard-btn-secondary:hover .wizard-btn-arrow.back {
  transform: translateX(-4px);
}

.wizard-btn-icon {
  width: 18px;
  height: 18px;
}

.wizard-btn-group {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.wizard-spinner-container {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 14px;
}

/* ================================
   Trust Badges
   ================================ */
.wizard-trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  /* Increased size slightly */
  font-weight: 500;
  /* Added weight */
  color: var(--wizard-text-light);
  /* Darker than muted */
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--wizard-primary);
}

/* ================================
   Account Summary Card
   ================================ */
.account-summary-card {
  background: #ffffff;
  border-radius: var(--wizard-radius-md);
  padding: 10px;
  margin-bottom: 24px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--wizard-border);
}

.summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-item:first-child {
  padding-top: 0;
}

.summary-icon {
  width: 30px;
  height: 40px;
  border-radius: 10px;
  background: var(--wizard-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-icon svg {
  width: 20px;
  height: 20px;
  color: var(--wizard-primary);
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.summary-label {
  font-size: 12px;
  color: var(--wizard-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--wizard-text);
  word-break: break-all;
}

.summary-value.password {
  letter-spacing: 3px;
}

/* ================================
   Checkboxes
   ================================ */
.wizard-checkboxes {
  text-align: left;
}

.wizard-checkbox-item {
  margin-bottom: 16px;
}

.wizard-checkbox-item label {
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wizard-text-light);
}

.wizard-checkbox-item input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--wizard-primary);
}

.wizard-checkbox-item a {
  color: var(--wizard-primary);
  text-decoration: none;
}

.wizard-checkbox-item a:hover {
  text-decoration: underline;
}

.wizard-checkbox-item .error_message {
  font-size: 12px;
  color: #F44336;
  margin-top: 8px;
  margin-left: 32px;
}

/* ================================
   Benefits Reminder
   ================================ */
.wizard-benefits-reminder {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--wizard-border);
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--wizard-text-muted);
}

.benefit-item svg {
  width: 14px;
  height: 14px;
  color: var(--wizard-success);
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 600px) {
  .wizard-container {
    padding: 0;
  }
  .wizard-content {
    padding: 28px 15px;
  }
  .wizard-title {
    font-size: 20px;
  }
  .wizard-progress-track {
    left: 40px;
    right: 40px;
  }
  .wizard-step-circle {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .wizard-step-label {
    font-size: 10px;
  }
  .password-requirements {
    grid-template-columns: 1fr;
  }
  .wizard-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .wizard-benefits-reminder {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .wizard-btn-group {
    flex-direction: column-reverse;
  }
  .wizard-btn-secondary {
    width: 100%;
  }
}
/* ================================
   Animations
   ================================ */
@keyframes wizardShake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-6px);
  }
  40%, 80% {
    transform: translateX(6px);
  }
}
.wizard-input-group.error {
  animation: wizardShake 0.4s ease;
}

/* Focus visible styles for accessibility */
.wizard-btn:focus-visible,
.wizard-google-btn:focus-visible {
  outline: 2px solid var(--wizard-primary);
  outline-offset: 2px;
}

/*# sourceMappingURL=sign-up-wizard.css.map */
