/**
 * TripCosmos Public AI Chat Widget — Ultra Premium Radiant Gradient & Glassmorphism Design Engine
 * Domain: Varanasi, Ayodhya, Prayagraj, Bodhgaya, Chitrakoot, Lucknow, Mathura & Delhi Tours & Cabs.
 * Complete Strict CSS Isolation against all WordPress block themes, Elementor, and Divi.
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

/* ==========================================================================
   0. Strict Root & Theme CSS Isolation
   ========================================================================== */
#tc-agent-widget-root {
	all: initial !important;
	position: fixed !important;
	bottom: 24px !important;
	right: 24px !important;
	z-index: 2147483647 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	pointer-events: none !important;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;

	/* --- Dynamic Colors from Admin Settings with Fallbacks --- */
	--tc-primary-color: #ea580c;
	--tc-secondary-color: #9333ea;

	/* --- Radiant Gradient & Glass Tokens --- */
	--tc-g-brand: linear-gradient(135deg, #f59e0b 0%, var(--tc-primary-color) 45%, var(--tc-secondary-color) 90%, #6366f1 100%);
	--tc-g-aurora: linear-gradient(135deg, #fbbf24 0%, var(--tc-primary-color) 40%, var(--tc-secondary-color) 100%);
	--tc-g-user: linear-gradient(135deg, #f59e0b 0%, var(--tc-primary-color) 42%, var(--tc-secondary-color) 100%);
	--tc-g-accent: linear-gradient(135deg, var(--tc-primary-color) 0%, var(--tc-secondary-color) 100%);
	--tc-g-mesh: radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.14) 0%, transparent 50%),
	             radial-gradient(at 100% 0%, rgba(234, 88, 12, 0.12) 0%, transparent 50%),
	             radial-gradient(at 100% 100%, rgba(147, 51, 234, 0.14) 0%, transparent 50%),
	             radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.10) 0%, transparent 50%);

	--tc-glass-bg: rgba(255, 255, 255, 0.94);
	--tc-glass-header: linear-gradient(145deg, rgba(30, 27, 75, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
	--tc-glass-border: rgba(255, 255, 255, 0.7);
	--tc-shadow-xl: 0 24px 60px -12px rgba(15, 23, 42, 0.28), 0 8px 24px -4px rgba(234, 88, 12, 0.16);
	--tc-shadow-fab: 0 12px 32px rgba(234, 88, 12, 0.42), 0 4px 12px rgba(147, 51, 234, 0.25);

	--tc-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
	--tc-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Left-sided positioning override if configured */
#tc-agent-widget-root.tc-side-left {
	right: auto !important;
	left: 24px !important;
	align-items: flex-start !important;
}

#tc-agent-widget-root.tc-side-left .tc-widget-window {
	right: auto !important;
	left: 0 !important;
	transform-origin: bottom left !important;
}

#tc-agent-widget-root.tc-side-left .tc-widget-teaser {
	right: auto !important;
	left: 0 !important;
}

#tc-agent-widget-root .tc-avatar-circle img,
#tc-agent-widget-root .tc-voice-ring img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

#tc-agent-widget-root > * {
	pointer-events: auto !important;
}

#tc-agent-widget-root * {
	box-sizing: border-box !important;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	-webkit-font-smoothing: antialiased !important;
	letter-spacing: normal !important;
}

/* ==========================================================================
   1. Proactive Sales Outreach & Teaser Card
   ========================================================================== */
#tc-agent-widget-root .tc-widget-teaser {
	position: absolute !important;
	bottom: 78px !important;
	right: 0 !important;
	background: #ffffff !important;
	border: 1px solid rgba(234, 88, 12, 0.25) !important;
	border-radius: 20px !important;
	padding: 14px 16px 14px 16px !important;
	box-shadow: 0 20px 42px -8px rgba(15, 23, 42, 0.22), 0 6px 18px rgba(234, 88, 12, 0.15) !important;
	width: 320px !important;
	max-width: calc(100vw - 36px) !important;
	cursor: pointer !important;
	animation: tcTeaserEntrance 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
	transition: all 0.3s var(--tc-spring) !important;
	z-index: 9 !important;
}

@keyframes tcTeaserEntrance {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.92);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

#tc-agent-widget-root .tc-widget-teaser::after {
	content: '';
	position: absolute;
	bottom: -7px;
	right: 24px;
	width: 14px;
	height: 14px;
	background: #ffffff;
	border-right: 1px solid rgba(234, 88, 12, 0.25);
	border-bottom: 1px solid rgba(234, 88, 12, 0.25);
	transform: rotate(45deg);
}

#tc-agent-widget-root.tc-side-left .tc-widget-teaser {
	right: auto !important;
	left: 0 !important;
}

#tc-agent-widget-root.tc-side-left .tc-widget-teaser::after {
	right: auto;
	left: 24px;
	border-right: none;
	border-left: 1px solid rgba(234, 88, 12, 0.25);
	border-bottom: 1px solid rgba(234, 88, 12, 0.25);
}

#tc-agent-widget-root .tc-widget-teaser:hover {
	transform: translateY(-3px) scale(1.01) !important;
	box-shadow: 0 24px 48px -6px rgba(15, 23, 42, 0.25), 0 8px 22px rgba(234, 88, 12, 0.22) !important;
	border-color: rgba(234, 88, 12, 0.5) !important;
}

#tc-agent-widget-root .tc-teaser-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 10px !important;
	padding-bottom: 8px !important;
	border-bottom: 1px solid #f1f5f9 !important;
}

#tc-agent-widget-root .tc-teaser-profile {
	display: flex !important;
	align-items: center !important;
	gap: 9px !important;
}

#tc-agent-widget-root .tc-teaser-avatar-wrap {
	position: relative !important;
	width: 34px !important;
	height: 34px !important;
	border-radius: 50% !important;
	background: linear-gradient(135deg, #ffedd5, #fed7aa) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 18px !important;
	flex-shrink: 0 !important;
	box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2) !important;
}

#tc-agent-widget-root .tc-teaser-avatar-wrap img {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	object-fit: cover !important;
}

#tc-agent-widget-root .tc-teaser-live-dot {
	position: absolute !important;
	bottom: 0 !important;
	right: 0 !important;
	width: 9px !important;
	height: 9px !important;
	background: #10b981 !important;
	border: 1.5px solid #ffffff !important;
	border-radius: 50% !important;
}

#tc-agent-widget-root .tc-teaser-meta-name {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.2 !important;
}

#tc-agent-widget-root .tc-teaser-meta-status {
	font-size: 11px !important;
	font-weight: 500 !important;
	color: #059669 !important;
	display: flex !important;
	align-items: center !important;
	gap: 4px !important;
}

