/* ===========================
   Auth Pages — Minimal Centered
   =========================== */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-color);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 576px) {
  .auth-card {
    padding: 32px 24px;
    border-radius: 20px;
  }
}

/* Header */
.auth-header {
  text-align: center;
  margin-bottom: 36px;
}

.auth-logo {
  height: 36px;
  margin-bottom: 28px;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-color);
}

.auth-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Social / OAuth */
.auth-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .auth-social {
    flex-direction: column;
  }
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: var(--bg-color);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-social:hover {
  background: var(--surface-color);
  border-color: #cbd5e1;
}

.btn-social img {
  width: 18px;
  height: 18px;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #e2e8f0;
}

/* Form Fields */
.auth-card .form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 6px;
}

.auth-card .form-control-modern {
  border-radius: 12px;
  padding: 11px 16px;
  border: 1px solid #e2e8f0;
  background-color: var(--bg-color);
  font-size: 0.925rem;
  transition: var(--transition);
}

.auth-card .form-control-modern:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  outline: none;
}

.auth-card .form-control-modern::placeholder {
  color: #94a3b8;
}

/* Submit Button */
.auth-card .btn-primary-modern {
  border-radius: 12px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Footer */
.auth-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ── OTP Verification ── */
.otp-input-wrapper {
  margin-bottom: 24px;
}

.otp-input {
  letter-spacing: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

.resend-timer {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 16px;
  text-align: center;
}

#countdown {
  font-weight: 700;
  color: var(--primary-color);
  min-width: 20px;
  display: inline-block;
}

.btn-resend-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  cursor: pointer;
}

.btn-resend-link:hover {
  text-decoration: underline;
}

.btn-resend-link:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: none;
}
