/* Forgot / reset password — matches admin login (theme.css + login.css) */

.auth-page-body {
  min-height: 100vh;
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.auth-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  height: 72px;
  width: auto;
  margin-bottom: 1.25rem;
}

.auth-header h1 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.auth-form label {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.auth-form .input-group input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
}

.auth-form .input-group input:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
  outline: none;
}

.auth-alert {
  padding: 0.875rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
  display: none;
}

.auth-alert.show {
  display: block;
}

.auth-alert.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

.auth-alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}

.auth-alert.info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1d4ed8;
}

.password-strength {
  margin-top: 0.5rem;
  height: 4px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 0.25s ease, background 0.25s ease;
}

.password-hint {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 0.35rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

.auth-footer a {
  color: var(--accent-red);
  font-weight: 500;
  text-decoration: none;
}

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

.auth-success-panel {
  text-align: center;
}

.auth-success-panel i {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.auth-btn-loading {
  pointer-events: none;
  opacity: 0.85;
}

.auth-btn-loading .fa-spinner {
  margin-right: 0.5rem;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.75rem 1.25rem;
  }

  .auth-header h1 {
    font-size: 1.4rem;
  }
}
