/* Email Verification & OTP Component */

.verify-step { display: none; }
.verify-step.active { display: block; animation: fadeSlideIn 0.3s ease; }

.verify-header { text-align: center; margin-bottom: 1.25rem; }
.verify-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.verify-header h4 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.verify-header p { font-size: 0.85rem; color: var(--gray); }

/* Email input row */
.verify-input-row { display: flex; gap: 0.75rem; max-width: 440px; margin: 0 auto; }
.verify-email-input {
  flex: 1; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--navy);
  outline: none; transition: border-color 0.2s;
}
.verify-email-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,110,247,0.1); }
.verify-send-btn { white-space: nowrap; }

/* Hint messages */
.verify-hint {
  text-align: center; font-size: 0.8rem; margin-top: 0.75rem; min-height: 1.2rem;
  transition: color 0.2s;
}
.verify-hint.error { color: var(--error); }
.verify-hint.warning { color: var(--warning); }
.verify-hint.success { color: var(--success); }

/* OTP code digits */
.verify-code-inputs {
  display: flex; justify-content: center; gap: 0.5rem;
  margin: 0 auto; max-width: 320px;
}
.verify-code-digit {
  width: 48px; height: 56px;
  text-align: center; font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  color: var(--navy); outline: none;
  transition: border-color 0.2s;
}
.verify-code-digit:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.1);
}

/* Resend */
.verify-actions {
  text-align: center; margin-top: 1rem;
  font-size: 0.85rem; color: var(--gray);
}
.verify-resend {
  background: none; border: none; color: var(--accent);
  font-family: var(--font-body); font-size: 0.85rem;
  cursor: pointer; font-weight: 500;
  transition: opacity 0.2s;
}
.verify-resend:hover { text-decoration: underline; }
.verify-resend:disabled { cursor: not-allowed; }
.verify-timer { margin-left: 0.5rem; color: var(--gray-muted); }

/* Verified badge */
.verify-done-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(22,163,74,0.1); color: var(--success);
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600;
  padding: 0.5rem 1.25rem; border-radius: 100px;
  border: 1px solid rgba(22,163,74,0.2);
}

/* Wrap in capture form */
.sb-capture .verify-step { margin-bottom: 1.5rem; }
.sb-capture .verify-header h4 { font-size: 1rem; }

@media (max-width: 480px) {
  .verify-input-row { flex-direction: column; }
  .verify-code-digit { width: 40px; height: 48px; font-size: 1.2rem; }
}
