/* LiftFill Bookings - matches the LiftFill Divi design (red #E31E24, black #141414, Source Sans 3 / Lato).
   Change colours here if the brand colours change. */
.lfb { font-family: 'Lato', sans-serif; color: #1a1a1a; font-size: 15px; line-height: 1.6; }
.lfb *, .lfb *:before, .lfb *:after { box-sizing: border-box; }
.lfb-title, .lfb-summary h2 {
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif; font-weight: 700; font-style: italic;
	font-size: 26px; line-height: 1.25; color: #141414; padding: 0 0 14px; margin: 0;
}
.lfb-form .lfb-title { margin-top: 18px; }

/* Steps */
.lfb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0 0 26px !important; padding: 0 !important; counter-reset: lfb; }
.lfb-steps li {
	counter-increment: lfb; position: relative; padding: 12px 8px 10px; text-align: center; font-weight: 700; font-size: 14px;
	color: #8a8a8a; border-bottom: 3px solid #ddd; list-style: none;
}
.lfb-steps li:before {
	content: counter(lfb); display: block; width: 30px; height: 30px; line-height: 30px; margin: 0 auto 6px; border-radius: 50%;
	background: #e6e6e6; color: #555; font-family: 'Source Sans 3', sans-serif; font-style: italic;
}
.lfb-steps li.is-active { color: #141414; border-color: #E31E24; }
.lfb-steps li.is-active:before { background: #E31E24; color: #fff; }
.lfb-steps li.is-done { color: #141414; border-color: #141414; cursor: pointer; }
.lfb-steps li.is-done:before { content: '\2713'; background: #141414; color: #fff; }

/* Services */
.lfb-svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lfb-svc {
	display: flex; flex-direction: column; gap: 6px; text-align: left; cursor: pointer; padding: 20px 22px; min-height: 120px;
	background: #fff; border: 2px solid #e2e2e2; border-radius: 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
	font-family: 'Lato', sans-serif; color: #1a1a1a; transition: border-color .15s, transform .15s;
}
.lfb-svc strong { font-family: 'Source Sans 3', sans-serif; font-style: italic; font-size: 20px; line-height: 1.25; color: #141414; }
.lfb-svc span { font-size: 14px; color: #555; }
.lfb-svc em { font-style: normal; font-size: 13px; font-weight: 700; color: #E31E24; margin-top: auto; }
.lfb-svc:hover, .lfb-svc:focus-visible { border-color: #E31E24; transform: translateY(-2px); outline: none; }
.lfb-svc.is-selected { border-color: #E31E24; }
.lfb-svc:disabled { cursor: default; opacity: .55; box-shadow: none; transform: none; border-color: #e2e2e2; }
.lfb-svc:disabled em { color: #777; }

/* Calendar and times */
.lfb-pick { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.lfb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lfb-cal-head strong { font-family: 'Source Sans 3', sans-serif; font-style: italic; font-size: 20px; }
.lfb-cal-head button {
	width: 44px; height: 44px; border: 0; border-radius: 6px; background: #141414; color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.lfb-cal-head button:disabled { opacity: .3; cursor: default; }
.lfb-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.lfb-cal-grid .lfb-hint { grid-column: 1 / -1; }
.lfb-wd { text-align: center; font-size: 12px; font-weight: 700; color: #777; padding-bottom: 2px; }
.lfb-day {
	min-height: 44px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #141414; font-weight: 700; font-size: 15px; cursor: pointer;
	font-family: 'Lato', sans-serif;
}
.lfb-day:hover:not(:disabled) { border-color: #E31E24; color: #E31E24; }
.lfb-day:disabled { background: #f2f2f2; border-color: #f2f2f2; color: #b5b5b5; font-weight: 400; cursor: default; }
.lfb-day.is-today { box-shadow: inset 0 0 0 2px #141414; }
.lfb-day.is-selected, .lfb-day.is-selected:hover { background: #E31E24; border-color: #E31E24; color: #fff; }
.lfb-slots-date { font-weight: 700; margin: 0 0 10px; padding: 0; }
.lfb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.lfb-time {
	min-height: 48px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #141414; font-weight: 700; font-size: 16px; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Lato', sans-serif; line-height: 1.1;
}
.lfb-time small { font-size: 11px; font-weight: 400; }
.lfb-time:hover:not(:disabled) { border-color: #E31E24; color: #E31E24; }
.lfb-time:disabled { background: #f2f2f2; border-color: #f2f2f2; color: #a0a0a0; text-decoration: line-through; cursor: default; }
.lfb-time:disabled small { text-decoration: none; }
.lfb-time.is-selected, .lfb-time.is-selected:hover { background: #E31E24; border-color: #E31E24; color: #fff; }
.lfb-hint { color: #666; font-size: 14px; margin: 0; padding: 0; }

/* Form */
.lfb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.lfb-f { margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.lfb-f label { font-weight: 700; font-size: 14px; }
.lfb-f abbr { color: #E31E24; text-decoration: none; border: 0; }
.lfb-f input, .lfb-f select, .lfb-f textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid transparent; border-radius: 6px; background: #f2f2f2;
	font-family: 'Lato', sans-serif; font-size: 16px; color: #1a1a1a;
}
.lfb-f textarea { min-height: 96px; }
.lfb-f input:focus, .lfb-f select:focus, .lfb-f textarea:focus { outline: none; border-color: #141414; background: #fff; }
.lfb-f .is-invalid { border-color: #E31E24; background: #fff5f5; }
.lfb-f-notes { margin-top: 14px; }
.lfb-model-wrap { display: contents; }
.lfb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Summary */
.lfb-details { margin: 0 0 18px; padding: 0; }
.lfb-details > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; }
.lfb-details dt { color: #777; font-weight: 400; }
.lfb-details dd { margin: 0; font-weight: 700; color: #141414; overflow-wrap: anywhere; }
.lfb-details .lfb-total dt, .lfb-details .lfb-total dd { color: #E31E24; font-size: 18px; }
.lfb-summary { background: #fff; border-radius: 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .14); padding: 28px; margin: 0 0 24px; }
.lfb-summary > p { margin-bottom: 14px; }
.lfb-st-confirmed h2:before { content: '\2713'; display: inline-block; width: 34px; height: 34px; line-height: 34px; margin-right: 10px; text-align: center; border-radius: 50%; background: #2e9b4e; color: #fff; font-style: normal; font-size: 18px; vertical-align: 3px; }
.lfb-st-cancelled h2 { color: #8a1c1c; }
.lfb-again a { color: #E31E24; font-weight: 700; }
.lfb-terms label { font-weight: 700; cursor: pointer; }
.lfb-terms input { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; accent-color: #E31E24; }
.lfb-terms a { color: #E31E24; }

/* Buttons and messages */
.lfb-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.lfb-btn, .lfb-btn-ghost {
	display: inline-block; min-height: 48px; padding: 12px 34px; border-radius: 7px; cursor: pointer; text-align: center; text-decoration: none;
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif; font-weight: 700; font-style: italic; font-size: 17px; text-transform: uppercase; line-height: 1.4;
}
.lfb-btn { border: 0; color: #fff !important; background: linear-gradient(180deg, #ED1C24 0%, #B3141A 100%); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.lfb-btn:hover { opacity: .92; }
.lfb-btn:disabled { background: #c9c9c9; box-shadow: none; cursor: default; opacity: 1; }
.lfb-btn-ghost { border: 2px solid #141414; background: #fff; color: #141414; }
.lfb-msg { padding: 12px 16px !important; border-radius: 6px; margin: 0 0 16px; font-weight: 700; }
.lfb-msg-error { background: #fdecec; color: #8a1c1c; border-left: 4px solid #E31E24; }
.lfb-note, .lfb-notice { color: #555; font-size: 14px; margin-top: 16px; }
.lfb-notice { background: #fff4d6; color: #5c4300; padding: 12px 16px !important; border-radius: 6px; font-weight: 700; margin: 0 0 18px; }
.lfb-loading { color: #777; }

@media (max-width: 980px) {
	.lfb-pick { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.lfb-svcs, .lfb-grid { grid-template-columns: 1fr; }
	.lfb-steps li { font-size: 0; padding: 8px 4px; }
	.lfb-steps li:before { font-size: 14px; margin-bottom: 0; }
	.lfb-steps li.is-active { font-size: 12px; }
	.lfb-details > div { grid-template-columns: 1fr; gap: 2px; }
	.lfb-nav { flex-direction: column-reverse; align-items: stretch; }
	.lfb-btn, .lfb-btn-ghost { width: 100%; padding: 12px 18px; }
	.lfb-summary { padding: 20px; }
	.lfb-title, .lfb-summary h2 { font-size: 22px; }
}
