body:has(#dezplus-paywall-modal) {
  overflow-y: hidden !important;
}

.dezplus-paywall-notice {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 0 0 0;
}

.dezplus-paywall-notice__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dezplus-paywall-notice__container {
  position: relative;
  z-index: 1;
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  box-shadow:
    0 0px 20px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 2rem 1.5rem;

  animation: dez-paywall-pop-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dezplus-paywall-notice__container > * {
  margin-inline: auto;
  width: 100%;
  max-width: 640px;
}

.dezplus-paywall-notice__header {
  margin-bottom: 1rem;
}

.dezplus-paywall-notice__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  margin: 0;
  padding-right: 2rem;
  line-height: 1.3;
}

.dezplus-paywall-notice__body {
  color: #444444;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.dezplus-paywall-notice__benefits-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.dezplus-paywall-notice__benefits-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.dezplus-paywall-notice__benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #228b22;
  font-weight: bold;
}

.dezplus-paywall-notice__footer {
  text-align: center;
}

.button-primary {
  display: block;
  width: 100%;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.button-primary:hover {
  background: #333333;
}

.button-primary:active {
  transform: scale(0.98);
}

.dezplus-paywall-notice__login-prompt {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #666666;
}

.dezplus-paywall-notice__login-prompt a {
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes dez-paywall-pop-in {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