#tc-agent-widget-root .tc-teaser-close {
	background: transparent !important;
	border: none !important;
	font-size: 18px !important;
	color: #94a3b8 !important;
	cursor: pointer !important;
	line-height: 1 !important;
	padding: 4px !important;
	border-radius: 6px !important;
	transition: all 0.2s ease !important;
}

#tc-agent-widget-root .tc-teaser-close:hover {
	color: #ea580c !important;
	background: #fff7ed !important;
}

#tc-agent-widget-root .tc-teaser-text {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #334155 !important;
	line-height: 1.5 !important;
	margin-bottom: 11px !important;
}

#tc-agent-widget-root .tc-teaser-chips {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin-bottom: 10px !important;
}

#tc-agent-widget-root .tc-teaser-chip {
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	padding: 5px 10px !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
}

#tc-agent-widget-root .tc-teaser-chip:hover {
	background: #fff7ed !important;
	border-color: #ea580c !important;
	color: #ea580c !important;
	transform: translateY(-1px) !important;
}

#tc-agent-widget-root .tc-teaser-action-btn {
	width: 100% !important;
	background: linear-gradient(135deg, #ea580c, #c2410c) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 11px !important;
	padding: 8px 12px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25) !important;
}

#tc-agent-widget-root .tc-teaser-action-btn:hover {
	background: linear-gradient(135deg, #f97316, #ea580c) !important;
	box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35) !important;
}

/* ==========================================================================
   2. Floating Action Button (Launcher FAB)
   ========================================================================== */
#tc-agent-widget-root .tc-widget-fab {
	width: 62px !important;
	height: 62px !important;
	border-radius: 20px !important;
	background: var(--tc-g-brand) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: var(--tc-shadow-fab) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.35s var(--tc-spring) !important;
	position: relative !important;
	outline: none !important;
	animation: tcFabBreathing 4s ease-in-out infinite !important;
	overflow: visible !important;
	padding: 0 !important;
}

@keyframes tcFabBreathing {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}

/* When chat window is open, stop bounce & hide badges */
#tc-agent-widget-root.tc-window-open .tc-widget-fab,
#tc-agent-widget-root .tc-widget-fab.active {
	animation: none !important;
	transform: scale(0.96) !important;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28) !important;
}

#tc-agent-widget-root.tc-window-open .tc-widget-fab:hover,
#tc-agent-widget-root .tc-widget-fab.active:hover {
	transform: scale(1.03) !important;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35) !important;
}

#tc-agent-widget-root .tc-widget-fab::before {
	content: '';
	position: absolute;
	inset: -3px;
	border-radius: 23px;
	background: var(--tc-g-aurora);
	opacity: 0;
	z-index: -1;
	transition: opacity 0.35s ease, transform 0.35s var(--tc-spring);
	transform: scale(0.92);
}

#tc-agent-widget-root .tc-widget-fab:not(.active):hover {
	transform: scale(1.06) rotate(3deg) !important;
	box-shadow: 0 16px 38px rgba(234, 88, 12, 0.5), 0 6px 16px rgba(147, 51, 234, 0.35) !important;
}

#tc-agent-widget-root .tc-widget-fab:not(.active):hover::before {
	opacity: 0.45;
	transform: scale(1.05);
}

#tc-agent-widget-root .tc-fab-icon-chat {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: transform 0.32s var(--tc-spring) !important;
}

#tc-agent-widget-root .tc-fab-icon-close {
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	transition: transform 0.32s var(--tc-spring) !important;
}

#tc-agent-widget-root.tc-window-open .tc-fab-icon-chat,
#tc-agent-widget-root .tc-widget-fab.active .tc-fab-icon-chat {
	display: none !important;
}

#tc-agent-widget-root.tc-window-open .tc-fab-icon-close,
#tc-agent-widget-root .tc-widget-fab.active .tc-fab-icon-close {
	display: flex !important;
}

#tc-agent-widget-root.tc-window-open .tc-fab-icon-close svg,
#tc-agent-widget-root .tc-widget-fab.active .tc-fab-icon-close svg {
	transform: rotate(90deg);
	transition: transform 0.35s var(--tc-spring);
}

/* Online Pulse Status Dot - Cleanly Nestled Inside Corner Radius */
#tc-agent-widget-root .tc-status-pulse {
	position: absolute !important;
	top: 4px !important;
	right: 4px !important;
	width: 13px !important;
	height: 13px !important;
	background: #10b981 !important;
	border: 2.5px solid #ffffff !important;
	border-radius: 50% !important;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
	animation: tcPing 2.2s infinite !important;
	pointer-events: none !important;
	z-index: 3 !important;
}

/* Hide Online Status and Badges when Widget is Open */
#tc-agent-widget-root.tc-window-open .tc-status-pulse,
#tc-agent-widget-root .tc-widget-fab.active .tc-status-pulse,
#tc-agent-widget-root.tc-window-open .tc-fab-badge,
#tc-agent-widget-root .tc-widget-fab.active .tc-fab-badge {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

/* Unread Badge Counter */
#tc-agent-widget-root .tc-fab-badge {
	position: absolute !important;
	top: -2px !important;
	right: -2px !important;
	min-width: 19px !important;
	height: 19px !important;
	background: #ef4444 !important;
	color: #ffffff !important;
	border: 2px solid #ffffff !important;
	border-radius: 10px !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 4px !important;
	box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4) !important;
	z-index: 4 !important;
	pointer-events: none !important;
	animation: tcPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes tcPopIn {
	from { transform: scale(0); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

@keyframes tcPing {
	0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
	70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
	100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   3. Chat Window Dialog (Glassmorphism & Gradients)
   ========================================================================== */
#tc-agent-widget-root .tc-widget-window {
	position: absolute !important;
	bottom: 74px !important;
	right: 0 !important;
	width: 415px !important;
	height: 640px !important;
	max-height: calc(100vh - 105px) !important;
	background: var(--tc-glass-bg) !important;
	backdrop-filter: blur(28px) saturate(190%) !important;
	-webkit-backdrop-filter: blur(28px) saturate(190%) !important;
	border-radius: 26px !important;
	box-shadow: var(--tc-shadow-xl) !important;
	display: none;
	flex-direction: column !important;
	overflow: hidden !important;
	border: 1px solid rgba(255, 255, 255, 0.8) !important;
	transform-origin: bottom right !important;
	z-index: 10 !important;
}

#tc-agent-widget-root:not(.tc-window-open) .tc-widget-window {
	display: none !important;
}

#tc-agent-widget-root.tc-window-open .tc-widget-window {
	display: flex !important;
	animation: tcWindowSpring 0.4s var(--tc-spring) forwards !important;
}

