.content-header {
    padding: 5px 0.5rem !important;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 16px;
    line-height: 1;
    vertical-align: middle;
    margin-top: 5px;
}

.content .container-fluid {
    padding-bottom: .5rem;
}

.card-body {
    padding: 0.5rem !important;
}

.card {
    margin-bottom: 0 !important;
}

/* 调整搜索框样式 */
.custom-card .form-group.mx-1 {
    margin-right: .5rem!important;
    margin-left: .5rem!important;
}

/* 确保表格内容不会溢出 */
.custom-card .table td,.custom-card .table th {
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
}

/* 确保表格容器可以横向滚动 */
.custom-card .table-responsive {
    overflow-x: auto;
    overflow-y: visible;
}

/* 设置表格最小宽度，确保可以滚动 */
.custom-card .table {
    min-width: 100%;
}

/* 验证码 */
.captcha {
    height: 38px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 4px;
}

/* 导航栏图标 */
.nav-link i.fas {
    width: 15px;
    text-align: center;
}

.nav-item.adminlte-darkmode-widget .nav-link:nth-child(1) {
    display: flex;
    align-items: center;
}

.card-body>.table>thead>tr>td, .card-body>.table>thead>tr>th {
    border-top-width: 1px !important;
}

/* 连续的按钮 */
table tr td a.btn:not(:last-child) {
    margin-right: 1px;
}

.badge-purple {
    background-color: #6610f2;
}

.badge-grey {
    background-color: #adb5bd;
}

.fa-file-pdf {
    color: #dc3545;
}

/* 固定表头 */
.table-fixed-header {
    height: calc(100vh - 300px);
    overflow-y: auto;
    z-index: 10;
}
.table-fixed-header table {
    border-collapse: separate;
    border-spacing: 0;
}
.table-fixed-header thead{
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
    border-bottom: 1px solid #dee2e6 !important;
    box-sizing: border-box;
}

/* 固定合计行 */
.table-fixed-header tfoot {
    display: table-header-group; /* 将tfoot显示在底部 */
}

.table-fixed-header .fixed-footer {
    position: sticky;
    bottom: 0;
    background-color: #fff;
    z-index: 2;
    border-top: 2px solid #dee2e6 !important;
}
