/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 网址列表样式 */
.url-list {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.url-list-header {
    display: flex;
    background-color: #2c3e50;
    color: white;
    padding: 15px 20px;
    font-weight: 500;
}

.url-list-header > div {
    flex: 1;
}

.url-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.url-item:last-child {
    border-bottom: none;
}

.url-item > div {
    flex: 1;
}

.url-name {
    font-weight: 500;
}

.url-address {
    color: #666;
    font-size: 0.9rem;
}

.url-status, .url-ping, .url-action {
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.success {
    background-color: #2ecc71;
    color: white;
}

.status-badge.error {
    background-color: #e74c3c;
    color: white;
}

.ping-value {
    font-weight: 500;
}

.btn-visit, .btn-disabled {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-visit {
    background-color: #3498db;
    color: white;
    text-decoration: none;
}

.btn-visit:hover {
    background-color: #2980b9;
}

.btn-disabled {
    background-color: #95a5a6;
    color: white;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .url-list-header {
        display: none;
    }
    
    .url-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .url-item > div {
        flex: none;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .url-status, .url-ping, .url-action {
        text-align: left;
    }
    
    .url-action {
        margin-top: 10px;
    }
}