/* ============================================
   会议列表页面专属样式
   ============================================ */

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: #fff;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
}

/* 筛选区域 */
.filter-section {
    padding: 35px 40px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
}

.filter-header {
    margin-bottom: 25px;
}

.filter-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.label-icon {
    font-size: 16px;
}

.label-text {
    text-transform: uppercase;
    font-size: 13px;
    color: #666;
}

/* 类别筛选 - 滚动胶囊样式 */
.filter-group-category {
    position: relative;
}

.category-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 8px 5px;
    flex: 1;
}

.category-pills::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.filter-pill {
    flex-shrink: 0;
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background: #fff;
    color: #555;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-pill:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.filter-pill.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
    transform: translateY(-2px);
}

.pill-icon {
    font-size: 16px;
}

.pill-text {
    font-weight: 600;
}

.scroll-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #667eea;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.scroll-btn:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.scroll-btn:active {
    transform: scale(0.95);
}

/* 搜索框现代化样式 */
.search-box-modern {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background: #fff;
}

.search-box-modern:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.search-input-modern {
    flex: 1;
    padding: 12px 18px;
    border: none;
    font-size: 14px;
    outline: none;
    background: transparent;
    color: #333;
}

.search-input-modern::placeholder {
    color: #999;
}

.search-btn-modern {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn-modern:hover {
    opacity: 0.9;
    transform: translateX(2px);
}

.search-icon {
    font-size: 16px;
}

/* 排序选择器现代化样式 */
.sort-select-wrapper {
    position: relative;
}

.sort-select-modern {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.sort-select-modern:hover {
    border-color: #667eea;
}

.sort-select-modern:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}






/* 响应式设计 */
@media (max-width: 1024px) {
    .filter-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-section {
        padding: 25px 20px;
    }
    
    .page-header {
        padding: 35px 20px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .header-stats {
        gap: 20px;
    }
    
    .stat-item {
        padding: 12px 20px;
    }
}

@media (max-width: 768px) {
    .filter-pill {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .pill-icon {
        display: none;
    }
    
    .search-btn-modern .search-text {
        display: none;
    }
    
    .search-btn-modern {
        padding: 12px 16px;
    }
    
    .scroll-btn {
        width: 36px;
        height: 36px;
    }
    
    .list-section {
        padding: 25px 20px;
    }
    
    .conference-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }
    
    .header-subtitle {
        font-size: 14px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .filter-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .search-input-modern {
        padding: 10px 14px;
    }
}








/* 列表区域 */
.list-section {
    padding: 40px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.view-btn.active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* 会议网格 */
.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.conference-grid.list-view {
    grid-template-columns: 1fr;
}

/* 会议卡片 */
.conference-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.conference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.conference-card.list-view {
    display: grid;
    grid-template-columns: 80px 1fr 200px;
    align-items: center;
}

.card-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-bottom: 1px solid #e9ecef;
}

.card-header.list-view {
    padding: 15px;
    border-bottom: none;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-badge.学术年会 { background: #e3f2fd; color: #1976d2; }
.category-badge.论坛 { background: #f3e5f5; color: #7b1fa2; }
.category-badge.研讨会 { background: #e8f5e9; color: #388e3c; }
.category-badge.组稿会 { background: #fff3e0; color: #f57c00; }
.category-badge.沙龙 { background: #fce4ec; color: #c2185b; }

.level-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

.level-badge.国家级 { background: #ff6b6b; color: #fff; }
.level-badge.省级 { background: #ff9800; color: #fff; }
.level-badge.市级 { background: #4caf50; color: #fff; }

.card-header h3 {
    font-size: 18px;
    color: #1e3c72;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.card-body {
    padding: 8px 15px;
}

.card-body.list-view {
    padding: 10px 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row.list-view {
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0;
}

.info-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: #888;
    display: block;
    margin-bottom: 3px;
}

.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-footer.list-view {
    padding: 15px;
    border-top: none;
    border-left: 1px solid #e9ecef;
    flex-direction: column;
    gap: 10px;
}

.view-detail-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.visible-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 10px;
}

.visible-status.公开展示 {
    background: #e8f5e9;
    color: #388e3c;
}

.visible-status.内部可见 {
    background: #fff3e0;
    color: #f57c00;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: #555;
    margin-bottom: 10px;
}

/* 分页 */
.pagination-section {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.pagination-info {
    text-align: center;
    margin-bottom: 15px;
    color: #888;
    font-size: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.page-btn.active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 模态框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #555;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #ff6b6b;
    color: #fff;
}

.modal-body {
    padding: 30px;
}

/* 响应式 */
@media (max-width: 768px) {
    .page-header {
        padding: 30px 20px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .header-stats {
        gap: 20px;
    }

    .stat-item {
        padding: 10px 15px;
    }

    .stat-value {
        font-size: 22px;
    }

    .filter-section {
        padding: 20px;
    }

    .filter-container {
        grid-template-columns: 1fr;
    }

    .list-section {
        padding: 20px;
    }

    .conference-grid {
        grid-template-columns: 1fr;
    }

    .conference-card.list-view {
        grid-template-columns: 1fr;
    }

    .card-body.list-view {
        grid-template-columns: 1fr;
    }

    .pagination-section {
        padding: 15px 20px;
    }
}