body { background: #f5f7fa;  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }

/* 自定义容器宽度 */
.container { max-width: 1400px; }

/* 筛选卡片样式 */
.filter-card { 
    background: white; 
    border-radius: 16px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.03); 
    margin-bottom: 24px; 
    padding: 20px 24px;
    transition: box-shadow 0.2s ease;
}
.filter-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.05);
}

/* 筛选行布局 */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    align-items: center;
}
.filter-row:last-child {
    margin-bottom: 0;
}
.filter-item {
    flex: 1;
    min-width: 160px;
}
/* “至”字的样式：固定宽度，不伸缩 */
.date-separator {
    flex: 0 0 auto;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    padding: 0 4px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .filter-item {
        min-width: calc(33.33% - 16px);
        flex: 0 0 calc(33.33% - 16px);
    }
}

@media (max-width: 768px) {
    .filter-item {
        min-width: calc(50% - 16px);
        flex: 0 0 calc(50% - 16px);
    }
    .date-separator {
        width: 100%;
        text-align: center;
        margin: 0 0 8px;
    }
}

@media (max-width: 576px) {
    .filter-item {
        min-width: 100%;
        flex: 0 0 100%;
    }
}

/* 列表容器样式 */
.list-container { 
    background: white; 
    border-radius: 16px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.03); 
    padding: 20px;
    transition: all 0.2s ease;
}

/* 表格样式优化 */
.table {
    margin-bottom: 0;
    font-size: 12px;
}
.table thead th {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #1e293b;
    padding: 12px 8px;
}
.table tbody td {
    padding: 12px 8px;
    vertical-align: middle;
    border-bottom: 1px solid #eef2f6;
    color: #334155;
}
.table tbody tr:hover {
    background-color: #f8fafc;
}

/* 超链接样式 */
.table a {
    color: #334155;
    transition: color 0.2s ease;
    font-size: inherit;  /* 新增 */
}

.table a:hover {
    color: #1e40af;
    text-decoration: underline !important;
}

/* 加载状态 */
.loading { 
    opacity: 0.5; 
    pointer-events: none; 
    transition: opacity 0.2s ease;
}
.spinner-border-sm { 
    width: 1rem; 
    height: 1rem; 
    border-width: 0.2em; 
}

/* 筛选输入框样式 - 无标签，仅占位符 */
.filter-card .form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    width: 100%;
    padding: 10px 14px;
    background-color: #ffffff;
}
.filter-card .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    outline: none;
}
.filter-card .form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* 日期输入框特殊样式 - 让 placeholder 在未选择日期时显示 */
.filter-card input[type="date"] {
    position: relative;
}
.filter-card input[type="date"]:before {
    content: attr(placeholder);
    position: absolute;
    color: #9ca3af;
    background: white;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.filter-card input[type="date"]:focus:before,
.filter-card input[type="date"]:not(:placeholder-shown):before {
    display: none;
}

/* 分页样式 */
.pagination {
    margin-top: 20px;
    margin-bottom: 0;
    /* display: table-cell; */
    justify-content: center;
}
.page-link {
    border-radius: 8px;
    margin: 0 3px;
    color: #3b82f6;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    transition: all 0.2s ease;
}
.page-link:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
}
.page-item.active .page-link {
    background-color: #3b82f6;
    border-color: #3b82f6;
}
.page-item.disabled .page-link {
    color: #94a3b8;
    background-color: #f1f5f9;
    pointer-events: none;
}

/* 标题样式 */
h2 {
    font-weight: 600;
    color: #0f172a;
    border-left: 4px solid #3b82f6;
    padding-left: 16px;
    margin-bottom: 28px;
}

/* 徽章样式 */
.badge.bg-info {
    background-color: #e0f2fe !important;
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* 提示文字样式 */
.filter-hint {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .table {
        font-size: 0.85rem;
    }
    .table thead th,
    .table tbody td {
        padding: 8px 6px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }
    .filter-card {
        padding: 16px;
    }
    .list-container {
        padding: 12px;
        overflow-x: auto;
    }
    h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}