/* 会员名录页面专用样式 */

/* 页面标题样式 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3498db;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0;
}

/* 会员名录介绍样式 */
.directory-intro {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.directory-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    margin: 0;
}

/* 会员分类区域样式 */
.membership-categories {
    margin-bottom: 40px;
}

.membership-categories h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

/* 分类网格样式 - 桌面端4个卡片一排显示 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* 分类卡片样式 */
.category-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.category-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.category-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 后台内容区域样式 */
.admin-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* 内容标题样式 */
.admin-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.admin-content h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin: 25px 0 15px 0;
}

/* 段落样式 */
.admin-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* 列表样式 */
.admin-content ul,
.admin-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.admin-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333;
}

/* 表格样式 */
.admin-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.admin-content table th,
.admin-content table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.admin-content table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #2c3e50;
}

.admin-content table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.admin-content table tr:hover {
    background-color: #e9ecef;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .membership-categories h2,
    .admin-content h2 {
        font-size: 1.5rem;
    }
    
    .admin-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}