/* 基础样式和变量 */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099cc;
    --accent-color: #ff6b6b;
    --success-color: #4ecdc4;
    --warning-color: #ffd93d;
    --danger-color: #ff4757;
    --dark-bg: #0a0e27;
    --card-bg: #1a1e35;
    --text-primary: #ffffff;
    --text-secondary: #b3c5ff;
    --border-color: #2a3556;
    --shadow-primary: 0 4px 20px rgba(0, 212, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1e35 50%, #0f1419 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 动态背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(-20px) translateY(10px); }
    66% { transform: translateX(20px) translateY(-10px); }
}

/* 容器和布局 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* 标题栏 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: rgba(26, 30, 53, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header h1 i {
    color: var(--accent-color);
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.status-indicator.online {
    background: var(--success-color);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
    animation: pulse 2s infinite;
}

.status-indicator.offline {
    background: var(--danger-color);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.5);
}

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

/* 连接面板 */
.connection-panel {
    background: rgba(26, 30, 53, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
}

.connection-panel h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group input {
    background: rgba(42, 53, 86, 0.5);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

/* 按钮样式 */
.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-connect {
    background: linear-gradient(135deg, var(--success-color), #3dd5c4);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-connect:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.btn-disconnect {
    background: linear-gradient(135deg, var(--danger-color), #ff3742);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-disconnect:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}
/* 仪表板 */
.dashboard {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 统计卡片网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(26, 30, 53, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card.cpu::before {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
}

.stat-card.memory::before {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 600;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.memory-details {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* 进程排行榜 */
.processes-section {
    background: rgba(26, 30, 53, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.last-update {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.processes-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.processes-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(42, 53, 86, 0.3);
}

.processes-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.processes-table thead th {
    padding: 15px 12px;
    font-weight: 600;
    text-align: left;
    color: white;
    font-size: 0.95rem;
}

.processes-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.processes-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.1);
}

.processes-table tbody td {
    padding: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.processes-table tbody tr:nth-child(1) td:first-child {
    color: #ffd700;
    font-weight: bold;
}

.processes-table tbody tr:nth-child(2) td:first-child {
    color: #c0c0c0;
    font-weight: bold;
}

.processes-table tbody tr:nth-child(3) td:first-child {
    color: #cd7f32;
    font-weight: bold;
}

.cpu-usage {
    color: var(--warning-color);
    font-weight: 600;
}

.memory-usage {
    color: var(--success-color);
    font-weight: 600;
}

.process-command {
    font-family: 'Monaco', 'Menlo', monospace;
    color: var(--text-secondary);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 系统信息 */
.system-info-section {
    background: rgba(26, 30, 53, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-card);
}

.system-info-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.system-info-content {
    background: rgba(42, 53, 86, 0.3);
    border-radius: 12px;
    padding: 20px;
    font-family: 'Monaco', 'Menlo', monospace;
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-wrap;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* 加载动画 */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-secondary);
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .processes-table-container {
        font-size: 0.8rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--card-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}/* 排序功能样式 */
.sortable-header {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: all 0.2s ease;
}

.sortable-header:hover {
    background: rgba(0, 212, 255, 0.2) !important;
    color: white;
}

.sortable-header .sort-icon {
    margin-left: 5px;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.sortable-header:hover .sort-icon {
    opacity: 1;
}

.sortable-header.sort-asc .sort-icon {
    color: var(--success-color);
    opacity: 1;
}

.sortable-header.sort-desc .sort-icon {
    color: var(--warning-color);  
    opacity: 1;
}

.sortable-header.sort-asc .sort-icon:before {
    content: "\f0de"; /* fa-sort-up */
}

.sortable-header.sort-desc .sort-icon:before {
    content: "\f0dd"; /* fa-sort-down */
}

/* 排序激活状态 */
.sortable-header.active {
    background: rgba(0, 212, 255, 0.15) !important;
    color: #ff4757 !important; /* 红色字体 */
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

/* 移除旧的排名样式，已在新样式中重新定义 *//* CPU核心数信息样式 */
.cpu-cores-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding: 10px;
    background: rgba(42, 53, 86, 0.3);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.core-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.core-item i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.core-item span {
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 响应式优化 */
@media (max-width: 480px) {
    .cpu-cores-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .core-item {
        justify-content: center;
        font-size: 0.85rem;
    }
}/* 增强的进程表格样式 */
.processes-table {
    font-size: 0.85rem;
}

.processes-table th {
    font-size: 0.9rem;
    padding: 12px 8px;
    white-space: nowrap;
}

.processes-table td {
    padding: 10px 8px;
    vertical-align: top;
}

/* 进程类型标签样式 */
.process-type-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* 不同进程类型的颜色 */
.type-system { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.type-web { background: linear-gradient(135deg, #f093fb, #f5576c); color: white; }
.type-database { background: linear-gradient(135deg, #4facfe, #00f2fe); color: white; }
.type-cache { background: linear-gradient(135deg, #43e97b, #38f9d7); color: white; }
.type-java { background: linear-gradient(135deg, #fa709a, #fee140); color: white; }
.type-python { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #333; }
.type-nodejs { background: linear-gradient(135deg, #d299c2, #fef9d7); color: #333; }
.type-dotnet { background: linear-gradient(135deg, #89f7fe, #66a6ff); color: white; }
.type-php { background: linear-gradient(135deg, #fdbb2d, #22c1c3); color: white; }
.type-remote { background: linear-gradient(135deg, #ff6b6b, #feca57); color: white; }
.type-security { background: linear-gradient(135deg, #ff9a9e, #fecfef); color: #333; }
.type-monitor { background: linear-gradient(135deg, #a18cd1, #fbc2eb); color: white; }
.type-container { background: linear-gradient(135deg, #74b9ff, #0984e3); color: white; }
.type-panel { background: linear-gradient(135deg, #fd79a8, #fdcb6e); color: white; }
.type-kernel { background: linear-gradient(135deg, #636e72, #2d3436); color: white; }
.type-other { background: linear-gradient(135deg, #ddd6fe, #e879f9); color: #333; }

/* 表格单元格样式优化 */
.rank-cell {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    color: var(--primary-color);
}

.process-type-cell {
    text-align: center;
    min-width: 100px;
}

.service-name-cell {
    min-width: 120px;
    font-weight: 600;
    color: var(--text-primary);
}

.pid-cell, .user-cell {
    text-align: center;
    font-family: 'Monaco', monospace;
    color: var(--text-secondary);
}

.cpu-usage, .memory-usage {
    text-align: center;
    font-weight: 600;
    min-width: 80px;
}

.memory-mb {
    display: block;
    color: var(--text-secondary);
    font-size: 0.7rem;
    margin-top: 2px;
}

.time-cell {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    min-width: 80px;
}

.description-cell {
    max-width: 200px;
    min-width: 150px;
}

.description-main {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
    line-height: 1.2;
}

.description-command {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: rgba(42, 53, 86, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1.3;
    word-break: break-all;
}

/* 前三名排名特殊样式 */
.rank-highlight-1,
.rank-highlight-2,
.rank-highlight-3 {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.rank-highlight-1:hover,
.rank-highlight-2:hover,
.rank-highlight-3:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 第一名 - 金牌样式 */
.rank-highlight-1 {
    border-left-color: #ffd700;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), transparent 50%);
}

.rank-highlight-1 .rank-cell {
    position: relative;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #1a1a1a;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.rank-highlight-1 .rank-cell::before {
    content: "🏆";
    position: absolute;
    left: -8px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

/* 第二名 - 银牌样式 */
.rank-highlight-2 {
    border-left-color: #c0c0c0;
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.08), transparent 50%);
}

.rank-highlight-2 .rank-cell {
    position: relative;
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #1a1a1a;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 12px rgba(192, 192, 192, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.rank-highlight-2 .rank-cell::before {
    content: "🥈";
    position: absolute;
    left: -8px;
    font-size: 1.1rem;
    animation: bounce 2s infinite 0.2s;
}

/* 第三名 - 铜牌样式 */
.rank-highlight-3 {
    border-left-color: #cd7f32;
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.08), transparent 50%);
}

.rank-highlight-3 .rank-cell {
    position: relative;
    background: linear-gradient(135deg, #cd7f32, #daa520);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 10px rgba(205, 127, 50, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
}

.rank-highlight-3 .rank-cell::before {
    content: "🥉";
    position: absolute;
    left: -8px;
    font-size: 1rem;
    animation: bounce 2s infinite 0.4s;
}

/* 奖牌弹跳动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* 前三名整行发光效果 */
.rank-highlight-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rank-highlight-2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rank-highlight-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rank-highlight-1:hover::after,
.rank-highlight-2:hover::after,
.rank-highlight-3:hover::after {
    opacity: 1;
}

/* 表格行悬停效果 */
.processes-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
    transform: scale(1.002);
    transition: all 0.2s ease;
}

.processes-table tbody tr:hover .process-type-tag {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .processes-table {
        font-size: 0.8rem;
    }
    
    .description-cell {
        max-width: 150px;
    }
    
    .memory-mb {
        display: none;
    }
}

@media (max-width: 768px) {
    .processes-table th,
    .processes-table td {
        padding: 6px 4px;
    }
    
    .process-type-tag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .description-command {
        display: none;
    }
}/* 增强排名表格的整体视觉效果 */
.processes-table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.processes-table tbody tr:not(.rank-highlight-1):not(.rank-highlight-2):not(.rank-highlight-3):hover {
    background: rgba(0, 212, 255, 0.05);
    transform: translateX(2px);
}

/* 排名列的基础样式增强 */
.rank-cell {
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    color: var(--text-secondary);
    position: relative;
    padding: 8px;
    transition: all 0.3s ease;
}

/* 普通排名(4-15名)的样式 */
.processes-table tbody tr:not(.rank-highlight-1):not(.rank-highlight-2):not(.rank-highlight-3) .rank-cell {
    background: rgba(42, 53, 86, 0.3);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.processes-table tbody tr:not(.rank-highlight-1):not(.rank-highlight-2):not(.rank-highlight-3):hover .rank-cell {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* 表格整体间距优化 */
.processes-table tbody tr {
    border-bottom: 1px solid rgba(42, 53, 86, 0.5);
}

.processes-table tbody tr:last-child {
    border-bottom: none;
}

/* 前三名行的额外间距 */
.rank-highlight-1,
.rank-highlight-2,
.rank-highlight-3 {
    margin-bottom: 2px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .rank-highlight-1 .rank-cell::before,
    .rank-highlight-2 .rank-cell::before,
    .rank-highlight-3 .rank-cell::before {
        left: -6px;
        font-size: 0.9rem;
    }
    
    .rank-highlight-1 .rank-cell,
    .rank-highlight-2 .rank-cell,
    .rank-highlight-3 .rank-cell {
        min-height: 28px;
        font-size: 0.9rem;
    }
}