/* Newsletters page styles */

.newsletter-list-card {
  border-radius: 26px;
  padding: 1.4rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(24, 43, 77, 0.06);
  height: 100%;
}

.pdf-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: #7050a0;
  font-size: 0.78rem;
  font-weight: 900;
}

/* Newsletter PDF modal */

.newsletter-pdf-modal .modal-dialog {
  max-width: min(1180px, calc(100vw - 48px));
}

.newsletter-pdf-modal .modal-content {
  height: calc(100vh - 70px);
  border-radius: 24px;
  overflow: hidden;
}

.newsletter-pdf-modal .modal-header {
  min-height: 58px;
  padding: 0.85rem 1.1rem;
}

.newsletter-pdf-modal .modal-body {
  height: calc(100vh - 128px);
  padding: 0;
  background: #202124;
}

.pdf-viewer-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #202124;
}

@media (max-width: 991px) {
  .newsletter-pdf-modal .modal-dialog {
    max-width: 100%;
    margin: 0;
  }

  .newsletter-pdf-modal .modal-content {
    height: 100vh;
    border-radius: 0;
  }

  .newsletter-pdf-modal .modal-body {
    height: calc(100vh - 58px);
  }
}
