:root {
  --bg: #faf7f2;
  --ink: #2a2622;
  --ink-soft: #6b6360;
  --accent: #b85c3a;
  --accent-soft: #f3e3db;
  --line: #e0d8cf;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px 32px;
  box-shadow: 0 10px 40px rgba(90, 60, 40, 0.08);
  text-align: center;
}

.brand-logo {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto 14px;
}

.login-card h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.tagline {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  word-break: keep-all;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: white;
  border: 1px solid #dadce0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #3c4043;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}

.google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.15);
}

.google-btn[hidden] {
  display: none;
}

.error-box {
  background: #fff1ef;
  border: 1px solid #f0c4bb;
  color: #a33;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
  text-align: left;
}

.notice {
  background: #fff8ee;
  border: 1px solid #f0dcb8;
  color: #8a6520;
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 4px;
  text-align: left;
}

.notice code {
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}

.dev-box {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.dev-label {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: left;
}

.dev-row {
  display: flex;
  gap: 8px;
}

.dev-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.dev-row button {
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.fineprint {
  margin: 26px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
