body {
    background-color: #343a40;
    color: #343a40;
    font-family: 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imgs/404bg_white.jpg');
    background-size: 150px;
    background-repeat: repeat;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}
.header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 20px 20px;
    position: relative;
}
.logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10;
}
.logo:hover {
    transform: scale(1.1);
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background-color: white;
    padding: 5px;
}
@media (max-width: 768px) {
    .logo {
        width: 50px;
        height: 50px;
        top: 0.5rem;
        left: 0.5rem;
    }
    .header .container {
        padding-top: 2rem;
    }
}
.card {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border: none;
    background-color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.card-header {
    border-radius: 15px 15px 0 0 !important;
    font-weight: bold;
    padding: 1rem 1.5rem;
}
.table th {
    background-color: #e9ecef;
    color: inherit;
}
.no-data {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    background-color: white;
    border-radius: 10px;
    margin: 1rem;
}
.date-picker {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.order-type-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
}
.summary-card {
    text-align: center;
    padding: 1rem;
    transition: transform 0.2s;
}
.summary-card:hover {
    transform: translateY(-5px);
}
.summary-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0.5rem 0;
}
.date-input {
    border-radius: 10px;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.date-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.btn-query {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-query:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(106, 17, 203, 0.3);
}
/* 自定义样式 */
.chart-container {
    height: 220px;
    width: 100%;
}

/* 统计卡片样式 */
.stat-card {
    border-left: 4px solid #007bff;
    margin-bottom: 15px;
}

/* 表格样式优化 */
table {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}