.ls-alert-background,
.ls-custom-window-background {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 98;
}

.ls-custom-window-title {
    font-size: 1.3rem;
    color: var(--main);
    margin-bottom: 30px;
}

.ls-alert-window {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 60vh;
    overflow-y: auto;
    background-color: var(--white);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.ls-alert-window__title {
    font-size: 1.2rem;
    color: #6e83ff;
    margin-bottom: 20px;
}

.ls-alert-window__text {
    font-size: 1.0rem;
    color: var(--black);
    margin-bottom: 15px;
}

.ls-alert-window__button {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1.0rem;
    width: fit-content;
}

.ls-alert-window__button:hover {
    cursor: pointer;
}

.ls-alert-window__button--close {
    background-color: lightgrey;
    color: grey;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    width: fit-content;
}

.ls-alert-window__button--close:hover {
    background-color: grey;
    color: var(--white);
}

.ls-alert-window__button--accept {
    background-color: #6e83ff;
    color: var(--white);
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
}

.ls-alert-window__button--accept:hover {
    background-color: #FFCC33;
    color: var(--white);
}

.ls-alert-window__button__container {
    display: grid;
    width: 100%;
    align-items: center;
    justify-items: center;
    margin-top: 15px;
}

@media (min-width: 1024px) {
    .ls-alert-window__button__container {
        grid-auto-flow: column;
        grid-template-rows: 1fr;
        gap: 20px;
    }
}

@media (max-width: 1023px) {
    .ls-alert-window__button__container {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.ls-custom-window {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    /*max-width: 1200px;*/
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--white);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px;
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
}

.ls-custom-window__nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.ls-custom-window>div {
    padding: 30px;
    padding-top: 10px;
}

.ls-disabled-window {
    display: none !important;
}

.ls-loader {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ls-loader__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

@keyframes loader-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.ls-loader__wrapper__span {
    width: 10px;
    height: 10px;
    background-color: var(--white);
    border-radius: 100%;
    animation-name: loader-animation;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.ls-loader__wrapper__span:nth-child(1) {
    animation-delay: 0.3s;
}

.ls-loader__wrapper__span:nth-child(2) {
    animation-delay: 0.6s;
}