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

* { box-sizing: border-box; }

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

.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.97);
  box-shadow: 0 24px 64px rgba(154, 52, 18, 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: #ea580c; font-size: 16px; font-weight: 700; }
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: #9a3412;
  background: #fff7ed;
  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(234, 88, 12, 0.35); outline-offset: 2px; }
