/* Auth pages — login, register, forgot/reset password, verify email */

.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg-body);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.auth-card--centered {
  text-align: center;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(242,100,25,0.08), rgba(242,100,25,0.02));
  border: 1.5px solid rgba(242,100,25,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.auth-card--centered .auth-logo-ring {
  margin-bottom: 24px;
}

.auth-logo-ring svg {
  width: 28px;
  height: 22px;
}

.auth-logo-ring polygon {
  fill: var(--flame);
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.auth-card--centered .auth-title {
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.auth-card--centered .auth-subtitle {
  margin-bottom: 28px;
}

/* Form */

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.auth-field-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.auth-field-footer a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.auth-field-footer a:hover {
  color: var(--flame);
}

.auth-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.auth-links {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-links a {
  color: var(--flame);
  font-weight: 600;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* Alerts */

.auth-alert {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  display: none;
}

.auth-alert--warning {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #92400E;
}

.auth-alert--success {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #166534;
}

/* Resend verification */

.auth-resend-section {
  display: none;
  text-align: center;
}

.auth-resend-section p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Success state */

.auth-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.auth-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #F0FDF4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #16A34A;
  font-size: 28px;
}

.auth-success h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-success p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Result icons (verify-email) */

.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.result-icon--success {
  background: #F0FDF4;
  color: #16A34A;
}

.result-icon--error {
  background: #FEF2F2;
  color: #DC2626;
}

/* Responsive */

@media (max-width: 480px) {
  .auth-card {
    padding: 32px 24px;
  }
}
