.gfb-booking-wrapper,
.gfb-quote-request-wrapper {
	margin: 24px 0;
}

.gfb-booking-wrapper h3,
.gfb-quote-request-wrapper h3 {
	margin-top: 0;
	margin-bottom: 16px;
}

.gfb-booking-field {
	margin-bottom: 16px;
}

.gfb-booking-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.gfb-booking-field input,
.gfb-booking-field select,
.gfb-booking-field textarea {
	max-width: 100%;
}

.gfb-booking-field textarea {
	min-height: 100px;
}

.gfb-quote-request-wrapper button[type="submit"] {
	margin-top: 8px;
}

.woocommerce-account .gfb-bookings td form,
.woocommerce-account .gfb-bookings td details {
	margin-top: 8px;
	margin-bottom: 8px;
}

.woocommerce-account .gfb-bookings td .button,
.woocommerce-account .gfb-bookings td .wp-element-button {
	margin-right: 8px;
	margin-bottom: 8px;
}

.woocommerce-account .gfb-bookings details form {
	margin-top: 12px;
	padding-top: 8px;
}

.gfb-booking-notice {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: #666;
}

#gfb_booking_time:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.gfb-booking-payment-choice {
	margin: 20px 0;
}

.gfb-booking-payment-choice-title {
	margin: 0 0 12px;
	font-weight: 700;
}

.gfb-booking-payment-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	margin-bottom: 12px;
	border: 1px solid #d8e2dc;
	border-radius: 14px;
	cursor: pointer;
	background: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gfb-booking-payment-option:hover {
	border-color: #1f7a4d;
	box-shadow: 0 6px 16px rgba(31, 122, 77, 0.12);
}

.gfb-booking-payment-option input[type="radio"] {
	margin-top: 4px;
	flex: 0 0 auto;
}

.gfb-booking-payment-option span {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gfb-booking-payment-option strong {
	font-size: 15px;
	line-height: 1.4;
}

.gfb-booking-payment-option small {
	color: #64748b;
	line-height: 1.4;
}

.gfb-booking-payment-option:has(input[type="radio"]:checked) {
	border-color: #1f7a4d;
	background: #f0fdf4;
	box-shadow: 0 6px 16px rgba(31, 122, 77, 0.12);
}

.woocommerce-account .gfb-bookings td a.button,
.woocommerce-account .gfb-bookings td form,
.woocommerce-account .gfb-bookings td details {
    display: inline-block;
    margin: 0 8px 8px 0;
    vertical-align: top;
}

.gfb-landscaping-fields {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
}

.gfb-landscaping-fields h4 {
    margin-top: 0;
    margin-bottom: 16px;
}

.gfb-landscaping-fields .form-row,
.gfb-landscaping-fields .gfb-checkbox {
    display: block;
    margin-bottom: 14px;
}

.gfb-landscaping-fields input[type="number"],
.gfb-landscaping-fields select,
.gfb-landscaping-fields textarea {
    width: 100%;
}

/*
 * Page publique de réservation de prévisite.
 *
 * Les couleurs, polices et styles de boutons sont volontairement
 * hérités du thème actif.
 */
.gfb-previsit {
	max-width: 760px;
	margin: 2rem auto;
	font-family: inherit;
	color: inherit;
}

.gfb-previsit *,
.gfb-previsit *::before,
.gfb-previsit *::after {
	box-sizing: border-box;
}

.gfb-previsit-booking-form {
	margin-top: 1.5rem;
}

.gfb-previsit-booking-form .form-row {
	margin: 0 0 1.25rem;
	padding: 0;
}

.gfb-previsit-booking-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-family: inherit;
	font-weight: 600;
	color: inherit;
}

.gfb-previsit-booking-form input[type="date"],
.gfb-previsit-booking-form select {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.65rem 0.8rem;
	font: inherit;
	line-height: 1.4;
	color: inherit;
	background-color: transparent;
	border: 1px solid currentColor;
	border-radius: inherit;
	box-shadow: none;
}

.gfb-previsit-booking-form select {
	appearance: auto;
}

.gfb-previsit-booking-form input[type="date"]:focus,
.gfb-previsit-booking-form select:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.gfb-previsit-booking-form .required {
	color: var(--wp--preset--color--vivid-red, #b32d2e);
}

.gfb-previsit-submit {
	margin-top: 1.5rem;
}

.gfb-previsit-submit .button {
	width: auto;
	max-width: 100%;
	font-family: inherit;
	cursor: pointer;
}

@media (max-width: 600px) {
	.gfb-previsit {
		margin: 1rem 0;
	}

	.gfb-previsit-submit .button {
		width: 100%;
	}
}