.elp-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.elp-popup-overlay.elp-popup-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* Responsive popup wrapper with animation */
.elp-popup-wrapper {
    background: #fff;
    width: 70vw;
    max-width: 70vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    transform: scale(0.9) translateY(10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Estado animado al abrir */
.elp-popup-overlay.elp-popup-open .elp-popup-wrapper {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .elp-popup-wrapper {
        width: 95vw;
        max-width: 95vw;
        max-height: 90vh;
        padding: 16px;
        border-radius: 10px;
    }
}

.elp-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.elp-popup-content {
    margin-top: 20px;
}

body.elp-popup-no-scroll {
    overflow: hidden;
}