/* Auth pages styled to match provided PNG comps */

:root {
  --bg: #ffffff;
  --card-bg: #eef0f6;
  --card-border: #8a8a8a;
  --text: #111111;
  --muted: #5b5b5b;
  --link: #2a74ff;
  --input-bg: #f4f6fb;
  --input-border: #808080;
  --primary: #aeb3ff;
  --primary-border: #6366b6;
  --shadow: rgba(0, 0, 0, 0.15);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  min-height: 100%;
  padding: 28px 24px 40px;
  position: relative;
}

.brand {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.center {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
}

.card {
  width: min(420px, 92vw);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 48px 46px 38px;
}

.title {
  font-size: 44px;
  line-height: 1.05;
  margin: 0;
  text-align: center;
  font-weight: 500;
}

.subtitle {
  margin: 10px 0 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: 18px;
  margin-top: 6px;
}

.input {
  height: 52px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  padding: 0 14px;
  font-size: 24px;
  outline: none;
}

.primary {
  margin: 18px auto 10px;
  display: block;
  width: 190px;
  height: 56px;
  background: var(--primary);
  border: 1px solid var(--primary-border);
  font-size: 30px;
  cursor: pointer;
}

.divider {
  width: 100%;
  height: 3px;
  background: #111;
  margin: 14px 0 18px;
  box-shadow: 0 1px 0 var(--shadow);
}

.oauth {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.oauth-btn {
  width: 260px;
  height: 46px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d9d9d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  color: #4a4a4a;
  cursor: pointer;
}

.oauth-btn.small {
  width: 260px;
  height: 40px;
  font-size: 14px;
  color: #111;
}

.oauth-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
}

.oauth-icon.apple {
  width: 14px;
  height: 14px;
}

.footer {
  margin-top: 22px;
  text-align: center;
  font-size: 18px;
}

.footer a {
  color: var(--link);
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

.status {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  min-height: 18px;
}

.status.error { color: #b42318; }
.status.success { color: #027a48; }

