/* HCR compact taxes-and-fees disclosure. */
.booking_cost li.hcr_vlrf,
.booking_cost li.hcr_road_safety_fee,
.booking_cost li.hcr_congestion_impact_fee,
.booking_cost li.hcr_auto_rental_tax,
.booking_cost li.hcr_ownership_tax,
.booking_cost li.hcr_sales_tax {
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Detail rows are collapsed by default. */
.booking_cost ul:not(.hcr-tax-fees-expanded) > li.hcr-tax-fee-detail {
    display: none !important;
}

.booking_cost li.hcr_total_taxes_fees {
    margin-top: 6px;
    padding-top: 11px;
    padding-bottom: 11px;
    border-top: 1px solid var(--main-border-color, #dfdfdf);
    border-bottom: 1px solid var(--main-border-color, #dfdfdf);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.booking_cost li.hcr_total_taxes_fees .name::after {
    content: "Details \25BE";
    display: inline-block;
    margin-left: 8px;
    color: var(--light-text-color, #4b5563);
    font-size: 0.72em;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.booking_cost li.hcr_total_taxes_fees[aria-expanded="true"] .name::after {
    content: "Hide \25B4";
}

.booking_cost li.hcr_total_taxes_fees:hover,
.booking_cost li.hcr_total_taxes_fees:focus-visible {
    background: var(--dark-bg-color, #f3f4f6);
}

.booking_cost li.hcr_total_taxes_fees:focus-visible {
    outline: 2px solid var(--brand-color, #111827);
    outline-offset: 2px;
}

.booking_cost li.hcr-tax-fee-detail {
    padding-left: 14px;
    color: var(--light-text-color, #4b5563);
    background: var(--dark-bg-color, #f8fafc);
}

.booking_cost li.hcr-tax-fee-detail .name,
.booking_cost li.hcr-tax-fee-detail .price {
    font-size: 0.92em;
}

.booking_cost li.deposit_free_total,
.booking_cost li.total {
    font-weight: 700;
}
