/* query_detail_fix.css - 修复零担和整车价格显示样式 */

/* 零担价格优惠/加价标签 */
.price-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-discount.discount {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.price-discount.markup {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.price-card {
    position: relative;
    overflow: hidden;
}

/* 整车价格卡片优化 */
.vehicle-card {
    position: relative;
    overflow: hidden;
}

.vehicle-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    z-index: 10;
}

.vehicle-discount.markup {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* 费用详情样式优化 */
.vehicle-cost-detail {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.cost-row:last-child {
    border-bottom: none;
}

.cost-label {
    font-size: 13px;
    color: #6b7280;
}

.cost-value {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* 车辆价格主显示 */
.vehicle-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

.vehicle-price .label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.vehicle-price .value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .price-discount,
    .vehicle-discount {
        font-size: 10px;
        padding: 3px 8px;
    }

    .vehicle-price .value {
        font-size: 20px;
    }
}
