/* 更正公告列表专用样式 */
.corrections-list-page .correction-item {
    position: relative;
}

/* 更正类型徽章 */
.correction-type-badge {
    display: inline-block;
    padding: 2px 6px;
    margin-right: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    background: #fd7e14;
    color: white;
    vertical-align: middle;
}

/* 关联招标信息 */
.related-bidding {
    margin-bottom: 12px;
}

.bidding-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.bidding-info .info-label {
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.bidding-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.bidding-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

.project-number {
    color: #6c757d;
    font-size: 0.9rem;
    background: #e9ecef;
    padding: 1px 4px;
    border-radius: 3px;
    font-family: monospace;
    cursor: pointer;
    transition: background-color 0.2s;
}

.project-number:hover {
    background: #dee2e6;
}

.tender-company {
    color: #6c757d;
    font-size: 0.9rem;
}

/* 更正原因 */
.correction-reason {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    font-size: 0.9rem;
}

.reason-label {
    font-weight: 600;
    color: #856404;
    white-space: nowrap;
    flex-shrink: 0;
}

.reason-content {
    color: #856404;
    line-height: 1.5;
    flex: 1;
}

/* 更新信息 */
.update-info {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 类型列表 */
.types-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.type-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;
}

.type-item:hover {
    background: #e9ecef;
    text-decoration: none;
    color: #495057;
}

.type-item.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.type-name {
    flex: 1;
    font-size: 0.9rem;
}

.type-count {
    background: #6c757d;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    min-width: 20px;
    text-align: center;
}

.type-item.active .type-count {
    background: rgba(255,255,255,0.2);
}

/* 最新更正 */
.recent-corrections {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-link {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
}

.recent-link:hover {
    text-decoration: none;
    color: inherit;
}

.recent-type {
    background: #fd7e14;
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.recent-title {
    flex: 1;
    line-height: 1.4;
    color: #495057;
}

.recent-title:hover {
    color: #007bff;
}

.recent-date {
    color: #6c757d;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .bidding-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .correction-reason {
        flex-direction: column;
        gap: 5px;
    }
    
    .recent-link {
        flex-direction: column;
        gap: 4px;
    }
    
    .recent-date {
        align-self: flex-end;
    }
}