body {
            background-color: #0f172a;
            color: #fff;
            min-height: 100vh;
        }
        .card {
            background: rgba(30, 41, 59, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        }
        .search-box {
            background: rgba(30, 41, 59, 0.7);
            border: 1px solid #334155;
            transition: all 0.3s ease;
        }
        .search-box:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
        }
        .table-container {
            overflow-x: auto;
            border-radius: 0.5rem;
        }
        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }
        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #334155;
        }
        th {
            background-color: #1e293b;
            font-weight: 500;
            color: #94a3b8;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        tr:hover {
            background-color: rgba(30, 41, 59, 0.5);
        }
        .stock-up {
            color: #4ade80;
            font-weight: 500;
        }
        .stock-down {
            color: #f87171;
            font-weight: 500;
        }
        .depot-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: rgba(30, 41, 59, 0.5);
            border-radius: 0.5rem;
        }
        .depot-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #e2e8f0;
        }
        .depot-address {
            color: #94a3b8;
            font-size: 0.875rem;
            margin-top: 0.25rem;
        }
        .filter-bar {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        .filter-select {
            background: rgba(30, 41, 59, 0.7);
            border: 1px solid #334155;
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            color: #fff;
            min-width: 200px;
            transition: all 0.3s ease;
        }
        .filter-select:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
        }
        .no-data {
            text-align: center;
            padding: 3rem;
            color: #64748b;
            background: rgba(30, 41, 59, 0.5);
            border-radius: 0.5rem;
        }
        .action-btn {
            transition: all 0.2s ease;
            opacity: 0.8;
        }
        .action-btn:hover {
            opacity: 1;
            transform: scale(1.1);
        }
        .quick-stats {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        .stat-card {
            background: rgba(30, 41, 59, 0.7);
            padding: 1rem;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
        }
        .stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        }
    /* 移动端适配 */
@media (max-width: 768px) {
    .chart-container {
        height: 280px !important;
    }
    #positionComparisonChart .echarts-legend {
        top: 40px !important;
        itemWidth: 12px !important;
        itemHeight: 12px !important;
    }
}

.card-image {
    transition: transform 0.3s ease;
}
.card:hover .card-image {
    transform: scale(1.03);
}
 
/* 默认图片样式 */
.default-image {
    @apply bg-gradient-to-br from-gray-200 to-gray-300;
}
 
/* 图片容器的宽高比 */
.aspect-box {
    aspect-ratio: 4/3;
}