/* Container principal do modal */
#msp-modal-container {
    position: fixed;
    bottom: 20px;
    /*width: 320px;*/
	width: 400px;
    max-width: 90%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    
     Inicia escondido e fora da tela */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* NOVO: Regras de posicionamento */
#msp-modal-container.position-right {
    right: 20px;
}
#msp-modal-container.position-left {
    left: 20px;
}

/* Classe para mostrar o modal com animação */
#msp-modal-container.msp-modal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Conteúdo interno */
.msp-modal-content {
    padding: 15px;
    position: relative;
}

/* Botão de fechar */
.msp-modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}
.msp-modal-close:hover {
    color: #333;
}

/* Link que envolve tudo */
.msp-modal-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Imagem do post sugerido */
.msp-modal-image img {
	max-width: 100px !important;
    /*width: 80px;
    height: 62px;*/
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Título e texto */
.msp-modal-text-wrapper {
    display: flex;
    flex-direction: column;
}

.msp-modal-text-wrapper .msp-title-prefix {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.msp-modal-text-wrapper .msp-post-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* Responsivo para telas pequenas */
@media (max-width: 480px) {
    #msp-modal-container {
        width: auto;
        left: 10px;
        right: 10px;
    }
}