.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 22px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #0066ff;
    letter-spacing: 1px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-section,
.recent-tasks {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #333333;
}

.chart-section h3,
.recent-tasks h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.chart-container {
    height: 300px;
    position: relative;
}

.chart-container canvas {
    width: 100%;
    height: 100%;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #0d0d0d;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.task-item:hover {
    background: #1a1a1a;
}

.task-status {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.status-processing {
    background: #0066ff;
    color: #ffffff;
}

.status-completed {
    background: #0066ff;
    color: #ffffff;
}

.status-pending {
    background: #ff0000;
    color: #ffffff;
}

.task-info {
    flex: 1;
}

.task-title {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
}

.task-time {
    font-size: 12px;
    color: #999999;
}

.task-priority {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.priority-high {
    background: #ff0000;
    color: #ffffff;
}

.priority-medium {
    background: #0066ff;
    color: #ffffff;
}

.priority-low {
    background: #333333;
    color: #ffffff;
}

.map-section {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #333333;
}

.map-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #0d0d0d;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333333;
}

.map-placeholder::before {
    content: '地图区域';
    color: #666666;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
}

.map-marker {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff0000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
    animation: pulse 2s infinite;
}

.marker-1 {
    top: 30%;
    left: 20%;
}

.marker-2 {
    top: 50%;
    left: 60%;
    background: #0066ff;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.8);
}

.marker-3 {
    top: 70%;
    left: 40%;
    background: #0066ff;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.8);
}

.marker-4 {
    top: 25%;
    left: 75%;
    background: #ff0000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
