﻿#notification-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    background-color: #f0f0f0;
    color: #333;
    width: 300px;
    word-wrap: break-word;
    transform: translateX(100%);
    animation: slide-in 0.5s forwards, fade-out 0.5s ease-in-out 4.5s forwards;
}

    .notification.warning {
        background-color: #ffcc00;
        color: #664d00;
    }

    .notification.error {
        background-color: #ff4444;
        color: white;
    }

    .notification.info {
        background-color: #4fc3f7;
        color: white;
    }

.notification-icon {
    margin-right: 10px;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
