/* 招投标页面样式 - Web适配版 */

/* 横幅区域 */
.bidding-banner {
    background: linear-gradient(135deg, #e7f5ff 0%, #d0ebff 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.bidding-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-content {
    text-align: center;
}

.banner-content h2 {
    font-size: 42px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
    color: var(--text-secondary);
}

.banner-icon {
    display: none;
}

.banner-image {
    display: none;
}

/* 分类导航 */
.category-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    margin-bottom: 40px;
    position: sticky;
    top: 71px;
    z-index: 999;
}

.category-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tab {
    background: none;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    border-radius: 25px;
    transition: all 0.3s;
}

.category-tab:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* 招投标内容 */
.bidding-content {
    padding: 20px 0 80px;
}

.section-title {
    margin: 50px 0 30px;
}

.section-title h2 {
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.section-title h2 i {
    color: var(--primary-color);
}

.section-title:first-child {
    margin-top: 0;
}

/* 招标列表 */
.bidding-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.bidding-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    cursor: pointer;
}

.bidding-card:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.15);
    transform: translateY(-5px);
}

.bidding-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.recommend {
    background: linear-gradient(135deg, #ff6b6b, #ff922b);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.bidding-card h3 {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bidding-card .source {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.bidding-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.bidding-footer .location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-secondary);
}

.bidding-footer .amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.bidding-footer .time {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-detail {
    background: linear-gradient(135deg, #ffe8cc, #ffd8a8);
    color: #d9480f;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-detail:hover {
    background: linear-gradient(135deg, #ffd8a8, #ffc078);
    transform: translateY(-2px);
}

/* 加载更多 */
.load-more {
    text-align: center;
    padding: 40px 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .bidding-list {
        grid-template-columns: 1fr;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .bidding-banner {
        padding: 40px 0;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .category-nav {
        top: 130px;
    }
    
    .category-tabs {
        gap: 10px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
        scrollbar-width: none;
    }
    
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .category-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .bidding-content {
        padding: 20px 0 40px;
    }
    
    .section-title {
        margin: 30px 0 20px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .bidding-card {
        padding: 20px;
    }
    
    .bidding-footer {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 24px;
    }
    
    .category-tab {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
}