.popup-open {
  display: flex;
}

.popup-close {
  display: none !important;
}

.overlay-show {
  display: block;
}

.overlay-hidden {
  display: none !important;
}

.modal-container {
  display: flex;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.50);
  z-index: 100;
}

.modal-container-close {
  display: none;
} 

.modal-search {
  box-sizing: border-box;
  border-radius: 8px;
  width: 550px;
}

@media (max-width: 767.98px) {
  .modal-search {
    width: 320px;
  }
}

.modal {
  margin: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  padding: 79px 58px 30px;
  background-color: #ffffff;
}

@media (max-width: 767.98px) {
  .modal {
    padding: 79px 40px 30px;
  }
}


.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.btn-close {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 4px;
  font-size: 24px;
  margin-top: 1em;
  border: none;
  background-image: url("../img/icon-cross-close.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.btn-close:hover {
  cursor: pointer;
  opacity: 0.8;
}

.btn-close-wrapper {
  padding-top: 22px;
  padding-bottom: 25px;
  width: 320px;
  margin-top: 48px;
}

.modal-close-button {
  border-radius: 4px;
  display: flex;
  position: absolute;
  right: 30px;
  top: 0;
}

@media (max-width: 767.98px) {
  .modal-close-button {
    right: 15px;
    top: -5px;
  }
}

.popup-header {
  margin: 0;
  margin-bottom: 30px;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
  text-transform: uppercase;
  color: #000000;
}

@media (max-width: 767.98px) {
  .popup-header {
    font-size: 18px;
    line-height: 22px;
  }
}

.popup-header-center {
  text-align: center;
}

.popup-comment {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
}


@media (max-width: 767.98px) {
  .popup-comment {
    font-size: 18px;
    line-height: 22px;
  }
}

.common-container-popup {
  margin-top: 1em !important;
  padding-left: 2em;
  padding-right: 2em;
  margin-bottom: 2em;
}

.terms-of-use-popup {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #CACACA;
}

.text-field {
  margin-bottom: 17px;
}

.modal-button {
  width: 434px;
  height: 56px;
  margin-top: 10px;
}

@media (max-width: 767.98px) {
  .modal-button {
    width: 240px;
    height: 52px;
    margin-top: 0;
  }
}