/* AnchorLight Bookly details step. */

.booking-section .bookly-form > .bookly-box:has(+ .bookly-details-step) {
	width: min(100%, 1132px);
	margin-inline: auto !important;
}

.booking-section .bookly-details-step {
	display: grid !important;
	gap: 32px;
	margin-top: 32px;
}

.booking-section .bookly-details-step > .bookly-box,
.booking-section .bookly-details-step .bookly-custom-field-row {
	margin: 0 !important;
	padding: 0 !important;
}

.booking-section .bookly-details-step > .bookly-table {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.booking-section .bookly-details-step .bookly-form-group {
	display: flex !important;
	width: auto !important;
	height: auto;
	flex-direction: column;
	padding: 0 !important;
}

.booking-section .bookly-details-step .bookly-form-group > label {
	margin-bottom: 12px !important;
	line-height: 1.3;
	white-space: normal;
}

.booking-section .bookly-details-step > .bookly-table > .bookly-form-group > div {
	width: 100%;
	margin: 5px 0 0 !important;
}

.booking-section .bookly-details-step input[type="text"],
.booking-section .bookly-details-step input[type="tel"],
.booking-section .bookly-details-step input[type="email"],
.booking-section .bookly-details-step textarea {
	min-height: 52px;
	padding: 9px 16px !important;
}

.booking-section .bookly-details-step .iti {
	width: 100%;
}

.booking-section .bookly-details-step .iti input[type="tel"] {
	padding-right: 16px !important;
	padding-left: 54px !important;
}

.booking-section .bookly-details-step .bookly-custom-fields-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.booking-section .bookly-details-step .bookly-custom-field-row[data-type="radio-buttons"],
.booking-section .bookly-details-step .bookly-custom-field-row:last-child {
	grid-column: 1 / -1;
}

.booking-section .bookly-details-step .bookly-custom-field-row[data-type="radio-buttons"] .bookly-form-group > div {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
}

.booking-section .bookly-details-step .bookly-custom-field-row[data-type="radio-buttons"] br {
	display: none;
}

.booking-section .bookly-details-step .bookly-custom-field-row[data-type="radio-buttons"] .bookly-form-group > div > label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: var(--bookly-copy);
	font-family: var(--paragraph-font, "Source Sans Pro", sans-serif);
	font-size: 18px;
	line-height: 1.4;
}

.booking-section .bookly-details-step input[type="radio"] {
	display: inline-grid !important;
	width: 20px;
	height: 20px;
	margin: 0 !important;
	padding: 0 !important;
	place-content: center;
	appearance: none;
	border: 1px solid var(--accent, #c58052) !important;
	border-radius: 50%;
	background: #fff !important;
}

.booking-section .bookly-details-step input[type="radio"]::before {
	width: 10px;
	height: 10px;
	content: "";
	transform: scale(0);
	border-radius: 50%;
	background: var(--accent, #c58052);
	transition: transform 120ms ease;
}

.booking-section .bookly-details-step input[type="radio"]:checked::before {
	transform: scale(1);
}

.booking-section .bookly-details-step textarea {
	min-height: 144px;
}

@media (max-width: 1024px) {
	.booking-section .bookly-details-step {
		gap: 24px;
		margin-top: 28px;
	}

	.booking-section .bookly-details-step > .bookly-table,
	.booking-section .bookly-details-step .bookly-custom-fields-container {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.booking-section .bookly-details-step .bookly-custom-field-row[data-type="radio-buttons"],
	.booking-section .bookly-details-step .bookly-custom-field-row:last-child {
		grid-column: auto;
	}
}
