:root {
  color-scheme: light;
  font-family: "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
  color: #172033;
  background: #edf3fb;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.15), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(14, 165, 233, 0.13), transparent 34%),
    #edf3fb;
}

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

.auth-card {
  width: min(100%, 440px);
  padding: 34px 30px 28px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 64px rgba(30, 64, 175, 0.14);
  text-align: center;
}

.brand-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.brand-logo {
  width: 84px;
  height: 84px;
  display: block;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.3;
}

.description {
  margin: 14px 0 20px;
  color: #526077;
  font-size: 14px;
  line-height: 1.7;
}

.status {
  min-height: 44px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border-radius: 11px;
  color: #1e40af;
  background: #eff6ff;
  font-size: 13px;
  line-height: 1.55;
}

.status.error {
  color: #b91c1c;
  background: #fef2f2;
}

.google-button {
  min-height: 44px;
  display: flex;
  justify-content: center;
}

.cancel-button {
  width: 100%;
  margin-top: 14px;
  padding: 11px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  color: #334155;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cancel-button:hover {
  background: #f8fafc;
}

.cancel-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.privacy-note {
  margin: 18px 0 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.6;
}
