body {
  min-height: 100vh;
  background: #edf1ef;
}

.login-page {
  display: flex;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 22px 30px;
  flex-direction: column;
  background: #fbfcfb;
}

.login-back {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -8px;
  color: #26352e;
  font-size: 31px;
  font-weight: 300;
}

.login-intro {
  margin-top: 64px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
}

.auth-brand img {
  display: block;
  width: 184px;
  height: 54px;
  object-fit: contain;
}

.login-intro h1 {
  margin: 15px 0 14px;
  color: #17251f;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -.055em;
}

.login-intro p {
  margin: 0;
  color: #849089;
  font-size: 13px;
  line-height: 1.75;
}

.login-actions {
  margin-top: auto;
}

.kakao-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  background: #fee500;
  color: #191600;
  font-size: 14px;
  font-weight: 750;
}

.kakao-login svg,
.google-login svg {
  width: 20px;
  height: 20px;
}

.kakao-login svg {
  fill: currentColor;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0;
  color: #a4aca8;
  font-size: 9px;
}

.login-divider::before,
.login-divider::after {
  height: 1px;
  flex: 1;
  background: #e7ebe9;
  content: "";
}

.google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 54px;
  border: 1px solid #dde3df;
  border-radius: 14px;
  background: #fff;
  color: #27332d;
  font-size: 14px;
  font-weight: 700;
}

.kakao-login:disabled,
.google-login:disabled {
  cursor: wait;
  opacity: .58;
}

.login-note {
  margin: 14px 0 0;
  color: #9aa29e;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.legacy-google-login {
  display: block;
  margin: 10px auto 0;
  padding: 7px 10px;
  color: #8a948f;
  font-size: 9px;
  font-weight: 650;
  text-decoration: none;
}

.signup-link {
  margin: 18px 0 0;
  color: #7f8984;
  font-size: 11px;
  text-align: center;
}

.signup-link a {
  margin-left: 4px;
  color: #246d50;
  font-weight: 800;
  text-decoration: none;
}

.login-footer {
  display: flex;
  justify-content: center;
  gap: 17px;
  margin-top: 34px;
}

.login-footer a {
  color: #98a19c;
  font-size: 10px;
  text-decoration: none;
}

.login-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  padding: 11px 15px;
  transform: translate(-50%, 12px);
  border-radius: 12px;
  background: #1e2a24;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
}

.login-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
