/* 팝업 스타일링 */
.popup-wrap {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100vh;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: 0.35s ease;
}

.popup-wrap.is_active {
  opacity: 1;
  pointer-events: all;
}

.popup {
  width: 100%;
  max-width: 800px;
  height: 100svh;
  max-height: 100svh;
  overflow-y: auto;
  background-color: #1d56c0;
  background-image: url(../images/background_popup.svg);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: auto 45%;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  padding: 5svh 4% 70px;
}

.popup_body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-common {
  width: 100%;
  background: #002060;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0 14px;
  height: 48px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
}

.popup > .btn_close {
  position: absolute;
  right: 20px;
  top: 20px;
}

.popup_tit {
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 135%; /* 29.7px */
  letter-spacing: -0.22px;
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
}

.popup_body form {
  width: 100%;
}

.popup_body form .input_box {
  margin-bottom: 15px;
}

.popup_body form .input_box label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #ffffff;
}

.popup_body form .input_box input,
.popup_body form .input_box textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  background-color: #ffffff;
}

.popup_body form .input_box input::placeholder,
.popup_body form .input_box textarea::placeholder {
  color: #a0a0a0;
}

.popup_body form .input_box textarea {
  resize: none;
  height: 100px;
}

.preview-box {
  width: 100%;
  height: 200px;
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 20px;
}

.btn-common.btn_submit {
  position: fixed;
  bottom: 0;
  max-width: 800px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.btn-common.btn_send {
  margin-bottom: 20px;
}

.popup-invite_result .popup {
  justify-content: center;
}

.popup-invite_result .popup .popup_body > img {
  margin-bottom: 20px;
}

.popup-invite_result .popup .popup_body > div {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-top: 40px;
}

.popup-invite_result .popup .popup_body > div .btn_close {
  background: #1d56c0;
  width: 30%;
  min-width: 80px;
}