@keyframes tcWindowSpring {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.94);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Shimmer Top Stripe */
#tc-agent-widget-root .tc-header-stripe {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	height: 3px !important;
	background: var(--tc-g-brand) !important;
	overflow: hidden !important;
	z-index: 4 !important;
}

#tc-agent-widget-root .tc-header-stripe::after {
	content: '' !important;
	position: absolute !important;
	inset: 0 !important;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%) !important;
	animation: tcShimmer 3s ease-in-out infinite !important;
}

@keyframes tcShimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

/* Header - Ultra-Premium Saffron-Crimson-Purple Royal Gradient */
#tc-agent-widget-root .tc-widget-header {
	background: linear-gradient(135deg, #f97316 0%, #ea580c 25%, #9333ea 72%, #6366f1 100%) !important;
	color: #ffffff !important;
	padding: 16px 18px 15px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	position: relative !important;
	overflow: hidden !important;
	flex-shrink: 0 !important;
	box-shadow: 0 4px 20px rgba(234, 88, 12, 0.28) !important;
}

#tc-agent-widget-root .tc-widget-header::before {
	content: '' !important;
	position: absolute !important;
	inset: 0 !important;
	background: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.26) 0%, transparent 45%),
	            radial-gradient(circle at 88% 80%, rgba(255, 255, 255, 0.18) 0%, transparent 50%) !important;
	opacity: 0.95 !important;
	pointer-events: none !important;
	z-index: 1 !important;
}

#tc-agent-widget-root .tc-header-info {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	position: relative !important;
	z-index: 2 !important;
}

#tc-agent-widget-root .tc-avatar-circle {
	width: 42px !important;
	height: 42px !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(147, 51, 234, 0.4) 100%) !important;
	border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 21px !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
	flex-shrink: 0 !important;
	overflow: hidden !important;
	animation: tcAvatarGlow 3s ease-in-out infinite alternate !important;
}

@keyframes tcAvatarGlow {
	0% { box-shadow: 0 0 8px rgba(245, 158, 11, 0.3); }
	100% { box-shadow: 0 0 18px rgba(234, 88, 12, 0.6); }
}

#tc-agent-widget-root .tc-header-info h3 {
	margin: 0 !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	letter-spacing: -0.015em !important;
	line-height: 1.25 !important;
}

#tc-agent-widget-root .tc-online-status {
	font-size: 11px !important;
	font-weight: 500 !important;
	color: #cbd5e1 !important;
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
	margin-top: 3px !important;
}

#tc-agent-widget-root .tc-dot {
	width: 7px !important;
	height: 7px !important;
	border-radius: 50% !important;
	background: #10b981 !important;
	box-shadow: 0 0 8px #10b981 !important;
	display: inline-block !important;
}

#tc-agent-widget-root .tc-verified-check {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 13px !important;
	height: 13px !important;
	border-radius: 50% !important;
	background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
	color: #fff !important;
	font-size: 8.5px !important;
	font-weight: 800 !important;
	margin-left: 2px !important;
}

#tc-agent-widget-root .tc-header-controls {
	display: flex !important;
	align-items: center !important;
	gap: 7px !important;
	position: relative !important;
	z-index: 2 !important;
}

#tc-agent-widget-root .tc-btn-icon {
	background: rgba(255, 255, 255, 0.16) !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 10px !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s var(--tc-spring) !important;
	text-decoration: none !important;
	backdrop-filter: blur(8px) !important;
	padding: 0 !important;
}

#tc-agent-widget-root .tc-btn-icon svg {
	pointer-events: none !important;
}

#tc-agent-widget-root .tc-btn-icon:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	transform: scale(1.08) !important;
	color: #ffffff !important;
}

#tc-agent-widget-root .tc-btn-phone:hover {
	background: rgba(16, 185, 129, 0.4) !important;
	border-color: #34d399 !important;
}

#tc-agent-widget-root .tc-btn-close:hover {
	background: rgba(239, 68, 68, 0.35) !important;
	border-color: #f87171 !important;
}

/* ==========================================================================
   Panel Container Engine: Only .tc-panel.active is shown
   ========================================================================== */
#tc-agent-widget-root .tc-panel {
	display: none !important;
	flex: 1 !important;
	min-height: 0 !important;
	overflow-y: auto !important;
	flex-direction: column !important;
}

#tc-agent-widget-root .tc-panel.active {
	display: flex !important;
}

/* ==========================================================================
   5. Messages Container & Dynamic Bubbles
   ========================================================================== */
#tc-agent-widget-root .tc-messages-container {
	padding: 18px 16px 14px !important;
	background: #f8fafc !important;
	background-image: var(--tc-g-mesh) !important;
	gap: 12px !important;
	scroll-behavior: smooth !important;
}

#tc-agent-widget-root .tc-messages-container::-webkit-scrollbar {
	width: 4px !important;
}
#tc-agent-widget-root .tc-messages-container::-webkit-scrollbar-thumb {
	background: rgba(203, 213, 225, 0.8) !important;
	border-radius: 6px !important;
}

#tc-agent-widget-root .tc-chat-bubble {
	max-width: 88% !important;
	padding: 12px 16px !important;
	font-size: 13.5px !important;
	line-height: 1.6 !important;
	word-break: break-word !important;
	box-sizing: border-box !important;
	animation: tcMsgIn 0.28s var(--tc-spring) both !important;
}

@keyframes tcMsgIn {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Bot Message Bubble (Frosted Pearl White) */
#tc-agent-widget-root .tc-bubble-bot {
	align-self: flex-start !important;
	background: rgba(255, 255, 255, 0.96) !important;
	color: #1e293b !important;
	border-radius: 4px 20px 20px 20px !important;
	border: 1px solid rgba(226, 232, 240, 0.9) !important;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
	position: relative !important;
}

/* User Message Bubble (Radiant Sunset Gradient) */
#tc-agent-widget-root .tc-bubble-user {
	align-self: flex-end !important;
	background: var(--tc-g-user) !important;
	color: #ffffff !important;
	border-radius: 20px 20px 4px 20px !important;
	box-shadow: 0 8px 22px rgba(234, 88, 12, 0.3), 0 2px 6px rgba(124, 58, 237, 0.18) !important;
	font-weight: 500 !important;
}

#tc-agent-widget-root .tc-bubble-user a {
	color: #fef08a !important;
	text-decoration: underline !important;
}

/* Markdown typography inside Bot Bubbles */
#tc-agent-widget-root .tc-bubble-bot strong {
	font-weight: 700 !important;
	color: #0f172a !important;
}

#tc-agent-widget-root .tc-bubble-bot em {
	font-style: italic !important;
	color: #475569 !important;
}

#tc-agent-widget-root .tc-bubble-bot ul {
	margin: 6px 0 6px 18px !important;
	padding: 0 !important;
}

