#popup-contact {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #04132b;
  box-shadow: 0 24px 64px 0 rgba(0, 0, 0, 0.5);
  max-width: 564px;
  padding: 44px 48px;
  width: 100%;
}

#popup-contact .modal-content .wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.wrap-popup .modal-content h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.42px;
  padding-bottom: 10px;
}
.wrap-popup .modal-content .desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.wrap-popup .modal-content .label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 8px;
}
.wrap-popup .modal-content .item input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000618;
  padding: 13px 16px;
  width: 100%;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  color: rgb(255 255 255 / 92%);
}
.wrap-popup .modal-content .item input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.wrap-popup .modal-content .wrap-item .list {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wrap-popup .modal-content .wrap-item .list .item {
  flex: 1;
}
.wrap-popup .modal-content .wrap-item .list .item button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 11px 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  background: #04132b;
  cursor: pointer;
}

.wrap-popup .modal-content .policy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wrap-popup .modal-content .policy span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}

.wrap-popup .modal-content .policy input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 0;
  margin: 0;
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

.wrap-popup .modal-content .policy input[type="checkbox"]:checked {
  background: #1ac9f0;
  border-color: #1ac9f0;
}

.wrap-popup .modal-content .policy input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#popup-contact .btn-submit-contact {
  width: 100%;
}

.form-error {
  color: #ff4d4f;
  background: rgba(255, 77, 79, 0.1);
  border: 1px solid rgba(255, 77, 79, 0.2);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
}
@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 567px) {
  #popup-contact {
    padding: 25px 20px;
  }
  .wrap-popup .modal-content .wrap-item .list {
    flex-wrap: wrap;
  }
}
