.ewpcp-overlay {
  position: fixed;
  inset: auto 20px 20px auto; /* top: auto, right: 20px, bottom: 20px, left: auto */
  z-index: 99999;
  font-family: sans-serif;
  pointer-events: none; /* allow clicks through overlay except popup */
  background: transparent;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}



/* Show popup with fade-in */
.ewpcp-overlay.ewpcp-visible {
  opacity: 1;
  visibility: visible;
}




.ewpcp-box {
  max-width: 380px;
  background: linear-gradient(135deg, #7e1b1b, #490e0e);
  color: #ffffff;
  padding: 20px 24px;
  border-radius: 5px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.ewpcp-box h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: white; /* Title text white */
}

.ewpcp-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 10px;
}

.ewpcp-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}

.ewpcp-btn-outline {
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 5px 10px;
  border-radius: 2px;
  cursor: pointer;
}

.ewpcp-btn-outline:hover {
  background: #d1d1d141;
  color: #d1d1d1;
}

.ewpcp-btn-primary {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 5px 10px;
    border-radius: 2px;
    cursor: pointer;
}

.ewpcp-btn-primary:hover {
    background: #d1d1d1;
    color: #7e1b1b;
}