#tc-agent-widget-root .tc-bubble-bot li {
	margin-bottom: 4px !important;
	font-size: 13px !important;
	color: #334155 !important;
}

#tc-agent-widget-root .tc-bubble-bot h4,
#tc-agent-widget-root .tc-bubble-bot h5 {
	font-family: 'Outfit', sans-serif !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 8px 0 4px !important;
}

#tc-agent-widget-root .tc-bubble-bot code {
	background: #f1f5f9 !important;
	color: #ea580c !important;
	padding: 2px 6px !important;
	border-radius: 6px !important;
	font-size: 12px !important;
}

#tc-agent-widget-root .tc-md-spacer {
	height: 8px !important;
	display: block !important;
	content: '' !important;
}

/* Loading Dots */
#tc-agent-widget-root .tc-bubble-loading {
	align-self: flex-start !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border: 1px solid rgba(226, 232, 240, 0.9) !important;
	border-radius: 4px 18px 18px 18px !important;
	display: flex !important;
	gap: 5px !important;
	padding: 12px 18px !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

#tc-agent-widget-root .tc-typing-dot {
	width: 7px !important;
	height: 7px !important;
	border-radius: 50% !important;
	background: var(--tc-g-brand) !important;
	animation: tcBlink 1.4s infinite both !important;
}

#tc-agent-widget-root .tc-typing-dot:nth-child(2) { animation-delay: 0.2s !important; }
#tc-agent-widget-root .tc-typing-dot:nth-child(3) { animation-delay: 0.4s !important; }

@keyframes tcBlink {
	0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
	40% { opacity: 1; transform: scale(1.3); }
}

/* ==========================================================================
   6. Quick Action Starter Chips (Radiant Sheen & Lift)
   ========================================================================== */
#tc-agent-widget-root .tc-chips-container {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 7px !important;
	margin-top: 4px !important;
}

#tc-agent-widget-root .tc-chip {
	background: linear-gradient(135deg, rgba(254, 243, 199, 0.9) 0%, rgba(255, 237, 213, 0.9) 100%) !important;
	backdrop-filter: blur(8px) !important;
	border: 1px solid rgba(245, 158, 11, 0.4) !important;
	color: #9a3412 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 7px 13px !important;
	border-radius: 12px !important;
	cursor: pointer !important;
	transition: all 0.25s var(--tc-spring) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12) !important;
	line-height: 1.2 !important;
}

#tc-agent-widget-root .tc-chip:hover {
	background: var(--tc-g-brand) !important;
	color: #ffffff !important;
	transform: translateY(-2px) scale(1.03) !important;
	box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35) !important;
	border-color: transparent !important;
}

/* ==========================================================================
   7. Tour & Cab Cards Carousel (Spiritual Circuit Showcase)
   ========================================================================== */
#tc-agent-widget-root .tc-trip-cards-container {
	display: flex !important;
	gap: 12px !important;
	overflow-x: auto !important;
	padding: 6px 2px 12px !important;
	margin-top: 6px !important;
	scroll-snap-type: x mandatory !important;
}

#tc-agent-widget-root .tc-trip-cards-container::-webkit-scrollbar {
	height: 4px !important;
}
#tc-agent-widget-root .tc-trip-cards-container::-webkit-scrollbar-thumb {
	background: rgba(234, 88, 12, 0.4) !important;
	border-radius: 4px !important;
}

#tc-agent-widget-root .tc-trip-card {
	flex: 0 0 240px !important;
	scroll-snap-align: start !important;
	background: #ffffff !important;
	border: 1px solid rgba(226, 232, 240, 0.9) !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
	transition: all 0.3s var(--tc-spring) !important;
	display: flex !important;
	flex-direction: column !important;
}

#tc-agent-widget-root .tc-trip-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 14px 30px rgba(234, 88, 12, 0.22) !important;
	border-color: rgba(245, 158, 11, 0.5) !important;
}

#tc-agent-widget-root .tc-trip-card img {
	width: 100% !important;
	height: 110px !important;
	object-fit: cover !important;
	display: block !important;
}

#tc-agent-widget-root .tc-trip-content {
	padding: 12px 14px !important;
	display: flex !important;
	flex-direction: column !important;
	flex: 1 !important;
}

#tc-agent-widget-root .tc-trip-badge {
	align-self: flex-start !important;
	font-size: 9.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	color: #ea580c !important;
	background: rgba(254, 243, 199, 0.9) !important;
	padding: 3px 8px !important;
	border-radius: 6px !important;
	margin-bottom: 6px !important;
}

#tc-agent-widget-root .tc-trip-card h4 {
	margin: 0 0 4px 0 !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.3 !important;
}

#tc-agent-widget-root .tc-trip-excerpt {
	font-size: 11.5px !important;
	color: #64748b !important;
	line-height: 1.4 !important;
	margin-bottom: 8px !important;
	flex: 1 !important;
}

#tc-agent-widget-root .tc-trip-footer {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-top: auto !important;
	padding-top: 8px !important;
	border-top: 1px solid #f1f5f9 !important;
}

#tc-agent-widget-root .tc-trip-price {
	font-size: 13.5px !important;
	font-weight: 800 !important;
	color: #ea580c !important;
}

#tc-agent-widget-root .tc-trip-btn {
	background: var(--tc-g-brand) !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	padding: 6px 12px !important;
	border-radius: 8px !important;
	text-decoration: none !important;
	transition: transform 0.2s var(--tc-spring) !important;
	box-shadow: 0 4px 10px rgba(234, 88, 12, 0.28) !important;
}

#tc-agent-widget-root .tc-trip-btn:hover {
	transform: scale(1.05) !important;
	color: #ffffff !important;
}

/* ==========================================================================
   8. In-Chat Lead Call Action Card
   ========================================================================== */
#tc-agent-widget-root .tc-call-action-card {
	background: linear-gradient(135deg, rgba(254, 243, 199, 0.95) 0%, rgba(255, 237, 213, 0.95) 100%) !important;
	border: 1.5px solid rgba(245, 158, 11, 0.5) !important;
	border-radius: 16px !important;
	padding: 14px 16px !important;
	margin-top: 6px !important;
	box-shadow: 0 8px 24px rgba(234, 88, 12, 0.15) !important;
	animation: tcMsgIn 0.35s var(--tc-spring) !important;
}

#tc-agent-widget-root .tc-call-card-header {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	color: #9a3412 !important;
	margin-bottom: 4px !important;
}

#tc-agent-widget-root .tc-call-card-desc {
	font-size: 11.5px !important;
	color: #7c2d12 !important;
	line-height: 1.4 !important;
	margin-bottom: 10px !important;
}

