/* --- ESTILOS DO OVERLAY (TELA CHEIA) --- */
#mpp-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    z-index: 99999999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20vh; /* Espaçamento vertical entre publicidade e mensagem */
    padding-top: 10vh; /* Adiciona margem superior para descer a publicidade */
}

.mpp-modal-content {
    position: relative;
    width: auto;
    height: auto;
    background-color: #000;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpp-modal-content a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

/* Ajuste para imagens e vídeos manterem proporções */
.mpp-modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.mpp-modal-content video,
.mpp-modal-content iframe {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.mpp-pro-link-container {
    margin-top: auto; /* Empurra a mensagem para o fundo */
    text-align: center;
    padding-bottom: 120px; /* Espaçamento adicional na parte inferior */
}

.mpp-pro-link {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background-color: #46b450;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color .3s;
}

.mpp-pro-link:hover {
    background-color: #3aa341;
    color: #fff;
    text-decoration: none;
}

#mpp-close-trigger {
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .3s;
    font-family: Arial, sans-serif;
}

#mpp-close-trigger:disabled {
    cursor: not-allowed;
    color: #aaa;
    border-color: #777;
}

#mpp-close-trigger:not(:disabled):hover {
    background-color: #e50914;
    border-color: #e50914;
}

/* --- ESTILOS DO SHORTCODE --- */
.mpp-shortcode-container {
    margin: 20px 0;
    line-height: 0;
}

.mpp-shortcode-container img {
    max-width: 100%;
    max-height: 100%;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: opacity .3s ease-in-out;
}