.wox-interactive-text {
    font-size: 14px;
    line-height: 20px;
    padding: 6px 10px;
    border-radius: 8px;
    width: fit-content;
    position: relative;
    cursor: pointer;
}

.wox-interactive-text p {
    margin: 0;
}

/*position*/
.wox-interactive-text.left {
    text-align: left;
}
.wox-interactive-text.center {
    text-align: center;
}
.wox-interactive-text.right {
    text-align: right;
}
/**/

/*state*/
.wox-interactive-text:hover {
    background-color: rgba(71, 85, 105, 0.05);
}

.wox-interactive-text:active {
    background-color: rgba(71, 85, 105, 0.1);
}

.wox-interactive-text.disabled {
    background-color: transparent; !important;
    opacity: 0.3;
}
/**/

/*checkBox*/
.wox-interactive-text.before {
    padding-left: 36px;
}

.wox-interactive-text.before::before {
    content: "";
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    background-image: url("img/container.svg");
    background-repeat: no-repeat;
    position: absolute;

    left: 10px;
    top: calc(50% - 10px);
}

.wox-interactive-text.before.large::before {
    content: "";
    background-size: 24px 24px;
    background-image: url("img/container.svg");
    background-repeat: no-repeat;
    top: calc(50% - 12px);
    left: 12px;
    width: 24px;
    height: 24px;
}

.wox-interactive-text.after {
    padding-right: 36px;
}

.wox-interactive-text.after::after {
    content: "";
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    background-image: url("img/container.svg");
    background-repeat: no-repeat;
    position: absolute;
    right: 10px;
    top: calc(50% - 10px);
}

.wox-interactive-text.after.large::after {
    content: "";
    background-size: 24px 24px;
    background-image: url("img/container.svg");
    background-repeat: no-repeat;
    top: calc(50% - 12px);
}

.wox-interactive-text.after.compact::after {
    content: "";
    background-size: 16px 16px;
    background-image: url("img/container.svg");
    top: calc(50% - 6px);
}
/**/

.wox-interactive-text p.item-text {
    color: #1E293B;
    font-weight: 600;
}

.wox-interactive-text p.subitem-text {
    color: rgba(71, 85, 105, 0.4);;
    font-weight: 500;
}

.wox-interactive-text.lines-1 p {
    display: inline;
}


.wox-interactive-text.lines-1 .item-text {
    margin-right: 4px;
}

.wox-interactive-text.lines-2 .item-text {
    margin-bottom: 4px;
}

.wox-interactive-text.large {
    font-size: 16px;
    line-height: 24px;
    padding: 6px 12px;
    border-radius: 8px;
}

/*.wox-interactive-text.before.large::before {*/
/*    left: 12px;*/
/*    width: 24px;*/
/*    height: 24px;*/
/*}*/

.wox-interactive-text.after.large::after {
    right: 12px;
    width: 24px;
    height: 24px;
}

.wox-interactive-text.after.large {
    padding-right: 40px;
}
.wox-interactive-text.before.large {
    padding-left: 40px;
}
.wox-interactive-text .item-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    background-position: center;
    background-repeat: no-repeat;
    top: 6px;
    opacity: 0.4;
}

.wox-interactive-text:hover .item-icon {
    opacity: 1;
}


@media (max-width: 1200px) {
    .wox-interactive-text {
        font-size: 12px;
        line-height: 16px;
        padding: 6px 8px;
    }

    .wox-interactive-text.before::before {
        left: 8px;
        background-size: 16px 16px;
        width: 16px;
        height: 16px;
        top: calc(50% - 8px);

    }

    .wox-interactive-text.after::after {
        right: 8px;
        background-size: 16px 16px;
        width: 16px;
        height: 16px;
        top: calc(50% - 8px);
    }

    .wox-interactive-text.after {
        padding-right: 30px;
    }
    .wox-interactive-text.before {
        padding-left: 30px;
    }
}