/* /static/css/components/flash-notifications.css */

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

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

.flash-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    z-index: 10000;
    animation: slideIn 0.3s ease forwards;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.flash-notification.flash-success {
    background: #4CAF50;
}

.flash-notification.flash-error {
    background: #f44336;
}

.flash-notification.flash-warning {
    background: #ff9800;
}

.flash-notification.flash-info {
    background: #2196F3;
}

.flash-notification.removing {
    animation: slideOut 0.3s ease forwards;
}
