.wpcp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpcp-hidden {
    display: none !important;
}

/* 
 * Corrección visual:
 * Eliminamos el background: #fff; y el box-shadow. 
 * Ahora el contenedor es invisible y delegamos todos los fondos,
 * sombras y bordes a las secciones que armes dentro de Elementor.
 */
.wpcp-popup-content {
    position: relative;
    max-height: 90vh;
    background: transparent; 
}

.wpcp-elementor-container {
    width: 100%;
    height: 100%;
}

.wpcp-close-btn {
    position: absolute;
    top: -16px;
    right: -16px;
    background: #fff;
    color: #333;
    border: 2px solid #333;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 22px;
    line-height: 22px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999999; /* Por encima de todo lo de Elementor */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.wpcp-close-btn:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}
