body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

h2 {
    color: #ffaacd;
    text-align: center;
    margin-bottom: 30px;
}

.stats-container {
    margin-bottom: 30px;
}

.combined-stat-card {
    background-color: #3498db;
    color: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    min-width: 150px;
    margin: 10px;
}

.stat-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.stat-item p {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.api-item {
    background-color: #f9f9f9;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.api-item h2 {
    color: #2c3e50;
    margin-top: 0;
}

.api-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.api-meta span {
    background-color: #e0e0e0;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.api-path {
    color: #3498db;
    text-decoration: none;
    cursor: pointer;
}

.api-path:hover {
    text-decoration: underline;
}

.api-params {
    margin-top: 10px;
}

.api-params table {
    width: 100%;
    border-collapse: collapse;
}

.api-params th, .api-params td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.api-params th {
    background-color: #f2f2f2;
}

.error {
    color: #e74c3c;
    text-align: center;
    padding: 20px;
    font-weight: bold;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}

/* ===== 简洁版备案信息样式 ===== */
a[href*="beian.miit.gov.cn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

a[href*="beian.miit.gov.cn"]:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateX(-50%) translateY(-2px);
    color: #333;
}

/* 添加小图标 */
a[href*="beian.miit.gov.cn"]::before {
    content: '🏛️';
    margin-right: 6px;
    font-size: 12px;
}

@media (max-width: 768px) {
    a[href*="beian.miit.gov.cn"] {
        font-size: 12px;
        padding: 8px 16px;
        bottom: 15px;
    }
}