/* Backend Notifications */
.notification-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background: rgba(0, 0, 0, 0.219);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;

    & .inner-wrapper {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid var(--border);
        background: var(--bg-surface);
        box-shadow: 1px 1px 3px 0 var(--border);
        border-radius: 1rem;
        opacity: 0;
        max-width: 30%;

        & button {
            border-radius: 50%;
            background: var(--bg-main);
            color: var(--text-primary);
            box-shadow: none;
            border: none;
            cursor: pointer;
            padding: .5rem 1rem;
            font-size: 1.1rem;
            margin-bottom: 3rem;
        }

        & button:hover {
            background: var(--bg-elevated);
            transition: background .5s;
        }

        & .wrapper {
            padding: 0;
            margin-bottom: 2rem;
        }

        & .success {
            border-bottom: 1px solid green;
        }

        & .error {
            border-bottom: 1px solid red;
        }
    }
}


/* Loading Screen */
._loading_screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background: rgba(0, 0, 0, 0.219);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;

    & .inner-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        max-width: 50%;

        & img {
            width: 50%;
            height: auto;
        }
    }
}



@media screen and (max-width: 1200px) {
    .notification-bg {
        & .inner-wrapper {
            max-width: 75%;
        }
    }
}

@media screen and (max-width: 900px) {
    .notification-bg {
        & .inner-wrapper {
            max-width: 90%;
        }
    }
}