.li-modal-open,
.li-modal-open body {
    overflow: hidden !important;
}

.li-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    font-family: "Atkinson Hyperlegible", "Manrope", Arial, sans-serif;
}

.li-modal.is-open {
    display: block;
}

.li-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 30, 44, 0.68);
    backdrop-filter: blur(4px);
}

.li-modal__dialog {
    position: absolute;
    inset: 3vh 3vw;
    background: #F5F8FA;
    border-radius: 16px;
    box-shadow: 0 28px 80px rgba(8, 30, 44, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.li-modal__header {
    min-height: 62px;
    padding: 0 18px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F5F8FA;
    border-bottom: 1px solid rgba(66, 84, 102, 0.14);
}

.li-modal__title {
    color: #081E2C;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.li-modal__close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #425466;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.li-modal__close:hover,
.li-modal__close:focus {
    background: rgba(28, 103, 255, 0.08);
    color: #1C67FF;
    outline: none;
}

.li-modal__body {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #fff;
}

.li-modal__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #425466;
    font-size: 16px;
    text-align: center;
}

.li-modal__frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: none;
    background: #fff;
}

.li-tool-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    background: #1C67FF;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
}

@media (max-width: 767px) {
    .li-modal__dialog {
        inset: 0;
        border-radius: 0;
    }

    .li-modal__header {
        min-height: 56px;
        padding-left: 16px;
    }

    .li-modal__title {
        font-size: 16px;
    }
}
