/* ESSA Hotel Chatbot - frontend widget styles */

.ehc-root,
.ehc-root * {
	box-sizing: border-box;
}

.ehc-root {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99990;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
	color: #1a1a1a;
}

/* Floating action button */
.ehc-fab {
	position: relative;  /* anchor for badge + pulse rings */
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: none;
	background: var(--ehc-primary, #1687F3);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ehc-fab:hover {
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.ehc-fab:focus-visible {
	outline: 3px solid rgba(22, 135, 243, 0.5);
	outline-offset: 2px;
}

.ehc-root.is-open .ehc-fab {
	display: none;
}

/* ============================================================
   ATTENTION-GRABBING ANIMATIONS (v2.3.5)
   Three layers: notification badge, multi-ring pulse, periodic wiggle.
   Designed to draw attention without crossing into "annoying".
   All respect prefers-reduced-motion.
   ============================================================ */

/* --- Notification badge "1" (top-right of FAB) --- */
.ehc-fab-badge {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: #ef4444; /* red-500 */
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5), 0 0 0 2px #fff;
	pointer-events: none;
	transform-origin: center;
	animation: ehc-badge-bounce-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s backwards,
	           ehc-badge-pulse 1.6s ease-in-out 1s infinite;
}

.ehc-fab.ehc-fab-seen .ehc-fab-badge {
	display: none;
}

@keyframes ehc-badge-bounce-in {
	0%   { transform: scale(0); }
	60%  { transform: scale(1.25); }
	100% { transform: scale(1); }
}

@keyframes ehc-badge-pulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.12); }
}

/* --- FAB pulse: TRIPLE expanding ring instead of single --- */
@keyframes ehc-fab-pulse-r1 {
	0%   { box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 0   var(--ehc-primary, #1687F3); }
	100% { box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 22px rgba(22, 135, 243, 0); }
}

.ehc-fab.ehc-fab-pulse {
	animation: ehc-fab-pulse-r1 1.8s ease-out infinite;
}

/* Two extra rings as ::before / ::after for a richer ripple effect */
.ehc-fab.ehc-fab-pulse::before,
.ehc-fab.ehc-fab-pulse::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 3px solid var(--ehc-primary, #1687F3);
	pointer-events: none;
	opacity: 0;
}

.ehc-fab.ehc-fab-pulse::before {
	animation: ehc-fab-ring 1.8s ease-out 0.4s infinite;
}

.ehc-fab.ehc-fab-pulse::after {
	animation: ehc-fab-ring 1.8s ease-out 0.9s infinite;
}

@keyframes ehc-fab-ring {
	0%   { transform: scale(1);    opacity: 0.7; }
	100% { transform: scale(1.85); opacity: 0;   }
}

/* --- Periodic wiggle: every 8s for the first 30s --- */
@keyframes ehc-fab-wiggle {
	0%, 100%      { transform: rotate(0deg); }
	15%, 45%, 75% { transform: rotate(-12deg); }
	30%, 60%, 90% { transform: rotate(12deg); }
}

.ehc-fab.ehc-fab-wiggle {
	animation: ehc-fab-wiggle 0.7s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
	.ehc-fab.ehc-fab-pulse,
	.ehc-fab.ehc-fab-pulse::before,
	.ehc-fab.ehc-fab-pulse::after,
	.ehc-fab.ehc-fab-wiggle,
	.ehc-fab-badge {
		animation: none !important;
	}
}

/* ============================================================
   Welcome callout bubble (v2.3.3, bounce entrance v2.3.5)
   Speech-bubble that springs in next to the FAB to invite
   visitors to chat. Has a small × dismiss button. Click the
   bubble body opens the chat.
   ============================================================ */
.ehc-callout {
	position: absolute;
	bottom: 76px;          /* sits just above the 60px FAB + a small gap */
	right: 0;
	max-width: 260px;
	background: #fff;
	color: #2a2d33;
	padding: 12px 32px 12px 14px; /* extra right padding so close button doesn't overlap text */
	border-radius: 14px;
	border-bottom-right-radius: 4px; /* speech-bubble tail towards the FAB */
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
	opacity: 0;
	transform: translateY(20px) scale(0.85);
	pointer-events: none;
	/* cubic-bezier overshoot - the callout "springs" in for a more attention-grabbing entrance */
	transition: opacity 0.35s ease-out,
	            transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ehc-callout.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
	/* gentle nudge animation that keeps the callout slightly "alive" */
	animation: ehc-callout-nudge 3s ease-in-out 0.6s 2;
}

@keyframes ehc-callout-nudge {
	0%, 100% { transform: translateY(0) scale(1); }
	50%      { transform: translateY(-3px) scale(1.02); }
}

.ehc-callout:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.10);
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.ehc-callout.is-visible {
		animation: none;
	}
}

