/* Signup page - sits on top of auth-forms.css (same shell as login) */

.signup-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

/* h2 inherits .form-container h2 from auth.css - same gradient + margin-top
   as the login title */

.signup-sub {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* OTP code input */
.otp-input {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.6rem;
  padding: 0.9rem 0.75rem 0.9rem 1.35rem;
  font-family: 'Inter', monospace;
}

.otp-input::placeholder {
  color: #d1d5db;
  letter-spacing: 0.6rem;
}

.resend-link {
  background: none;
  border: none;
  padding: 0;
  color: #014421;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.resend-link:disabled {
  color: #999;
  text-decoration: none;
  cursor: default;
}

/* Account type - toggle switch */
.acct-switch {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.acct-switch__label {
  margin: 0;
}

.acct-switch__caption {
  font-size: 0.9rem;
  font-weight: 600;
  color: #014421;
  min-width: 4.5rem;
}

.acct-switch__track {
  flex: 0 0 auto;
  align-self: center;
  position: relative;
  width: 48px;
  height: 26px;
  border: none;
  border-radius: 13px;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.acct-switch__track[aria-checked="true"] {
  background: #014421;
}

.acct-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.acct-switch__track[aria-checked="true"] .acct-switch__thumb {
  transform: translateX(22px);
}

.acct-switch__track:focus-visible {
  outline: 2px solid #014421;
  outline-offset: 2px;
}

/* Inline field errors shown by client-side validation */
.field-error {
  color: #b91c1c;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.input-group input.input-invalid,
.input-group select.input-invalid {
  border-color: #b91c1c;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.12);
}

/* Plan select - matches .input-group inputs */
.plan-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.plan-select:focus {
  border-color: #00ff88;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.25);
}

.field-hint {
  min-height: 1.2em;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.4rem;
}

/* Engineer network link - quieter than the login redirect */
.engineer-link {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #888;
}

.engineer-link a {
  color: #014421;
  text-decoration: none;
  font-weight: 500;
}

.engineer-link a:hover {
  text-decoration: underline;
}
