/* components.css */
.usuario-logado {
    position: relative;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin: 15px auto;
    max-width: 1200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Animação para novas mensagens */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.nova-mensagem {
    animation: pulse 0.6s ease-in-out 3;
}

/* Modal de mensagens */
.mensagem-item {
    border-left: 4px solid #3a7bd5;
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.mensagem-item.nao-lida {
    border-left-color: #ff6b6b;
    background-color: #fff5f5;
}

.mensagem-data {
    font-size: 0.8rem;
    color: #6c757d;
}

.list-group-item.active {
    background-color: #3a7bd5;
    border-color: #3a7bd5;
}

.list-group-item:hover:not(.active) {
    background-color: #f8f9fa;
}

.tabela-carrinho td {
    font-size: 10px;
}

.status-pago {
    color: #28a745;
    font-weight: bold;
}

.status-pendente {
    color: #ffc107;
    font-weight: bold;
}

.status-cancelado {
    color: #dc3545;
    font-weight: bold;
}

.scroll-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 9999;
    display: none;
}

.scroll-indicator.show {
    display: block;
    animation: fadeInOut 1.5s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}