#tc-agent-widget-root .tc-btn-instant-call {
	width: 100% !important;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 12.5px !important;
	padding: 9px 14px !important;
	border-radius: 10px !important;
	border: none !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	box-shadow: 0 6px 18px rgba(16, 185, 129, 0.32) !important;
	transition: all 0.25s var(--tc-spring) !important;
}

#tc-agent-widget-root .tc-btn-instant-call:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 10px 24px rgba(16, 185, 129, 0.42) !important;
}

/* ==========================================================================
   9. Fast Itinerary & Cab Quote Panel
   ========================================================================== */
#tc-agent-widget-root .tc-quote-panel {
	padding: 20px 18px !important;
	background: #ffffff !important;
}

#tc-agent-widget-root .tc-quote-heading h4 {
	margin: 0 0 5px 0 !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 16.5px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
}

#tc-agent-widget-root .tc-quote-heading p {
	margin: 0 0 16px 0 !important;
	font-size: 12.5px !important;
	color: #64748b !important;
	line-height: 1.45 !important;
}

#tc-agent-widget-root .tc-form-field {
	margin-bottom: 12px !important;
}

#tc-agent-widget-root .tc-form-row {
	display: flex !important;
	gap: 10px !important;
}

#tc-agent-widget-root .tc-form-row .tc-form-field {
	flex: 1 !important;
}

#tc-agent-widget-root .tc-form-field label {
	display: block !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	color: #334155 !important;
	margin-bottom: 4px !important;
	letter-spacing: 0.01em !important;
}

#tc-agent-widget-root .tc-form-field input,
#tc-agent-widget-root .tc-form-field select {
	width: 100% !important;
	padding: 10px 12px !important;
	font-size: 13px !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 12px !important;
	background: #f8fafc !important;
	color: #0f172a !important;
	transition: all 0.2s ease !important;
	outline: none !important;
}

#tc-agent-widget-root .tc-form-field input:focus,
#tc-agent-widget-root .tc-form-field select:focus {
	border-color: #ea580c !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2) !important;
}

#tc-agent-widget-root .tc-quote-submit-btn {
	width: 100% !important;
	background: var(--tc-g-brand) !important;
	color: #ffffff !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	padding: 12px 16px !important;
	border-radius: 12px !important;
	border: none !important;
	cursor: pointer !important;
	box-shadow: 0 8px 22px rgba(234, 88, 12, 0.35) !important;
	transition: all 0.3s var(--tc-spring) !important;
	margin-top: 6px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
}

#tc-agent-widget-root .tc-quote-submit-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 12px 28px rgba(234, 88, 12, 0.45) !important;
}

/* ==========================================================================
   10. Hands-Free Interactive WebCall Panel
   ========================================================================== */
#tc-agent-widget-root .tc-voice-panel {
	padding: 22px 18px !important;
	background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%) !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}

#tc-agent-widget-root .tc-voice-container {
	width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
}

#tc-agent-widget-root .tc-voice-avatar-wrap {
	position: relative !important;
	margin-bottom: 14px !important;
}

#tc-agent-widget-root .tc-voice-ring {
	width: 82px !important;
	height: 82px !important;
	border-radius: 50% !important;
	background: var(--tc-g-brand) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 36px !important;
	box-shadow: 0 12px 30px rgba(234, 88, 12, 0.36) !important;
	position: relative !important;
	overflow: hidden !important;
	transition: all 0.35s var(--tc-spring) !important;
}

#tc-agent-widget-root .tc-voice-ring.active {
	animation: tcVoicePulse 1.6s infinite ease-out !important;
}

@keyframes tcVoicePulse {
	0% {
		box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.6), 0 0 0 10px rgba(124, 58, 237, 0.3);
	}
	70% {
		box-shadow: 0 0 0 22px rgba(234, 88, 12, 0), 0 0 0 34px rgba(124, 58, 237, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(234, 88, 12, 0), 0 0 0 0 rgba(124, 58, 237, 0);
	}
}

#tc-agent-widget-root #tc-voice-agent-title {
	margin: 0 0 4px 0 !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 16.5px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
}

#tc-agent-widget-root #tc-voice-status {
	font-size: 12px !important;
	color: #ea580c !important;
	font-weight: 600 !important;
	margin: 0 0 12px 0 !important;
}

#tc-agent-widget-root #tc-voice-visualizer {
	width: 280px !important;
	height: 55px !important;
	border-radius: 12px !important;
	background: rgba(15, 23, 42, 0.04) !important;
	margin-bottom: 12px !important;
}

#tc-agent-widget-root .tc-voice-transcript {
	font-size: 12.5px !important;
	color: #475569 !important;
	font-style: italic !important;
	line-height: 1.45 !important;
	padding: 9px 12px !important;
	background: rgba(255, 255, 255, 0.88) !important;
	border-radius: 12px !important;
	border: 1px dashed rgba(234, 88, 12, 0.35) !important;
	max-height: 65px !important;
	overflow-y: auto !important;
	width: 100% !important;
	margin-bottom: 16px !important;
}

#tc-agent-widget-root .tc-voice-call-btn {
	background: var(--tc-g-brand) !important;
	color: #ffffff !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 14.5px !important;
	font-weight: 700 !important;
	padding: 11px 26px !important;
	border-radius: 28px !important;
	border: none !important;
	cursor: pointer !important;
	box-shadow: 0 8px 22px rgba(234, 88, 12, 0.35) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	transition: all 0.3s var(--tc-spring) !important;
}

#tc-agent-widget-root .tc-voice-call-btn:hover {
	transform: scale(1.05) !important;
	box-shadow: 0 12px 28px rgba(234, 88, 12, 0.45) !important;
}

#tc-agent-widget-root .tc-voice-phone-box {
	margin-top: 18px !important;
	width: 100% !important;
	padding: 12px !important;
	background: rgba(255, 255, 255, 0.92) !important;
	border: 1px solid rgba(226, 232, 240, 0.9) !important;
	border-radius: 14px !important;
}

#tc-agent-widget-root .tc-voice-phone-title {
	font-size: 11.5px !important;
	font-weight: 700 !important;
	color: #475569 !important;
	margin-bottom: 7px !important;
}

#tc-agent-widget-root .tc-voice-phone-input-row {
	display: flex !important;
	gap: 8px !important;
}

#tc-agent-widget-root .tc-voice-phone-input-row input {
	flex: 1 !important;
	padding: 8px 10px !important;
	font-size: 12.5px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	outline: none !important;
}

#tc-agent-widget-root .tc-btn-trigger-call {
	background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
	color: #fff !important;
	border: none !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	padding: 8px 12px !important;
	border-radius: 10px !important;
	cursor: pointer !important;
	transition: all 0.2s !important;
}

/* ==========================================================================
   11. Saved Itineraries & Past Chat History Panel (Tab 4)
   ========================================================================== */
