.top-banner {
  width: 100%;
  height: 240px;
  padding: 24px 18px 0;
  overflow: hidden;
}

.top-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.login-section {
  padding: 28px 35px 30px;
  display: flex;
  flex-direction: column;
}

.logo-title {
  margin-bottom: 4px;
  color: #111;
  font-size: 38px;
  font-weight: bold;
  text-align: center;
}

.logo-sub {
  margin-bottom: 24px;
  color: #777;
  font-size: 15px;
  text-align: center;
}

.login-input {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  padding: 0 15px;
  border: 1px solid #d6b29d;
  border-radius: 18px;
  outline: none;
  background: #e9cebc;
  color: #161515;
  font-size: 15px;
}

.login-input::placeholder {
  color: #8b7b72;
}

.check-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  color: #666;
  font-size: 14px;
}

.check-wrap input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.login-btn {
  width: 100%;
  height: 50px;
  margin-top: 12px;
  border: none;
  border-radius: 20px;
  background: #111;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.15s;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.login-btn:active {
  transform: scale(0.96);
  opacity: 0.8;
}

.bottom-links {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 18px;
}

.text-btn {
  display: inline-block;
  border: none;
  background: none;
  color: #242222;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s;
}

.text-btn:active {
  transform: scale(0.92);
  opacity: 0.6;
}

.divider {
  margin: 8px 0 4px;
  color: #070707;
  font-size: 15px;
  text-align: center;
}

.social-login-box {
  width: 100%;
}

.google-login-btn,
.kakao-login-btn,
.naver-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  margin-top: 12px;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.google-login-btn:active,
.kakao-login-btn:active,
.naver-login-btn:active {
  transform: scale(0.96);
  opacity: 0.8;
}

.google-login-btn {
  border: 1px solid #ddd;
  background: white;
  color: #222;
}

.kakao-login-btn {
  background: #fee500;
  color: #191919;
}

.naver-login-btn {
  background: #03c75a;
  color: white;
}

.google-icon,
.kakao-icon,
.naver-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.login-form-messages {
  margin: 8px 2px 12px;
}

.login-form-message {
  margin: 0;
  color: #c62828;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 22px;
  font-size: 12px;
}

.legal-links a {
  color: #6b625d;
  text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: #6d28d9;
  text-decoration: underline;
}
