.popup {
  height: 100vh;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 100%;
  z-index: 2000;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  background: rgba(0, 8, 84, 0.27);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: none;
}

.popup.active {
  display: block;
}

.popup__body {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 15px 20px;
}

.popup.open {
  opacity: 1;
  pointer-events: all;
}

.popup__content {
  width: 100%;
  max-width: 1110px;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  scale: 0.3;
  transition: scale 0.4s ease;
  background-color: rgb(243, 246, 251);
  box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.1);
}

.popup.open .popup__content {
  scale: 1;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 0;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.4s linear;
  transition: -webkit-transform 0.4s linear;
  transition: transform 0.4s linear;
  transition: transform 0.4s linear, -webkit-transform 0.4s linear;
}

.close-popup:hover {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.popup-review .popup__content {
  padding: 50px;
  max-width: 550px;
  gap: 0;
  color: #363636B2;
  background-color: #ffffff;
}

.popup-review .close-popup {
  top: 24px;
  right: 24px;
}

.popup-review p {
  color: #363636B2;
}

.popup-review__title {
  margin-bottom: 8px;
  width: 100%;
  font-weight: 500;
  font-size: 40px;
  line-height: 110%;
  text-align: center;
  color: #99563D;
}

.popup-review__subtitle {
  margin-bottom: 32px;
  width: 100%;
  text-align: center;
}

.popup-review__note {
  margin-bottom: 25px;
}

.popup-review__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popup-review .btn {
  text-transform: uppercase;
  width: 100%;
  max-width: 100%;
}

.popup-review input,
.select,
.textarea,
.popup-review__rating {
  position: relative;
  padding: 16px 20px;
  border-radius: 5px;
  color: #363636B2;
  background-color: #F3F2F2;
  border: none;
}

.popup-review input::placeholder,
.select::placeholder,
.textarea::placeholder {
  color: #363636B2;
}

.textarea {
  height: 150px;
}

.select {
  position: relative;
  background: #F3F2F2 url("/netcat_template/template/default/img/icons/select.svg") top 20px right 20px no-repeat;
}
.select__open {
  cursor: pointer;
}
.select__dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  padding: 20px 0 20px 20px;
  width: 100%;
  background-color: #F3F2F2;
  border-radius: 5px;
  overflow: hidden;
  display: none;
  opacity: 0;
}

.select__list {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 138px;
  overflow-y: auto;
}

.select__dropdown.opened {
  display: block;
  opacity: 1;
  z-index: 10;
}

.select__item {
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.select__item::before {
  display: none;
}

.select__item:hover {
  color: #3A6CF1;
}

.popup-review__rating p {
  margin-bottom: 0;
}

.popup-review .privacy-policy {
  display: flex;
  gap: 13px;
}

.popup-review .privacy-policy a {
  text-decoration: underline;
  color: #363636;
}

.popup-review__rating {
  display: flex;
  justify-content: space-between;
}

.reviews__stars {
  display: flex;
}

.reviews__stars span {
  width: 20px;
  height: 20px;
  cursor: pointer;
  background: url("/netcat_template/template/default/img/icons/star-empty.svg") center no-repeat;
}

.reviews__stars span.active {
  background: url("/netcat_template/template/default/img/icons/star.svg") center no-repeat;
}