/* 规划甲级页面样式 */
.guihuajiaji-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 5px 25px;
}

/* 省份统计网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-bottom: 5px;
}

.stat-card {
    background: #6a81ea;
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white;
}

.province-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
}

.province-count {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* 省份详情区域 */
.province-detail {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.province-detail h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.company-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
}

.company-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.company-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.company-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    text-decoration: none;
}

.company-title:hover {
    color: #667eea;
    text-decoration: none;
}

.company-title.has-url {
    color: #dc3545;
}

.company-title.has-url:hover {
    color: #c82333;
}

.company-title.downgraded {
    text-decoration: line-through;
}

.company-title.has-url.downgraded {
    color: #dc3545;
    text-decoration: line-through;
}

.company-info {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

.company-info .info-item {
    margin-bottom: 4px;
}

.company-info .info-label {
    font-weight: 500;
    color: #495057;
}

/* 返回顶部链接 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #5a6fd8;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 手机适配 */
@media (max-width: 768px) {
    .guihuajiaji-container {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 6px;
    }
    
    .stat-card {
        padding: 6px 8px;
    }
    
    .province-name {
        font-size: 11px;
    }
    
    .province-count {
        font-size: 12px;
    }
    
    .company-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .company-item {
        padding: 12px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .guihuajiaji-container {
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 4px;
    }
    
    .stat-card {
        padding: 4px 6px;
    }
    
    .province-name {
        font-size: 10px;
    }
    
    .province-count {
        font-size: 11px;
    }
    
    .province-detail {
        padding: 15px;
    }
    
    .company-item {
        padding: 10px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}
