#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.notification {
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    max-width: 300px;
    transition: opacity 0.3s, transform 0.5s;
    position: relative;
}

.notification.success {
    background-color: #4caf50;
}

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

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

.notification.info {
    background-color: #2196f3;
}

.icon {
    margin-right: 10px;
}

.message {
    flex: 1;
    margin-right: 10px;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background-color: white;
    width: 100%;
    transition: width linear;
}

@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;
    }
}

.notification.visible {
    animation: slideIn 0.5s forwards;
}

.notification.hide {
    animation: slideOut 0.5s forwards;
}