/* ==========================================================================
   MSD BOOKING CALENDAR SECTION
   Datei: assets/css/msd-booking-calendar.css
   ========================================================================== */

/* ---- Section ---- */
.msd-booking {
	background-color: var(--opt-blue-darkest);
	position: relative;
	overflow: hidden;
}

/* Subtle radial glow behind calendar */
.msd-booking::before {
	content: '';
	position: absolute;
	top: 10%;
	left: 50%;
	transform: translateX(-50%);
	width: 70%;
	height: 60%;
	background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.msd-booking .container {
	position: relative;
	z-index: 1;
}

/* ---- Sub-heading ---- */
.msd-booking__sub {
	max-width: 600px;
	margin-inline: auto;
	margin-top: 1rem;
}

/* ---- Fact Pills ---- */
.msd-booking__facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 3rem;
}

.msd-booking__fact {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1.1rem;
	border: 1px solid var(--opt-border-gold-md);
	background: rgba(201, 168, 76, 0.04);
	font-family: var(--opt-font-sans);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	color: var(--opt-cream);
	white-space: nowrap;
	transition: border-color var(--opt-transition), background var(--opt-transition);
}

.msd-booking__fact:hover {
	border-color: var(--opt-border-gold-lg);
	background: rgba(201, 168, 76, 0.08);
}

.msd-booking__fact-icon {
	font-size: 1rem;
}

/* ---- Main Card ---- */
.msd-booking__card {
	background: var(--opt-blue-dark);
	border: 1px solid var(--opt-border-gold);
	padding: 2.5rem;
	position: relative;
	overflow: hidden;
}

/* Gold top line */
.msd-booking__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--opt-gold) 25%,
		var(--opt-gold-light) 50%,
		var(--opt-gold) 75%,
		transparent 100%
	);
	opacity: 0.6;
	animation: msd-booking-glow 4s ease-in-out infinite;
}

@keyframes msd-booking-glow {
	0%, 100% { opacity: 0.4; }
	50%       { opacity: 0.85; }
}

/* ---- Calendar Embed ---- */
.msd-booking__calendar-wrap {
	position: relative;
	min-height: 200px;
}

.msd-booking__calendar-inner {
	width: 100%;
	overflow: hidden;
	border-radius: 2px;
}

/* Ensure Meetergo iframe fills width */
.msd-booking__calendar-inner .meetergo-iframe {
	width: 100% !important;
	min-width: 0 !important;
}

/* ---- Loading spinner ---- */
.msd-booking__loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 3rem;
}

.msd-booking__spinner {
	width: 36px;
	height: 36px;
	border: 2px solid var(--opt-border-gold);
	border-top-color: var(--opt-gold);
	border-radius: 50%;
	animation: msd-spin 0.8s linear infinite;
}

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

/* ---- OR Divider ---- */
.msd-booking__divider {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-block: 2rem;
}

.msd-booking__divider .gold-line {
	flex: 1;
	margin: 0;
}

.msd-booking__or {
	font-family: var(--opt-font-sans);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--opt-text-muted);
	white-space: nowrap;
}

/* ---- Fallback / Alternative CTA ---- */
.msd-booking__fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	text-align: center;
}

.msd-booking__fallback-label {
	max-width: 440px;
}

/* Contact links row */
.msd-booking__contacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 1rem;
	color: var(--opt-text-muted);
}

.msd-booking__contact-link {
	color: var(--opt-gold);
	text-decoration: none;
	transition: color var(--opt-transition);
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.msd-booking__contact-link:hover {
	color: var(--opt-gold-light);
}

/* ---- Trust line ---- */
.msd-booking__trust {
	margin-top: 2rem;
	color: var(--opt-text-muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
	.msd-booking__card {
		padding: 1.75rem 1.25rem;
	}

	.msd-booking__facts {
		gap: 0.5rem;
		margin-bottom: 2rem;
	}

	.msd-booking__fact {
		font-size: 0.72rem;
		padding: 0.4rem 0.9rem;
	}

	.msd-booking__divider {
		gap: 1rem;
	}

	.msd-booking__contacts {
		flex-direction: column;
		gap: 0.5rem;
	}
}

@media (max-width: 480px) {
	.msd-booking__card {
		padding: 1.25rem 1rem;
	}

	.msd-booking__trust {
		font-size: 0.72rem;
	}
}
