/* 面包屑 */
.bread-box {
    width: 100%;
    height: 48rem;
    font-size: 12rem;
    background-color: rgba(255, 255, 255, 0.21);
    max-width: 1440rem;
}

.bread {
    width: 100%;
    height: auto;
    max-width: 1440rem;
    margin: 0 auto;
}

/* 自定义面包屑样式 */
.breadcrumb {
    width: 100%;
    height: 48rem;
    font-size: 12rem;
    text-align: left;
    line-height: 48rem;
    cursor: pointer;
    color: #666666;
}

.breadcrumb-item:hover {
    color: #0068D7 !important;
}

.breadcrumb-item.active {
    color: #333333;
    font-size: 12rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    margin: 0 10rem;
}

.bearing-container-custom {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
    max-width: 1440rem !important;
    min-height: 100vh;
}

p {
    margin-bottom: 0 !important;
}

.row {
    margin: 0;
}

.row>* {
    margin: 0;
    padding: 0;
}

.form-check-input {
    width: 20rem !important;
    height: 20rem !important;
    vertical-align: text-bottom !important;
}

.bore-custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.bore-custom-radio label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 26rem;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-size: 12rem;
    font-family: Inter, Inter-400;
    color: #124155;
}

/* 自定义方形选框 */
.bore-custom-radio label:before {
    content: "";
    position: absolute;
    left: 6rem;
    top: 3rem;
    width: 13rem;
    height: 13rem;
    border: 1rem solid #ccc;
    border-radius: 2rem;
    background: #fff;
    transition: all 0.3s;
}

/* 选中状态 */
.bore-custom-radio input[type="radio"]:checked+label:before {
    background: #0068D7;
    border-color: #0068D7;
}

/* 白色对勾 */
.bore-custom-radio input[type="radio"]:checked+label:after {
    content: "";
    position: absolute;
    left: 8rem;
    top: 5rem;
    width: 9rem;
    height: 6rem;
    border-left: 2rem solid white;
    border-bottom: 2rem solid white;
    transform: rotate(-45deg);
}

/* 悬停效果 */
.bore-custom-radio label:hover:before {
    border-color: #0068D7;
}

/* 标题 */
.titleBox-container {
    max-width: 1440rem;
    height: auto;
    margin-top: 32rem;
    background-color: #ffffff;
    border-bottom: 1rem solid #EEEEEE;
    position: sticky;
    top: 80rem;
    z-index: 1;
}

