﻿.page-stock-promote {
    background: #EEF0F4;
    font-size: 13px;
}

.bg-stockcategory {
    width: 100%;
}

    .bg-stockcategory img {
        width: 100%;
    }

.filter-box {
    padding: 10px 20px;
    border: 1px solid #eee;
    border-radius: 3px;
    background: #FFF;
    margin-top: 10px;
}

    .filter-box .line {
        display: flex;
        align-items: center;
        padding-bottom: 5px;
        border-bottom: 1px solid #eee;
        position: relative;
    }

        .filter-box .line + .line {
            margin-top: 5px;
        }

        .filter-box .line .fr {
            position: absolute;
            right: 0;
            cursor: pointer;
        }

.form-label {
    min-width: 40px;
}

.filter-input {
    display: inline-flex;
}

    .filter-input input {
        border-right: none;
    }

    .filter-input .form-btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        min-width: 60px;
    }

.brand-prefix {
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    user-select: none;
}

    .brand-prefix.active {
        color: #F89501;
    }

.filter-brand-list {
    user-select: none;
}

.filter-brand-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 22px;
    height: 22px;
    font-size: 12px;
    margin-right: 20px;
}

    .filter-brand-item span {
        cursor: pointer;
    }

    .filter-brand-item.active {
        color: #F89501;
    }

    .filter-brand-item span:hover {
        color: #F89501;
    }

.filter-category-item {
    margin-right: 20px;
    cursor: pointer;
    white-space: nowrap;
}

    .filter-category-item:hover {
        color: #F89501;
    }

    .filter-category-item.active {
        color: #F89501;
    }


.main-list {
    margin: 10px 0;
    padding: 5px 10px;
    border: 1px solid #eee;
    border-radius: 3px;
    box-sizing: border-box;
    min-height: calc(100vh - 530px);
    background: #FFF;
}

    .main-list:has(.auth-limit) {
        border: none;
        padding: 0;
    }

    .main-list table {
        width: 100%;
        table-layout: fixed;
    }

        .main-list table thead tr {
            border-bottom: 1px solid #eee;
            font-weight: bold;
        }

        .main-list table tbody tr + tr {
            border-top: 1px solid #eee;
        }

        .main-list table tbody tr:hover {
            background: #FFFBF0;
        }

        .main-list table td {
            padding: 5px 0 5px 5px;
            word-break: break-all;
            box-sizing: border-box;
        }

    .main-list .icon-stock-channel:before {
        content: "渠道";
    }

    .main-list .img-qq-v1 {
        width: 18px;
        min-width: 18px;
        height: 18px;
    }

        .main-list .img-qq-v1 .img-qq-v1-tips {
            right: unset;
            left: -8px;
        }

            .main-list .img-qq-v1 .img-qq-v1-tips::after {
                right: unset;
                left: 10px;
            }

.td-operate {
    display: flex;
}

.td-model {
    display: flex;
}

.td-qty {
    text-align: right;
    padding-right: 25px;
    white-space: nowrap;
}

.main-list table tbody tr:hover .text-fade::after {
    background: linear-gradient(to right, #FFFBF04D 30%, #FFFBF0 70%);
}

.main-list .icon-stock-spot:before, .main-list .icon-stock-channel:before, .main-list .icon-stock-ordergoods:before {
    font-size: 11px;
    height: 14px;
    line-height: 14px;
}

.auth-limit {
    margin: 0 auto !important;
}

.auth-limit-left {
    width: 100px !important;
    height: 100px !important;
}

.pagination {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    position: relative;
    line-height: 1;
}

.pagination-list {
    margin: 10px auto 0 auto;
}

.pagination li a {
    border: 1px solid #ECECEC;
    color: #999;
    padding: 5px 10px;
}

.pagination .active a {
    background: #FFF9F0;
    border: 1px solid #F89501;
    color: #F89501;
}

.pagination li a:hover {
    background: #FFF9F0;
    border: 1px solid #F89501;
    color: #F89501;
}
