/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

/* 代理统计卡片 */
.proxy-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 200px;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 16px;
}

.stat-card .number {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
}

/* 控制按钮 */
.controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

button, .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

#refreshBtn, #copyAllBtn, .btn {
    background-color: #4CAF50;
    color: white;
}

#refreshBtn:hover, #copyAllBtn:hover, .btn:hover {
    background-color: #45a049;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.copy-btn {
    background-color: #4CAF50;
    color: white;
    padding: 6px 12px;
    font-size: 13px;
}

.copy-btn:hover {
    background-color: #45a049;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#loadingIndicator {
    display: none;
    margin-left: 10px;
    color: #666;
}

/* 代理列表表格 */
.proxy-list {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

tr:hover {
    background-color: #f5f5f5;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination a {
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.pagination span {
    color: #666;
}

.page-info {
    margin-left: 15px;
    color: #666;
    font-size: 14px;
}

/* 提示框样式 */
.tooltip {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .proxy-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
    
    .controls {
        flex-wrap: wrap;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-info {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
} 