.asn-visibility-hidden {
  visibility: hidden;
}

.asn-callback-form {
  display: flex;
  width: 100%;
  justify-content: center;
}

.asn-callback-form__btn {
  padding: 10px;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
  width: 30%;
  cursor: pointer;
  color: black;
}

.asn-callback-form__btn:hover {
  background-color: #eee;
}

.asn-callback-form__overlay {
  position: fixed;
  background: #000;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  opacity: 0.5;
}

.asn-callback-form__popup {
  position: fixed;
  z-index: 2000;
  width: 25vw;
  min-width: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px 30px;
}

.asn-callback-form__popup h3 {
  text-align: center;
  line-height: 1.3em;
}

.asn-callback-form__popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.asn-callback-form__popup-close:hover {
  opacity: 0.7;
}

.asn-callback-form__popup p {
  padding: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.asn-callback-form__popup form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.asn-callback-form__popup form input[type=email],
.asn-callback-form__popup form input[type=text] {
  padding: 10px;
  width: 100%;
  color: black;
}

.asn-callback-form__popup form button.asn-callback-form__popup-submit-btn {
  padding: 10px;
  background-color: white;
  border: 1px solid black;
  border-radius: 5px;
  width: 30%;
  cursor: pointer;
  color: black;
  min-width: 150px;
}

.asn-callback-form__popup form button.asn-callback-form__popup-submit-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.asn-callback-form__popup form button.asn-callback-form__popup-submit-btn:not(:disabled):hover {
  background-color: #eee;
}

.asn-callback-form__popup form textarea {
  resize: none;
  color: black;
  padding: 10px;
  width: 100%;
  margin-bottom: 0;
}

.asn-callback-form__error-message {
  font-size: 14px;
  color: red;
  border: 1px dotted red;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
}

.asn-callback-form__popup-field--submit {
  display: flex;
  justify-content: center;
}

.asn-callback-form__popup label.privacy_policy_agreement {
  display: flex;
  column-gap: 10px;
  padding-left: 2px;
}

.asn-callback-form__popup label.privacy_policy_agreement span {
  font-size: 14px;
}

.asn-callback-form__success-text {
  height: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 50px;
}

.asn-callback-form__popup-grecaptcha {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform: scale(0.99);
}

@media screen and (max-width: 767px) {
  .asn-callback-form__popup form input[type=email],
  .asn-callback-form__popup form textarea,
  .asn-callback-form__popup form input[type=text] {
    width: 100%;
  }
}
