.flash-floating {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgb(100, 27, 27);
    color: rgb(255, 255, 255);
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    z-index: 1000;
    max-width: 400px;
    min-width: 250px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.flash-floating.appear {
    animation: flashSlideIn 0.4s ease-out forwards;
}

.flash-floating.disappear {
    animation: flashSlideOut 0.4s ease-in forwards;
}

.flash-content {
    flex-grow: 1;
}

.flash-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    cursor: pointer;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.flash-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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