/* 레이아웃 확인용 (dev 적용 시 삭제 필요) */
* {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* 로그인/회원가입 모달 */
.modal-login-overlay {
  /* position: fixed; */
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.modal-login {
  /* position: fixed; */
  display: flex;
  flex-direction: column;
  /* top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  width: 460px;
  min-height: 450px;
  max-height: 770px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  gap: 40px;
  padding: 30px 40px 40px 40px;
  border-radius: 16px;
  z-index: 1000;
}

.modal-login--s {
  min-height: unset;
  max-height: unset;
}

.modal-login__tabs {
  display: flex;
  border-bottom: 1px solid #d1d1d1;
}

.modal-login__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 56px;
  font-size: 18px;
  cursor: pointer;
}

.modal-login__tab--txt {
  flex: none;
  border-bottom: 2px solid #0099ff;
}

.modal-login__tab.active {
  position: relative;
  font-weight: 500;
}

.modal-login__tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background-color: #0099ff;
}

.modal-login__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-login__error {
  position: absolute;
  top: -20px;
  font-size: 12px;
  color: #ff6d6d;
}

.input-underline-wrapper {
  display: flex;
  position: relative;
  flex-direction: column;
}

.input-underline {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 10px 0;
  font-size: 16px;
  gap: 8px;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
}

.input-underline:focus {
  outline: none;
  border: none;
  border-bottom: 1px solid #ccc;
}

.input-underline > input {
  outline: none;
  border: none;
}

.input-underline__label {
  line-height: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #888888;
}

.input-underline__error {
  position: absolute;
  top: 64px;
  left: 0;
  font-size: 12px;
  color: #ff6d6d;
}

.input-underline__time {
  color: #0099ff;
  font-size: 12px;
}

/* input checkbox */
.input-checkbox-wrapper {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer;
}

.input-checkbox-wrapper input[type="checkbox"]:checked {
  background-color: #0099ff;
  border-color: #0099ff;
}

.input-checkbox-wrapper input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* button */
.modal-login__text-btn {
  font-size: 14px;
  cursor: pointer;
}

.modal-login__btn {
  width: 100%;
  height: 60px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background-color: #0099ff;
}

.modal-login__btn--disabled {
  background-color: #eeeeee;
  cursor: pointer;
}

.modal-login__btn--border {
  background-color: #fff;
  border: 1px solid #d0d5dd;
  color: #344054;
}

.action-btn.verify {
  color: #ffffff;
  background-color: #0099ff;
}

/* utility */
.link-underline {
  color: #0099ff;
  text-decoration: underline;
}
