/* MODAL STYLING */

.mask {
    display: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    background-color: var(--shadow);
    width: 100%;
    height: 100%;
    max-height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.mask.active {
    display: flex;
}

.modal {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    margin: 1.5rem;
    gap: 2rem;
    background-color: var(--background);
    border-radius: var(--borderRadius);
    box-shadow: 0px 6px 12px var(--shadow);
    max-height: calc(100% - 3rem);
    max-width: var(--layoutMaxWidth);
}

.modal .content {
    display: flex;
    flex-direction: column;
    text-align: left;

    overflow-y: scroll;

    scrollbar-width: 2px !important;

    gap: 0.5rem;
}

.modal .actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 1rem;
}

.loader {
   
}

.loader .loaderIcon {
    animation-iteration-count: infinite;
    animation-delay: 0;
    animation-fill-mode: both;
    animation-timing-function:linear;
    animation-name: spin;
    animation-duration: 1s;

    width: 2rem;
    height: auto;
}

@keyframes spin {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.5)  rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}


