
/* ===========================
   ONBOARDING PAGE
=========================== */

.onboarding-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Brand */
.onboarding-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.onboarding-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-brand h1 {
  font-size: 22px;
  margin: 0;
}

/* Card */
.onboarding-card {
  width: 100%;
  max-width: 520px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

/* Header */
.onboarding-header {
  text-align: center;
  margin-bottom: 24px;
}

.onboarding-header h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

/* Form */
.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Sections */
.onboarding-section h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.onboarding-section label {
  display: block;
  font-size: 14px;
  margin-bottom: 14px;
}

/* Grid */
.onboarding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Checkbox */
.onboarding-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

/* Button */
.onboarding-primary-btn {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: none;
  background: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 600px) {
  .onboarding-card {
    padding: 22px;
  }

  .onboarding-grid {
    grid-template-columns: 1fr;
  }
}

.step {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

.step.active {
  display: block;
}

/* Progress container */
.progress {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0 24px;
}

/* Progress bar */
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #ec4899);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.password-field span {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.password-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 42px; /* space for eye */
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.6;
}

.toggle-password:hover {
  opacity: 1;
}