.app-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-y: auto;
    z-index: 1000;
}
.app-modal::before, .app-modal::after {
    content: '';
}
.app-modal__content {
    width: 100%;
    max-width: 464px;
    min-height: 600px;
    flex-shrink: 0;
}
@media (max-width: 464px) {
    .app-modal__content {
        border-radius: 0;
    }
    .app-modal__content {
        min-height: 100%;
    }
}
.app-modal__content-body {
    padding: 24px;
}
.app-modal__head {
    display: flex;
    justify-content: flex-end;
}
.app-modal__content_fill {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 100%;
    max-height: 100%;
    min-height: 100%;
    border-radius: 0;
    overflow-y: auto;
}
.app-modal__content_fill-height {
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    overflow-y: auto;
}
.app-modal__content_fill .app-modal__content-body,
.app-modal__content_fill-height .app-modal__content-body {
    height: 98%;
}
.app-modal__content_fill.app-modal__content {
    border-radius: 0!important;
}
.app-modal__content_fill .app-modal__content-body {
    height: 100%;
    max-height: 100%;
    min-height: 100%;
}
.app-modal__content_fill .app-modal__head {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 1;
}
.app-modal__content_fill .app-modal__content-body {
    padding: 0;
}
.fix-scroll {
    overflow: hidden;
    padding-right: 17px;
}