/* Onboarding specific styles */

/* Form validation styles */
.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.form-control.error {
  border-color: #ef4444 !important;
}

.form-control.error:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25) !important;
}

/* Confirm email page styles */
.display-title {
  font-weight: 800;
  letter-spacing: .2px;
}

.lead-muted {
  color: #5f6368;
}

.link-green {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: underline;
}

/* Main big card */
.onboard-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: calc(var(--card-radius) + .5rem);
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}

.mini-logo {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

/* Section titles */
.eyebrow {
  color: #1C1C1C;
  font-weight: 600;
  font-size: 1.375rem;
  margin-bottom: .25rem;
}

.hero-img {
  border-radius: 1.25rem;
  object-fit: cover;
  width: 100%;
  height: 260px;
}

/* Stepper styles for individual page */
.stepper {
  display: flex;
  align-items: center;
  margin: 0 0 1.25rem 0;
  padding: 0 2.25rem;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  color: #9aa0a6;
  font-weight: 600;
  font-size: .9rem;
}

.last-step {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  color: #9aa0a6;
  font-weight: 600;
  font-size: .9rem;
  width: 1px;
}

.last-step .bar {
  width: 1px;
  height: 2px;
  border-radius: 999px;
  background: #e9ecef;
  position: relative;
}

.step .bar {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #e9ecef;
  position: relative;
}

.step.active .dot {
  background: #b8f28a;
  border: 1px solid #a6e379;
}

.step.active .bar {
  background: linear-gradient(90deg, #b8f28a 0%, #e9ecef 100%);
}

.step.active {
  color: #268226;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e9ecef;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px #fff inset;
}

.step.completed .bar {
  background: linear-gradient(90deg, #7ad14b 0%, #7ad14b 100%);
}

.step.completed .dot {
  background: #7ad14b;
  border: 1px solid #66bd38;
}

.step.completed {
  color: #268226;
}

.step .label {
  margin-top: .25rem;
}

/* Button disabled state */
.btn-continue:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background-color: #6c757d !important;
  border-color: #6c757d !important;
}

.btn-continue:disabled:hover {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  transform: none !important;
}

/* Form validation improvements */
.form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.step-error-message {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero-img {
    height: 200px;
  }
}