.wpbc_booking_resource_selector {
box-sizing: border-box;
margin: 0 auto;
max-width: 860px;
position: relative
}
.wpbc_booking_resource_selector .wpbc_booking_ui_theme_scope,
.wpbc_booking_resource_selector__loading {
--wpbc-resource-selector-accent: var(--wpbc_form-choice-checked-border-color, #465160);
--wpbc-resource-selector-accent-text: var(--wpbc_form-accent-contrast-color, var(--wpbc_form-button-text-color, #fff));
--wpbc-resource-selector-border: var(--wpbc_form-field-border-color, #dcdcde);
--wpbc-resource-selector-error: var(--wpbc_form-label-error-color, #d63638);
--wpbc-resource-selector-focus: var(--wpbc_form-choice-focus-color, var(--wpbc_form-field-focus-border-color, #465160));
--wpbc-resource-selector-muted: var(--wpbc_form-label-sublabel-color, #646970);
--wpbc-resource-selector-surface: var(--wpbc_form-field-background-color, #fff);
--wpbc-resource-selector-surface-text: var(--wpbc_form-field-text-color, #1d2327);
--wpbc-resource-selector-text: var(--wpbc_form-label-color, #1d2327);
color: var(--wpbc-resource-selector-text)
}
.wpbc_booking_resource_selector *,
.wpbc_booking_resource_selector ::after,
.wpbc_booking_resource_selector ::before {
box-sizing: border-box
}
.wpbc_booking_resource_selector:not([data-resource-selector-stage=booking]) > .wpbc_booking_resource_selector__stage {
background: var(--wpbc-bfb-form-background,#fff);
border: var(--wpbc-bfb-form-border-width,1px) solid var(--wpbc-bfb-form-border-color,#ccc);
border-radius: var(--wpbc-bfb-form-border-radius,2px);
box-shadow: var(--wpbc-bfb-form-box-shadow,rgba(0,0,0,.05) 0 2px 6px 0);
padding: var(--wpbc-bfb-form-padding,10px 30px)
}
.wpbc_booking_resource_selector__progress {
-ms-flex-align: start;
align-items: start;
display: grid;
grid-template-columns: repeat(2,minmax(0,1fr));
list-style: none;
margin: 0 0 28px;
padding: 0;
width: 100%
}
.wpbc_booking_resource_selector[data-resource-selector-stage=booking] > .wpbc_booking_resource_selector__stage > .wpbc_booking_resource_selector__progress {
background: var(--wpbc-bfb-form-background,#fff);
border: var(--wpbc-bfb-form-border-width,1px) solid var(--wpbc-bfb-form-border-color,#ccc);
border-radius: var(--wpbc-bfb-form-border-radius,2px);
box-shadow: var(--wpbc-bfb-form-box-shadow,rgba(0,0,0,.05) 0 2px 6px 0);
padding: var(--wpbc-bfb-form-padding,10px 30px)
}
.wpbc_booking_resource_selector__progress_step {
-ms-flex-align: center;
align-items: center;
color: var(--wpbc-resource-selector-muted);
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
font-size: 13px;
gap: 7px;
line-height: 1.35;
min-width: 0;
position: relative;
text-align: center
}
.wpbc_booking_resource_selector__progress_step:not(:last-child)::after {
background: var(--wpbc-resource-selector-border);
content: "";
height: 1px;
left: calc(50% + 15px);
position: absolute;
right: calc(-50% + 15px);
top: 15px
}
.wpbc_booking_resource_selector__progress_step.is-complete::after {
background: var(--wpbc-resource-selector-accent)
}
.wpbc_booking_resource_selector__progress_number {
-ms-flex-align: center;
align-items: center;
background: var(--wpbc-resource-selector-surface);
border: 1px solid var(--wpbc-resource-selector-border);
border-radius: 50%;
color: var(--wpbc-resource-selector-surface-text);
display: -ms-inline-flexbox;
display: inline-flex;
-ms-flex: 0 0 30px;
flex: 0 0 30px;
font-weight: 600;
height: 30px;
-ms-flex-pack: center;
justify-content: center;
line-height: 1;
position: relative;
width: 30px;
z-index: 1
}
.wpbc_booking_resource_selector__progress_step.is-active {
color: var(--wpbc-resource-selector-text);
font-weight: 600
}
.wpbc_booking_resource_selector__progress_step.is-active .wpbc_booking_resource_selector__progress_number,
.wpbc_booking_resource_selector__progress_step.is-complete .wpbc_booking_resource_selector__progress_number {
background: var(--wpbc-resource-selector-accent);
border-color: var(--wpbc-resource-selector-accent);
color: var(--wpbc-resource-selector-accent-text)
}
.wpbc_booking_resource_selector__heading {
margin: 0 0 18px
}
.wpbc_booking_resource_selector__heading h3 {
color: var(--wpbc-resource-selector-text);
font-size: 24px;
line-height: 1.25;
margin: 0 0 5px
}
.wpbc_booking_resource_selector__heading h3:focus {
border-radius: var(--wpbc_form-field-border-radius,8px);
box-shadow: 0 0 0 2px var(--wpbc_form-field-focus-shadow-color,var(--wpbc-resource-selector-focus));
outline: 0
}
.wpbc_booking_resource_selector__heading p {
color: var(--wpbc-resource-selector-muted);
margin: 0
}
.wpbc_booking_resource_selector__choices {
display: grid;
gap: 10px;
grid-template-columns: repeat(auto-fit,minmax(280px,1fr))
}
.wpbc_booking_resource_selector__choice {
-ms-flex-align: center;
align-items: center;
background: var(--wpbc-resource-selector-surface);
border: 1px solid var(--wpbc-resource-selector-border);
border-radius: var(--wpbc_form-field-border-radius,8px);
color: var(--wpbc-resource-selector-surface-text);
cursor: pointer;
display: -ms-flexbox;
display: flex;
gap: 12px;
min-height: 86px;
padding: 15px 16px;
position: relative;
transition: border-color .15s,box-shadow .15s
}
.wpbc_booking_resource_selector__choice:hover {
border-color: var(--wpbc-resource-selector-focus)
}
.wpbc_booking_resource_selector__choice:focus-within {
box-shadow: 0 0 0 2px var(--wpbc_form-field-focus-shadow-color,var(--wpbc-resource-selector-focus));
outline: 0
}
.wpbc_booking_resource_selector__choice > input {
opacity: 0;
pointer-events: none;
position: absolute
}
.wpbc_booking_resource_selector__choice.is-selected,
.wpbc_booking_resource_selector__choice:has(input:checked) {
border-color: var(--wpbc-resource-selector-accent);
box-shadow: inset 3px 0 0 var(--wpbc-resource-selector-accent)
}
.wpbc_booking_resource_selector__choice_body {
display: -ms-flexbox;
display: flex;
-ms-flex: 1;
flex: 1;
-ms-flex-direction: column;
flex-direction: column;
min-width: 0
}
.wpbc_booking_resource_selector__choice_body strong {
color: var(--wpbc-resource-selector-surface-text);
font-size: 16px;
line-height: 1.3
}
.wpbc_booking_resource_selector__choice_description {
color: var(--wpbc-resource-selector-muted);
font-size: 13px;
line-height: 1.4;
margin-top: 3px
}
.wpbc_booking_resource_selector__resource_icon {
-ms-flex-align: center;
align-items: center;
background: var(--wpbc_form-button-light-background-color,#eef0ff);
border: 1px solid var(--wpbc_form-button-light-border-color,var(--wpbc-resource-selector-border));
border-radius: 50%;
color: var(--wpbc_form-button-light-text-color,#3044a5);
display: -ms-inline-flexbox;
display: inline-flex;
-ms-flex: 0 0 44px;
flex: 0 0 44px;
font-size: 12px;
font-weight: 700;
height: 44px;
-ms-flex-pack: center;
justify-content: center;
overflow: hidden;
width: 44px
}
.wpbc_booking_resource_selector__resource_icon img {
height: 100%;
object-fit: cover;
width: 100%
}
.wpbc_booking_resource_selector__choice_mark {
border: 2px solid var(--wpbc-resource-selector-border);
border-radius: 50%;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
height: 18px;
width: 18px
}
.wpbc_booking_resource_selector__choice input:checked ~ .wpbc_booking_resource_selector__choice_mark {
border: 5px solid var(--wpbc-resource-selector-accent)
}
.wpbc_booking_resource_selector__actions {
display: -ms-flexbox;
display: flex;
gap: 10px;
-ms-flex-pack: end;
justify-content: flex-end;
margin-top: 20px
}
.wpbc_booking_resource_selector__booking_header {
-ms-flex-align: center;
align-items: center;
background: var(--wpbc-resource-selector-surface);
border: 1px solid var(--wpbc-resource-selector-border);
border-radius: var(--wpbc-bfb-form-border-radius,7px);
color: var(--wpbc-resource-selector-surface-text);
display: -ms-flexbox;
display: flex;
-ms-flex-pack: justify;
justify-content: space-between;
margin-bottom: 22px;
padding: 13px 16px
}
.wpbc_booking_resource_selector__booking_header > div {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
gap: 3px
}
.wpbc_booking_resource_selector__booking_header span {
color: var(--wpbc-resource-selector-muted);
font-size: 12px;
text-transform: uppercase
}
.wpbc_booking_resource_selector__ajax_notice,
.wpbc_booking_resource_selector__notice {
background: #fcf0f1;
border-left: 4px solid var(--wpbc-resource-selector-error);
color: var(--wpbc-resource-selector-text);
padding: 12px 14px
}
.wpbc_booking_resource_selector__notice--empty {
background: #f0f6fc;
border-left-color: #72aee6
}
.wpbc_booking_resource_selector__ajax_notice {
margin-top: 12px
}
.wpbc_booking_resource_selector__loading {
-ms-flex-align: center;
align-items: center;
background: rgba(255,255,255,.92);
border: 1px solid var(--wpbc-resource-selector-border);
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0,0,0,.08);
display: -ms-flexbox;
display: flex;
gap: 10px;
left: 50%;
padding: 10px 14px;
position: absolute;
top: 22px;
-ms-transform: translateX(-50%);
transform: translateX(-50%);
z-index: 20
}
.wpbc_booking_resource_selector__loading[hidden] {
display: none
}
.wpbc_booking_resource_selector__spinner {
animation: .8s linear infinite wpbc-resource-selector-spin;
border: 2px solid var(--wpbc-resource-selector-border);
border-radius: 50%;
border-top-color: var(--wpbc-resource-selector-accent);
height: 18px;
width: 18px
}
.wpbc_booking_resource_selector.is-loading > .wpbc_booking_resource_selector__stage {
opacity: .55;
pointer-events: none
}
@keyframes wpbc-resource-selector-spin {
to {
transform: rotate(360deg)
}
}
@media (max-width:600px) {
.wpbc_booking_resource_selector:not([data-resource-selector-stage=booking]) > .wpbc_booking_resource_selector__stage,
.wpbc_booking_resource_selector[data-resource-selector-stage=booking] > .wpbc_booking_resource_selector__stage > .wpbc_booking_resource_selector__progress {
padding: 16px
}
.wpbc_booking_resource_selector__booking_header {
-ms-flex-align: start;
align-items: flex-start;
-ms-flex-direction: column;
flex-direction: column;
gap: 12px
}
.wpbc_booking_resource_selector__actions {
-ms-flex-pack: stretch;
justify-content: stretch
}
.wpbc_booking_resource_selector__actions .wpbc_button {
width: 100%
}
}
@media (prefers-reduced-motion:reduce) {
.wpbc_booking_resource_selector__choice {
transition: none
}
.wpbc_booking_resource_selector__spinner {
animation-duration: 1.6s
}
}