.notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.errors,
.successMessage {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
    background-color: var(--almost-white-);
    border-radius: 5px;
    text-align: center;
    width: 300px;
    min-height: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 1s ease-out, transform 1s ease-out;
    animation: slideUp 0.5s ease-out;
    z-index: 1000;
    border-width: 0px 0px 0px 5px;
    border-style: solid;
}

.errors {
    border-color: var(--error-);
}

.successMessage {
    border-color: var(--success-);
}

.redBorder {
    border: 1px solid var(--error-) !important;
    padding: 10px !important;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    border-radius: 4px;
    margin: 5px 0;
}

/* New class to trigger fade-out */
.fade-out {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity .5s ease-out, transform .5s ease-out;
}


@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}