:root {
  --bg: #f2f7fb;
  --surface: #ffffff;
  --line: #d2e0ec;
  --text: #132238;
  --muted: #5f7188;
  --primary: #297fd0;
  --primary-strong: #1d6ab2;
  --danger: #c23d3d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(820px 420px at 0% -10%, rgba(41, 127, 208, 0.18), transparent 62%),
    radial-gradient(700px 380px at 100% -14%, rgba(24, 164, 197, 0.15), transparent 60%),
    var(--bg);
}

.auth-shell {
  width: min(1080px, calc(100% - 2.2rem));
  margin: 36px auto;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 0.92fr;
}

.auth-panel,
.client-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(20, 42, 70, 0.09);
  padding: 24px;
}

.kicker {
  margin: 0;
  color: #2468aa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
}

.subtle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.google-btn {
  margin-top: 20px;
  width: 100%;
  border: 1px solid #b8cfe3;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #2e91e9);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 12px 14px;
  cursor: pointer;
}

.google-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.status-text {
  margin: 12px 0 0;
  color: #2a6aa6;
  font-size: 14px;
  min-height: 20px;
}

.status-text.error {
  color: var(--danger);
}

.note-box {
  margin-top: 18px;
  border: 1px solid #d6e6f5;
  border-radius: 12px;
  background: #f7fcff;
  padding: 14px;
}

.note-box .title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #2a4d72;
}

.note-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #4f6377;
  line-height: 1.6;
}

.client-panel h2 {
  margin: 0;
  font-size: 22px;
  font-family: "Sora", sans-serif;
}

.client-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #d1deeb;
  background: #f6faff;
  color: #355472;
  font-size: 12px;
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  margin-top: 18px;
  color: #0d5f97;
  font-weight: 800;
  text-decoration: none;
}

.alert {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #f0c6c6;
  border-radius: 10px;
  background: #fff2f2;
  color: #a83b3b;
  font-size: 13px;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
}
