.cbl-popup-newsletter {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

body.cbl-popup-newsletter-open {
  overflow: hidden;
}

.cbl-popup-newsletter.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cbl-popup-newsletter__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 18, 0.72);
  backdrop-filter: blur(2px);
}

.cbl-popup-newsletter__card {
  position: relative;
  width: min(92vw, 920px);
  min-height: 320px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cbl-popup-newsletter__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.cbl-popup-newsletter__content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: min(62%, 560px);
  min-height: inherit;
  padding: 26px 22px 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #101418;
}

.cbl-popup-newsletter__message {
  margin-bottom: 10px;
}

.cbl-popup-newsletter__message p {
  margin: 0 0 8px;
}

.cbl-popup-newsletter__form .form-control {
  border-radius: 6px;
  min-height: 40px;
}

.cbl-popup-newsletter__form .btn,
.cbl-popup-newsletter__form button[type="submit"] {
  border-radius: 6px;
  font-weight: 700;
}

.cbl-popup-newsletter__footer {
  margin-top: 10px;
  text-align: center;
}

.cbl-popup-newsletter__nothanks {
  font-size: 12px;
  color: #5a6470;
  text-decoration: none;
}

.cbl-popup-newsletter__nothanks:hover {
  color: #202a36;
  text-decoration: underline;
}

.cbl-popup-newsletter__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 32, 0.7);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cbl-popup-newsletter__close:hover {
  background: rgba(17, 24, 32, 0.9);
}

@media (max-width: 991px) {
  .cbl-popup-newsletter__content {
    width: min(72%, 560px);
  }
}

@media (max-width: 767px) {
  .cbl-popup-newsletter__card {
    width: min(96vw, 520px);
    min-height: 0;
  }

  .cbl-popup-newsletter__content {
    width: 100%;
    padding: 20px 14px 12px;
    background: rgba(255, 255, 255, 0.94);
  }
}
