/* Auth Pages Styling (Forgot Password, Login) */
.auth-page {
  background: var(--site-bg, #fbfbfb);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}
.auth-container {
  background: var(--site-surface, #fff);
  border: 1px solid var(--site-border, #eaeaea);
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-header i {
  font-size: 3rem;
  color: var(--cv-accent, #d4af37);
  margin-bottom: 1rem;
}
.auth-title {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--site-text, #111);
  margin-bottom: 0.5rem;
}
.auth-subtitle {
  font-size: 0.95rem;
  color: var(--site-text-muted, #666);
  line-height: 1.5;
}

/* Steps Transition */
.auth-step {
  display: none;
  animation: slideIn 0.4s ease forwards;
}
.auth-step.active {
  display: block;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Forms */
.auth-group {
  margin-bottom: 1.5rem;
  text-align: left;
}
.auth-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--site-text, #111);
  font-size: 0.9rem;
}
.auth-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
  background: #fafafa;
}
.auth-input:focus {
  outline: none;
  border-color: var(--cv-accent, #d4af37);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* OTP Specific */
.otp-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.otp-input {
  width: 100%;
  height: 60px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fafafa;
}
.otp-input:focus {
  outline: none;
  border-color: var(--cv-accent, #d4af37);
}

.auth-btn {
  width: 100%;
  padding: 1rem;
  background: var(--site-ink, #111);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.auth-btn:hover {
  background: var(--cv-accent, #d4af37);
}
.auth-btn.loading {
  color: transparent !important;
}
.auth-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-links {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.auth-links a {
  color: var(--site-ink, #111);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}
.auth-links a:hover {
  color: var(--cv-accent, #d4af37);
}
