.popup-master {
  position: relative;
}
.popup-master p {
  margin: 0;
  padding: 0;
}
.popup-master .img-popup-mb {
  display: none;
}
.popup-master_btnclose {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 4px;
  background-color: #fff;
  border-radius: 100px;
  overflow: hidden;
}
.popup-master_btnclose:hover {
  transform: rotate(-90deg);
}
.popup-master_btnclose img {
  width: 32px;
  height: 32px;
}
.popup-master_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.popup-master .modal-dialog {
  width: unset;
  pointer-events: auto;
}
.popup-master .modal-content {
  width: 1000px;
  border-radius: 16px;
}
.popup-master .modal-body {
  padding: 0;
  background-color: unset !important;
}
.popup-master .form-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 48px;
  width: 350px;
  border-radius: 16px;
  overflow: hidden;
}
.popup-master .form-header {
  padding: 20px 24px;
  background-image: linear-gradient(#4147c5, #7161ba);
}
.popup-master .form-header p {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}
.popup-master .input-wrap input {
  width: 100%;
  outline: none;
  border: 0;
  padding: 8px 16px 8px 28px;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  font-size: 16px;
  color: #7161ba;
}
.popup-master .input-wrap input:focus {
  border-bottom: 1px solid #7161ba;
}
.popup-master .input-wrap input::-webkit-input-placeholder {
  font-weight: bold;
  color: grey;
}
.popup-master .form-field {
  padding: 16px 34px 24px 34px;
  background-color: #fff;
}
.popup-master .form-btn {
  background-image: linear-gradient(#4147c5, #7161ba);
  border: 1px solid #fff !important;
  box-shadow: 0 0 0 0 #c7c1e4;
  animation: pulsing-primary-2 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  transition: all 0.3s ease;
  font-weight: bold;
  border-radius: 100px;
  padding: 10px 24px;
  margin-top: 14px;
  color: #fff;
  font-size: 16px;
  width: max-content;
}
.popup-master .form-btn:hover {
  background-image: linear-gradient(#7161ba, #4147c5);
  color: #fff;
}
.popup-master input:focus::-webkit-input-placeholder {
  color: #7161ba;
}
.popup-master .form-field {
  background-color: #fff;
}
.popup-master .img-popup-pc {
  border-radius: 16px;
}
.popup-master .modal-master_wraper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.popup-master .input-wrap {
  margin-bottom: 6px;
  position: relative;
  display: flex;
  align-items: center;
}
.popup-master .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #7161ba;
  font-size: 16px;
  padding-bottom: 6px;
  width: 24px;
  height: 24px;
}
@media screen and (max-width: 1023.98px) {
  .popup-master .img-popup-mb {
    display: block;
  }
  .popup-master .img-popup-pc {
    display: none;
  }
  .popup-master .modal-content {
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  .popup-master .popup-master_wrapper {
    display: flex;
    flex-direction: column;
  }
  .popup-master .form-wrap {
    position: unset;
    transform: unset;
    width: unset;
    margin: 0 14px 14px 14px;
  }
  .popup-master .modal-dialog {
    width: 90%;
  }
  .popup-master_btnclose img {
    width: 24px;
    height: 24px;
  }
  .popup-master_btnclose {
    top: 2px;
    right: 2px;
  }
  .popup-master .form-field {
    padding: 14px;
    background-color: #fff;
  }
  .popup-master .form-header p {
    font-size: 16px;
  }
  .popup-master .form-header {
    padding: 14px;
  }
  .popup-master .input-wrap input, .popup-master .input-wrap input::-webkit-input-placeholder{
    font-size: 16px;
  }
  .popup-master .input-wrap input:focus {
    outline: none;
  }
  .popup-master .form-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  .popup-master .icon {
    padding-bottom: 0;
    margin-top: 2px;
  }
}