#tc-agent-widget-root .tc-history-panel {
	padding: 18px 16px !important;
	background: #ffffff !important;
}

#tc-agent-widget-root .tc-history-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 14px !important;
	padding-bottom: 10px !important;
	border-bottom: 1px solid #f1f5f9 !important;
}

#tc-agent-widget-root .tc-history-header h4 {
	margin: 0 !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
}

#tc-agent-widget-root .tc-clear-history-btn {
	background: transparent !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #ef4444 !important;
	padding: 4px 10px !important;
	cursor: pointer !important;
	transition: all 0.2s !important;
}

#tc-agent-widget-root .tc-clear-history-btn:hover {
	background: #fee2e2 !important;
}

#tc-agent-widget-root .tc-history-empty {
	text-align: center !important;
	padding: 40px 16px !important;
	color: #94a3b8 !important;
}

#tc-agent-widget-root .tc-history-empty p {
	margin: 10px 0 0 !important;
	font-size: 12.5px !important;
	line-height: 1.5 !important;
}

#tc-agent-widget-root .tc-history-item {
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	margin-bottom: 10px !important;
	cursor: pointer !important;
	transition: all 0.2s !important;
}

#tc-agent-widget-root .tc-history-item:hover {
	border-color: #ea580c !important;
	background: #fff7ed !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(234, 88, 12, 0.1) !important;
}

#tc-agent-widget-root .tc-history-date {
	font-size: 10.5px !important;
	color: #94a3b8 !important;
	font-weight: 600 !important;
	margin-bottom: 4px !important;
}

#tc-agent-widget-root .tc-history-snippet {
	font-size: 12.5px !important;
	color: #1e293b !important;
	line-height: 1.4 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

/* ==========================================================================
   12. Footer: Chat Input Bar + Bottom Nav Bar + Micro-Footer
   ========================================================================== */
#tc-agent-widget-root .tc-widget-footer {
	padding: 10px 14px 6px !important;
	background: rgba(255, 255, 255, 0.98) !important;
	backdrop-filter: blur(16px) !important;
	border-top: 1px solid rgba(226, 232, 240, 0.85) !important;
	flex-shrink: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

#tc-agent-widget-root .tc-widget-input-area {
	margin-bottom: 8px !important;
	transition: all 0.25s ease !important;
}

#tc-agent-widget-root #tc-widget-form {
	display: flex !important;
	align-items: center !important;
	background: #f1f5f9 !important;
	border: 1.5px solid rgba(226, 232, 240, 0.9) !important;
	border-radius: 20px !important;
	padding: 3px 5px 3px 14px !important;
	transition: all 0.25s ease !important;
	margin: 0 !important;
}

#tc-agent-widget-root #tc-widget-form:focus-within {
	background: #ffffff !important;
	border-color: #ea580c !important;
	box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18) !important;
}

#tc-agent-widget-root #tc-widget-input {
	flex: 1 !important;
	background: transparent !important;
	border: none !important;
	font-size: 13px !important;
	color: #0f172a !important;
	outline: none !important;
	padding: 7px 0 !important;
	line-height: 1.4 !important;
	margin: 0 !important;
}

#tc-agent-widget-root #tc-widget-input::placeholder {
	color: #94a3b8 !important;
}

#tc-agent-widget-root .tc-btn-mic {
	background: transparent !important;
	border: none !important;
	color: #64748b !important;
	cursor: pointer !important;
	width: 30px !important;
	height: 30px !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s !important;
	margin-right: 3px !important;
	padding: 0 !important;
}

#tc-agent-widget-root .tc-btn-mic:hover {
	color: #ea580c !important;
	background: rgba(234, 88, 12, 0.1) !important;
}

#tc-agent-widget-root .tc-btn-mic.listening {
	color: #ef4444 !important;
	animation: tcVoicePulse 1.2s infinite !important;
}

#tc-agent-widget-root #tc-widget-send {
	width: 34px !important;
	height: 34px !important;
	border-radius: 12px !important;
	background: var(--tc-g-brand) !important;
	color: #ffffff !important;
	border: none !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35) !important;
	transition: all 0.22s var(--tc-spring) !important;
	padding: 0 !important;
}

#tc-agent-widget-root #tc-widget-send:hover {
	transform: scale(1.08) rotate(3deg) !important;
	box-shadow: 0 6px 16px rgba(234, 88, 12, 0.45) !important;
}

/* Bottom Navigation Bar (Footer Nav) */
#tc-agent-widget-root .tc-widget-tabs {
	display: flex !important;
	border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
	background: #ffffff !important;
	flex-shrink: 0 !important;
	padding: 6px 2px 5px !important;
	gap: 3px !important;
	margin: 2px 0 4px !important;
	border-radius: 12px !important;
}

#tc-agent-widget-root .tc-tab-btn {
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 3px !important;
	padding: 6px 2px 4px !important;
	border: none !important;
	background: transparent !important;
	cursor: pointer !important;
	color: #64748b !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	transition: all 0.2s var(--tc-smooth) !important;
	position: relative !important;
	border-radius: 10px !important;
	line-height: 1 !important;
}

#tc-agent-widget-root .tc-tab-icon {
	font-size: 16px !important;
	line-height: 1 !important;
	transition: transform 0.22s var(--tc-spring) !important;
}

#tc-agent-widget-root .tc-tab-label {
	font-size: 10px !important;
	font-weight: 700 !important;
	color: inherit !important;
	letter-spacing: 0.01em !important;
	line-height: 1.1 !important;
}

#tc-agent-widget-root .tc-tab-btn:hover {
	color: #0f172a !important;
	background: rgba(241, 245, 249, 0.8) !important;
}

#tc-agent-widget-root .tc-tab-btn.active {
	color: #ea580c !important;
	background: rgba(254, 243, 199, 0.45) !important;
}

#tc-agent-widget-root .tc-tab-btn.active .tc-tab-icon {
	transform: scale(1.18) translateY(-1px) !important;
}

#tc-agent-widget-root .tc-tab-bar {
	position: absolute !important;
	top: 0 !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 0 !important;
	height: 2.5px !important;
	background: var(--tc-g-brand) !important;
	border-radius: 2px !important;
	transition: width 0.25s var(--tc-spring) !important;
}

#tc-agent-widget-root .tc-tab-btn.active .tc-tab-bar {
	width: 26px !important;
}

/* Micro-Footer Subtext (Isolated from theme rules) */
#tc-agent-widget-root .tc-footer-subtext {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 4px 6px 2px !important;
	font-size: 10.5px !important;
	line-height: 1.4 !important;
	color: #94a3b8 !important;
	margin: 0 !important;
	font-weight: 500 !important;
	border-top: 1px solid rgba(241, 245, 249, 0.9) !important;
}

