.pls-popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 99999;
}

.pls-popup-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.pls-popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transform: translateY(-10px) scale(.98);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s;
  opacity: 0;
  max-height: 85vh;
  overflow: auto;
}

.pls-popup-overlay.active .pls-popup-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pls-popup-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #444;
}

.pls-popup-body {
  margin-top: 6px;
}

/* Prevent page scroll when popup open (body class added by JS) */
body.pls-popup-open {
  overflow: hidden;
}
