/* 主内容区域 */
.main-content-area {
    width: 100%;
    padding: 40px 0;
    background-color: #f8f9fa;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #f8f9fa;
    width: 100%;
    min-height: 100%;
}

/* 会员单位页面样式 */
.members-content {
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
}

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

.members-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 搜索和筛选样式 */
.members-filter {
    margin: 30px 0;
    text-align: center;
}

.search-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
/**    max-width: 900px; **/
    margin: 0 auto;
    padding: 20px;
}

.search-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.search-container {
    position: relative;
}

.search-input-group {
    display: flex;
    align-items: center;
    max-width: 650px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-input::placeholder {
    color: #999;
    font-size: 14px;
}

.search-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.search-button:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.search-button:active {
    transform: translateY(0);
}

.search-tip {
    margin-top: 12px;
    color: #666;
    font-size: 13px;
    font-style: italic;
}

/* 搜索结果样式 */
.search-results {
    margin-top: 20px;
}

.search-results-count {
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results p {
    font-size: 16px;
    margin-bottom: 10px;
}

.no-results-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 16px;
}

/* 搜索结果页面特殊样式 */
.search-results-filter {
    margin-bottom: 20px;
}

/* 搜索关键词展示 */
.active-search-keyword {
    margin-top: 15px;
    padding: 12px 16px;
    background-color: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.active-search-keyword p {
    margin: 0;
    font-size: 14px;
    color: #1976d2;
}

.active-search-keyword strong {
    font-weight: 600;
    color: #0d47a1;
}

/* 搜索结果页面特殊样式 */
.search-results-filter {
    margin-bottom: 20px;
}

.search-query {
    margin-top: 10px;
    color: #7f8c8d;
    font-size: 14px;
}

.search-results-count {
    font-size: 16px;
    color: #34495e;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* 搜索无结果提示 */
.no-search-results {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
    font-size: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 30px 0;
}

.no-search-results p {
    margin: 10px 0;
}

.no-search-results a {
    color: #1a5276;
    text-decoration: none;
}

.no-search-results a:hover {
    text-decoration: underline;
}

/* 返回会员列表按钮 */
.back-to-members {
    margin: 40px 0;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 12px 25px;
    background-color: #1a5276;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #2874a6;
}

.btn-back i {
    margin-right: 8px;
}

/* 会员单位网格 */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
    grid-auto-rows: minmax(min-content, max-content);
    justify-content: center;
    align-content: start;
}

.member-card {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 320px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-logo {
    width: 100%;
    height: auto;
    min-height: 160px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

.member-logo img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.member-logo.placeholder {
    font-size: 2rem;
    color: #3498db;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    min-height: 40px;
}

.member-type {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    padding: 4px 12px;
    background-color: #f1f3f4;
    border-radius: 15px;
    display: inline-block;
}

.member-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.member-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

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

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

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

.pagination .current {
    background-color: #2E7D32;
    color: white;
    border-color: #2E7D32;
}

.pagination span {
    padding: 8px 12px;
    color: #999;
}

.pagination span.disabled {
    padding: 8px 12px;
    color: #ccc;
    cursor: not-allowed;
}

/* 统计信息 - 单行布局 */
.members-stats {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f8f9fa;
}

/* 自定义滚动条样式 */
.members-stats::-webkit-scrollbar {
    height: 6px;
}

.members-stats::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.members-stats::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.members-stats::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

.stat-item {
    text-align: center;
    padding: 10px 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    min-width: 120px;
    flex-shrink: 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .members-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-select {
        flex-direction: column;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    /* 调整会员卡片在移动设备上的显示 */
    .member-card {
        padding: 20px;
    }
    
    .member-logo {
        height: 140px;
    }
    
    .member-name {
        font-size: 1rem;
    }
}