/**
 * Aisthetic AI Chat Widget Styling
 *
 * Implements 3 UI/UX Layouts (Glassmorphic Floating, Clean Minimal, Docked Side Drawer),
 * Top/Bottom Left/Right positioning, Device Visibility controls, and WCAG AA accessibility.
 *
 * @package Aisthetic_AI_Chat
 */

:root {
	--aisthetic-chat-primary: var(--aisthetic-primary, #2eb4ff);
	--aisthetic-chat-primary-hover: var(--aisthetic-primary-hover, #1a9ee6);
	--aisthetic-chat-bg: var(--aisthetic-card-bg, #0e1726);
	--aisthetic-chat-surface: rgba(25, 36, 56, 0.75);
	--aisthetic-chat-border: rgba(255, 255, 255, 0.12);
	--aisthetic-chat-text: var(--aisthetic-text-color, #f1f5f9);
	--aisthetic-chat-text-muted: #94a3b8;
	--aisthetic-chat-user-bubble: var(--aisthetic-chat-primary);
	--aisthetic-chat-bot-bubble: rgba(30, 41, 59, 0.85);
	--aisthetic-chat-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(46, 180, 255, 0.15);
	--aisthetic-chat-radius: 18px;
	--aisthetic-chat-offset-x: 24px;
	--aisthetic-chat-offset-y: 24px;
}

/* ==========================================================================
   Device Display Controls
   ========================================================================== */
@media (min-width: 1025px) {
	.aisthetic-chat-hide-desktop {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.aisthetic-chat-hide-tablet {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.aisthetic-chat-hide-mobile {
		display: none !important;
	}
}

/* ==========================================================================
   Root Container & Positioning
   ========================================================================== */
#aisthetic-chat-root {
	position: fixed;
	z-index: 999990;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Bottom Right (Default) */
#aisthetic-chat-root.aisthetic-chat-pos-bottom-right {
	bottom: var(--aisthetic-chat-offset-y, 24px);
	right: var(--aisthetic-chat-offset-x, 24px);
}
#aisthetic-chat-root.aisthetic-chat-pos-bottom-right .aisthetic-chat-dialog {
	bottom: calc(var(--aisthetic-chat-offset-y, 24px) + 64px);
	right: var(--aisthetic-chat-offset-x, 24px);
	transform-origin: bottom right;
}

/* Bottom Left */
#aisthetic-chat-root.aisthetic-chat-pos-bottom-left {
	bottom: var(--aisthetic-chat-offset-y, 24px);
	left: var(--aisthetic-chat-offset-x, 24px);
}
#aisthetic-chat-root.aisthetic-chat-pos-bottom-left .aisthetic-chat-dialog {
	bottom: calc(var(--aisthetic-chat-offset-y, 24px) + 64px);
	left: var(--aisthetic-chat-offset-x, 24px);
	transform-origin: bottom left;
}

/* Top Right */
#aisthetic-chat-root.aisthetic-chat-pos-top-right {
	top: var(--aisthetic-chat-offset-y, 24px);
	right: var(--aisthetic-chat-offset-x, 24px);
}
#aisthetic-chat-root.aisthetic-chat-pos-top-right .aisthetic-chat-dialog {
	top: calc(var(--aisthetic-chat-offset-y, 24px) + 64px);
	right: var(--aisthetic-chat-offset-x, 24px);
	transform-origin: top right;
	transform: scale(0.92) translateY(-20px);
}
#aisthetic-chat-root.aisthetic-chat-pos-top-right .aisthetic-chat-dialog.aisthetic-chat-open {
	transform: scale(1) translateY(0);
}

/* Top Left */
#aisthetic-chat-root.aisthetic-chat-pos-top-left {
	top: var(--aisthetic-chat-offset-y, 24px);
	left: var(--aisthetic-chat-offset-x, 24px);
}
#aisthetic-chat-root.aisthetic-chat-pos-top-left .aisthetic-chat-dialog {
	top: calc(var(--aisthetic-chat-offset-y, 24px) + 64px);
	left: var(--aisthetic-chat-offset-x, 24px);
	transform-origin: top left;
	transform: scale(0.92) translateY(-20px);
}
#aisthetic-chat-root.aisthetic-chat-pos-top-left .aisthetic-chat-dialog.aisthetic-chat-open {
	transform: scale(1) translateY(0);
}

