.alert-float-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.alert-float-container .alert {
    pointer-events: auto;
    width: auto;
    max-width: 80%;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

    opacity: 0;
    transition: opacity 0.4s ease;
}

.alert-float-container .alert.show {
    opacity: 1;
}