/* ============================================ */
/* SISTEMA DE NOTIFICAÇÕES - GLOBAL             */
/* ============================================ */

.notificacao-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.notificacao-item {
    background: #1e1e2d;
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    max-width: 420px;
    pointer-events: auto;
    animation: notificacaoEntrada 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid;
}

.notificacao-item.sucesso {
    border-left-color: #28a745;
    background: #1a2e1f;
}

.notificacao-item.erro {
    border-left-color: #dc3545;
    background: #2e1a1d;
}

.notificacao-item.aviso {
    border-left-color: #ffc107;
    background: #2e2a1a;
}

.notificacao-item.saindo {
    animation: notificacaoSaida 0.3s ease forwards;
}

.notificacao-icone {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notificacao-mensagem {
    flex: 1;
}

.notificacao-fechar {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: color 0.2s;
}

.notificacao-fechar:hover {
    color: white;
}

@keyframes notificacaoEntrada {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notificacaoSaida {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}