/* Re-skin for the Chauffeur Booking System form.
 *
 * The form root carries only .chbs-booking-form-id-10007 (no generic class),
 * so the id-suffixed selector is required, matching the generated file.
 *
 * The plugin writes its colours into a generated stylesheet
 * (chauffeur-booking-system/multisite/1/style.css) from settings stored in the
 * database, still the demo orange (#FF700A). There is no way to change that
 * without the plugin's admin screen, so this file mirrors its seven orange rule
 * groups and repaints them in the theme's palette. Loaded after the generated
 * file; !important matches the plugin's own usage so the cascade cannot flip
 * back. If the form id ever changes from 10007, the generated filename and
 * these selectors change with it.
 */

.chbs-booking-form-id-10007 .chbs-location-add:hover,
.chbs-booking-form-id-10007 .chbs-location-remove:hover,
.chbs-booking-form-id-10007 .chbs-form-field .chbs-quantity-section .chbs-quantity-section-button:hover,
.chbs-booking-form-id-10007 .chbs-button.chbs-button-style-1,
.chbs-booking-form-id-10007 .chbs-button.chbs-button-style-2.chbs-state-selected,
.chbs-booking-form-id-10007 .chbs-button.chbs-button-style-2.chbs-state-selected:hover,
.chbs-booking-form-id-10007 .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active > a,
.chbs-booking-form-id-10007 .chbs-tab-custom.ui-tabs .ui-tabs-nav > li.ui-tabs-active > a,
.chbs-booking-form-id-10007 .chbs-payment > li > a .chbs-meta-icon-tick,
.chbs-booking-form-id-10007 .chbs-summary .chbs-summary-header > a:hover,
.chbs-booking-form-id-10007 .chbs-main-navigation-default > ul > li.chbs-state-selected > a > span:first-child {
	background-color: var(--accent-text, #08807A) !important; /* white button text needs the darker teal for AA */
}

.chbs-booking-form-id-10007 .chbs-button.chbs-button-style-1:hover {
	background-color: #076B66 !important; /* hover: one step darker, still 6.3:1 with white */
	border-color: #076B66 !important;
}

html .chbs-booking-form-id-10007 .chbs-tab.ui-tabs .ui-tabs-panel,
html .chbs-booking-form-id-10007 .chbs-tab-custom.ui-tabs .ui-tabs-panel {
	border-top-color: var(--accent, #0BB4AA) !important;
}

.chbs-datepicker.ui-datepicker td a.ui-state-hover,
.chbs-booking-form-id-10007 .chbs-button.chbs-button-style-1,
.chbs-booking-form-id-10007 .chbs-button.chbs-button-style-2.chbs-state-selected,
.chbs-booking-form-id-10007 .chbs-button.chbs-button-style-2.chbs-state-selected:hover,
.chbs-booking-form-id-10007 .chbs-location-add:hover,
.chbs-booking-form-id-10007 .chbs-location-remove:hover,
.chbs-booking-form-id-10007 .chbs-form-field .chbs-quantity-section .chbs-quantity-section-button:hover,
.chbs-booking-form-id-10007 .chbs-payment > li > a.chbs-state-selected,
.chbs-booking-form-id-10007 .chbs-summary .chbs-summary-header > a:hover,
.chbs-booking-form-id-10007 .chbs-form-checkbox,
.chbs-booking-form-id-10007 .chbs-payment > li > a.chbs-state-selected,
.chbs-booking-form-id-10007 .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active > a,
.chbs-booking-form-id-10007 .chbs-tab-custom.ui-tabs .ui-tabs-nav > li.ui-tabs-active > a,
.chbs-booking-form-id-10007 .chbs-tab.ui-tabs .ui-tabs-nav > li.ui-tabs-active + li > a,
.chbs-booking-form-id-10007 .chbs-tab-custom.ui-tabs .ui-tabs-nav > li.ui-tabs-active + li > a {
	border-color: var(--accent, #0BB4AA) !important;
}

.chbs-datepicker.ui-datepicker td a.ui-state-hover,
.chbs-datepicker#ui-datepicker-div td a.ui-state-hover,
.chbs-booking-form-id-10007 .ui-menu .ui-menu-item .ui-state-active,
.chbs-booking-form-id-10007 .ui-timepicker-wrapper > .ui-timepicker-list > li:hover,
.chbs-booking-form-id-10007 .ui-timepicker-wrapper > .ui-timepicker-list > li.ui-timepicker-selected,
.chbs-booking-form-id-10007 .chbs-location-add,
.chbs-booking-form-id-10007 .chbs-location-remove,
.chbs-booking-form-id-10007 .iti__country.iti__highlight,
.chbs-booking-form-id-10007 .chbs-form-field .chbs-quantity-section .chbs-quantity-section-button,
.chbs-booking-form-id-10007 .chbs-vehicle .chbs-vehicle-content > .chbs-vehicle-content-price > span > span,
.chbs-booking-form-id-10007 .chbs-form-checkbox.chbs-state-selected > .chbs-meta-icon-tick,
.chbs-booking-form-id-10007 .ui-selectmenu-button .chbs-meta-icon-arrow-vertical-large,
.chbs-booking-form-id-10007 .chbs-ride-info > div > span:first-child,
.chbs-booking-form-id-10007 .chbs-booking-extra-list > ul > li > div.chbs-column-1 > div > .chbs-booking-form-extra-price,
.chbs-booking-form-id-10007 .chbs-booking-complete .chbs-meta-icon-tick,
.chbs-booking-form-id-10007 .chbs-booking-extra-header > span:first-child {
	color: var(--accent-text, #08807A) !important; /* text on white: AA needs the darker teal */
}
