/* Container da Notificação */
#fsn-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    z-index: 999999;
    max-width: 350px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    pointer-events: none;
}

/* Quando estiver ativo/visível */
#fsn-notification.fsn-show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Imagem do Produto */
#fsn-notification .fsn-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Conteúdo de Texto */
#fsn-notification .fsn-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#fsn-notification .fsn-buyer {
    font-size: 13px;
    color: #555;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

#fsn-notification .fsn-buyer strong {
    color: #111;
    font-weight: 600;
}

#fsn-notification .fsn-product {
    font-size: 14px;
    color: #2271b1; /* Cor que lembra um link ou ação */
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#fsn-notification .fsn-time {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
}

/* Bolinha verde piscando para indicar "agora mesmo" */
#fsn-notification .fsn-time::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10b981; /* Verde vivo */
    border-radius: 50%;
    margin-right: 6px;
    animation: fsn-pulse 2s infinite;
}

@keyframes fsn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    #fsn-notification {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
        padding: 10px 12px;
    }
    #fsn-notification .fsn-image {
        width: 50px;
        height: 50px;
    }
    #fsn-notification .fsn-product {
        font-size: 13px;
    }

    /* Estilo compacto para celular caso a opção esteja ativa */
    #fsn-notification.fsn-mobile-small {
        bottom: 10px;
        left: 10px;
        right: auto;
        max-width: 270px;
        padding: 8px 10px;
    }
    #fsn-notification.fsn-mobile-small .fsn-image {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    #fsn-notification.fsn-mobile-small .fsn-buyer {
        font-size: 11px;
        margin-bottom: 2px;
    }
    #fsn-notification.fsn-mobile-small .fsn-product {
        font-size: 11px;
        margin-bottom: 2px;
    }
    #fsn-notification.fsn-mobile-small .fsn-time {
        font-size: 9px;
    }
}