#tc-agent-widget-root .tc-footer-subtext span {
	font-size: 10.5px !important;
	color: #94a3b8 !important;
	font-weight: 500 !important;
}

#tc-agent-widget-root .tc-footer-subtext a {
	color: #ea580c !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	font-size: 10.5px !important;
	transition: color 0.2s ease !important;
}

#tc-agent-widget-root .tc-footer-subtext a:hover {
	color: #c2410c !important;
	text-decoration: underline !important;
}
/* ==========================================================================
   12b. Multi-Tab Navigation & Panels (Guide, Quote, Voice, History)
   ========================================================================== */
#tc-agent-widget-root .tc-panel {
	display: none !important;
	flex: 1 1 auto !important;
	overflow-y: auto !important;
	min-height: 0 !important;
}

#tc-agent-widget-root .tc-panel.active {
	display: flex !important;
	flex-direction: column !important;
}

/* Tabs Bar */
#tc-agent-widget-root .tc-widget-tabs {
	display: flex !important;
	align-items: stretch !important;
	justify-content: space-around !important;
	background: #f8fafc !important;
	border-top: 1px solid #e2e8f0 !important;
	padding: 4px 6px !important;
	gap: 4px !important;
}

#tc-agent-widget-root .tc-tab-btn {
	flex: 1 1 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 6px 4px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	font-family: inherit !important;
	position: relative !important;
	transition: all 0.2s ease !important;
	color: #64748b !important;
}

#tc-agent-widget-root .tc-tab-btn:hover {
	background: rgba(241, 245, 249, 0.9) !important;
	color: #0f172a !important;
}

#tc-agent-widget-root .tc-tab-btn.active {
	color: #ea580c !important;
	background: #fff !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

#tc-agent-widget-root .tc-tab-btn .tc-tab-icon {
	font-size: 16px !important;
	line-height: 1 !important;
	margin-bottom: 3px !important;
}

#tc-agent-widget-root .tc-tab-btn .tc-tab-label {
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em !important;
}

/* Fast Quote Panel */
#tc-agent-widget-root .tc-quote-panel {
	padding: 18px 18px 24px !important;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%) !important;
}

#tc-agent-widget-root .tc-quote-heading {
	margin-bottom: 16px !important;
}

#tc-agent-widget-root .tc-quote-heading h4 {
	margin: 0 0 4px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
}

#tc-agent-widget-root .tc-quote-heading p {
	margin: 0 !important;
	font-size: 12px !important;
	color: #64748b !important;
	line-height: 1.4 !important;
}

#tc-agent-widget-root .tc-quote-form .tc-form-field {
	margin-bottom: 12px !important;
}

#tc-agent-widget-root .tc-quote-form .tc-form-row {
	display: flex !important;
	gap: 10px !important;
}

#tc-agent-widget-root .tc-quote-form .tc-form-row .tc-form-field {
	flex: 1 1 0 !important;
}

#tc-agent-widget-root .tc-quote-form label {
	display: block !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	color: #334155 !important;
	margin-bottom: 4px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.03em !important;
}

#tc-agent-widget-root .tc-quote-form input,
#tc-agent-widget-root .tc-quote-form select {
	width: 100% !important;
	padding: 8px 12px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	background: #fff !important;
	color: #0f172a !important;
	box-sizing: border-box !important;
	outline: none !important;
	transition: border-color 0.2s, box-shadow 0.2s !important;
}

#tc-agent-widget-root .tc-quote-form input:focus,
#tc-agent-widget-root .tc-quote-form select:focus {
	border-color: #ea580c !important;
	box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15) !important;
}

#tc-agent-widget-root .tc-quote-submit-btn {
	width: 100% !important;
	margin-top: 6px !important;
	padding: 11px 16px !important;
	background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3) !important;
	transition: all 0.2s ease !important;
}

#tc-agent-widget-root .tc-quote-submit-btn:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4) !important;
}

#tc-agent-widget-root .tc-quote-success {
	padding: 24px 16px !important;
	text-align: center !important;
}

#tc-agent-widget-root .tc-quote-success .tc-success-icon {
	width: 44px !important;
	height: 44px !important;
	line-height: 44px !important;
	border-radius: 50% !important;
	background: #10b981 !important;
	color: #fff !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	margin: 0 auto 12px !important;
}

#tc-agent-widget-root .tc-quote-success h5 {
	margin: 0 0 6px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
}

#tc-agent-widget-root .tc-quote-success p {
	margin: 0 !important;
	font-size: 12.5px !important;
	color: #64748b !important;
	line-height: 1.4 !important;
}

/* History Panel */
#tc-agent-widget-root .tc-history-panel {
	padding: 16px !important;
}

#tc-agent-widget-root .tc-history-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 12px !important;
}

#tc-agent-widget-root .tc-history-header h4 {
	margin: 0 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
}

#tc-agent-widget-root .tc-clear-history-btn {
	background: none !important;
	border: none !important;
	color: #ef4444 !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	padding: 4px 8px !important;
}

#tc-agent-widget-root .tc-history-items {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

#tc-agent-widget-root .tc-history-item {
	padding: 10px 12px !important;
	border-radius: 10px !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	font-size: 12.5px !important;
	line-height: 1.4 !important;
}

#tc-agent-widget-root .tc-history-item.tc-hist-bot {
	border-left: 3px solid #ea580c !important;
}

#tc-agent-widget-root .tc-history-item.tc-hist-user {
	border-left: 3px solid #3b82f6 !important;
}

#tc-agent-widget-root .tc-hist-header {
	font-size: 11px !important;
	font-weight: 700 !important;
	color: #64748b !important;
	margin-bottom: 4px !important;
}

#tc-agent-widget-root .tc-history-empty {
	text-align: center !important;
	padding: 40px 20px !important;
	color: #94a3b8 !important;
}

#tc-agent-widget-root .tc-history-empty p {
	margin-top: 8px !important;
	font-size: 12.5px !important;
}

/* ==========================================================================
   13. Mobile Responsive Full-Screen Dialog (< 640px)
   ========================================================================== */
