/* Overlay do popup */
.mv-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: mv-popup-fade-in 0.3s ease-out;
}

/* Container do popup */
.mv-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
    animation: mv-popup-scale-in 0.3s ease-out;
}

/* Conteúdo do popup */
.mv-popup-content {
    position: relative;
    text-align: center;
}

/* Imagem do popup */
.mv-popup-image {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* Botão de fechar */
.mv-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000000;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mv-popup-close:hover {
    background-color: #333;
    color: #fff;
    transform: rotate(90deg);
}

.mv-popup-close:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Animações */
@keyframes mv-popup-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mv-popup-scale-in {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .mv-popup-container {
        max-width: 95%;
        padding: 15px;
    }
    
    .mv-popup-close {
        top: -10px;
        right: -10px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    
    .mv-popup-image {
        max-height: 70vh;
    }
}

