/**
 * Guestify AI Assistant — Premium SaaS-Style Chatbot CSS
 * Designed using a Mobile-First Responsive framework, Glassmorphism, and Brand Palettes.
 */

:root {
	--gai-primary: #2563EB;
	--gai-secondary: #0F172A;
	--gai-accent: #06B6D4;
	--gai-font-headings: 'Outfit', 'Inter', sans-serif;
	--gai-font-body: 'Inter', sans-serif;
	--gai-border-radius: 20px;
	--gai-bubble-radius: 16px;
	--gai-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
	--gai-shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.15);
	--gai-shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.3);
	--gai-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. FLOATING CHAT LAUNCHER BUTTON
   ========================================================================== */
#gai-chat-launcher {
	position: fixed;
	bottom: clamp(15px, 3vw, 30px);
	width: clamp(56px, 8vw, 64px);
	height: clamp(56px, 8vw, 64px);
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gai-primary) 0%, var(--gai-accent) 100%);
	box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
	cursor: pointer;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--gai-transition);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Idle Pulse Animation */
#gai-chat-launcher::before {
	content: '';
	position: absolute;
	top: -4px;
	left: -4px;
	right: -4px;
	bottom: -4px;
	border-radius: 50%;
	border: 2px solid var(--gai-primary);
	opacity: 0;
	animation: launcherPulse 2s infinite;
}

#gai-chat-launcher:hover {
	transform: scale(1.08) translateY(-4px);
	box-shadow: 0 12px 36px rgba(37, 99, 235, 0.55);
}

.launcher-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

#gai-chat-launcher:hover .launcher-icon {
	transform: rotate(5deg) scale(1.05);
}

.gai-pos-right { right: clamp(15px, 3vw, 30px); }
.gai-pos-left { left: clamp(15px, 3vw, 30px); }

@keyframes launcherPulse {
	0% { transform: scale(0.95); opacity: 0.8; }
	50% { transform: scale(1.1); opacity: 0; }
	100% { transform: scale(0.95); opacity: 0; }
}

/* ==========================================================================
   2. RESPONSIVE CONTAINER & MEDIA QUERIES
   ========================================================================== */
#gai-chat-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-family: var(--gai-font-body);
	transition: var(--gai-transition);
	margin: 0;
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
}

/* Tablet screens (min-width: 768px and max-width: 991px) */
@media (min-width: 768px) {
	#gai-chat-container {
		top: auto;
		left: auto;
		bottom: clamp(20px, 10vh, 100px);
		width: 90%;
		max-width: 540px;
		height: 75vh;
		min-height: 550px;
		border-radius: var(--gai-border-radius);
		box-shadow: var(--gai-shadow-lg);
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	#gai-chat-container.gai-pos-right { right: 5%; }
	#gai-chat-container.gai-pos-left { left: 5%; }
}

/* Laptop screens (min-width: 992px) */
@media (min-width: 992px) {
	#gai-chat-container {
		bottom: 100px;
		width: clamp(370px, 28vw, 410px);
		height: clamp(600px, 75vh, 720px);
		max-height: calc(100vh - 140px);
		border-radius: var(--gai-border-radius);
	}
	#gai-chat-container.gai-pos-right { right: 30px; }
	#gai-chat-container.gai-pos-left { left: 30px; }
}

/* ==========================================================================
   3. COLOR THEMES & GLASSMORPHISM
   ========================================================================== */

