.country-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.country-popup.is-open {
  visibility: visible;
  opacity: 1;
}

.country-popup__overlay {
  position: absolute;
  inset: 0;
  background: #000F2EB2;
}

.country-popup__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 550px;
  margin: 20px;
  padding: 25px 30px;
  background: #fff;
  border-radius: 6px;
  box-sizing: border-box;
}

.country-popup__content {
  width: 100%;
}

.country-popup__title {
  margin: 0 0 24px;
  color: #003399;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
}

.country-popup__close {
  position: absolute;
  top: 27px;
  right: 30px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #003399;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.country-popup__close span {
  position: absolute;
  top: 19px;
  left: 6.5px;
  width: 26px;
  height: 1px;
  background: #003399;
}

.country-popup__close span:first-child {
  transform: rotate(45deg);
}

.country-popup__close span:last-child {
  transform: rotate(-45deg);
}

.country-popup__field {
  margin-bottom: 5px;
}

.country-popup__field .form-item {
  margin: 0;
}

.country-popup__field label {
  display: none;
}

select.country-popup__select {
  color: #003399;
  font-size: 16px;
}

.country-popup__continue {
  width: 100%;
  height: 25px;

  padding: 0;

  border: 0;
  border-radius: 15px;

  background: #003399;
  color: #fff;

  font-size: 8px;
  cursor: pointer;
}

.country-popup__continue:hover {
  background: #002f82;
}

.country-popup__description {
  margin-top: 7px;
  color: #003399;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

body.country-popup-open {
  overflow: hidden;
}

@media (max-width: 576px) {
  .country-popup__title {
    font-size: 24px;
    max-width: 80%;
  }
  .country-popup__close {
    width: 30px;
    height: 30px;
  }
  .country-popup__close span {
    top: 14px;
    left: 4.5px;
    width: 18px;
  }
}
