/* Estilos para o popup */
.wp-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.wp-popup-overlay.active {
    display: flex;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.popup-close {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

/* Animações de entrada */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Aplicar animações baseadas na classe */
.wp-popup-overlay.animation-fade.active {
    animation: fadeIn 0.3s ease-in-out;
}

.wp-popup-overlay.animation-slide.active {
    animation: slideIn 0.4s ease-out;
}

.wp-popup-overlay.animation-zoom.active {
    animation: zoomIn 0.5s ease-in-out;
}

/* Estilo para o corpo quando o popup está aberto */
body.popup-open {
    overflow: hidden;
}