.login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  flex-direction: column;
}
.login-wrap .login-logo {
  margin-bottom: 80px;
}
.login-wrap input {
  display: flex;
  width: 100%;
  max-width: 400px;
  padding: 13.5px 10px 13.5px 16px;
  justify-content: space-between;
  font-size: 16px;
  align-items: center;
  border-radius: 8px;
  background: var(--bg, #f6f8fa);
  border: none;
  margin-bottom: 12px;
}
.login-wrap input::placeholder {
  color: var(--placeholder, #c0c0c0);
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.login-wrap button {
  display: flex;
  width: 100%;
  max-width: 400px;
  padding: 13.5px 10px 13.5px 16px;
  justify-content: center;
  align-items: center;
  gap: 117px;
  border-radius: 8px;
  background: #F0A532;
  color: var(--white, #fff);
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 40px;
}
.login-wrap .join-text {
  color: var(--gray, #737881);
  text-align: center;
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 40px;
}
.login-wrap .join-text a {
  color: var(--blue, #4386ff);
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.login-wrap .join-text a:hover {
  text-decoration: underline;
}
.login-wrap .id-pw-search {
  display: flex;
  align-items: center;
  gap: 32px;
}
.login-wrap .id-pw-search a {
  color: var(--gray, #737881);
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
@media all and (max-width: 767px) {
  .login-logo img {
    width: 140px;
  }
}
@media all and (max-width: 360px) {
  .login-wrap .join-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

/*비밀번호 찾기 모달창*/
/* 모달 배경 */
#modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* 모달 콘텐츠 박스 */
#modal-box {
  background-color: #fff;
  margin: 22% auto;
  padding: 30px 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 400px;
  height: 250px; /* ✅ 세로 길이 늘림 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ✅ 버튼을 아래로 배치 */
}

/* 메시지 */
#modal-message {
  margin: 20px 15px 0px 15px;
  font-size: 18px;
  color: #333;
}

/* 닫기 버튼 */
#modal-box button {
  padding: 10px 24px;
  background-color: #4386ff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 10px; /* ✅ 아래쪽 여백 추가 */
}

#modal-box button:hover {
  background-color: #4386ff;
}

/* 등장 애니메이션 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
