.table-container {
    --bb-table-row-active-bg: var(--bs-primary-bg-subtle);
}

.menu-icon {
    font-size: 18px
}

.menu .nav-link > .submenu-link {
    margin-inline-end: unset;
}

::placeholder {
    color: var(--bs-secondary-color) !important;
}

::-ms-input-placeholder {
    color: var(--bs-secondary-color) !important;
}

.fs-8 {
    font-size: 0.81rem !important
}

.fs-9 {
    font-size: 12px !important
}

.tooltip {
    font-size: 0.81rem !important
}

.bb-transfer {
    --bb-transfer-panel-list-max-height: 60vh
}

.hidden-icon {
    display: none;
    font-size: 0.85rem;
}

.hover-area:hover .hidden-icon {
    display: inline-block;
}

.task-edited-popover {
    --bs-popover-border-color: var(--bs-primary);
    --bs-popover-header-bg: var(--bs-primary);
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-body-padding-x: 0.8rem;
    --bs-popover-body-padding-y: 0.8rem;
}

.model-data-icon-popover {
    --bs-popover-border-color: unset;
    --bs-popover-header-bg: #31323a;
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-body-color: var(--bs-white);
    --bs-popover-body-padding-x: 0.8rem;
    --bs-popover-body-padding-y: 0.8rem;
    --bs-popover-max-width: 100%;
    --bs-popover-bg: #3c3e49;
}

.model-data-popover {
    --bs-popover-body-padding-x: 0.8rem;
    --bs-popover-body-padding-y: 0.8rem;
    --bs-popover-max-width: 100%;
}

.douyin-verify-blue {
    height: 16px;
    width: 16px;
    background: url(https://lf-douyin-pc-web.douyinstatic.com/obj/douyin-pc-web/ies/douyin_web/media/douyin-pc-icons-color@ic_verify_blue_outlined.83e26a7248f2d8ab.svg) 50%/contain no-repeat
}

.warp-group-box > .btn-group {
    display: contents;
}

/* 降低模型任务状态筛选组及多选框的默认最小高度。 */
.task-status-filter {
    --bb-height: 28px;
}

/* 统一缩小筛选标签、按钮和复选框的文字与内边距。 */
.task-status-filter .input-group-text,
.task-status-filter .btn,
.task-status-filter .form-check {
    font-size: 0.8125rem;
    padding: 0.1875rem 0.5rem;
}

.bg-success2 {
    --bs-bg-opacity: 1;
    background-color: rgb(37 132 80) !important;
}

.sub-list-pop-confirm.disabled {
    color: var(--bs-body-color);
    pointer-events: none;
    background-color: var(--bs-btn-disabled-bg);
    border-color: var(--bs-btn-disabled-border-color);
    opacity: 0.35;
}

table {
    caption-side: top;
    border-collapse: collapse
}

.text-underline {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* 说明图标及提示浮层由组件库生成，浮层附加到 body，需使用全局样式。 */
button.info-tip-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border-radius: 50%;
    color: var(--bs-secondary-color);
    text-decoration: none;
    vertical-align: middle;
}

    button.info-tip-button:hover,
    button.info-tip-button:focus-visible {
        color: var(--bs-primary);
        background-color: var(--bs-secondary-bg);
    }

    button.info-tip-button:focus-visible {
        outline: 2px solid var(--bs-primary);
        outline-offset: 2px;
    }

.info-tip-tooltip {
    --bs-tooltip-max-width: min(24rem, calc(100vw - 2rem));
}

    .info-tip-tooltip .tooltip-inner {
        text-align: left;
        white-space: pre-line;
        line-height: 1.6;
    }

/* 菜单模板中的 IconPark 图标放回左侧图标位，点击仍由菜单链接处理。 */
.menu .nav-link.rule-template-menu > .submenu-link > .menu-icon {
    display: none;
}

.menu .nav-link.rule-template-menu > .submenu-link {
    margin-left: 4px;
}

.menu .nav-link.rule-template-menu > .widget {
    order: -1;
    flex: 0 0 1.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    pointer-events: none;
}
