body {
  color: var(--text-default);
  background: var(--surface-tint);
}

button {
  border: none;
  outline: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.sign_header {
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface-tint);
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: var(--primary);
}

.sign_header button {
  color: var(--primary);
}

.sign_header h1 {
  font-family: "Pretendard", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.sign_contents {
  padding: 60px 0 20px 0;
  align-content: center;
  min-height: calc(100vh - 140px);
}

.sign_contents_box {
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.sign_contents h2 {
  font-family: "Pretendard", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  /* height: 20px; */
}

.sign_box {
  height: fit-content;
}

.sign_box img {
  max-width: 767px;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: none;
}

.sign_up {
  width: 100%;
  align-content: center;
}

.sign_up_box {
  display: grid;
  gap: 20px;
  padding: 40px 0;
}

.sign_up_box input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--text-light);
}

.sign_up_box p {
  height: 20px;
}

.input_wrap .sign_id {
  display: flex;
  gap: 16px;
}

.input_wrap .sign_id input {
  width: calc(100% - 114px);
}

.input_wrap .sign_id button {
  width: 98px;
  height: 43px;
  background-color: var(--surface-bg);
  border: 1px solid var(--text-light);
}

.check_box {
  width: 100%;
  display: flex;
  position: relative;
}

.check_box span {
  padding-left: 10px;
  color: var(--text-light);
}

.check_box button {
  position: absolute;
  right: 0;
  color: var(--primary);
}

.sing_text {
  padding: 0 0 40px 0;
  display: grid;
  gap: 20px;
}

.sign_up_box input::-moz-placeholder {
  text-indent: 10px;
}

.sign_up_box input::placeholder {
  text-indent: 10px;
}

.sing_text .check_box input {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.login_bt {
  width: 100%;
  height: 60px;
  background-color: var(--primary);
  color: var(--surface-bg);
}

.login_box {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
}

.login_box .text {
  width: 160px;
}

.signup_complete {
  width: 100%;
  align-content: center;
}

.signup_complete img {
  height: calc(80% - 60px);
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
}

.input_wrap {
  position: relative;
}

.error_msg {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  color: #ff4d4f;
  line-height: 1;
}

.input_error {
  border: 1px solid #ff4d4f !important;
}

@media (min-width: 768px) {
  .sign_contents {
    display: grid;
    justify-items: center;
    gap: 40px;
  }
  .sign_box {
    display: flex;
  }
  .sign_box > img {
    display: block;
    width: 437px;
    height: 560px;
    /* object-fit: cover; */
  }
  .sign_up_box {
    padding: 0;
  }
  .login {
    display: block;
  }
  .sing_text {
    padding: 10px 0;
    gap: 10px;
    width: 100%;
  }
  .login_bt {
    height: 40px;
  }
  .signup_complete {
    height: 460px;
  }
}
@media (min-width: 1280px) {
  .sign_up {
    width: 535px;
  }
  .sign_header {
    height: 80px;
  }
  .sign_box > img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .sign_box {
    max-width: 1320px;
  }
  .sing_text {
    padding: 40px 0 20px 0;
  }
  .login_bt {
    height: 60px;
  }
  .signup_complete img {
    height: 510px;
  }
}
.sign_modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.sign_modal.active {
  display: flex;
}

.modal_content {
  width: 500px;
  max-width: 90%;
  max-height: 80vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.modal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.modal_body {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
  line-height: 1.8;
}

.modal_body h4 {
  margin: 20px 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.modal_body p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal_body ul {
  margin: 10px 0 15px 20px;
}

.modal_body li {
  line-height: 1.7;
  list-style: disc;
}

.close_btn {
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
}