.login-page {
  min-height: calc(100vh - 72px); /* 상단 navbar 높이 감안(대략) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 18px;
  background:
    linear-gradient(180deg, #f7faf9 0%, #ffffff 58%),
    #ffffff;
  color: #111827;
  font-family: "Noto Sans KR", sans-serif;
}

.login-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: stretch;
}

.login-primary,
.login-guide {
  border: 1px solid #e7ecea;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.login-primary {
  min-height: 520px;
  padding: 54px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-eyebrow {
  margin-bottom: 26px;
  color: #2f6f62;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.login-brand-logo {
  width: 214px;
  height: auto;
  margin-bottom: 34px;
}

.login-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
}

.login-description {
  max-width: 520px;
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  word-break: keep-all;
}

.login-form {
  width: min(380px, 100%);
  align-self: center;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.login-btn {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  background: #101614;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.login-btn:hover {
  background: #1f2a27;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(0);
}

.login-error {
  min-height: 18px;
  margin-top: 10px;
  color: #dc2626;
  font-size: 13px;
}

.login-footnote {
  margin-top: 18px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.login-guide {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-guide-head {
  margin-bottom: 18px;
}

.login-guide-kicker {
  margin-bottom: 8px;
  color: #2f6f62;
  font-size: 12px;
  font-weight: 800;
}

.login-guide-title {
  margin: 0;
  color: #111827;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  word-break: keep-all;
}

.login-guide-list {
  display: grid;
  gap: 12px;
}

.login-guide-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid #edf1ef;
  border-radius: 12px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.login-guide-card:hover {
  border-color: #b9d7cf;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  color: inherit;
  text-decoration: none;
}

.login-guide-index {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef7f4;
  color: #247060;
  font-size: 13px;
  font-weight: 800;
}

.login-guide-card-title {
  margin-bottom: 6px;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.login-guide-card-desc {
  margin-bottom: 12px;
  color: #5f6b68;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  word-break: keep-all;
}

.login-guide-card-link {
  color: #1f6f5d;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .login-page {
    padding: 30px 14px 42px;
  }

  .login-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .login-primary {
    min-height: auto;
    padding: 36px 24px;
  }

  .login-guide {
    padding: 22px;
  }

  .login-title {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .login-brand-logo {
    width: 188px;
  }

  .login-guide-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
