.wcsuite-bookings-widget {
	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	margin: 0;
	padding: 24px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 14px;
}

.wcsuite-bookings-widget *,
.wcsuite-bookings-widget *::before,
.wcsuite-bookings-widget *::after {
	box-sizing: border-box;
}

.wcsuite-bookings-widget [hidden] {
	display: none !important;
}

.wcsuite-bookings-widget__title {
	margin: 0 0 22px;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: #1d2327;
}

.wcsuite-bookings-widget__section {
	margin-bottom: 22px;
}

.wcsuite-bookings-widget__row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.wcsuite-bookings-widget__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 0 0 16px;
}

.wcsuite-bookings-widget__field--full {
	width: 100%;
	flex: 1 1 100%;
}

.wcsuite-bookings-widget__field--half {
	flex: 1 1 220px;
}

.wcsuite-bookings-widget__field--slots {
	position: relative;
}

.wcsuite-bookings-widget__field--honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

.wcsuite-bookings-widget__label {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	color: #1d2327;
}

.wcsuite-bookings-widget__form input.wcsuite-bookings-widget__input,
.wcsuite-bookings-widget__form textarea.wcsuite-bookings-widget__textarea,
.wcsuite-bookings-widget__form select.wcsuite-bookings-widget__select {
	box-sizing: border-box !important;
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid #c3c4c7 !important;
	border-radius: 8px !important;
	background-color: #fff !important;
	background-image: none;
	color: #1d2327 !important;
	font: inherit !important;
	font-size: 16px !important;
	font-weight: 400;
	line-height: 1.4 !important;
	box-shadow: none !important;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.wcsuite-bookings-widget__form select.wcsuite-bookings-widget__select {
	padding-right: 38px !important;
	background-image: initial;
}

.wcsuite-bookings-widget__form input.wcsuite-bookings-widget__input:focus,
.wcsuite-bookings-widget__form textarea.wcsuite-bookings-widget__textarea:focus,
.wcsuite-bookings-widget__form select.wcsuite-bookings-widget__select:focus {
	outline: none !important;
	border-color: #2271b1 !important;
	box-shadow: 0 0 0 1px #2271b1 !important;
}

.wcsuite-bookings-widget__form input.wcsuite-bookings-widget__input:disabled,
.wcsuite-bookings-widget__form textarea.wcsuite-bookings-widget__textarea:disabled,
.wcsuite-bookings-widget__form select.wcsuite-bookings-widget__select:disabled {
	background-color: #f6f7f7 !important;
	color: #646970 !important;
	cursor: not-allowed;
	opacity: 1;
}

.wcsuite-bookings-widget__form input.wcsuite-bookings-widget__input.is-error,
.wcsuite-bookings-widget__form textarea.wcsuite-bookings-widget__textarea.is-error,
.wcsuite-bookings-widget__form select.wcsuite-bookings-widget__select.is-error {
	border-color: #d63638 !important;
	box-shadow: 0 0 0 1px #d63638 !important;
}

.wcsuite-bookings-widget__form textarea.wcsuite-bookings-widget__textarea {
	min-height: 112px !important;
	resize: vertical;
}

.wcsuite-bookings-widget__form input.wcsuite-bookings-widget__input[type="number"] {
	appearance: auto;
}

.wcsuite-bookings-widget__helper {
	display: block;
	margin: -2px 0 0;
	color: #646970;
	font-size: 13px;
	line-height: 1.4;
}

.wcsuite-bookings-widget__service-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: -6px 0 14px;
	padding: 0;
	color: #1d2327;
}

.wcsuite-bookings-widget__service-price-label {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
	color: #646970;
}

.wcsuite-bookings-widget__service-price-value {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	white-space: nowrap;
	color: #1d2327;
}

.wcsuite-bookings-widget__field-error {
	margin-top: 0;
	color: #d63638;
	font-size: 13px;
	line-height: 1.4;
}

.wcsuite-bookings-widget__message {
	display: block;
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.wcsuite-bookings-widget__message--status {
	min-height: 48px;
	background: #f6f7f7;
	color: #50575e;
}

.wcsuite-bookings-widget__message--status.is-error {
	border-color: #f0b8b8;
	background: #fcf0f1;
	color: #8a2424;
}

.wcsuite-bookings-widget__message--status.is-success {
	border-color: #9fd6b5;
	background: #ecf8f0;
	color: #14532d;
}

.wcsuite-bookings-widget__message--status.is-warning {
	border-color: #f0c36d;
	background: #fff8e5;
	color: #7a4d00;
}

.wcsuite-bookings-widget__message--success {
	border-color: #9fd6b5;
	background: #ecf8f0;
	color: #14532d;
	font-weight: 500;
}

.wcsuite-bookings-widget__details {
	margin-top: 8px;
	padding-top: 8px;
}

.wcsuite-bookings-widget__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid #2271b1;
	border-radius: 8px;
	background: #2271b1;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

.wcsuite-bookings-widget__submit:hover,
.wcsuite-bookings-widget__submit:focus {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
}

.wcsuite-bookings-widget__submit:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.wcsuite-bookings-widget__loading {
	position: absolute;
	right: 14px;
	bottom: 31px;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(80, 87, 94, .25);
	border-top-color: #50575e;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	animation: wcsuite-bookings-spin .7s linear infinite;
}

.wcsuite-bookings-widget__field--slots.is-loading .wcsuite-bookings-widget__loading {
	opacity: 1;
}

.wcsuite-bookings-widget__field--slots.is-loading select.wcsuite-bookings-widget__select {
	padding-right: 42px !important;
}

.wcsuite-bookings-widget.is-submitting .wcsuite-bookings-widget__submit {
	cursor: wait;
}

.wcsuite-bookings-widget-placeholder {
	padding: 16px;
	border: 1px dashed #c3c4c7;
	border-radius: 8px;
	background: #f6f7f7;
	color: #50575e;
}

@keyframes wcsuite-bookings-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.wcsuite-bookings-widget__input,
	.wcsuite-bookings-widget__textarea,
	.wcsuite-bookings-widget__select,
	.wcsuite-bookings-widget__submit {
		transition: none;
	}

	.wcsuite-bookings-widget__loading {
		animation-duration: 1.4s;
	}
}

@media (max-width: 767px) {
	.wcsuite-bookings-widget {
		padding: 18px;
	}

	.wcsuite-bookings-widget__title {
		font-size: 24px;
	}

	.wcsuite-bookings-widget__field--half {
		flex: 1 1 100%;
	}
}