/* Dark Mode - Glassmorphic Luxury (Theme default) */
.gai-theme-dark {
	background-color: rgba(15, 23, 42, 0.88);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	color: #F1F5F9;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.gai-theme-dark .gai-chat-header {
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(37, 99, 235, 0.15) 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gai-theme-dark .gai-chat-body {
	background-color: rgba(15, 23, 42, 0.3);
}

.gai-theme-dark .msg-bubble-ai {
	background-color: rgba(30, 41, 59, 0.7);
	color: #E2E8F0;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--gai-shadow-sm);
}

.gai-theme-dark .gai-chat-footer {
	background-color: rgba(15, 23, 42, 0.9);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gai-theme-dark .gai-input-wrapper {
	background-color: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Light Mode - Premium Clean */
.gai-theme-light {
	background-color: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	color: #0F172A;
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.gai-theme-light .gai-chat-header {
	background: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
	border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.gai-theme-light .gai-chat-body {
	background-color: #F8FAFC;
}

.gai-theme-light .msg-bubble-ai {
	background-color: #FFFFFF;
	color: #1E293B;
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.gai-theme-light .gai-chat-footer {
	background-color: #FFFFFF;
	border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.gai-theme-light .gai-input-wrapper {
	background-color: #F1F5F9;
	border: 1px solid rgba(15, 23, 42, 0.06);
}

.gai-theme-light .gai-input-wrapper textarea {
	color: #0F172A;
}

.gai-theme-light .gai-quick-chip-btn {
	background-color: rgba(37, 99, 235, 0.04);
	border-color: rgba(37, 99, 235, 0.2);
	color: #2563EB;
}

.gai-theme-light .gai-quick-chip-btn:hover {
	background-color: var(--gai-primary);
	color: #FFFFFF;
}

/* ==========================================================================
   4. STICKY HEADER LAYOUT
   ========================================================================== */
.gai-chat-header {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: clamp(0.75rem, 2vw, 1.2rem);
	z-index: 10;
}

.gai-header-profile {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex: 1;
	min-width: 0;
}

.gai-avatar-badge {
	flex-shrink: 0;
	position: relative;
}

.gai-avatar-badge::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 10px;
	height: 10px;
	background-color: #10B981;
	border: 2px solid #0F172A;
	border-radius: 50%;
}

.gai-theme-light .gai-avatar-badge::after {
	border-color: #FFFFFF;
}

.gai-header-text {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.gai-header-text h4 {
	margin: 0;
	font-family: var(--gai-font-headings);
	font-size: clamp(0.95rem, 1.5vw + 0.5rem, 1.1rem);
	font-weight: 700;
	color: #FFFFFF;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gai-status-indicator {
	font-size: 0.725rem;
	color: var(--gai-accent);
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 3px;
	font-weight: 500;
}

.pulse-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #10B981;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
	70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header Action Buttons */
.gai-header-btn {
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.1rem;
	cursor: pointer;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--gai-transition);
	border-radius: 50%;
}

.gai-header-btn:hover {
	color: #FFFFFF;
	background-color: rgba(255, 255, 255, 0.1);
	transform: scale(1.05);
}

.gai-header-actions {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* ==========================================================================
   5. MESSAGES BODY & SCROLL STREAM
   ========================================================================== */
.gai-chat-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: clamp(0.75rem, 2vw, 1.25rem);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#gai-messages-stream {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Custom Scrollbar Styles */
.gai-chat-body::-webkit-scrollbar {
	width: 6px;
}
.gai-chat-body::-webkit-scrollbar-track {
	background: transparent;
}
.gai-chat-body::-webkit-scrollbar-thumb {
	background: linear-gradient(to bottom, var(--gai-primary), var(--gai-accent));
	border-radius: 10px;
}

/* Quick Action Chips */
.gai-chips-container {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	flex-shrink: 0;
	-webkit-overflow-scrolling: touch;
}

.gai-theme-light .gai-chips-container {
	border-bottom-color: rgba(15, 23, 42, 0.05);
}

.gai-chips-container::-webkit-scrollbar {
	height: 4px;
}
.gai-chips-container::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
}

.gai-quick-chip-btn {
	flex-shrink: 0;
	background: rgba(37, 99, 235, 0.08);
	border: 1px solid rgba(37, 99, 235, 0.25);
	color: #60A5FA;
	padding: 0.5rem 1.15rem;
	border-radius: 9999px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--gai-transition);
	font-family: var(--gai-font-headings);
	min-height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gai-quick-chip-btn:hover {
	background-color: var(--gai-primary);
	border-color: var(--gai-primary);
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Message lines & bubbles */
.msg-line {
	display: flex;
	flex-direction: column;
	max-width: 85%;
	animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.msg-line.msg-user {
	align-self: flex-end;
}

.msg-line.msg-ai {
	align-self: flex-start;
}

.msg-bubble {
	padding: 0.9rem 1.25rem;
	font-size: clamp(0.85rem, 1.2vw + 0.55rem, 0.925rem);
	line-height: 1.55;
	word-wrap: break-word;
	overflow-wrap: break-word;
	box-shadow: var(--gai-shadow-sm);
}

.msg-bubble-user {
	background-color: var(--gai-primary);
	color: #FFFFFF;
	border-radius: var(--gai-bubble-radius) var(--gai-bubble-radius) 4px var(--gai-bubble-radius);
}

.msg-bubble-ai {
	border-radius: var(--gai-bubble-radius) var(--gai-bubble-radius) var(--gai-bubble-radius) 4px;
	position: relative;
}

/* Avatar display inside bubble */
.avatar-in-bubble {
	box-shadow: 0 0 0 2px var(--gai-accent);
}

/* Markdown and Text Styles inside Bubbles */
.gai-message-content {
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.gai-message-content p {
	margin: 0 0 0.5rem 0;
}
.gai-message-content p:last-child {
	margin-bottom: 0;
}

.gai-message-content ul,
.gai-message-content ol {
	margin: 0.5rem 0;
	padding-left: 1.25rem;
}

.gai-message-content li {
	margin-bottom: 0.35rem;
}

.gai-message-content a {
	color: var(--gai-accent);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px dashed var(--gai-accent);
	transition: var(--gai-transition);
}

.gai-message-content a:hover {
	color: #FFFFFF;
	border-bottom-color: #FFFFFF;
}

.gai-theme-light .gai-message-content a:hover {
	color: var(--gai-primary);
	border-bottom-color: var(--gai-primary);
}

.gai-message-content code {
	background-color: rgba(255, 255, 255, 0.1);
	padding: 2px 6px;
	border-radius: 4px;
	font-family: var(--gai-font-headings);
	font-size: 0.85em;
	color: var(--gai-accent);
}

.gai-theme-light .gai-message-content code {
	background-color: rgba(15, 23, 42, 0.05);
	color: var(--gai-primary);
}

.gai-code-block {
	background-color: rgba(15, 23, 42, 0.95);
	padding: 0.85rem;
	border-radius: 8px;
	overflow-x: auto;
	max-width: 100%;
	margin: 0.75rem 0;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.gai-code-block code {
	background: none;
	padding: 0;
	font-size: 0.85rem;
	color: #F8FAFC;
}

@keyframes slideUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   6. STICKY INPUT FOOTER AREA
   ========================================================================== */
.gai-chat-footer {
	flex-shrink: 0;
	padding: clamp(0.75rem, 2vw, 1.25rem);
	z-index: 10;
}

.gai-input-wrapper {
	display: flex;
	align-items: flex-end;
	border-radius: var(--gai-border-radius);
	padding: 6px 10px;
	gap: 0.5rem;
	transition: var(--gai-transition);
}

.gai-input-wrapper:focus-within {
	border-color: var(--gai-accent);
	box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.gai-input-wrapper textarea {
	flex: 1;
	background: transparent;
	border: none;
	color: #FFFFFF;
	font-size: clamp(0.85rem, 1.2vw + 0.55rem, 0.925rem);
	padding: 8px 4px;
	resize: none;
	max-height: 100px;
	height: 36px;
	font-family: var(--gai-font-body);
	line-height: 1.4;
	overflow-y: auto;
}

.gai-input-wrapper textarea:focus {
	outline: none;
}

#gai-send-msg-btn {
	background: linear-gradient(135deg, var(--gai-primary) 0%, var(--gai-accent) 100%);
	border: none;
	color: #FFFFFF;
	width: clamp(38px, 6vw, 42px);
	height: clamp(38px, 6vw, 42px);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: var(--gai-transition);
	min-width: 38px;
	min-height: 38px;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

#gai-send-msg-btn:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.gai-footer-branding {
	text-align: center;
	margin-top: 8px;
}
.gai-footer-branding span {
	font-size: 0.65rem;
	color: rgba(255, 255, 255, 0.3);
	font-family: var(--gai-font-headings);
	letter-spacing: 0.5px;
	font-weight: 500;
}

.gai-theme-light .gai-footer-branding span {
	color: rgba(15, 23, 42, 0.4);
}

/* ==========================================================================
   7. LEAD GENERATION FORM (Glassmorphism Modal)
   ========================================================================== */
.gai-lead-form-box {
	background: rgba(30, 41, 59, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1.25rem;
	padding: 1.5rem;
	margin-top: 6px;
	width: 100%;
	box-shadow: var(--gai-shadow-md);
	animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gai-theme-light .gai-lead-form-box {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.06);
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.gai-lead-form-box h5 {
	margin: 0 0 1.25rem 0;
	font-family: var(--gai-font-headings);
	font-size: 1.05rem;
	font-weight: 700;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gai-theme-light .gai-lead-form-box h5 {
	color: #0F172A;
}

.gai-lead-form-box form {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0;
}

.gai-lead-form-box input,
.gai-lead-form-box select,
.gai-lead-form-box textarea {
	width: 100%;
	background-color: rgba(15, 23, 42, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #FFFFFF !important;
	padding: 0.75rem 1rem !important;
	border-radius: 8px;
	font-size: 0.875rem !important;
	font-family: var(--gai-font-body);
	min-height: 44px;
	box-sizing: border-box;
	transition: var(--gai-transition);
}

.gai-theme-light .gai-lead-form-box input,
.gai-theme-light .gai-lead-form-box select,
.gai-theme-light .gai-lead-form-box textarea {
	background-color: #F8FAFC;
	border: 1px solid rgba(15, 23, 42, 0.08);
	color: #0F172A !important;
}

.gai-lead-form-box textarea {
	min-height: 70px;
}

.gai-lead-form-box input:focus,
.gai-lead-form-box select:focus,
.gai-lead-form-box textarea:focus {
	outline: none;
	border-color: var(--gai-primary);
	box-shadow: 0 0 8px rgba(37, 99, 235, 0.2);
}

.gai-lead-form-box button {
	width: 100%;
	background: linear-gradient(135deg, var(--gai-primary) 0%, var(--gai-accent) 100%);
	border: none;
	color: #FFFFFF;
	padding: 0.85rem !important;
	border-radius: 8px;
	font-family: var(--gai-font-headings);
	font-weight: 700;
	cursor: pointer;
	transition: var(--gai-transition);
	font-size: 0.875rem !important;
	min-height: 46px;
	box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.gai-lead-form-box button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   8. FEEDBACK POPUP OVERLAY
   ========================================================================== */
#gai-feedback-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 10000;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 1.5rem;
	text-align: center;
	box-sizing: border-box;
	border-radius: var(--gai-border-radius);
	animation: fadeIn 0.3s ease forwards;
}

#gai-feedback-overlay h4 {
	color: #FFFFFF;
	margin: 0 0 1rem 0;
	font-family: var(--gai-font-headings);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
}

.gai-star-rating-row {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 1.5rem 0;
}

.gai-fb-star-btn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	cursor: pointer;
	color: #64748B;
	transition: var(--gai-transition);
	user-select: none;
}

.gai-fb-star-btn:hover,
.gai-fb-star-btn.active {
	color: var(--gai-accent);
	text-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
	transform: scale(1.18);
}

.gai-fb-star-btn:active {
	transform: scale(0.9);
}

.gai-theme-light .gai-fb-star-btn {
	color: #CBD5E1;
}

.gai-theme-light .gai-fb-star-btn:hover,
.gai-theme-light .gai-fb-star-btn.active {
	color: var(--gai-primary);
	text-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

#gai-fb-comments {
	width: 100%;
	height: 90px;
	display: none;
	margin-bottom: 1.25rem;
	border-radius: 8px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.04);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.1);
	resize: none;
	box-sizing: border-box;
	font-family: var(--gai-font-body);
	font-size: 0.85rem;
	transition: var(--gai-transition);
}

#gai-fb-comments:focus {
	outline: none;
	border-color: var(--gai-accent);
	box-shadow: 0 0 8px rgba(6, 182, 212, 0.25);
}

.gai-fb-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

#gai-fb-submit-btn {
	width: 100%;
	background: linear-gradient(135deg, var(--gai-primary) 0%, var(--gai-accent) 100%);
	color: #FFFFFF;
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-family: var(--gai-font-headings);
	font-weight: 700;
	cursor: pointer;
	font-size: 0.875rem;
	min-height: 44px;
	transition: var(--gai-transition);
	box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

#gai-fb-submit-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

#gai-fb-skip-btn {
	width: 100%;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.6);
	padding: 12px;
	border-radius: 8px;
	font-family: var(--gai-font-headings);
	font-weight: 600;
	cursor: pointer;
	font-size: 0.875rem;
	min-height: 44px;
	transition: var(--gai-transition);
}

#gai-fb-skip-btn:hover {
	background-color: rgba(255, 255, 255, 0.05);
	color: #FFFFFF;
	border-color: rgba(255, 255, 255, 0.3);
}

/* Light mode overrides for feedback overlay */
.gai-theme-light #gai-feedback-overlay {
	background: rgba(255, 255, 255, 0.96);
}

.gai-theme-light #gai-feedback-overlay h4 {
	color: #0F172A;
}

.gai-theme-light #gai-fb-comments {
	background: #F8FAFC;
	color: #0F172A;
	border: 1px solid rgba(15, 23, 42, 0.08);
}

.gai-theme-light #gai-fb-skip-btn {
	border-color: rgba(15, 23, 42, 0.12);
	color: rgba(15, 23, 42, 0.6);
}

.gai-theme-light #gai-fb-skip-btn:hover {
	background-color: rgba(15, 23, 42, 0.04);
	color: #0F172A;
}

/* Typing anim indicator */
.typing-indicator {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 6px 8px;
}

.typing-dot {
	width: 7px;
	height: 7px;
	background-color: rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	animation: bounce 1.4s infinite ease-in-out both;
}

.gai-theme-light .typing-dot {
	background-color: rgba(15, 23, 42, 0.4);
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
	0%, 80%, 100% { transform: scale(0.3); opacity: 0.4; }
	40% { transform: scale(1.0); opacity: 1; }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Success Checkmark Animation */
.gai-checkmark-svg {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: block;
	stroke-width: 4;
	stroke: #10B981;
	stroke-miterlimit: 10;
	box-shadow: inset 0px 0px 0px #10B981;
	animation: fillCheckmark .4s ease-in-out .4s forwards, scaleCheckmark .3s ease-in-out .9s both;
	margin: 0 auto 1.25rem auto;
}

.gai-checkmark-circle {
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	stroke-width: 4;
	stroke-miterlimit: 10;
	stroke: #10B981;
	fill: none;
	animation: strokeCheckmark 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.gai-checkmark-check {
	transform-origin: 50% 50%;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
	animation: strokeCheckmark 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.gai-fb-thanks-title {
	color: #10B981;
	font-family: var(--gai-font-headings);
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.4;
	animation: fadeIn 0.4s ease 0.8s both;
}

@keyframes strokeCheckmark {
	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes scaleCheckmark {
	0%, 100% {
		transform: none;
	}
	50% {
		transform: scale3d(1.1, 1.1, 1);
	}
}

@keyframes fillCheckmark {
	100% {
		box-shadow: inset 0px 0px 0px 30px rgba(16, 185, 129, 0.15);
	}
}
