/* Estilos para o Popup */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Acima da maioria dos elementos */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 500px; /* Largura padrão, ajuste conforme necessário */
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center; /* Centraliza conteúdo por padrão */
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.popup-close-btn:hover {
    color: #333;
}

.popup-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.popup-image-link {
    display: block; /* Faz a imagem inteira ser clicável */
    margin-bottom: 15px;
}

.popup-content-text {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: left; /* Alinha o texto à esquerda por padrão */
}

.popup-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Cor primária do Bootstrap */
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.popup-button:hover {
    background-color: #0056b3;
    color: #fff;
}

.popup-button i {
    margin-right: 8px; /* Espaço entre ícone e texto */
}

/* Responsividade */
@media (max-width: 600px) {
    .popup-container {
        width: 90%;
        padding: 20px;
    }

    .popup-content-text {
        font-size: 15px;
    }

    .popup-button {
        font-size: 15px;
        padding: 8px 16px;
    }
}

