/* Frontend popup styles (minimal, clean) */
#swpm-popups-root { position: relative; z-index: 999999; }

.swpm-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 999999;
}

.swpm-modal{
  display:flex;
  flex-direction:column;
  width: min(560px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px 18px;
  padding-top: 44px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.swpm-close{
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  color: #111;
}

.swpm-title{ margin: 0 0 10px; font-size: 18px; }
.swpm-content{ width:100%; flex:1; }
.swpm-cta{
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  text-decoration: none;
  border-radius: 10px;
  background: #111;
  color: #fff;
  text-align: center;
}


.swpm-content{ width:100%; flex:1; }
.swpm-content img{ max-width:100%; width:100%; height:auto; display:block; }

.swpm-clickable{ cursor:pointer; }

@keyframes swpmFadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes swpmSlideUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }
@keyframes swpmSlideDown { from { opacity:0; transform: translateY(-24px); } to { opacity:1; transform: translateY(0); } }
@keyframes swpmZoomIn { from { opacity:0; transform: scale(.96); } to { opacity:1; transform: scale(1); } }

.swpm-anim-none{ animation:none; }
.swpm-anim-fade{ animation: swpmFadeIn .18s ease-out both; }
.swpm-anim-slideup{ animation: swpmSlideUp .22s ease-out both; }
.swpm-anim-slidedown{ animation: swpmSlideDown .22s ease-out both; }
.swpm-anim-zoom{ animation: swpmZoomIn .18s ease-out both; }
