/* 中标公告列表专用样式 */
.winning-list-page .winning-item {
    position: relative;
}

/* 页面统计信息 */
.page-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stats-amount {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* 金额范围筛选 */
.amount-range {
    flex: 2;
}

.amount-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amount-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
    min-width: 0;
}

.amount-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.amount-separator {
    color: #6c757d;
    font-weight: 500;
}

/* 中标信息网格优化 */
.winning-info .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

/* 高亮显示中标单位和金额 */
.info-item.highlight {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 10px;
}

.winning-company {
    color: #28a745;
    font-weight: 600;
    font-size: 1rem;
}

.winning-amount {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 公示期限 */
.publicity-period {
    margin-bottom: 12px;
}

.period-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.period-label {
    font-weight: 600;
    color: #856404;
    white-space: nowrap;
}

.period-dates {
    color: #856404;
    font-weight: 500;
}

.days-left {
    color: #28a745;
    font-weight: 600;
}

.days-left.expired {
    color: #dc3545;
}

/* 联系信息 */
.contact-info {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 中标单位列表 */
.winning-companies-list,
.tender-companies-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.company-item:hover {
    background: #e9ecef;
    text-decoration: none;
    color: #495057;
}

.company-name {
    flex: 1;
    font-size: 0.9rem;
}

.company-count {
    background: #6c757d;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    min-width: 20px;
    text-align: center;
}

/* 大额中标 */
.big-winning-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.big-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.big-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.big-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.big-link:hover {
    text-decoration: none;
    color: inherit;
}

.big-title {
    display: block;
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.4;
    margin-bottom: 4px;
}

.big-title:hover {
    color: #007bff;
}

.big-company {
    display: block;
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 500;
    margin-bottom: 2px;
}

.big-amount {
    display: block;
    font-size: 0.8rem;
    color: #dc3545;
    font-weight: 700;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .amount-inputs {
        flex-direction: column;
        gap: 5px;
    }
    
    .amount-separator {
        display: none;
    }
    
    .period-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .winning-info .info-grid {
        grid-template-columns: 1fr;
    }
    
    .winning-item .winning-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .filter-row {
        flex-direction: column;
    }
    
    .amount-range {
        width: 100%;
    }
}