/* The pages of the links of the emails (/_tyft/enroll) and of the recovery of the access (/_tyft/recover) */
:root {
  --page-bg: #e6ecf5; --card: #fff; --text: #17223b; --muted: #5b6785; --primary: #2c4a86; --primary-text: #fff;
  --border: #d3dbe8; --err: #b3261e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --page-bg: #121a2a; --card: #1b2538; --text: #e6ecf5; --muted: #9aa6c0; --primary: #5ef2ff; --primary-text: #0b1530;
    --border: #2f3c57; --err: #ff8a80; }
}
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--page-bg); color: var(--text);
  font: 16px/1.5 "Nunito", "Segoe UI", system-ui, sans-serif;
  display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 16px; box-sizing: border-box;
}
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 28px 24px; max-width: 440px; width: 100%; box-sizing: border-box; }
h1 { font-size: 1.3rem; margin: 0 0 12px; }
.actions, .form { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
button {
  font: inherit; font-weight: 600; padding: 0.65rem 1.2rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--text);
}
button.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
button:disabled { opacity: 0.6; cursor: default; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #2fa8c4; outline-offset: 2px; }
input { font: inherit; padding: 0.55rem 0.7rem; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text); }
.status { min-height: 1.5em; color: var(--muted); }
.status.err { color: var(--err); }
.back { margin: 16px 0 0; font-size: 0.9rem; }
a { color: inherit; }
