#notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #198754;
    color: white;
    padding: 20px 40px;
    border-radius: 5px;
    font-size: 16px;
    display: none;
    z-index: 99;
    opacity: 0;
    animation: hideNoti 0.3s;
}

#notification::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(50%) translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
}

#notification.show {
    opacity: 1;
    display: block;
    animation: showNoti 0.3s;
}

#notification.hide {
    opacity: 0;
    display: none;
    animation: hideNoti 0.3s;
}

@keyframes showNoti {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes hideNoti {
    0% {
        opacity: 1;
        display: block;
    }
    90% {
        opacity: 0;
        display: block;
    }
    100% {
        opacity: 0;
        display: none;
    }
}