.amqb-wrap,
.amqb-wrap * {
	box-sizing: border-box;
}

.amqb-wrap {
	--amqb-accent: #009444;
	--amqb-orange: #ff8500;
	--amqb-text: #0c1324;
	--amqb-muted: #8a94a8;
	--amqb-border: #d7deeb;
	--amqb-panel: #ffffff;
	width: 100%;
	font-family: inherit;
}

.amqb-wrap .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.amqb-card {
	max-width: 760px;
	margin: 0 auto;
	padding: 20px 16px 28px;
	background: var(--amqb-panel);
	border-radius: 22px;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.amqb-heading {
	text-align: center;
	margin: 0 0 20px;
}

.amqb-heading h3 {
	margin: 0;
	color: var(--amqb-text);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
	font-weight: 800;
}

.amqb-heading p {
	margin: 8px 0 0;
	color: var(--amqb-muted);
	font-size: 15px;
}

.amqb-form {
	display: grid;
	grid-template-columns: 1fr 1fr 180px;
	gap: 8px;
	align-items: center;
}

.amqb-field input,
.amqb-field select {
	width: 100%;
	height: 54px;
	border: 1px solid var(--amqb-border);
	border-radius: 8px;
	background: #fff;
	color: var(--amqb-text);
	font-size: 15px;
	line-height: 1;
	padding: 0 16px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.amqb-field select {
	appearance: auto;
}

.amqb-field input::placeholder {
	color: #9aa3b5;
	opacity: 1;
}

.amqb-field input:focus,
.amqb-field select:focus {
	border-color: var(--amqb-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--amqb-accent) 16%, transparent);
}

.amqb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
	height: 56px;
	border: 0;
	border-radius: 8px;
	background: var(--amqb-accent);
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	padding: 0 24px;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.amqb-button:hover,
.amqb-button:focus {
	background: var(--amqb-orange);
	color: #fff;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--amqb-orange) 30%, transparent);
	transform: translateY(-1px);
}

.amqb-button-arrow {
	font-size: 26px;
	line-height: 0;
	margin-top: -1px;
}

.amqb-redirect-message[hidden] {
	display: none !important;
}

.amqb-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.amqb-modal[hidden] {
	display: flex !important;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.amqb-modal-overlay {
	position: absolute;
	inset: 0;
	background: transparent;
	backdrop-filter: none;
}

.amqb-booking-panel {
	position: relative;
	z-index: 1;
	width: min(760px, 100%);
	max-height: min(88vh, 940px);
	overflow: auto;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

.amqb-inline {
	max-width: 960px;
	margin: 24px auto 0;
}

.amqb-inline[hidden] {
	display: block !important;
	position: absolute !important;
	left: -99999px;
	width: min(760px, calc(100% - 32px));
	max-width: 760px;
	margin: 0;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.amqb-inline .amqb-booking-panel {
	max-height: none;
	overflow: visible;
	border: 0;
	box-shadow: none;
}

.amqb-close {
	position: absolute;
	top: -12px;
	right: -12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
}

.amqb-close:hover,
.amqb-close:focus {
	background: var(--amqb-orange);
	color: #fff;
}

.amqb-native-booking {
	min-height: 220px;
}

.amqb-redirect-message {
	max-width: 700px;
	margin: 14px auto 0;
	padding: 14px 18px;
	border-radius: 10px;
	background: #ecfdf5;
	color: #065f46;
	font-weight: 700;
}

body.amqb-modal-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.amqb-form {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.amqb-button {
		grid-column: 1 / -1;
	}

}

@media (max-width: 640px) {
	.amqb-card {
		padding: 18px 14px 20px;
		border-radius: 18px;
	}

	.amqb-form {
		grid-template-columns: 1fr;
	}

	.amqb-modal {
		padding: 12px;
		align-items: flex-start;
	}

	.amqb-booking-panel {
		max-height: calc(100vh - 24px);
		padding: 20px 14px;
		border-radius: 14px;
	}
}

@supports not (color: color-mix(in srgb, #000 10%, transparent)) {
	.amqb-field input:focus,
	.amqb-field select:focus {
		box-shadow: 0 0 0 3px rgba(0, 148, 68, 0.14);
	}

	.amqb-button:hover,
	.amqb-button:focus {
		box-shadow: 0 10px 24px rgba(255, 133, 0, 0.25);
	}
}
