/* ─── AUTH PAGES ─── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 24px 40px;
  position: relative;
}

.auth-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.06), transparent 70%);
  pointer-events: none;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--brand-surface);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  animation: authCardIn 0.4s ease;
}

@keyframes authCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-logo {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}

.auth-card h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 8px;
}

.auth-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.88rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  accent-color: var(--mtn-yellow);
  width: 16px;
  height: 16px;
}

.auth-link {
  color: var(--mtn-yellow);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.auth-link:hover {
  text-decoration: underline;
}

.auth-btn {
  width: 100%;
  padding: 15px;
  background: var(--mtn-yellow);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.auth-btn:hover:not(:disabled) {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.3);
}
.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 4px 0 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--brand-border);
}
.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}
.auth-divider span {
  background: var(--brand-surface);
  padding: 0 10px;
}

.auth-alt-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  margin-bottom: 24px;
}
.auth-alt-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.auth-footer {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ─── PASSWORD EYE TOGGLE ─── */
.input-with-eye {
  position: relative;
}
.input-with-eye .form-input {
  padding-right: 44px;
}
.eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
  padding: 4px;
  transition: var(--transition);
}
.eye-btn:hover {
  color: var(--text-primary);
}

/* ─── PASSWORD STRENGTH ─── */
.password-strength {
  margin-top: 6px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand-border);
  overflow: hidden;
  transition: var(--transition);
}
.password-strength::after {
  content: "";
  display: block;
  height: 100%;
  border-radius: 2px;
  transition: var(--transition);
}
.password-strength.weak::after {
  width: 33%;
  background: #ef4444;
}
.password-strength.medium::after {
  width: 66%;
  background: #f59e0b;
}
.password-strength.strong::after {
  width: 100%;
  background: #22c55e;
}
