.floating-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 100px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { 
        transform: translateY(100%);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to { 
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Breakpoint Mobile */
@media (max-width: 768px) {
    .floating-message {
        right: 50%;
        transform: translateX(50%);
        width: calc(100% - 2em);
    }

    @keyframes slideUp {
        from { 
            transform: translate(50%, 100%);
            opacity: 0;
        }
        to { 
            transform: translate(50%, 0);
            opacity: 1;
        }
    }

    @keyframes fadeOut {
        to { 
            transform: translate(50%, 100%);
            opacity: 0;
        }
    }
}

.floating-message--success {
    background: #4CAF50;
    color: #fff;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.floating-message--error {
    background: #F44336;
    color: #fff;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.floating-message--info {
    background: #0263BD;
    color: #fff;
    box-shadow: 0 2px 8px rgba(2, 99, 189, 0.3);
}

.floating-message__close {
    background: rgba(255, 255, 255, 0.4);
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0;
    transition: all 0.2s ease;
}

/* Cores específicas por tipo */
.floating-message--success .floating-message__close {
    color: #4CAF50;
}

.floating-message--error .floating-message__close {
    color: #F44336;
}

.floating-message--info .floating-message__close {
    color: #0263BD;
}

.floating-message__close:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}