/* ==========================================================================
   Launcher Button Variations (Pill, Circle, Tab)
   ========================================================================== */
.aisthetic-chat-launcher-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--aisthetic-chat-primary);
	color: #ffffff;
	border: none;
	border-radius: 50px;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(46, 180, 255, 0.35);
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
	outline: none;
}

.aisthetic-chat-launcher-btn:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 25px rgba(46, 180, 255, 0.5);
}

.aisthetic-chat-launcher-btn:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 0 0 6px var(--aisthetic-chat-primary);
}

.aisthetic-chat-launcher-avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

/* Circle Launcher */
.aisthetic-chat-launcher-circle .aisthetic-chat-launcher-btn {
	width: 58px;
	height: 58px;
	padding: 0;
	border-radius: 50%;
	justify-content: center;
}
.aisthetic-chat-launcher-circle .aisthetic-chat-launcher-text {
	display: none !important;
}
.aisthetic-chat-launcher-circle .aisthetic-chat-launcher-avatar {
	width: 32px;
	height: 32px;
}

/* Docked Tab Launcher */
.aisthetic-chat-launcher-tab .aisthetic-chat-launcher-btn {
	border-radius: 8px 8px 0 0;
	padding: 10px 16px;
	box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Chat Dialog (Base)
   ========================================================================== */
.aisthetic-chat-dialog {
	position: fixed;
	width: 380px;
	max-width: calc(100vw - 32px);
	height: 580px;
	max-height: calc(100dvh - 110px);
	background: var(--aisthetic-chat-bg);
	border: 1px solid var(--aisthetic-chat-border);
	border-radius: var(--aisthetic-chat-radius);
	box-shadow: var(--aisthetic-chat-shadow);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 999991;
	opacity: 0;
	transform: scale(0.92) translateY(20px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.aisthetic-chat-dialog.aisthetic-chat-open {
	opacity: 1;
	transform: scale(1) translateY(0);
	pointer-events: auto;
}

/* ==========================================================================
   UI/UX Layout 1: Glassmorphism (Default Floating)
   ========================================================================== */
.aisthetic-chat-layout-glassmorphism .aisthetic-chat-dialog {
	background: rgba(14, 23, 38, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 25px rgba(46, 180, 255, 0.18);
}

/* ==========================================================================
   UI/UX Layout 2: Clean Minimal (Crisp Rounded Modern)
   ========================================================================== */
.aisthetic-chat-layout-minimal .aisthetic-chat-dialog {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.15);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
.aisthetic-chat-layout-minimal .aisthetic-chat-header {
	background: #ffffff;
	border-bottom: 1px solid #f1f5f9;
}
.aisthetic-chat-layout-minimal .aisthetic-chat-title {
	color: #0f172a;
}
.aisthetic-chat-layout-minimal .aisthetic-chat-subtitle {
	color: #64748b;
}
.aisthetic-chat-layout-minimal .aisthetic-chat-msg-bot .aisthetic-chat-bubble {
	background: #f1f5f9;
	color: #0f172a;
	border: 1px solid #e2e8f0;
}
.aisthetic-chat-layout-minimal .aisthetic-chat-footer {
	background: #ffffff;
	border-top: 1px solid #f1f5f9;
}
.aisthetic-chat-layout-minimal .aisthetic-chat-input {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	color: #0f172a;
}
.aisthetic-chat-layout-minimal .aisthetic-chat-tag-pill {
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
}
.aisthetic-chat-layout-minimal .aisthetic-chat-close-btn {
	color: #64748b;
}

/* ==========================================================================
   UI/UX Layout 3: Docked Side Drawer (Full Height Sliding)
   ========================================================================== */
.aisthetic-chat-layout-drawer .aisthetic-chat-dialog {
	top: 0 !important;
	bottom: 0 !important;
	height: 100vh !important;
	max-height: 100vh !important;
	width: 420px;
	border-radius: 0 !important;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}
/* Slide in from right */
.aisthetic-chat-layout-drawer.aisthetic-chat-pos-bottom-right .aisthetic-chat-dialog,
.aisthetic-chat-layout-drawer.aisthetic-chat-pos-top-right .aisthetic-chat-dialog {
	right: 0 !important;
	left: auto !important;
	transform: translateX(100%);
}
.aisthetic-chat-layout-drawer.aisthetic-chat-pos-bottom-right .aisthetic-chat-dialog.aisthetic-chat-open,
.aisthetic-chat-layout-drawer.aisthetic-chat-pos-top-right .aisthetic-chat-dialog.aisthetic-chat-open {
	transform: translateX(0);
}
/* Slide in from left */
.aisthetic-chat-layout-drawer.aisthetic-chat-pos-bottom-left .aisthetic-chat-dialog,
.aisthetic-chat-layout-drawer.aisthetic-chat-pos-top-left .aisthetic-chat-dialog {
	left: 0 !important;
	right: auto !important;
	transform: translateX(-100%);
}
.aisthetic-chat-layout-drawer.aisthetic-chat-pos-bottom-left .aisthetic-chat-dialog.aisthetic-chat-open,
.aisthetic-chat-layout-drawer.aisthetic-chat-pos-top-left .aisthetic-chat-dialog.aisthetic-chat-open {
	transform: translateX(0);
}

/* ==========================================================================
   Header Styles (Dark, Primary, Gradient, Light)
   ========================================================================== */
.aisthetic-chat-header {
	padding: 16px 20px;
	background: rgba(15, 23, 42, 0.95);
	border-bottom: 1px solid var(--aisthetic-chat-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.aisthetic-chat-header-primary .aisthetic-chat-header {
	background: var(--aisthetic-chat-primary);
	border-bottom: none;
}
.aisthetic-chat-header-primary .aisthetic-chat-title,
.aisthetic-chat-header-primary .aisthetic-chat-close-btn {
	color: #ffffff;
}
.aisthetic-chat-header-primary .aisthetic-chat-subtitle {
	color: rgba(255, 255, 255, 0.85);
}

.aisthetic-chat-header-gradient .aisthetic-chat-header {
	background: linear-gradient(135deg, var(--aisthetic-chat-primary), #6366f1);
	border-bottom: none;
}
.aisthetic-chat-header-gradient .aisthetic-chat-title,
.aisthetic-chat-header-gradient .aisthetic-chat-close-btn {
	color: #ffffff;
}
.aisthetic-chat-header-gradient .aisthetic-chat-subtitle {
	color: rgba(255, 255, 255, 0.85);
}

.aisthetic-chat-header-light .aisthetic-chat-header {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}
.aisthetic-chat-header-light .aisthetic-chat-title {
	color: #0f172a;
}
.aisthetic-chat-header-light .aisthetic-chat-subtitle,
.aisthetic-chat-header-light .aisthetic-chat-close-btn {
	color: #64748b;
}

/* ==========================================================================
   Border Radius Options
   ========================================================================== */
.aisthetic-chat-radius-smooth {
	--aisthetic-chat-radius: 10px;
}
.aisthetic-chat-radius-round {
	--aisthetic-chat-radius: 18px;
}
.aisthetic-chat-radius-pill {
	--aisthetic-chat-radius: 26px;
}
.aisthetic-chat-radius-square {
	--aisthetic-chat-radius: 4px;
}

/* ==========================================================================
   Header Content & Avatar
   ========================================================================== */
.aisthetic-chat-header-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.aisthetic-chat-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--aisthetic-chat-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	position: relative;
	overflow: visible;
	flex-shrink: 0;
}

.aisthetic-chat-avatar img,
.aisthetic-chat-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.aisthetic-chat-status-dot {
	width: 10px;
	height: 10px;
	background: #10b981;
	border: 2px solid var(--aisthetic-chat-bg);
	border-radius: 50%;
	position: absolute;
	bottom: -1px;
	right: -1px;
}

.aisthetic-chat-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--aisthetic-chat-text);
	margin: 0;
}

.aisthetic-chat-subtitle {
	font-size: 12px;
	color: var(--aisthetic-chat-text-muted);
	margin: 0;
}

.aisthetic-chat-close-btn {
	background: transparent;
	border: none;
	color: var(--aisthetic-chat-text-muted);
	cursor: pointer;
	padding: 6px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}

.aisthetic-chat-close-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* ==========================================================================
   Message Feed
   ========================================================================== */
.aisthetic-chat-messages {
	flex: 1;
	padding: 20px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
	scroll-behavior: smooth;
}

.aisthetic-chat-msg {
	display: flex;
	flex-direction: column;
	max-width: 82%;
	word-break: break-word;
	font-size: 14px;
	line-height: 1.5;
}

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

.aisthetic-chat-msg-bot {
	align-self: flex-start;
}

.aisthetic-chat-bubble {
	padding: 12px 16px;
	border-radius: 16px;
}

.aisthetic-chat-msg-user .aisthetic-chat-bubble {
	background: var(--aisthetic-chat-user-bubble);
	color: #ffffff;
	border-bottom-right-radius: 4px;
}

.aisthetic-chat-msg-bot .aisthetic-chat-bubble {
	background: var(--aisthetic-chat-bot-bubble);
	color: var(--aisthetic-chat-text);
	border: 1px solid var(--aisthetic-chat-border);
	border-bottom-left-radius: 4px;
}

/* Message Typography (DOM parsed) */
.aisthetic-chat-bubble p {
	margin: 0 0 8px 0;
}

.aisthetic-chat-bubble p:last-child {
	margin-bottom: 0;
}

.aisthetic-chat-bubble ul {
	margin: 6px 0 6px 18px;
	padding: 0;
}

.aisthetic-chat-bubble li {
	margin-bottom: 4px;
}

.aisthetic-chat-bubble a {
	color: var(--aisthetic-chat-primary);
	text-decoration: underline;
	word-break: break-all;
}

/* ==========================================================================
   Action Chips & Suggestions
   ========================================================================== */
.aisthetic-chat-chips-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.aisthetic-chat-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	background: rgba(46, 180, 255, 0.12);
	color: var(--aisthetic-chat-primary);
	border: 1px solid rgba(46, 180, 255, 0.3);
	border-radius: 20px;
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.aisthetic-chat-chip:hover {
	background: rgba(46, 180, 255, 0.22);
	border-color: var(--aisthetic-chat-primary);
	transform: translateY(-1px);
}

.aisthetic-chat-chip svg {
	width: 14px;
	height: 14px;
	stroke-width: 2;
}

/* ==========================================================================
   Tag Cloud Pills
   ========================================================================== */
.aisthetic-chat-tag-cloud {
	margin: 10px 0;
	padding: 12px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	border: 1px dashed var(--aisthetic-chat-border);
}

.aisthetic-chat-tag-cloud-title {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--aisthetic-chat-text-muted);
	margin-bottom: 8px;
	font-weight: 600;
}

.aisthetic-chat-tag-cloud-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.aisthetic-chat-tag-pill {
	background: var(--aisthetic-chat-surface);
	color: var(--aisthetic-chat-text);
	border: 1px solid var(--aisthetic-chat-border);
	border-radius: 16px;
	padding: 4px 10px;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.aisthetic-chat-tag-pill:hover {
	background: var(--aisthetic-chat-primary);
	color: #fff;
	border-color: var(--aisthetic-chat-primary);
}

/* ==========================================================================
   Typing Indicator
   ========================================================================== */
.aisthetic-chat-typing {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 14px;
	background: var(--aisthetic-chat-bot-bubble);
	border-radius: 16px;
	border-bottom-left-radius: 4px;
	width: fit-content;
}

.aisthetic-chat-typing-dot {
	width: 6px;
	height: 6px;
	background: var(--aisthetic-chat-text-muted);
	border-radius: 50%;
	animation: aistheticChatPulse 1.4s infinite ease-in-out;
}

.aisthetic-chat-typing-dot:nth-child(2) {
	animation-delay: 0.2s;
}

.aisthetic-chat-typing-dot:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes aistheticChatPulse {
	0%, 80%, 100% {
		transform: scale(0.6);
		opacity: 0.4;
	}
	40% {
		transform: scale(1);
		opacity: 1;
	}
}

/* ==========================================================================
   Inline Lead Capture Form
   ========================================================================== */
.aisthetic-chat-lead-card {
	background: rgba(15, 23, 42, 0.95);
	border: 1px solid var(--aisthetic-chat-primary);
	border-radius: 12px;
	padding: 14px;
	margin-top: 10px;
}

.aisthetic-chat-lead-field {
	margin-bottom: 10px;
}

.aisthetic-chat-lead-field label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: var(--aisthetic-chat-text-muted);
	margin-bottom: 4px;
}

.aisthetic-chat-lead-input {
	width: 100%;
	padding: 8px 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--aisthetic-chat-border);
	color: var(--aisthetic-chat-text);
	font-size: 13px;
	box-sizing: border-box;
}

.aisthetic-chat-lead-input:focus {
	outline: none;
	border-color: var(--aisthetic-chat-primary);
}

.aisthetic-chat-consent-row {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 10px 0;
	font-size: 11px;
	color: var(--aisthetic-chat-text-muted);
}

.aisthetic-chat-consent-row input {
	margin-top: 2px;
}

.aisthetic-chat-submit-btn {
	width: 100%;
	background: var(--aisthetic-chat-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}

/* ==========================================================================
   Chat Input Footer
   ========================================================================== */
.aisthetic-chat-footer {
	padding: 14px 16px;
	background: rgba(15, 23, 42, 0.95);
	border-top: 1px solid var(--aisthetic-chat-border);
	display: flex;
	gap: 10px;
	align-items: center;
}

.aisthetic-chat-input {
	flex: 1;
	background: var(--aisthetic-chat-input-bg, rgba(255, 255, 255, 0.06));
	border: 1px solid var(--aisthetic-chat-border);
	border-radius: 24px;
	padding: 10px 16px;
	font-size: var(--aisthetic-chat-font-size, 14px);
	color: var(--aisthetic-chat-input-color, var(--aisthetic-chat-text));
	outline: none;
	transition: border-color 0.2s;
}

.aisthetic-chat-input:focus {
	border-color: var(--aisthetic-chat-primary);
}

.aisthetic-chat-voice-btn {
	background: transparent;
	border: none;
	color: var(--aisthetic-chat-text-muted);
	cursor: pointer;
	padding: 6px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
}

.aisthetic-chat-voice-btn:hover {
	color: var(--aisthetic-chat-primary);
	background: rgba(46, 180, 255, 0.1);
}

.aisthetic-chat-voice-btn.is-recording {
	color: #ef4444;
	background: rgba(239, 68, 68, 0.15);
	animation: aistheticVoicePulse 1.2s infinite ease-in-out;
}

@keyframes aistheticVoicePulse {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
	}
	50% {
		transform: scale(1.12);
		box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
	}
}

.aisthetic-chat-send-btn {
	background: var(--aisthetic-chat-primary);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.15s;
	flex-shrink: 0;
}

.aisthetic-chat-send-btn:hover {
	transform: scale(1.05);
}

/* ==========================================================================
   Typography Classes
   ========================================================================== */
.aisthetic-chat-font-outfit, .aisthetic-chat-font-outfit * { font-family: 'Outfit', sans-serif !important; }
.aisthetic-chat-font-inter, .aisthetic-chat-font-inter * { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important; }
.aisthetic-chat-font-plus-jakarta, .aisthetic-chat-font-plus-jakarta * { font-family: 'Plus Jakarta Sans', sans-serif !important; }
.aisthetic-chat-font-poppins, .aisthetic-chat-font-poppins * { font-family: 'Poppins', sans-serif !important; }
.aisthetic-chat-font-roboto, .aisthetic-chat-font-roboto * { font-family: 'Roboto', sans-serif !important; }
.aisthetic-chat-font-serif, .aisthetic-chat-font-serif * { font-family: 'Merriweather', 'Georgia', serif !important; }

/* ==========================================================================
   Mobile Fullscreen Sheet (applies on mobile screens)
   ========================================================================== */
@media (max-width: 480px) {
	.aisthetic-chat-dialog {
		top: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100vw !important;
		max-width: 100vw !important;
		height: 100dvh !important;
		max-height: 100dvh !important;
		border-radius: 0 !important;
		border: none !important;
		transform: none !important;
	}
}

/* ==========================================================================
   Reduced Motion Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.aisthetic-chat-dialog,
	.aisthetic-chat-launcher-btn,
	.aisthetic-chat-typing-dot {
		transition: none !important;
		animation: none !important;
	}
}