.ehc-callout-text {
	font-weight: 500;
}

.ehc-callout-close {
	position: absolute;
	top: 4px;
	right: 4px;
	background: transparent;
	border: none;
	color: #999;
	width: 24px;
	height: 24px;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ehc-callout-close:hover {
	background: rgba(0, 0, 0, 0.06);
	color: #555;
}

/* Hide the callout when chat is open (it would be behind the panel anyway) */
.ehc-root.is-open .ehc-callout {
	display: none;
}

/* Mobile: keep callout reasonable width on tiny screens */
@media (max-width: 480px) {
	.ehc-callout {
		max-width: calc(100vw - 48px);
		bottom: 80px;
		right: -8px; /* nudge a little so it doesn't overflow off-screen on the right */
		font-size: 13px;
	}
}

/* Panel */
.ehc-panel {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 380px;
	max-width: calc(100vw - 24px);
	height: 560px;
	max-height: calc(100vh - 80px);
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
	display: none;
	flex-direction: column;
	overflow: hidden;
	transform-origin: bottom right;
	animation: ehc-pop 0.18s ease-out;
}

@keyframes ehc-pop {
	from { opacity: 0; transform: translateY(8px) scale(0.97); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ehc-root.is-open .ehc-panel {
	display: flex;
}

/* Header */
.ehc-header {
	background: linear-gradient(135deg, var(--ehc-accent, #021452), var(--ehc-primary, #1687F3));
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

/* Brand cluster: logo (optional) + title side by side */
.ehc-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0; /* allow title to truncate if needed */
	flex: 1;
}

.ehc-header-logo {
	width: auto;
	height: 28px;
	max-width: 80px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
	/* Soft white background pill behind the logo so coloured logos stay legible
	   on the gold/dark gradient header. PNG with transparent bg works best. */
	background: rgba(255, 255, 255, 0.92);
	padding: 4px 6px;
	border-radius: 6px;
}

.ehc-title {
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ehc-actions {
	display: flex;
	gap: 4px;
	flex-shrink: 0;
}

.ehc-icon-btn {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: none;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s ease;
	padding: 0;
}

.ehc-icon-btn:hover {
	background: rgba(255, 255, 255, 0.28);
}

.ehc-icon-link {
	text-decoration: none;
}

/* AI disclosure banner */
.ehc-ai-banner {
	background: #fffbea;
	color: #7a5b00;
	border-bottom: 1px solid #f1e6b8;
	padding: 7px 14px;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

/* Consent gate */
.ehc-consent-gate {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	padding: 14px;
	margin: 8px 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #1a1a1a;
}

.ehc-consent-row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
	margin-bottom: 10px;
}

.ehc-consent-row input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	cursor: pointer;
}

.ehc-consent-text a {
	color: var(--ehc-primary, #1687F3);
	font-weight: 600;
}

.ehc-consent-btn {
	width: 100%;
	padding: 9px 14px;
	border: none;
	border-radius: 8px;
	background: var(--ehc-primary, #1687F3);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.ehc-consent-btn:disabled {
	background: #c2c7cf;
	cursor: not-allowed;
	opacity: 0.7;
}

/* Input disclaimer (above the textarea row) */
.ehc-input-disclaimer {
	background: #f7f8fa;
	border-top: 1px solid #e6e8ec;
	padding: 6px 12px;
	font-size: 11px;
	line-height: 1.4;
	color: #7d7d7d;
	text-align: center;
}

/* Body */
.ehc-body {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
	background: #f7f8fa;
	display: flex;
	flex-direction: column;
	gap: 4px;
	scroll-behavior: smooth;
	position: relative;
}

/* Watermark logo (optional, shown faintly behind messages if --ehc-bg-logo is set).
   Opacity bumped from 0.07 -> 0.10 in v2.3.2 because 7% was nearly invisible on
   light backgrounds; 10% reads as "subtle branding" without competing with the
   conversation. */
.ehc-body::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--ehc-bg-logo, none);
	background-position: center 40%;
	background-repeat: no-repeat;
	background-size: min(55%, 200px) auto;
	opacity: 0.10;
	pointer-events: none;
	z-index: 0;
}
	opacity: 0.07;
	pointer-events: none;
	z-index: 0;
}

.ehc-body > * {
	position: relative;
	z-index: 1;
}

.ehc-msg-wrap {
	display: flex;
	flex-direction: column;
	margin-bottom: 8px;
}

.ehc-msg {
	max-width: 85%;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.5;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.ehc-msg-user {
	align-self: flex-end;
	background: var(--ehc-primary, #1687F3);
	color: #fff;
	border-bottom-right-radius: 4px;
	white-space: pre-wrap;
}

.ehc-msg-assistant {
	align-self: flex-start;
	background: #fff;
	color: #1a1a1a;
	border: 1px solid #e6e8ec;
	border-bottom-left-radius: 4px;
}

.ehc-msg-assistant a {
	color: var(--ehc-primary, #1687F3);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(22, 135, 243, 0.35);
	text-underline-offset: 3px;
}

.ehc-msg-assistant a:hover {
	text-decoration-color: var(--ehc-primary, #1687F3);
}

.ehc-msg-error {
	align-self: flex-start;
	background: #fff4f4;
	color: #b91c1c;
	border: 1px solid #fecaca;
	border-bottom-left-radius: 4px;
	font-size: 13px;
}

/* Feedback row */
.ehc-feedback {
	align-self: flex-start;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 4px 0 0 4px;
	font-size: 12px;
	color: #6b7280;
}

.ehc-fb-btn {
	background: transparent;
	border: 1px solid #e6e8ec;
	border-radius: 999px;
	padding: 2px 8px;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
}

.ehc-fb-btn:hover {
	background: #f0f0f3;
	transform: scale(1.05);
}

.ehc-fb-btn.ehc-fb-active {
	border-color: var(--ehc-primary, #1687F3);
	background: rgba(22, 135, 243, 0.08);
}

.ehc-fb-btn.ehc-fb-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.ehc-fb-thanks {
	font-style: italic;
	color: #9aa1ac;
}

/* Typing indicator */
.ehc-typing {
	align-self: flex-start;
	display: inline-flex;
	gap: 4px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #e6e8ec;
	border-radius: 14px;
	border-bottom-left-radius: 4px;
	margin-bottom: 8px;
}

.ehc-typing span {
	width: 7px;
	height: 7px;
	background: #c2c7cf;
	border-radius: 50%;
	animation: ehc-blink 1.2s infinite;
}

.ehc-typing span:nth-child(2) { animation-delay: 0.15s; }
.ehc-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ehc-blink {
	0%, 80%, 100% { opacity: 0.3; }
	40% { opacity: 1; }
}

/* Input row */
.ehc-input-row {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	padding: 10px;
	background: #fff;
	border-top: 1px solid #e6e8ec;
}

#ehc-input {
	flex: 1;
	resize: none;
	border: 1px solid #e0e3e8;
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.4;
	font-family: inherit;
	max-height: 120px;
	min-height: 40px;
	color: #1a1a1a;
	background: #f7f8fa;
	transition: border-color 0.15s ease, background 0.15s ease;
}

#ehc-input:focus {
	outline: none;
	border-color: var(--ehc-primary, #1687F3);
	background: #fff;
}

.ehc-send {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: var(--ehc-primary, #1687F3);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s ease, transform 0.1s ease;
}

.ehc-send:hover { transform: scale(1.05); }

.ehc-send:disabled {
	background: #c2c7cf;
	cursor: not-allowed;
	transform: none;
}

/* ============================================================
   MOBILE / TABLET — full-screen panel + iOS fixes
   ============================================================ */

/* Tablet + phone: panel takes the whole viewport when open */
@media (max-width: 768px) {

	.ehc-root {
		right: 16px;
		bottom: 16px;
	}

	.ehc-fab {
		width: 56px;
		height: 56px;
	}

	/* Full-screen panel on mobile - no rounded corners, no margin */
	.ehc-root.is-open .ehc-panel {
		position: fixed;
		inset: 0;
		width: 100%;
		max-width: none;
		height: 100%;
		max-height: none;
		border-radius: 0;
		box-shadow: none;
		animation: ehc-slide-up 0.22s ease-out;
		transform-origin: bottom;
	}

	@keyframes ehc-slide-up {
		from { transform: translateY(100%); }
		to   { transform: translateY(0); }
	}

	/* Header: safe area for notched iPhones in portrait */
	.ehc-header {
		padding: max(14px, env(safe-area-inset-top)) 16px 14px 16px;
	}

	.ehc-title {
		font-size: 16px;
	}

	/* Touch targets: minimum 40x40 (Apple HIG / Material says 44x44 ideal) */
	.ehc-icon-btn {
		width: 40px;
		height: 40px;
		border-radius: 8px;
	}

	.ehc-icon-btn svg {
		width: 18px;
		height: 18px;
	}

	/* Body: safe gap from bottom when no input row visible (consent gate flow) */
	.ehc-body {
		padding: 14px;
		padding-bottom: 18px;
	}

	/* Bigger bubbles, more readable */
	.ehc-msg {
		max-width: 88%;
		font-size: 15px;
		padding: 11px 14px;
	}

	/* Input row: safe area for home indicator on iPhone X+ */
	.ehc-input-row {
		padding: 10px 12px;
		padding-bottom: max(10px, env(safe-area-inset-bottom));
		gap: 10px;
	}

	/* CRITICAL: 16px font prevents iOS Safari from auto-zooming on focus */
	#ehc-input {
		font-size: 16px;
		min-height: 44px;
		padding: 11px 14px;
	}

	.ehc-send {
		width: 44px;
		height: 44px;
	}

	.ehc-send svg {
		width: 18px;
		height: 18px;
	}

	/* AI banner + input disclaimer: larger text */
	.ehc-ai-banner {
		font-size: 13px;
		padding: 9px 14px;
	}

	.ehc-input-disclaimer {
		font-size: 12px;
		padding: 7px 12px;
	}

	/* Consent gate: full-width button, more breathing room */
	.ehc-consent-gate {
		padding: 16px;
		font-size: 14px;
	}

	.ehc-consent-btn {
		padding: 12px 16px;
		font-size: 14px;
		min-height: 44px;
	}

	/* Feedback buttons (👍 / 👎): bigger touch targets on mobile */
	.ehc-fb-btn {
		min-width: 36px;
		min-height: 36px;
		padding: 6px 10px;
		font-size: 16px;
	}
}

/* Use dynamic viewport when supported (handles iOS Safari URL bar disappearing) */
@supports (height: 100dvh) {
	@media (max-width: 768px) {
		.ehc-root.is-open .ehc-panel {
			height: 100dvh;
		}
	}
}

/* Very small phones in landscape - tighten header padding */
@media (max-width: 480px) and (orientation: landscape) {
	.ehc-header {
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.ehc-ai-banner,
	.ehc-input-disclaimer {
		display: none; /* save vertical space when keyboard is open */
	}
}

/* ============================================================
   Hide floating page UI while the chat is open (mobile only).
   Targets the most common cookie banners, GDPR consent modals,
   language switchers, back-to-top buttons, and competing chat
   widgets. Activated by the JS-added body.ehc-hide-floating class
   only when the admin enabled the corresponding setting.
   ============================================================ */
@media (max-width: 768px) {
	body.ehc-hide-floating #cookie-notice,
	body.ehc-hide-floating .cookie-notice-container,
	body.ehc-hide-floating #cookie-law-info-bar,
	body.ehc-hide-floating .cli-modal,
	body.ehc-hide-floating .cli-bar-container,
	body.ehc-hide-floating .cookielawinfo-checkbox-container,
	body.ehc-hide-floating .moove_gdpr_cookie_modal_open,
	body.ehc-hide-floating #moove_gdpr_cookie_modal,
	body.ehc-hide-floating #moove_gdpr_cookie_info_bar,
	body.ehc-hide-floating .iubenda-cs-container,
	body.ehc-hide-floating #iubenda-cs-banner,
	body.ehc-hide-floating #usercentrics-root,
	body.ehc-hide-floating #onetrust-banner-sdk,
	body.ehc-hide-floating #onetrust-consent-sdk,
	body.ehc-hide-floating #CybotCookiebotDialog,
	body.ehc-hide-floating #CookiebotWidget,
	body.ehc-hide-floating #cmplz-cookiebanner-container,
	body.ehc-hide-floating .cmplz-cookiebanner,
	body.ehc-hide-floating .gdpr-cookie-bar,
	body.ehc-hide-floating .trp-language-switcher,
	body.ehc-hide-floating .trp-floater-ls,
	body.ehc-hide-floating #trp-floater-ls,
	body.ehc-hide-floating .trp-floater-language-switcher,
	body.ehc-hide-floating .gtranslate_wrapper,
	body.ehc-hide-floating .glink,
	body.ehc-hide-floating .wpml-ls-statics-shortcode_actions,
	body.ehc-hide-floating .back-to-top,
	body.ehc-hide-floating .scroll-to-top,
	body.ehc-hide-floating .scroll-top,
	body.ehc-hide-floating #scroll-top,
	body.ehc-hide-floating #back-to-top,
	body.ehc-hide-floating .fb_dialog,
	body.ehc-hide-floating .fb_iframe_widget,
	body.ehc-hide-floating .crisp-client,
	body.ehc-hide-floating #crisp-chatbox,
	body.ehc-hide-floating .intercom-launcher,
	body.ehc-hide-floating #intercom-container,
	body.ehc-hide-floating .intercom-lightweight-app,
	body.ehc-hide-floating .tawk-min-container,
	body.ehc-hide-floating #tawk-bubble-container,
	body.ehc-hide-floating #chat-widget-container,
	body.ehc-hide-floating .holler-box,
	body.ehc-hide-floating .holler-box-container,
	body.ehc-hide-floating .joinchat,
	body.ehc-hide-floating .joinchat__button,
	body.ehc-hide-floating .wa-chat-bubble,
	body.ehc-hide-floating .ws-plugin--s7e-light-box,
	body.ehc-hide-floating .elementor-sticky--effects,
	body.ehc-hide-floating .pum-overlay,
	body.ehc-hide-floating .pum-container {
		display: none !important;
		visibility: hidden !important;
	}

	/* Avada-specific (the user's theme) */
	body.ehc-hide-floating .to-top-container,
	body.ehc-hide-floating #to-top {
		display: none !important;
	}
}

/* ============================================================
   Embedded map (v2.2.0)
   Triggered by the "Show on map" button after assistant replies
   that contain 2+ matching places from places.json.
   ============================================================ */

.ehc-map-bar {
	margin-top: 6px;
	margin-bottom: 4px;
}

.ehc-map-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: var(--ehc-primary, #1687F3);
	border: 1px solid var(--ehc-primary, #1687F3);
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.ehc-map-btn:hover {
	background: var(--ehc-primary, #1687F3);
	color: #fff;
}

.ehc-map-btn svg {
	flex-shrink: 0;
}

.ehc-map-container {
	margin-top: 8px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e6e8ec;
	background: #f0f1f3;
}

.ehc-map-canvas {
	width: 100%;
	height: 280px;
}

.ehc-map-loading,
.ehc-map-error {
	padding: 24px 16px;
	text-align: center;
	font-size: 13px;
	color: #6b6f78;
	background: #f7f8fa;
}

.ehc-map-error {
	color: #b54b3a;
}

/* Custom Leaflet markers (we use divIcon, not images) */
.ehc-pin {
	background: transparent;
	border: none;
}

.ehc-pin-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	background: var(--ehc-primary, #1687F3);
}

.ehc-pin-hotel-dot {
	width: 22px;
	height: 22px;
	background: var(--ehc-accent, #021452);
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Mobile: smaller map inside the fullscreen panel */
@media (max-width: 768px) {
	.ehc-map-canvas {
		height: 240px;
	}
	.ehc-map-btn {
		font-size: 13px;
		padding: 8px 14px;
		min-height: 36px;
	}
}

/* Override Leaflet's default popup style to fit our chat aesthetic */
.leaflet-popup-content-wrapper {
	border-radius: 8px !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.leaflet-popup-content {
	margin: 10px 14px !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

.leaflet-container {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
