body {
  font-family: 'Pretendard', sans-serif;
  background: linear-gradient(135deg, #f8fbf7, #fff);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column; /* ✅ 세로 레이아웃으로 변경 (footer 하단 고정) */
}

/* 중앙 정렬 메인 컨텐츠 래퍼 */
.main-content {
  flex: 1; /* ✅ 남는 공간을 채워 footer를 하단으로 밀어냄 */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4em 0;
  overflow-y: auto;
  box-sizing: border-box;
}

/* ========================
   로그인 컨테이너
======================== */
.login-container {
  width: 100%;
  max-width: 28em;
  background: #fff;
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.08);
  border-radius: 0.9em;
  padding: 2.75em 2.25em;
  box-sizing: border-box;
  margin-top: 3em;
}

h2 {
  text-align: center;
  margin-bottom: 0.5em;
  font-size: 1.7rem;
  font-weight: 600;
}

.subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 2em;
}

/* ========================
   입력 필드
======================== */
form label {
  display: block;
  font-weight: 500;
  margin-top: 1em;
  margin-bottom: 0.4em;
  font-size: 0.9rem;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.75em 1em;
  border: 0.07em solid #ddd;
  border-radius: 0.5em;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

input:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 0 0.15em rgba(76, 175, 80, 0.15);
}

/* ========================
   로그인 버튼
======================== */
.btn-login {
  width: 100%;
  background-color: #6bbf59;
  color: #fff;
  border: none;
  border-radius: 0.5em;
  padding: 0.9em;
  margin-top: 1.5em;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.btn-login:hover {
  background-color: #58a847;
}

/* ========================
   추가 링크
======================== */
.extra-links {
  text-align: center;
  margin-top: 1em;
  font-size: 0.9rem;
}

.extra-links a {
  color: #4caf50;
  text-decoration: none;
}

.extra-links a:hover {
  text-decoration: underline;
}

/* ========================
   소셜 로그인
======================== */
.social-section {
  text-align: center;
  margin-top: 2em;
}

.social-section p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.7em;
}

.btn-social {
  width: 100%;
  border: 0.07em solid #ddd;
  background: #fff;
  padding: 0.8em;
  border-radius: 0.5em;
  font-size: 0.95rem;
  margin-top: 0.6em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social.google:hover {
  background: #f5f5f5;
}

.btn-social.kakao {
  background: #fee500;
  border: none;
}

.btn-social.kakao:hover {
  background: #fddb00;
}

/* ========================
   반응형
======================== */
@media screen and (max-width: 48em) {
  .login-container {
    max-width: 90%;
    padding: 2em 1.5em;
  }
}
