
#notification-container {
    position: fixed;
    top: 40px;
    transform: translateX(-18%);
    z-index: 9999;
    right: 0;
}

.notification {
    background-color: #4caf50;
    color: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
    animation: fadeInUp 0.5s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.notification .close-btn {
    position: absolute;
    right: -5px;
    top: -5px;
    width: 20px;
    line-height: 20px;
    background-color: #afb5ba;
    border-radius: 15px;
    text-align: center;
    font-size: 13px;
    color: black;
    display: inline-block;
}

.notification .close-btn:hover {
    background-color: #92bdff;
    color: white;
}

.notification.note {
    background-color: #af9d4c;
}

.notification.n-error {
    background-color: #af4c4c;
}

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

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 100%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.notification.close {
    animation: fadeOutDown 0.5s ease-in-out forwards;
}

@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.notification button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
