:root {
  color-scheme: light;
  --page: #f4f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5f6d82;
  --border: #d7dfeb;
  --accent: #0f766e;
  --accent-dark: #134e4a;
  --danger: #b42318;
  --shadow: 0 14px 36px rgba(23, 32, 51, 0.08);
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--page);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-wrap {
  width: min(400px, 100%);
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 32px 28px;
  text-align: center;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1 {
  font-size: 22px;
  margin: 0 0 8px;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: #3c4043;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 16px;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.google-btn svg {
  flex-shrink: 0;
}

.microsoft-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: #3c4043;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 16px;
  margin-top: 10px;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.microsoft-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.microsoft-btn svg {
  flex-shrink: 0;
}

.error {
  background: #fef2f1;
  border: 1px solid #f6c6c2;
  border-radius: 8px;
  color: var(--danger);
  font-size: 13px;
  margin-top: 20px;
  padding: 10px 12px;
  text-align: left;
}

.fineprint {
  color: var(--muted);
  font-size: 12px;
  margin-top: 24px;
}

code {
  background: var(--page);
  border-radius: 6px;
  padding: 2px 5px;
}
