#notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification {
    position: relative;
    overflow: hidden;
    background-color: #323232;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards, fadeOut 0.3s ease-in forwards 5s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    animation: progressBarAnim 5s linear forwards;
}

.notification.success {
    background-color: #4caf50;
}

.notification.error {
    background-color: #f44336;
}

.notification.info {
    background-color: #2196f3;
}

.notification.warn {
    background-color: #ff9800;
}

@keyframes fadeIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes progressBarAnim {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}