/* =================================================== Custom Alert =================================== */
.custom-alert-background {
    height: 100%;
    width: 100%;
    z-index: 5;
    background-color: #00000091;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
}

@keyframes slideDown {
    0% {
        top: -100px;
        opacity: 0;
    }
    100% {
        top: 20%;
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        top: 20%;
        opacity: 1;
    }
    100% {
        top: -100px;
        opacity: 0;
    }
}

.custom-alert.show {
    animation: slideDown 0.5s forwards;
}

.custom-alert.hide {
    animation: slideUp 0.5s forwards;
}

.custom-alert {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--notification-bg);
    padding: 20px;
    border: 1px solid var(--notification-border);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    width: 20%;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: var(--main-text-color);
}

.custom-alert span {
    display: block;
}

.custom-alert button {
    /* background-color: var(--notification-close-bg); */
    background: none;
    color: var(--notification-close-bg);
    border: none;
    cursor: pointer;
    /* border-radius: 50%; */
    /* width: 40px;
    height: 40px; */
}

.custom-alert button:hover {
    /* background-color: var(--notification-close-bg-hover); */
    color: var(--notification-close-bg-hover);
}

.custom-alert button:focus {
    /* background-color: var(--notification-close-bg-hover); */
    outline: none;
}