﻿/* 筛选器整体样式 */
.filter {
    background-color: #f9f9f9; /* 提供浅灰背景色 */
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    /* 每个筛选框区域 */
    .filter .single-sidebar-box {
        margin-bottom: 15px;
    }

    .filter h6 {
        font-size: 16px;
        color: #333;
        margin-bottom: 10px;
    }

    /* 筛选条目样式 */
    .filter .list-fliter {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* 复选框容器样式 */
    .filter .form-check {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }

    /* 调整复选框的大小 */
    .filter .form-check-input {
        width: 18px;
        height: 18px;
   
    }

    /* 标签文字偏移调整 */
    .filter .form-check-label {
        font-size: 14px;
        color: #555;
        position: relative;
        top: 1.6px; /* 微调文字垂直对齐 */
        margin-left: 10px; 
       
    }

    /* 滚动区域样式 */
    .filter div[style*="overflow: auto"] {
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 5px;
    }

    /* 鼠标悬停效果 */
    .filter .form-check-label:hover {
        color: #000;
        cursor: pointer;
    }

    .filter .form-check-input:checked + .form-check-label {
        font-weight: bold; /* 选中时文字加粗 */
    }


/* 设置滚动条整体样式 */
::-webkit-scrollbar {
    width: 8px; /* 垂直滚动条的宽度 */
    height: 8px; /* 水平滚动条的高度 */
}

/* 滚动条轨道样式 */
::-webkit-scrollbar-track {
    background: #f0f0f0; /* 轨道背景色 */
    border-radius: 4px; /* 圆角 */
}

/* 滚动条滑块样式 */
::-webkit-scrollbar-thumb {
    background: #888; /* 滑块背景色 */
    border-radius: 4px; /* 圆角 */
}

    /* 鼠标悬停时的滑块样式 */
    ::-webkit-scrollbar-thumb:hover {
        background: #555; /* 改变背景色 */
    }



.selectedArea {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex; /* 使用 flexbox 布局 */
    flex-wrap: wrap; /* 支持内容换行 */
    gap: 15px; /* 设置横向和纵向的间距 */
}

.selected-group {
    display: flex; /* 横向排列 */
    align-items: center; /* 垂直居中 */
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
}

.selected-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

    .selected-item button {
        margin-left: 10px;
        font-size: 12px;
        padding: 2px 6px;
        background-color: #dc3545;
        color: white;
        border: none;
        border-radius: 3px;
        cursor: pointer;
    }

        .selected-item button:hover {
            background-color: #c82333;
        }



.product-search {
    display: flex; /* 让输入框和按钮并排显示 */
    max-width: 100%; /* 最大宽度 */

}

.search-input {
    flex: 1; /* 输入框占用剩余空间 */
    padding: 8px; /* 内边距增加易读性 */
    border: 1px solid #ccc; 
}
.search-button {
    padding: 8px 16px;
    
    font-size: 18px;
    background-color: #00479D;
    color:#ffffff;
    margin-right:10px;
}

.switch-button {
    padding: 8px 16px;
    font-size: 18px;
    border:1px solid #00479D;
    color: #000000;
    margin-right: 10px;
}
    .switch-button:hover {
        background-color: #00479D;
        color:#ffffff;
    }


.hf-active {
    background-color: #00479D;
    color: #ffffff;
}
/* 可选：滚动列表头样式 */
.el-table th {
    background-color: #4B4B4B !important;
    color: #FFFFFF !important;
    border-bottom: 1px solid #6C6C6C; /* 表头底部边框 */
}





.product-card {
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 5px;
    background-color: #fff;
    box-sizing: border-box;
    background-color: #ffffff;
    padding:10px;
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 5px;
}

.product-text {
    margin-top: 5px;
    height: 100px;
    border-top: 1px double #00479D;
    text-align: center;
}

.product-name {
    font-size: 14px;
    margin: 10px 0;
}

.product-code {
    color: #00479D;
    font-weight: bold;
    font-size: 16px;
    padding-top: 8px;
}


.hf-hidden{display:none;}