/* 批量条码 batch-barcode 作用页面batch.html*/
*,
body,
html {
    margin: 0;
    padding: 0;

}

body {
    box-sizing: border-box;
    height: auto;
}

.bbc {
    background-color: #F2F4F9;
    margin: 88px auto 41px;
    width: 75%;
}

.bbc .bbc-title {
    padding: 34px 0 30px;
    font-weight: 600;
    font-size: 20px;
    color: #22252A;
    line-height: 26px;
    text-align: left;

}

.bbc .bbc-con {
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.bbc-left,
.bbc-right {
    flex: 1;
}

.bbc-left-box,
.bbc-right-box {
    width: 100%;
    background: #FFFFFF;
    border-radius: 4px;
}

.bbc-left-btns,
.bbc-right-btns {
    width: 100%;
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.bbc-right-btns {
    gap: 0
}

.bbc-left-btns .el-button,
.bbc-right-btns .el-button {
    flex: 1;
    height: 48px;
    font-size: 18px;
    margin: 0;
}

.bbc-right-btns #backCreateObj {
    display: none;
}

.bbc-left-btns .el-button:last-child {
    flex: 0.4;
}

.bbc-left-box {
    padding: 15px 23px 22px;
    height: 458px;
    box-sizing: border-box;
}

.bbc-right-box {
    padding: 17px 23px 22px;
    height: 458px;
    box-sizing: border-box;
}

.bbc-left-top {
    display: flex;
    align-items: center;
    gap: 19px;
}

.bbc-left-top>span {
    flex-shrink: 0;
}

.bbc-left-top .barcode-type-select.el-select {
    width: 207px;
    height: 34px;
    flex-shrink: 0;
}

.barcode-type-select.el-select .el-input__inner {
    line-height: 34px;
    height: 34px;
}

.barcode-type-select.el-select .el-input__suffix {
    top: 9px;
}

.barcode-type-select.el-select .el-select-dropdown {
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.bbc-left-top .bbc-left-top-btn {
    background: #F2F4F9;
    border-radius: 4px;
    font-size: 16px;
    color: #52575E;
    line-height: 30px;
    padding: 1px 17px;
    text-align: center;
    margin-left: auto;
    cursor: pointer;
    flex-shrink: 0;
}

.bbc-left-top .bbc-left-top-btn:hover {
    color: #1A1D21;
}

.bbc-left-txt {
    margin: 19px 0;
    font-size: 15px;
    color: rgba(82, 87, 94, .6);
    line-height: 30px;
}

.bbc-table {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #E7EBF1;
    position: relative;
}

.bbc-table-tr {
    width: 100%;
    display: flex;
    border-bottom: 1px solid #E7EBF1;
}

.bbc-table>.bbc-table-tr {
    position: sticky;
    top: 0;
    z-index: 10;
}


.bbc-table-th {
    background-color: #F2F4F9;
    height: 38px;
    font-size: 16px;
    color: #52575E;
    line-height: 38px;
    border-right: 1px solid #E7EBF1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbc-table-tr .bbc-table-th:first-child {
    width: 78px;
}

.bbc-table-tr .bbc-table-th:last-child {
    border-right: none;
    flex: 1;
}

.bbc-table-tbody .bbc-table-tr:last-child {
    border-bottom: none;
}

.bbc-table-td {
    height: 35px;
    font-size: 16px;
    color: #52575E;
    line-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #E7EBF1;
}

.bbc-code-input {
    width: 100%;
    height: 35px;
    border: none;
    font-size: 16px;
    color: #52575E;
    background-color: transparent;
}

.bbc-table-tr .bbc-table-td:first-child {
    width: 78px;
}

.bbc-table-tr .bbc-table-td:last-child {
    border-right: none;
    flex: 1;
    justify-content: left;
    padding: 0 28px;
}

.bbc-table .bbc-table-tbody::-webkit-scrollbar {
    width: 8px;
}

.bbc-table .bbc-table-tbody::-webkit-scrollbar-thumb {
    background: rgba(115, 121, 135, .4);
    border-radius: 6px;
}

.bbc-left-box .bbc-table .bbc-table-tbody {
    max-height: 281px;
    overflow-y: auto;
}

.bbc-left-box .bbc-table .bbc-table-tbody .bbc-table-tr.err-bg {
    background-color: rgba(247, 124, 124, .11);
}


.bbc-right-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.bbc-right-top-title {
    font-size: 20px;
    color: #1A1D21;
    line-height: 24px;
    flex-shrink: 0;
}

.bbc-right-top-txt {
    flex: 1;
    font-size: 16px;
    color: #52575E;
    flex-shrink: 0;
    display: none;
}

.bbc-right-top-set {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.bbc-right-top-set i.icon-Setting {
    font-size: 24px;
    color: #52575E;
}

.bbc-right-top-set span {
    font-size: 16px;
    color: #52575E;
    margin-left: 4px;
}

.bbc-right-top-set:hover span,
.bbc-right-top-set:hover i.icon-Setting {
    color: #2255f4;
}

.bbc-right-box .bbc-table {
    margin-top: 22px;
}

.bbc-right-box .bbc-table .bbc-table-tr .bbc-table-td {
    height: auto;
    min-height: 35px;
    padding: 20px;

}

.bbc-right-box .bbc-table-tr .bbc-table-td:last-child {
    justify-content: center;
}

.bbc-right-box .bbc-table-tr .bbc-table-td:last-child img {
    /* width: 200px;
    height: 60px; */
    cursor: pointer;
    max-width: 350px;
}

.bbc-right-box .bbc-table .bbc-table-tbody {
    max-height: 335px;
    overflow-y: auto;
}

.bbc-right-box .bbc-table .bbc-table-tbody .bbc-table-tr.err-bg {
    background-color: rgba(247, 124, 124, .11);
}

.bbc-warn {
    margin-top: 20px;
    width: calc(50% - 14px);
    padding: 10px 40px;
    box-sizing: border-box;
    background-color: #FEF1F1;
    display: flex;
    align-items: flex-start;
    display: none;
}

.bbc-warn img {
    width: 18px;
    height: 18px;
    margin-right: 9px;
    flex-shrink: 0;

}

.bbc-warn span {
    display: inline-block;
    font-size: 16px;
    color: #8D6868;
    line-height: 22px;
    flex: 1;
    word-break: break-all;
    /* 强制在任意字符处换行（包括数字/符号） */
    overflow-wrap: break-word;
    /* 兼容旧浏览器的换行方式 */
    white-space: normal;

}


/* 条码样式设置弹窗 */
.bcset .bcset-dialog .el-dialog__body {
    padding: 0 32px 48px;
}

.bcset .bcset-dialog .el-dialog__headerbtn {
    font-size: 22px;
    top: 30px;
    right: 32px;
}

.bcset .bcset-dialog .el-tabs .el-tabs__nav-wrap::after {
    background: none;
}

.bcset .bcset-dialog .el-tabs .el-tabs__header {
    margin-bottom: 12px;
}

.bcset .bcset-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bcset .bcset-row .bcset-col {
    width: 47%;
}

.bcset .bcset-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.bcset .bcset-left {
    width: calc(100% - 442px - 32px);
}

.bcset-left-title {
    font-size: 16px;
    color: #535d6c;
    line-height: 24px;
    margin: 12px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bcset-left .el-color-picker__trigger {
    width: 188px;
    height: 48px;
    padding: 10px;
}

.bcset-right .bcset-right-preview {
    width: 442px;
    height: 400px;
    background: #f5f8fc;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    font-size: 16px;
    color: #2255f4;
    line-height: 22px;
    position: relative;
    text-align: center;
}

.bcset-right .bcset-right-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bcset-right .bcset-right-preview p {
    position: absolute;
    text-align: center;
    margin-top: 34px;
    bottom: 24px;
    cursor: pointer;
}

.bcset-right .bcset-right-preview p i {
    margin-right: 4px;
}

.bcset-right .el-button {
    width: 100%;
    height: 48px;
    background: #2255f4;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    color: #ffffff;
    line-height: 24px;
    padding: 0;
    text-align: center;
    margin-top: 20px;
}

@media (min-width: 1280px) and (max-width: 1400px) {
    .bbc-left-txt {
        font-size: 14px;
        line-height: 20px;
    }
    .bbc-right-box .bbc-table-tr .bbc-table-td:last-child img {
        max-width: 300px;
    }
}

@media (max-width: 600px),
(min-width: 992px) and (max-width: 1280px) {
    .bbc-left-box {
        padding: 15px 15px 22px;
    }

    .bbc-left-top>span {
        display: none;
    }

    .bbc-left-top .barcode-type-select.el-select {
        width: 180px;
    }

    .bbc-left-top .bbc-left-top-btn {
        font-size: 14px;
        line-height: 26px;
        padding: 2px 10px;
    }

    .bbc-left-txt {
        margin: 10px 0;
        font-size: 12px;
        line-height: 16px;
    }

    .bbc-right-box {
        padding: 15px 15px 22px;
    }

    .bbc-right-top {
        gap: 19px;
    }

    .bbc-right-top-title {
        display: none;
    }

    .bbc-right-box .bbc-table-tr .bbc-table-td:last-child img {
        max-width: 200px;
    }
}

@media (max-width: 992px) {
    .bbc {
        width: 90%;
    }

    .bbc .bbc-title {
        padding: 0px 0 16px;
        font-size: 18px;
    }

    .bbc .bbc-con {
        gap: 0;
    }


    .bbc-right {
        display: none;
    }

    .bbc-left-btns .el-button:last-child {
        flex: 1;
    }

    .bbc-right-btns #backCreateObj {
        display: block;
        margin-right: 24px;
    }

    .bbc-right-btns .el-button:last-child {
        background-color: #2255f4;
        color: #fff;
    }

    .bcset .bcset-drawer .el-drawer {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .bcset-drawer .el-drawer__body {
        padding: 10px 16px 16px;
        box-sizing: border-box;
    }


    .bcset-drawer .close-btn {
        position: absolute;
        top: 10px;
        right: 16px;
        font-size: 20px;
        z-index: 10;
    }

    .bcset-drawer .el-tabs .el-tabs__nav-wrap::after {
        background: none;
    }

    .bcset-drawer .el-tabs .el-tabs__header {
        margin-bottom: 0px;
    }

    .bcset-drawer .el-button {
        position: absolute;
        bottom: 20px;
        left: 16px;
        width: calc(100% - 32px);
        height: 48px;
        background: #2255f4;
        border: none;
        border-radius: 4px;
        font-size: 18px;
        color: #ffffff;
        line-height: 24px;
        padding: 0;
        text-align: center;
    }

}

@media (max-width: 600px) {
    .bbc-right-box .bbc-table .bbc-table-tr .bbc-table-td {
        padding: 10px;
    }

    .bbc-right-box .bbc-table-tr .bbc-table-td:last-child img {
        max-width: 180px;
    }
}