* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.title-section h1 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.title-section p {
    color: #7f8c8d;
    font-size: 14px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 22px;
}

.stat-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.stat-info p {
    color: #7f8c8d;
    font-size: 14px;
}

.card-1 .stat-icon {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.card-2 .stat-icon {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.card-3 .stat-icon {
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
}

.card-4 .stat-icon {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.main-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.table-header h2 {
    font-size: 18px;
    color: #2c3e50;
}

.controls {
    display: flex;
    gap: 10px;
}

.el-table {
    margin-top: 0;
}

.el-table .el-tag {
    border-radius: 4px;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.screenshot-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.footer {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 14px;
    padding: 15px;
}

.hardware-change-tag {
    cursor: pointer;
    transition: all 0.3s;
}

.hardware-change-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(230, 162, 60, 0.3);
}

.timeline-item {
    margin-bottom: 15px;
}

.change-card {
    border-left: 4px solid #e6a23c;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .el-table {
        font-size: 12px;
    }
}

/* Element Plus 组件自定义样式 */
.el-progress-bar {
    border-radius: 4px;
}

.el-tag--success {
    background-color: #f0f9eb;
    border-color: #e1f3d8;
    color: #67c23a;
}

.el-tag--warning {
    background-color: #fdf6ec;
    border-color: #faecd8;
    color: #e6a23c;
}

.el-tag--danger {
    background-color: #fef0f0;
    border-color: #fde2e2;
    color: #f56c6c;
}

/* 表格行悬停效果 */
.el-table--enable-row-hover .el-table__body tr:hover>td {
    background-color: #f5f7fa;
}

/* 弹窗样式优化 */
.el-dialog__header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    margin: 0;
    padding: 15px 20px;
}

.el-dialog__title {
    color: white;
    font-weight: 600;
}

.el-dialog__headerbtn {
    top: 15px;
}

.el-dialog__headerbtn .el-dialog__close {
    color: white;
}
/* 网络状态标签样式 */
.network-status-good {
    background-color: #f0f9ff;
    border-color: #409eff;
    color: #409eff;
}

.network-status-warning {
    background-color: #fdf6ec;
    border-color: #e6a23c;
    color: #e6a23c;
}

.network-status-poor {
    background-color: #fef0f0;
    border-color: #f56c6c;
    color: #f56c6c;
}

/* 位置信息样式 */
.location-info {
    line-height: 1.4;
}