/* SaaS signup wizard styles — extends login.css variables */
.signup-container {
  max-width: 800px;
  margin: 2rem auto;
}

.signup-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.signup-header {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 2rem 2rem;
  text-align: center;
}

.signup-header i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.signup-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.signup-header p {
  margin: 8px 0 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.signup-body {
  padding: 2.5rem 2rem;
}

.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 6px;
  background: #e9ecef;
  color: #6c757d;
}

.step-dot.completed {
  background: var(--primary-color);
  color: white;
}

.step-dot.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 0 0 4px rgba(68, 114, 196, 0.2);
}

.step-line {
  width: 50px;
  height: 3px;
  background: #dee2e6;
  border-radius: 2px;
}

.step-line.completed {
  background: var(--primary-color);
}

.signup-field {
  margin-bottom: 1.25rem;
}

.signup-field label {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  display: block;
}

.signup-field .form-control,
.signup-field .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 15px 12px 45px;
  font-size: 1rem;
  transition: all 0.3s ease;
  height: calc(3.5rem + 2px);
}

.signup-field .form-control:focus,
.signup-field .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(68, 114, 196, 0.15);
}

.signup-field textarea.form-control {
  height: auto;
  min-height: 100px;
  padding-left: 45px;
  border-radius: 10px;
}

.signup-field .form-select {
  padding-left: 15px;
}

.input-group-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 10;
  font-size: 1.2rem;
  pointer-events: none;
}

.signup-body .form-check {
  margin-bottom: 1rem;
}

.signup-body .form-check-label {
  color: #495057;
  font-size: 0.95rem;
}

.signup-body .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.signup-body .alert {
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
}

.signup-body .invalid-feedback {
  font-size: 0.85rem;
  margin-top: 4px;
}

.btn-signup {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(68, 114, 196, 0.4);
  color: white;
}

.btn-signup-outline {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 24px;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-signup-outline:hover {
  background: var(--primary-color);
  color: white;
}

.plan-card {
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  transition: all 0.2s;
  cursor: pointer;
}

.plan-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.plan-card.selected {
  border-color: var(--primary-color);
  border-width: 3px;
}

.plan-card .card-header {
  border-radius: 14px 14px 0 0 !important;
  font-weight: 700;
}

.plan-select-btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 10px;
  transition: all 0.2s;
}

.price-display {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.dv-input {
  max-width: 80px;
  padding-left: 30px !important;
  font-size: 1rem;
  text-align: center;
}

.dv-input::placeholder {
  font-size: 0.85rem;
}

.signup-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.signup-step-actions .btn-signup-outline {
  margin-right: auto;
}

.signup-step-actions .btn-signup-action {
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 20px;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .signup-container {
    padding: 10px;
  }

  .signup-header {
    padding: 1.5rem 1rem;
  }

  .signup-body {
    padding: 1.5rem 1rem;
  }
}
