.newsletter-popup .modal-dialog {
  margin: 40px auto;
  max-width: 680px;
  width: calc(100% - 30px);
}

.newsletter-popup .modal-content {
  border: 0;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.newsletter-popup__close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  padding: 12px 16px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.newsletter-popup__close:focus,
.newsletter-popup__close:hover {
  color: #f2c84b;
  outline: 2px solid #fff;
  outline-offset: -5px;
}

.newsletter-popup__header {
  background: #052c5a;
  color: #fff;
  padding: 26px 52px 24px 30px;
}

.newsletter-popup__eyebrow {
  color: #f2c84b;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.newsletter-popup__title {
  color: #fff;
  font-size: 32px;
  margin: 0 0 8px;
}

.newsletter-popup__header p {
  font-size: 17px;
  margin: 0;
}

.newsletter-popup__form {
  background: #fff;
  padding: 26px 30px 28px;
}

.newsletter-popup__form label {
  color: #333;
  font-weight: 700;
}

.newsletter-popup__form .form-control {
  border-color: #767676;
  border-radius: 2px;
  height: 42px;
}

.newsletter-popup__form .form-control:focus {
  border-color: #052c5a;
  box-shadow: 0 0 0 2px rgba(5, 44, 90, 0.2);
}

.newsletter-popup__note {
  color: #555;
  font-size: 14px;
  margin: 4px 0 20px;
}

.newsletter-popup__actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.newsletter-popup__actions .btn-primary {
  background: #052c5a;
  border-color: #052c5a;
  min-height: 42px;
}

.newsletter-popup__actions .btn-primary:focus,
.newsletter-popup__actions .btn-primary:hover {
  background: #0a477f;
  border-color: #0a477f;
}

.newsletter-popup__error {
  color: #a71919;
  font-weight: 700;
}

.newsletter-prefill-status {
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .newsletter-popup .modal-dialog {
    margin: 15px auto;
  }

  .newsletter-popup__header,
  .newsletter-popup__form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .newsletter-popup__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .newsletter-popup__actions .btn {
    margin: 0;
    white-space: normal;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-popup.fade,
  .newsletter-popup.fade .modal-dialog {
    transition: none;
  }
}