/* 会议列表页面样式 */

/* 搜索条 */
.search-bar {
    padding: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid #ebeef5;
    margin-bottom: 25px;
}

.search-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-bar-title {
    font-size: 18px;
    color: #303133;
    font-weight: 600;
}

.search-bar-title span {
    color: rgba(0,157,217,1);
}

.search-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 400px;
    min-width: 250px;
}

.search-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
}

.search-input:focus {
    border-color: rgba(0,157,217,1);
    box-shadow: 0 0 0 2px rgba(0,157,217,0.1);
}

.search-btn {
    background: rgba(0,157,217,1);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    background: #0099d6;
}

.search-reset {
    color: #909399;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 12px;
    transition: color 0.3s;
}

.search-reset:hover {
    color: #606266;
}

.search-result-text {
    color: #606266;
    font-size: 14px;
    margin-left: 10px;
}

.search-result-text strong {
    color: rgba(0,157,217,1);
}

/* 会议列表区域 */
.list-section {
    background: #fff;
    margin: -30px 20px 40px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.list-section-title {
    color: #303133;
    font-size: 24px;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #667eea;
    font-weight: 600;
}

/* 会议卡片 */
.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.conference-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid #ebeef5;
}

.conference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-banner {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.status-筹备中 { background: #409eff; }
.status-进行中 { background: #67c23a; }
.status-已结束 { background: #909399; }

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #606266;
}

.meta-item span:first-child {
    font-size: 16px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.attendee-count {
    font-size: 14px;
    color: #909399;
}

.attendee-count strong {
    color: rgba(0,157,217,1);
    font-size: 18px;
}

.btn-detail {
    background: rgba(0,157,217,1);
    color: #fff;
    padding: 10px 24px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-detail:hover {
    background: #0099d6;
    transform: translateY(-2px);
}

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

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.pagination a {
    background: #f5f7fa;
    color: #606266;
}

.pagination a:hover {
    background: #e4e7ed;
}

.pagination .active {
    background: #667eea;
    color: #fff;
}

.pagination .disabled {
    background: #f5f7fa;
    color: #c0c4cc;
    cursor: not-allowed;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
    margin: 0 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.empty-state h3 {
    font-size: 20px;
    color: #606266;
    margin-bottom: 15px;
    font-weight: 500;
}

.empty-state p {
    font-size: 14px;
    color: #909399;
}

/* 响应式 */
@media (max-width: 768px) {
    .search-bar {
        padding: 0 0 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .search-bar-right {
        width: 100%;
        max-width: none;
    }

    .search-bar-title {
        font-size: 16px;
    }

    .list-section {
        margin: -20px 10px 30px;
        padding: 20px;
    }

    .conference-grid {
        grid-template-columns: 1fr;
    }

    .card-banner {
        height: 180px;
    }
}
