body {
    background-color: #f0f2f5;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.card {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: none;
    border-radius: 10px;
}
.card-header {
    border-radius: 10px 10px 0 0 !important;
}

/* 统计卡片 */
.stat-card {
    transition: transform 0.2s;
    overflow: hidden;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.stat-icon {
    font-size: 28px;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}
.stat-label {
    font-size: 12px;
    color: #8c8c8c;
    margin-bottom: 2px;
}
.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.1;
}
.stat-tasks .stat-icon { background: #e8f0fe; color: #1a73e8; }
.stat-addresses .stat-icon { background: #e0f7fa; color: #00838f; }
.stat-filtered .stat-icon { background: #e8f5e9; color: #2e7d32; }
.stat-tx .stat-icon { background: #fff3e0; color: #e65100; }

/* 表格 */
.table th {
    font-size: 12px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.table td {
    font-size: 13px;
    vertical-align: middle;
}
.addr-cell {
    font-family: "Cascadia Code", "Fira Code", monospace;
    font-size: 12px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.addr-cell:hover {
    overflow: visible;
    white-space: normal;
    word-break: break-all;
    color: #1a73e8;
}

/* 实时数据 */
.live-stats {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}
.live-num {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    font-variant-numeric: tabular-nums;
}
.live-label {
    font-size: 11px;
    color: #8c8c8c;
}

/* 步骤文字 */
.step-text {
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #1a73e8;
}

/* 进度条 */
.progress {
    height: 20px;
    border-radius: 10px;
    background: #e9ecef;
}
.progress-bar {
    font-size: 11px;
    line-height: 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #1a73e8, #34a853);
}

/* 监控器卡片头 */
.monitor-running {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
}
.monitor-stopped {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

/* 筛选任务卡片头 */
#progressCardHeader {
    background: linear-gradient(135deg, #e65100, #bf360c);
    color: white;
}
#progressCardHeader.filtering {
    background: linear-gradient(135deg, #e65100, #bf360c);
    color: white;
}
#progressCardHeader.completed {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
}

/* 闪烁动画 */
.blink {
    animation: blink-anim 1.2s infinite;
    font-size: 8px;
    vertical-align: middle;
}
@keyframes blink-anim {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 标签页 */
.nav-tabs .nav-link {
    color: #6c757d;
    font-size: 13px;
    border: none;
    padding: 8px 16px;
}
.nav-tabs .nav-link.active {
    font-weight: 600;
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
    background: transparent;
}
.nav-tabs .nav-link:hover {
    color: #1a73e8;
}

/* 交易哈希 */
.tx-hash {
    font-family: "Cascadia Code", "Fira Code", monospace;
    font-size: 11px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    cursor: pointer;
}
.tx-hash:hover { color: #1a73e8; }

/* 按钮 */
.btn-success {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    border: none;
}
.btn-success:hover {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
}

