/* 모달 오버레이 (배경) */
.login-modal-overlay {
  display: none; /* 기본적으로 숨김 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 반투명 배경 */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.login-modal-content {
  background: #fff;
    display: inline-flex;
    position: relative;
    padding: 40px 80px 60px 80px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 그림자 효과 */
}

/* 닫기 버튼 */
.login-modal-close-btn {
  position: absolute;
  top: 34px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #333;
}

/* 모달 헤더 */
.login-modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  min-width: 363px;
}

.login-modal-header > h2 {
  margin: 0;
  color: #242424;
  text-align: center;
  font-family: Pretendard;
  font-size: 24px;
  font-style: normal;
  font-weight: bold;
  line-height: 100%; /* 24px */
  letter-spacing: -0.48px;
}

.login-modal-catchphrase {
  min-width: 363px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #FAFAFC;
}

.login-modal-catchphrase > p {
  color: #242424;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.07px;
  margin: 0;
}

.login-modal-divider {
  display: flex; /* Flexbox로 정렬 */
  align-items: center; /* 세로 정렬 */
  justify-content: center; /* 가로 중앙 정렬 */
  width: 100%; /* 부모 너비에 맞춤 */
  margin: 20px 0; /* 위아래 간격 */
}

.login-modal-divider::before,
.login-modal-divider::after {
  content: ""; /* 빈 콘텐츠 */
  flex: 1; /* 남는 공간을 선으로 채움 */
  border-bottom: 1px solid #eee; /* 선 스타일 */
  margin: 0 10px; /* 선과 텍스트 간격 */
}

.login-modal-divider span {
  color: #242424;
  text-align: center;
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 170%; /* 20.4px */
}

.login-modal-form {
  margin-top: 30px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 가운데 정렬 */
  width: 100%;
}

.login-modal-inputbox {
  margin: 10px 0;
}

.login-modal-input {
  padding: 5px;
}

.login-modal-siginin {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 10px;
  display: flex;
  justify-content: right;
}

.login-modal-siginin > span {
  all: unset; 
  color: #333;
  text-decoration: none;
  text-align: right;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.32px;
  cursor: pointer;
}

.login-modal-siginin > span:hover {
  color: #000;
}

.login-modal-email-btn {
  width: 100%;
}

/* 버튼 호버 효과 */
.login-modal-email-btn:hover {
  background-color: #333;
}



/* 소셜 로그인 버튼 */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px; /* 버튼 간격 */
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 65px;
  border-radius: 10px;
  height: 50px;
  border: 1px solid #EEE;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.naver, .kakao, .google {
  background-color: white;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 170%;
  letter-spacing: 0.36px;
}

.naver > svg, .kakao > svg, .google > svg {
  margin-right: 8px;
}

.navertext2, .googletext2, .kakaotext2 {
  color: #242424;
}

.navertext1 {
  color: #00C300;
}

.kakaotext1 {
  color: #FC0;
}

.googletext1 {
  color: #4285F4;
}