.booking-modal {
	width: min(760px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100dvh - 48px);
	padding: 0;
	border: 0;
	border-radius: 24px;
	background: var(--light-blue);
	color: var(--dark-blue);
	box-shadow: 0 24px 80px rgba(16, 30, 69, 0.35);
	overflow: auto;
}

.booking-modal::backdrop {
	background: rgba(21, 38, 86, 0.75);
	backdrop-filter: blur(4px);
}

.booking-modal__panel {
	position: relative;
	padding: 48px;
}

.booking-modal__title {
	padding-right: 52px;
}

.booking-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: white;
	box-shadow: 0 4px 12px rgba(16, 30, 69, 0.18);
	cursor: pointer;
}

.booking-modal__close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 2px;
	background: var(--dark-blue);
}

.booking-modal__close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.booking-modal__close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.booking-modal__close:focus-visible {
	outline: 2px solid var(--dark-blue);
	outline-offset: 3px;
}

body.has-booking-modal-open {
	overflow: hidden;
}

@media (max-width: 1000px) {
	.booking-modal {
		width: min(100% - 20px, 600px);
		max-height: calc(100dvh - 20px);
		border-radius: 18px;
	}

	.booking-modal__panel {
		padding: 56px 20px 24px;
	}

	.booking-modal__title {
		padding-right: 0;
	}

	.booking-modal__close {
		top: 12px;
		right: 12px;
		width: 42px;
		height: 42px;
	}
}