@media (max-width: 640px) {
	#tc-agent-widget-root {
		bottom: 16px !important;
		right: 16px !important;
	}

	#tc-agent-widget-root.tc-window-open {
		position: fixed !important;
		inset: 0 !important;
		width: 100vw !important;
		height: 100% !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		pointer-events: auto !important;
		z-index: 2147483647 !important;
	}

	#tc-agent-widget-root.tc-window-open .tc-widget-fab {
		display: none !important;
	}

	#tc-agent-widget-root.tc-window-open .tc-widget-teaser {
		display: none !important;
	}

	#tc-agent-widget-root .tc-widget-window {
		position: fixed !important;
		inset: 0 !important;
		width: 100vw !important;
		height: 100% !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		border-radius: 0 !important;
		bottom: 0 !important;
		right: 0 !important;
		border: none !important;
		box-shadow: none !important;
	}

	#tc-agent-widget-root .tc-widget-header {
		padding: max(14px, env(safe-area-inset-top)) 16px 12px !important;
		border-radius: 0 !important;
	}

	#tc-agent-widget-root .tc-lang-picker-bar {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
		scrollbar-width: none !important;
		padding: 8px 12px !important;
	}
	#tc-agent-widget-root .tc-lang-picker-bar::-webkit-scrollbar {
		display: none !important;
	}
	#tc-agent-widget-root .tc-lang-pills {
		flex-shrink: 0 !important;
	}

	#tc-agent-widget-root .tc-chat-bubble {
		max-width: 90% !important;
		font-size: 13.5px !important;
	}

	/* Comprehensive 16px input font size fix to prevent iOS Safari auto-zoom */
	#tc-agent-widget-root input,
	#tc-agent-widget-root select,
	#tc-agent-widget-root textarea,
	#tc-agent-widget-root #tc-widget-input,
	#tc-agent-widget-root .tc-chat-input,
	#tc-agent-widget-root .tc-quote-form input,
	#tc-agent-widget-root .tc-quote-form select,
	#tc-agent-widget-root .tc-voice-phone-input-row input {
		font-size: 16px !important;
	}

	#tc-agent-widget-root .tc-chips-container {
		padding: 4px 0 !important;
		gap: 6px !important;
	}

	#tc-agent-widget-root .tc-chip {
		font-size: 11.5px !important;
		padding: 6px 12px !important;
	}

	#tc-agent-widget-root .tc-widget-footer {
		padding: 8px 8px max(10px, env(safe-area-inset-bottom)) !important;
	}

	#tc-agent-widget-root .tc-tab-btn {
		font-size: 10px !important;
		padding: 6px 3px !important;
	}

	#tc-agent-widget-root .tc-widget-teaser {
		right: 8px !important;
		bottom: 76px !important;
		max-width: calc(100vw - 28px) !important;
	}
}

@media (max-width: 375px) {
	#tc-agent-widget-root .tc-tab-btn {
		padding: 5px 1px !important;
		font-size: 9px !important;
	}
	#tc-agent-widget-root .tc-tab-icon {
		font-size: 14px !important;
	}
	#tc-agent-widget-root .tc-tab-label {
		font-size: 9px !important;
	}
	#tc-agent-widget-root .tc-widget-header {
		padding: max(10px, env(safe-area-inset-top)) 12px 10px !important;
	}
	#tc-agent-widget-root .tc-header-info h3 {
		font-size: 14px !important;
	}
}

/* ==========================================================================
   14. Multilingual Pilgrim Language Switcher
   ========================================================================== */
#tc-agent-widget-root .tc-lang-picker-bar {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 8px 16px !important;
	background: #0f172a !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
	position: relative !important;
	z-index: 5 !important;
}

#tc-agent-widget-root .tc-lang-picker-title {
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #94a3b8 !important;
	letter-spacing: 0.02em !important;
	display: flex !important;
	align-items: center !important;
	gap: 4px !important;
}

#tc-agent-widget-root .tc-lang-pills {
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
}

#tc-agent-widget-root .tc-lang-pill {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #cbd5e1 !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	padding: 3px 9px !important;
	border-radius: 999px !important;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	font-family: inherit !important;
	line-height: 1.3 !important;
}

#tc-agent-widget-root .tc-lang-pill:hover {
	background: rgba(255, 255, 255, 0.18) !important;
	color: #ffffff !important;
	border-color: rgba(245, 158, 11, 0.5) !important;
}

#tc-agent-widget-root .tc-lang-pill.active {
	background: var(--tc-g-brand) !important;
	color: #ffffff !important;
	border-color: transparent !important;
	box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4) !important;
}

/* ==========================================================================
   15. Rich Cards: Cab Tariffs, Itinerary PDF & Temple Protocols
   ========================================================================== */
#tc-agent-widget-root .tc-cab-fare-card,
#tc-agent-widget-root .tc-itinerary-card,
#tc-agent-widget-root .tc-temple-card {
	background: #ffffff !important;
	border-radius: 16px !important;
	border: 1px solid rgba(226, 232, 240, 0.9) !important;
	box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04) !important;
	padding: 14px !important;
	margin: 8px 0 !important;
	font-size: 12.5px !important;
	line-height: 1.5 !important;
	color: #1e293b !important;
	animation: tcWindowSpring 0.35s var(--tc-spring) forwards !important;
}

#tc-agent-widget-root .tc-card-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 10px !important;
	padding-bottom: 8px !important;
	border-bottom: 1px dashed #e2e8f0 !important;
}

#tc-agent-widget-root .tc-card-title {
	font-size: 13px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
}

#tc-agent-widget-root .tc-card-badge {
	font-size: 10px !important;
	font-weight: 700 !important;
	padding: 2px 8px !important;
	border-radius: 999px !important;
	background: #fef3c7 !important;
	color: #b45309 !important;
}

#tc-agent-widget-root .tc-fare-amount {
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #ea580c !important;
	display: flex !important;
	align-items: baseline !important;
	gap: 4px !important;
	margin: 6px 0 !important;
}

#tc-agent-widget-root .tc-fare-amount span {
	font-size: 11px !important;
	font-weight: 500 !important;
	color: #64748b !important;
}

#tc-agent-widget-root .tc-card-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 8px !important;
	margin: 10px 0 !important;
	font-size: 11.5px !important;
}

#tc-agent-widget-root .tc-card-stat {
	background: #f8fafc !important;
	padding: 6px 10px !important;
	border-radius: 8px !important;
	border: 1px solid #f1f5f9 !important;
}

#tc-agent-widget-root .tc-card-stat-label {
	font-size: 10px !important;
	color: #64748b !important;
	text-transform: uppercase !important;
	letter-spacing: 0.03em !important;
	margin-bottom: 2px !important;
}

#tc-agent-widget-root .tc-card-stat-val {
	font-weight: 700 !important;
	color: #0f172a !important;
}

#tc-agent-widget-root .tc-card-action-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	width: 100% !important;
	padding: 9px 14px !important;
	border-radius: 12px !important;
	background: var(--tc-g-brand) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	text-decoration: none !important;
	border: none !important;
	cursor: pointer !important;
	transition: transform 0.2s, box-shadow 0.2s !important;
	margin-top: 10px !important;
	box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25) !important;
}

#tc-agent-widget-root .tc-card-action-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 18px rgba(234, 88, 12, 0.35) !important;
	color: #ffffff !important;
}
