/* -------- 页面标题 -------- */
.page-header {
    background: linear-gradient(135deg, #f0f4fa 0%, #e6edf6 100%);
    padding: 2.8rem 0 2.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.page-header h1 {
    font-weight: 700;
    color: #0b1a33;
    font-size: 2.2rem;
}
.page-header .lead {
    color: #4b5a6a;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.page-header .time-range {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #4b5a6a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f8;
}
.page-header .time-range i {
    color: #006ACD;
}

/* -------- 统计卡片 -------- */
.stats-section {
    padding: 2rem 0 1.5rem;
}
.stat-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid #eef2f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.stat-card:hover {
    box-shadow: 0 8px 24px rgba(0, 106, 205, 0.06);
    border-color: rgba(0, 106, 205, 0.10);
    transform: translateY(-2px);
}
.stat-card .stat-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
}
.stat-card .stat-icon.blue {
    background: linear-gradient(135deg, #006ACD, #3b8fd9);
}
.stat-card .stat-icon.green {
    background: linear-gradient(135deg, #059669, #34d399);
}
.stat-card .stat-icon.orange {
    background: linear-gradient(135deg, #d97706, #fbbf24);
}
.stat-card .stat-icon.purple {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}
.stat-card .stat-info {
    flex: 1;
    min-width: 0;
}
.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0b1a33;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.stat-card .stat-label {
    font-size: 0.85rem;
    color: #6c7a8a;
    margin-top: 0.05rem;
}
.stat-card .stat-change {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.1rem 0.6rem;
    border-radius: 30px;
    display: inline-block;
}
.stat-card .stat-change.up {
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
}
.stat-card .stat-change.down {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}
.stat-card .stat-change.neutral {
    color: #6c7a8a;
    background: rgba(108, 122, 138, 0.08);
}

/* -------- 图表卡片 -------- */
.chart-section {
    padding: 0 0 3rem;
}
.chart-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.5rem 1.5rem 1.2rem;
    border: 1px solid #eef2f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    height: 100%;
    transition: all 0.2s ease;
}
.chart-card:hover {
    box-shadow: 0 8px 24px rgba(0, 106, 205, 0.05);
}
.chart-card .card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.chart-card .card-header-custom h6 {
    font-weight: 600;
    color: #0b1a33;
    margin: 0;
}
.chart-card .card-header-custom .badge-opt {
    font-size: 0.65rem;
    font-weight: 500;
    color: #6c7a8a;
    background: #f0f4fa;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
}
.chart-card .card-header-custom .badge-opt:hover {
    background: #e6edf6;
}
.chart-wrapper {
    position: relative;
    height: 240px;
}
.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

/* -------- 数据表格 -------- */
.table-section {
    padding: 0 0 3.5rem;
}
.table-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.5rem 1.5rem 0.2rem;
    border: 1px solid #eef2f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.table-card .table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}
.table-card .table-header h6 {
    font-weight: 600;
    color: #0b1a33;
    margin: 0;
}
.table-card .table-header .search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e9edf4;
    border-radius: 30px;
    padding: 0.2rem 0.8rem 0.2rem 1rem;
    background: #fafcff;
}
.table-card .table-header .search-box input {
    border: none;
    background: transparent;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    outline: none;
    width: 160px;
}
.table-card .table-header .search-box i {
    color: #8a98a8;
    font-size: 0.9rem;
}
.table-card .table {
    font-size: 0.88rem;
    margin-bottom: 0;
}
.table-card .table thead th {
    border-top: none;
    border-bottom: 2px solid #eef2f8;
    color: #6c7a8a;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0.6rem 0.4rem;
}
.table-card .table tbody td {
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid #f0f4fa;
    color: #1e293b;
    vertical-align: middle;
}
.table-card .table tbody tr:hover {
    background: #f8faff;
}
.table-card .table .status-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.7rem;
    border-radius: 30px;
    font-weight: 500;
}
.table-card .table .status-badge.success {
    background: rgba(5, 150, 105, 0.08);
    color: #059669;
}
.table-card .table .status-badge.warning {
    background: rgba(217, 119, 6, 0.08);
    color: #d97706;
}
.table-card .table .status-badge.danger {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}