/*
 * Styles for the pages the Go server renders itself (sign-in, 403). A file
 * rather than an inline <style> so the app can run under `style-src 'self'`,
 * and deliberately small: these pages render before the application bundle.
 */

:root {
  color-scheme: dark;
  --bg: #090c13;
  --bg-glow: #0d1422;
  --surface: #131824;
  --stroke: rgba(255, 255, 255, 0.07);
  --text: #f2f5fa;
  --text-2: rgba(242, 245, 250, 0.62);
  --accent: #4da3ff;
  --accent-soft: #6ee8fa;
  --on-accent: #06121f;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f9;
  --bg-glow: #e6edf8;
  --surface: #ffffff;
  --stroke: rgba(13, 20, 34, 0.09);
  --text: #0d1422;
  --text-2: rgba(13, 20, 34, 0.66);
  --accent: #1667d9;
  --accent-soft: #0e8fb0;
  --on-accent: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 20px;
  background: radial-gradient(900px 500px at 50% -10%, var(--bg-glow), var(--bg));
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

main {
  width: 100%;
  max-width: 400px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 28px 30px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: var(--surface);
  text-align: center;
}

h1 {
  margin: 4px 0 0;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 30px;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--text-2);
}

#providers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
}

.btn {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  color: var(--on-accent);
  font-weight: 650;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
