
/* ======================================================
   SV Popup Manager – Frontend Styles (v1.0.3)
   ====================================================== */

/* === Overlay === */
.svpm-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  overflow-y: auto;
  padding: 40px;
  box-sizing: border-box;
}

/* === Popup === */
.svpm-popup {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  padding: 24px;
  box-sizing: border-box;
  overflow: auto;
  border-radius: 6px;
}

/* === Close button (inherits module color) === */
.svpm-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  color: currentColor; /* IMPORTANT: inherit from module setting */
  z-index: 1000000;
}

/* === Informations button === */
.svpm-popup .svpm-button,
.svpm-popup button,
.svpm-popup a.button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 26px;
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.svpm-popup .svpm-button:hover,
.svpm-popup button:hover,
.svpm-popup a.button:hover {
  background: linear-gradient(135deg, #c62828, #b71c1c);
  transform: translateY(-1px);
}
