/* ============================================================
   OS Simulator — Auth Pages Shared Styles
   Used by: forgot-password.html, reset-password.html
   ============================================================ */

/* 100% 等同未調整時的 110%（使用者偏好） */
body { zoom: 1.1; }

/* ---------- Card ---------- */
.login-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 16px rgba(0,0,0,0.06),
    0 16px 48px rgba(0,0,0,0.07);
}

/* ---------- Step view transition ---------- */
.step-view {
  display: none;
  animation: fadeSlideIn 0.3s ease forwards;
}
.step-view.active { display: block; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 尊重系統的「減少動態效果」設定：步驟切換的位移與按鈕縮放對前庭敏感的
   使用者是干擾，但狀態本身（哪一步、按鈕按下去了）仍要看得出來。 */
@media (prefers-reduced-motion: reduce) {
  .step-view { animation: none; }
  .step-dot { transition: none; }
  .primary-btn:active { transform: none; }
}

/* ---------- Illustration wrapper ---------- */
.illus-wrap {
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Back link ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #42493e;
  text-decoration: none;
  transition: color 0.18s;
  margin-top: 16px;
}
.back-link:hover { color: #3D6B35; }

/* ---------- Password toggle ---------- */
.pw-wrap { position: relative; }
.pw-wrap .input-field { padding-right: 42px; }
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #8a9186;
  display: flex;
  align-items: center;
}
.pw-toggle:hover { color: #3D6B35; }
