/* ==========================================================================
   BUGL PAYWALL MODAL STYLING (SCHOON & SPECIFIEK)
   ========================================================================== */

/* Modal Dialog Outer Box */
div.bugel-paywall-modal-dialog {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Container: Flexbox voor perfecte verticale uitlijning */
div.bugel-paywall-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 20px 20px;
}

/* Logo Wrapper: Centrering */
div.bugel-paywall-modal-content div.paywall-modal-logo-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 20px auto;
}

/* Logo Afbeelding: Compact formaat */
div.bugel-paywall-modal-content img.paywall-modal-logo {
  display: block;
  width: 110px;
  max-width: 110px;
  height: auto;
  margin: 0 auto;
}

/* Typografie */
div.bugel-paywall-modal-content h2.paywall-modal-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.4rem;
  color: #111111;
}

div.bugel-paywall-modal-content p.paywall-modal-text {
  text-align: center;
  color: #444444;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 460px;
}

/* Actiecontainer & Knoppen */
div.bugel-paywall-modal-content div.paywall-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

div.bugel-paywall-modal-content div.paywall-actions a.button,
div.bugel-paywall-modal-content div.paywall-actions .paywall-modal-btn-primary {
  display: inline-block;
  padding: 10px 24px;
  background-color: #4a1525; /* Paars/Bruine achtergrondkleur */
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
  border: none;
}

div.bugel-paywall-modal-content div.paywall-actions a.button:hover,
div.bugel-paywall-modal-content div.paywall-actions .paywall-modal-btn-primary:hover {
  background-color: #330e19; /* Subtiel donkerdere tint bij hover */
  color: #ffffff;
}

/* Verberg de sluitknop (het kruisje) van de paywall modal */
.ui-dialog-titlebar-close,
.paywall-modal .close,
.ui-dialog-titlebar .ui-button {
  display: none !important;
}

/* Zorg dat de titelbalk geen sluitruimte overlaat */
.ui-dialog-titlebar {
  padding-right: 1em !important;
}

/* Blokkeer het wegklikken op de achtergrond (overlay) */
.ui-widget-overlay {
  opacity: 0.6 !important;
  pointer-events: auto !important;
}