/* The sign-in page (ticket #29). VaultPokemon's signin.css, with its colours written out here: this is the one
   stylesheet someone not signed in may fetch, so it stands alone. Light and dark follow the page's own theme. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { color-scheme: light; --bg: #fefcf3; --surface-2: #f5f1df; --border: #e2dcc2; --border-strong: #cfc8a8; --text: #1f2a1f;
  --text-2: #5d6654; --text-3: #8a917e; --warn-bg: rgba(226, 180, 0, .18); --warn: #7a5200; --ok-bg: rgba(22, 101, 52, .14); }
[data-theme="dark"] { color-scheme: dark; --bg: #0c1218; --surface-2: #16202b; --border: #243240; --border-strong: #34475a;
  --text: #eef2f5; --text-2: #a9b6c2; --text-3: #7d8b98; --warn-bg: rgba(226, 180, 0, .16); --warn: #f2c94c; --ok-bg: rgba(76, 219, 110, .14); }
html, body { margin: 0; min-height: 100%; }
body {
  display: flex; align-items: flex-start; justify-content: center; min-height: 100dvh;
  padding: calc(env(safe-area-inset-top, 0px) + 8vh) 16px 24px;
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px; line-height: 1.4;
}
.card {
  width: min(380px, 100%); margin: auto; padding: 32px 28px 24px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
h1 { margin: 6px 0 2px; font-size: 26px; }
.tagline { margin: 0 0 22px; color: var(--text-2); }
.message {
  margin: 0 0 18px; padding: 10px 12px; border-radius: 10px; text-align: left;
  background: var(--warn-bg); color: var(--warn); font-weight: 600;
}
.message.ok { background: var(--ok-bg); color: var(--text); }
.google-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  height: 46px; border-radius: 23px; border: 1px solid #747775; background: #ffffff; color: #1f1f1f;
  font-weight: 600; text-decoration: none; font-family: Roboto, -apple-system, "Segoe UI", sans-serif;
}
.google-btn:hover { background: #f5f5f5; }
.google-btn.off { opacity: 0.5; pointer-events: none; }
[data-theme="dark"] .google-btn { background: #131314; color: #e3e3e3; border-color: #8e918f; }
.dev-btn {
  display: block; margin-top: 12px; padding: 10px; border-radius: 23px; text-decoration: none;
  border: 1px dashed var(--border-strong); color: var(--text-2); font-size: 14px;
}
.fine { margin: 22px 0 0; font-size: 13px; color: var(--text-3); }