.titleBox {
    max-width: 1417rem;
    min-height: 80rem;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.titleImg {
    width: 100rem;
    height: 100rem;
}

.titleImg img {
    height: 100%;
    max-width: 100%;
}

.titleDescBox {
    height: 100%;
    padding-left: 20rem !important;
}

.titleDescBox p {
    margin-bottom: 0;
}

.titleDescBox p:first-child {
    font-size: 24rem;
    font-family: Inter, Inter-500;
    font-weight: 500;
    color: #333333;
}

.titleDescBox p:last-child {
    max-width: 1300rem;
    white-space: wrap;
    margin-top: 8rem;
    font-size: 14rem;
    font-family: Inter, Inter-400;
    color: #333333;
    line-height: 21rem;
}

/* 标题下方 */
.bearingTotalBox {
    max-width: 100%;
    height: 40rem;
    margin-top: 20rem !important;
}

.bearingTotal {
    font-size: 18rem;
    font-family: Inter, Inter-500;
    font-weight: 500;
    color: #333333;
}

.bearingTagBox {
    margin-left: 40rem;
}

.bearingTotalBox ul {
    display: flex;
}

.bearingTotalBox ul li {
    list-style: none;
    min-width: 84rem;
    height: 23rem;
    background: #f6f8f8;
    border-radius: 44rem;
    text-align: center;
    margin-right: 6rem;
    line-height: 23rem;
    font-size: 12rem;
    padding: 0 10rem;
}

.bearingTotalBox ul li img {
    cursor: pointer;
    width: 12rem;
    height: 12rem;
}

.bearingDisplay {
    max-width: 100%;
    height: 44rem;
    font-size: 14rem;
    color: #333333;
    font-family: Inter, Inter-400;
}

.bearingDisplay div {
    margin-left: 32rem;
}

.form-check-label {
    margin-left: 8rem;
    cursor: pointer;
}

.left-filter {
    max-width: 264rem;
    border: 1rem solid #D8D8D8;
    position: sticky;
    top: 190rem;
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto;
}

/* 大于5的样式 */
.inner-greater {
    width: 100%;
    margin: 0 auto;
    margin-top: 12rem;
    border-bottom: 1px solid #D8D8D8;
    ;
}

.inner-greater-ul {
    width: 100%;
    max-height: 192rem;
    overflow-y: auto;
    border: 1rem solid #cccccc;
    border-top: none;
    padding: 0;
}

/* 小于5的样式 */
.inner-less {
    width: 100%;
    min-height: 80rem;
    border-bottom: 1px solid #D8D8D8;
}

.inner-greater-box {
    max-height: 268rem;
}

.inner-less-box,
.inner-greater-box {
    max-width: 225rem;
    margin: 0 auto;
    margin-top: 16rem;
    padding-bottom: 20rem;
}

.less-ul {
    padding: 0;
    margin-top: 6rem;
}

.bearTitle {
    font-size: 14rem;
    font-family: Inter, Inter-600;
    font-weight: 600;
    color: #333333;
}

.bearSearchBox {
    width: 100%;
    height: 29rem;
    padding: 0 8rem;
    background-color: #f8f8f8;
    border: 1rem solid #cccccc;
    font-size: 12rem;
    font-family: Inter, Inter-400;
    color: #666666;
    margin-top: 4rem;
}

.bearLi {
    list-style: none;
    width: 100%;
    height: 21rem;
    white-space: nowrap;
    overflow: hidden;
}

.bearLi:hover {
    background-color: #EEEEEE;
}

/* 右侧表格 */
.table-box {
    margin-left: 24rem;
}

.right-table {
    max-width: 1152rem;
}

.bearTable {
    font-size: 12rem;
    font-weight: 400;
}

.bearTable tbody tr td {
    height: 25rem;
    padding: 4rem 8rem;
    overflow: hidden;
    padding: 0;
    vertical-align: middle;
    background-color: inherit;
    min-width: 80rem;
    white-space: nowrap;
}

.bearTable tbody tr td a {
    color: #666666;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    line-height: 25rem;
    white-space: nowrap;
}

.pNumber {
    color: #124155;
}

.bearTable th {
    font-size: 12rem;
    font-family: Inter, Inter-400;
    font-weight: 400;
    color: #333333;
    height: 32rem;
    word-wrap: break-word;
    white-space: normal;
}

.bearTable thead tr {
    border-bottom: 1rem solid #666666;
    height: 40rem;
}

.bearTable td,
.bearTable th {
    border: none !important;
}

.bearTable tbody tr:nth-of-type(odd) {
    background-color: #fafafa;
}

@media (max-width: 992px) {

    .filter-box,
    .table-box {
        max-width: 100%;
        min-width: 0;
    }
}

.pagination-container {
    margin-top: 30rem !important;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 12rem;
}

.pagination li {
    margin: 0 5rem;
    width: 40rem;
    height: 40rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    width: 40rem;
    height: 40rem;
    padding: 5rem 10rem;
    border: 1rem solid #F6F7F7;
    text-decoration: none;
    color: #0A1D3D;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination .active {
    color: white;
    color: #0A1D3D;
    border: 1rem solid #0A1D3D;
}

.pagination .disabled {
    color: #0A1D3D;
    cursor: not-allowed;
}

.pagination .ellipsis {
    border: none;
    cursor: pointer;
}

.pagination .page-input {
    width: 40rem;
    padding: 5rem;
    text-align: center;
    border: 1rem solid #ddd;
    border-radius: 3rem;
}

#scrollBox {
    scroll-margin-top: 360rem;
    min-height: 100vh;
}

#bearBody tr {
    cursor: pointer;
}

/* 更推荐的方式 - 增加特异性 */
#bearBody tr:hover {
    background-color: #0E2A58;
}

#bearBody tr:hover td a {
    color: white;
}