.mongkud-booking-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.mongkud-booking-overlay[hidden] {
	display: none;
}

.mongkud-booking-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.6);
}

.mongkud-booking-overlay__panel {
	position: relative;
	background: #ffffff;
	width: 100%;
	max-width: 720px;
	max-height: calc(100vh - 32px);
	display: flex;
	flex-direction: column;
	border-radius: 0;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.mongkud-booking-overlay__close {
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 1;
	width: 40px;
	height: 40px;
	line-height: 1;
	font-size: 28px;
	font-family: inherit;
	color: #54595F;
	background: #ffffff;
	border: none;
	border-radius: 0;
	cursor: pointer;
}

.mongkud-booking-overlay__close:hover,
.mongkud-booking-overlay__close:focus {
	color: #93BB16;
}

.mongkud-booking-overlay__iframe {
	display: block;
	width: 100%;
	min-height: 320px;
	border: 0;
	flex: 1 1 auto;
}

/* Easy Appointments rendert die GDPR-/AGB-Checkbox-Labels ohne eigene
   line-height; das Theme setzt global `label { line-height: 55px; }`,
   was hier zu riesigem, verschobenem Text neben der Checkbox führt. */
.ea_hide_show label.gdpr,
.ea_hide_show label.i-agree {
	display: inline-block;
	vertical-align: middle;
	line-height: 1.4 !important;
}

.ea_hide_show input[type="checkbox"] {
	vertical-align: middle;
}

.mongkud-booking-fallback {
	max-width: 480px;
	margin: 48px auto;
	padding: 0 16px;
	text-align: center;
	font-family: inherit;
}

.mongkud-booking-fallback__text {
	color: #54595F;
	font-size: 17px;
	line-height: 28px;
	margin: 0 0 24px;
}

.mongkud-booking-fallback__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.mongkud-booking-fallback__button {
	display: inline-block;
	color: #ffffff;
	background-color: #93BB16;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 16px 32px;
	border-radius: 0;
}

.mongkud-booking-fallback__button:hover,
.mongkud-booking-fallback__button:focus {
	background-color: #84a912;
	color: #ffffff;
}

@media (max-width: 480px) {
	.mongkud-booking-overlay {
		padding: 0;
	}

	.mongkud-booking-overlay__panel {
		max-width: none;
		max-height: 100vh;
		height: 100vh;
	}
}
