/*
 * VeerAI Chat Stylesheet — Premium Redesign
 * Fully theme-configurable via CSS variables.
 * Modern, flat design inspired by ChatGPT / Claude / Cursor.
 */

/* ──────────────────────────────────────────────
   Google Font Import
   ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ──────────────────────────────────────────────
   Full-height page setup
   Force html + body to fill the full viewport so the
   chat widget can use height: 100vh reliably.
   ────────────────────────────────────────────── */
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body:has(#veerai-chat-app),
html:has(#veerai-chat-app) {
	overflow: hidden;
}

/* Strip any decoration WordPress page/post containers
   might add around the [veerai_chat] shortcode output */
.veerai-app-container,
.entry-content > #veerai-chat-app,
.wp-block-shortcode #veerai-chat-app,
.elementor-shortcode #veerai-chat-app {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ──────────────────────────────────────────────
   Root App Container — Full height, NO outer decoration
   ────────────────────────────────────────────── */
#veerai-chat-app {
	/* Light Mode Design Tokens */
	--veerai-primary:            #2563eb;
	--veerai-primary-hover:      #1d4ed8;
	--veerai-primary-light:      rgba(37, 99, 235, 0.08);
	--veerai-bg:                 #ffffff;
	--veerai-surface:            #f8fafc;
	--veerai-surface-hover:      #f1f5f9;
	--veerai-border:             #e5e7eb;
	--veerai-border-light:       #f0f2f5;
	--veerai-text:               #0f172a;
	--veerai-text-secondary:     #374151;
	--veerai-text-muted:         #6b7280;
	--veerai-text-faint:         #9ca3af;
	--veerai-bubble-user:        var(--veerai-primary);
	--veerai-bubble-user-text:   #ffffff;
	--veerai-bubble-ai:          #ffffff;
	--veerai-bubble-ai-border:   #e5e7eb;

	/* Layout */
	--veerai-sidebar-width:      260px;
	--veerai-sidebar-collapsed:  68px;
	--veerai-transition:         220ms cubic-bezier(0.4, 0, 0.2, 1);
	--veerai-radius-sm:          6px;
	--veerai-radius:             10px;
	--veerai-radius-lg:          14px;
	--veerai-radius-xl:          20px;

	/* Shadow (used inside cards only — not on the outer app container) */
	--veerai-shadow-sm:          0 1px 3px rgba(0,0,0,0.07);
	--veerai-shadow-md:          0 4px 12px rgba(0,0,0,0.08);

	display: flex;
	width: 100%;
	/* Full viewport height — fills the entire screen */
	height: 100dvh;
	max-height: 100dvh;
	background-color: var(--veerai-bg);
	overflow: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	color: var(--veerai-text);
	position: relative;
	box-sizing: border-box;
	min-height: 0;
	/* Zero outer decoration */
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Dark Mode */

#veerai-chat-app * {
	box-sizing: border-box;
}

/* ──────────────────────────────────────────────
   SIDEBAR
   ────────────────────────────────────────────── */
.veerai-sidebar {
	width: var(--veerai-sidebar-width);
	min-height: 0;
	background-color: var(--veerai-surface);
	border-right: 1px solid var(--veerai-border);
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	transition: width var(--veerai-transition);
	position: relative;
	z-index: 10;
	overflow: hidden;
}

/* Sidebar Header */
.veerai-sidebar-header {
	height: 60px;
	padding: 0 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--veerai-border);
	flex-shrink: 0;
	position: relative;
	overflow: visible;
}

.veerai-logo-group {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	white-space: nowrap;
	overflow: hidden;
	flex: 1;
	min-width: 0;
}

.veerai-sidebar-brand-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	line-height: 0;
}

.veerai-sidebar-brand-link:hover {
	opacity: 0.92;
}

.veerai-sidebar-logo {
	width: auto;
	height: auto;
	object-fit: contain;
	flex-shrink: 0;
}

.veerai-sidebar-logo-open {
	display: block;
	max-width: 150px;
	max-height: 34px;
}

.veerai-sidebar-logo-collapsed {
	display: none;
	max-width: 34px;
	max-height: 34px;
}

.veerai-header-controls {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-shrink: 0;
}

/* Icon button base */
.veerai-icon-btn {
	background: none;
	border: none;
	padding: 9px;
	border-radius: 12px;
	cursor: pointer;
	color: var(--veerai-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--veerai-transition), color var(--veerai-transition), transform var(--veerai-transition), box-shadow var(--veerai-transition);
	line-height: 0;
}

.veerai-icon-btn:hover {
	background-color: rgba(37, 99, 235, 0.08);
	color: var(--veerai-text);
	transform: translateY(-1px);
}

/* New Chat Button */
.veerai-new-chat-wrapper {
	padding: 14px 12px;
	border-bottom: 1px solid var(--veerai-border);
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.veerai-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 14px;
	font-weight: 700;
	font-size: 0.84rem;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform var(--veerai-transition), box-shadow var(--veerai-transition), background-color var(--veerai-transition), border-color var(--veerai-transition);
	white-space: nowrap;
	font-family: inherit;
}

.veerai-btn-primary {
	background: linear-gradient(180deg, var(--veerai-primary) 0%, #1d4ed8 100%);
	color: #ffffff;
	width: 100%;
	box-shadow: 0 10px 18px rgba(37, 99, 235, 0.16);
}

.veerai-btn-primary:hover {
	background: linear-gradient(180deg, var(--veerai-primary-hover) 0%, #1e40af 100%);
	transform: translateY(-1px);
	box-shadow: 0 14px 22px rgba(37, 99, 235, 0.22);
}

.veerai-btn-secondary {
	background-color: transparent;
	border-color: var(--veerai-border);
	color: var(--veerai-text-secondary);
}

.veerai-btn-secondary:hover {
	background-color: var(--veerai-surface-hover);
}

/* History */
.veerai-history-section {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	scrollbar-width: thin;
	scrollbar-color: var(--veerai-border) transparent;
}

.veerai-history-section::-webkit-scrollbar {
	width: 4px;
}

.veerai-history-section::-webkit-scrollbar-track {
	background: transparent;
}

.veerai-history-section::-webkit-scrollbar-thumb {
	background-color: var(--veerai-border);
	border-radius: 4px;
}

.veerai-history-header-row {
	padding: 8px 8px 4px 8px;
	font-size: 0.6875rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.07em;
	color: var(--veerai-text-faint);
	white-space: nowrap;
}

.veerai-history-empty {
	padding: 20px 8px;
	text-align: center;
	color: var(--veerai-text-muted);
	font-size: 0.8125rem;
}

.veerai-history-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	border-radius: var(--veerai-radius-sm);
	cursor: pointer;
	color: var(--veerai-text-secondary);
	transition: background-color var(--veerai-transition), color var(--veerai-transition);
	text-decoration: none;
	border: none;
	position: relative;
	font-size: 0.8125rem;
}

.veerai-history-item:hover {
	background-color: var(--veerai-surface-hover);
	color: var(--veerai-text);
}

.veerai-history-item.active {
	background-color: var(--veerai-primary-light);
	color: var(--veerai-primary);
	font-weight: 600;
}

.veerai-history-item-left {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.veerai-history-item-icon {
	color: var(--veerai-text-faint);
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.veerai-history-item.active .veerai-history-item-icon {
	color: var(--veerai-primary);
}

.veerai-history-item-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.veerai-history-item-title {
	font-size: 0.8125rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.veerai-history-item-date {
	font-size: 0.6875rem;
	color: var(--veerai-text-faint);
	margin-top: 1px;
}

.veerai-history-actions {
	display: flex;
	gap: 2px;
	opacity: 0;
	transition: opacity var(--veerai-transition);
	flex-shrink: 0;
}

.veerai-history-item:hover .veerai-history-actions {
	opacity: 1;
}

.veerai-history-action-btn {
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: var(--veerai-text-muted);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color var(--veerai-transition), background-color var(--veerai-transition);
}

.veerai-history-action-btn:hover {
	background-color: var(--veerai-border);
	color: var(--veerai-text);
}

.veerai-history-action-btn.delete-btn:hover {
	color: #ef4444;
	background-color: rgba(239, 68, 68, 0.1);
}

/* Sidebar Footer */
.veerai-sidebar-footer {
	padding: 12px 10px;
	border-top: 1px solid var(--veerai-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
}

.veerai-user-profile {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	flex: 1;
}

.veerai-user-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: var(--veerai-primary-light);
	color: var(--veerai-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 700;
}

.veerai-user-details {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.veerai-user-name {
	font-size: 0.8125rem;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--veerai-text);
}

.veerai-powered-by {
	font-size: 0.6875rem;
	color: var(--veerai-text-faint);
}

.veerai-powered-by a {
	color: var(--veerai-primary);
	text-decoration: none;
}

.veerai-powered-by a:hover {
	text-decoration: underline;
}

/* ──────────────────────────────────────────────
   COLLAPSED SIDEBAR
   ────────────────────────────────────────────── */
.veerai-app-container.sidebar-collapsed .veerai-sidebar {
	width: var(--veerai-sidebar-collapsed);
}

.veerai-app-container.sidebar-collapsed .veerai-btn-text,
.veerai-app-container.sidebar-collapsed .veerai-history-label,
.veerai-app-container.sidebar-collapsed .veerai-history-item-content,
.veerai-app-container.sidebar-collapsed .veerai-history-actions,
.veerai-app-container.sidebar-collapsed .veerai-user-details {
	opacity: 0;
	pointer-events: none;
	width: 0;
	display: none;
}

.veerai-app-container.sidebar-collapsed .veerai-new-chat-wrapper {
	padding: 14px 6px;
	justify-content: center;
}

.veerai-app-container.sidebar-collapsed .veerai-new-chat-btn {
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	gap: 0;
	margin: 0 auto;
}

.veerai-app-container.sidebar-collapsed .veerai-sidebar-header {
	justify-content: center;
	padding: 0 6px;
	position: relative;
	overflow: visible;
}

.veerai-app-container.sidebar-collapsed .veerai-logo-group {
	justify-content: center;
	padding-left: 2px;
}

.veerai-app-container.sidebar-collapsed .veerai-sidebar-logo-open {
	display: none;
}

.veerai-app-container.sidebar-collapsed .veerai-sidebar-logo-collapsed {
	display: block;
}

.veerai-app-container.sidebar-collapsed .veerai-header-controls {
	position: absolute;
	right: -14px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
}

.veerai-app-container.sidebar-collapsed .veerai-sidebar-toggle-btn {
	display: flex;
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 50%;
	background: var(--veerai-bg);
	border: 1px solid var(--veerai-border);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
	color: var(--veerai-text-secondary);
}

.veerai-app-container.sidebar-collapsed .veerai-history-section {
	align-items: center;
}

.veerai-app-container.sidebar-collapsed .veerai-history-empty {
	display: none;
}

.veerai-app-container.sidebar-collapsed .veerai-history-item {
	padding: 9px;
	border-radius: 50%;
	justify-content: center;
}

.veerai-app-container.sidebar-collapsed .veerai-sidebar-footer {
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	padding: 12px 8px;
}

/* ──────────────────────────────────────────────
   MAIN CHAT AREA
   ────────────────────────────────────────────── */
.veerai-chat-area {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	background: radial-gradient(circle at top, rgba(37,99,235,0.03), transparent 34%), var(--veerai-bg);
	position: relative;
	min-width: 0;
	transition: background-color var(--veerai-transition);
}

/* Mobile top header */
.veerai-mobile-header {
	height: 54px;
	border-bottom: 1px solid var(--veerai-border);
	display: none;
	align-items: center;
	justify-content: space-between;
	padding: 0 14px;
	background-color: var(--veerai-bg);
	flex-shrink: 0;
}

.veerai-mobile-header-title {
	font-weight: 700;
	font-size: 0.9375rem;
}

/* Messages Scroll Container */
.veerai-messages-container {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	overflow-anchor: none;
	padding: 24px 20px 18px;
	scroll-behavior: smooth;
	display: flex;
	flex-direction: column;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--veerai-border) transparent;
}

.veerai-messages-container::-webkit-scrollbar {
	width: 4px;
}

.veerai-messages-container::-webkit-scrollbar-track {
	background: transparent;
}

.veerai-messages-container::-webkit-scrollbar-thumb {
	background-color: var(--veerai-border);
	border-radius: 4px;
}

/* ──────────────────────────────────────────────
   WELCOME / EMPTY STATE
   ────────────────────────────────────────────── */
.veerai-welcome-state {
	margin: auto;
	max-width: 680px;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 16px;
	gap: 0;
}

.veerai-welcome-logo {
	width: 180px;
	height: auto;
	margin-bottom: 20px;
}

.veerai-welcome-logo img {
	width: 100%;
	height: auto;
	max-height: 72px;
	object-fit: contain;
}

.veerai-welcome-heading {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--veerai-text);
	margin: 0 0 28px 0;
	letter-spacing: -0.04em;
	line-height: 1.15;
}

.veerai-suggestions-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	width: 100%;
}

.veerai-suggestion-card {
	background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 18px;
	padding: 16px 16px 15px;
	text-align: left;
	cursor: pointer;
	transition: border-color var(--veerai-transition), background-color var(--veerai-transition), transform var(--veerai-transition), box-shadow var(--veerai-transition);
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: inherit;
	font-family: inherit;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.veerai-suggestion-card:hover {
	border-color: rgba(37, 99, 235, 0.45);
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(239,246,255,0.98) 100%);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
}

.veerai-suggestion-title {
	font-weight: 600;
	font-size: 0.8125rem;
	color: var(--veerai-text);
}

.veerai-suggestion-desc {
	font-size: 0.75rem;
	color: var(--veerai-text-muted);
}

/* ──────────────────────────────────────────────
   MESSAGE BUBBLES
   ────────────────────────────────────────────── */
.veerai-messages-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 760px;
	width: 100%;
	margin: 0 auto;
}

.veerai-message-wrapper {
	display: flex;
	gap: 12px;
	max-width: 88%;
	animation: veerai-fade-in 280ms ease forwards;
}

@keyframes veerai-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.veerai-message-wrapper.user {
	align-self: flex-end;
	flex-direction: row-reverse;
}

.veerai-message-wrapper.assistant {
	align-self: flex-start;
}

.veerai-msg-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-weight: 700;
	font-size: 0.7rem;
}

.veerai-message-wrapper.user .veerai-msg-avatar {
	background-color: var(--veerai-surface-hover);
	color: var(--veerai-primary);
	border: 1px solid var(--veerai-border);
}

.veerai-message-wrapper.assistant .veerai-msg-avatar {
	background-color: var(--veerai-primary);
	color: #fff;
}

.veerai-message-content-wrapper {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
	min-width: 0;
}

.veerai-message-wrapper.user .veerai-message-content-wrapper {
	align-items: flex-end;
}

.veerai-message-bubble {
	padding: 11px 16px;
	border-radius: var(--veerai-radius-lg);
	font-size: 0.9rem;
	line-height: 1.6;
	word-break: break-word;
}

.veerai-message-wrapper.user .veerai-message-bubble {
	background-color: var(--veerai-bubble-user);
	color: var(--veerai-bubble-user-text);
	border-top-right-radius: var(--veerai-radius-sm);
}

.veerai-message-wrapper.assistant .veerai-message-bubble {
	background-color: var(--veerai-bubble-ai);
	border: 1px solid var(--veerai-bubble-ai-border);
	color: var(--veerai-text);
	border-top-left-radius: var(--veerai-radius-sm);
	transition: background-color var(--veerai-transition), border-color var(--veerai-transition);
}

.veerai-msg-timestamp {
	font-size: 0.6875rem;
	color: var(--veerai-text-faint);
	padding: 0 2px;
}

/* Markdown inside bubbles */
.veerai-message-bubble p { margin: 0 0 8px 0; }
.veerai-message-bubble p:last-child { margin-bottom: 0; }
.veerai-message-bubble strong { font-weight: 700; }

.veerai-message-bubble blockquote {
	margin: 10px 0;
	padding-left: 12px;
	border-left: 3px solid var(--veerai-primary);
	color: var(--veerai-text-muted);
	font-style: italic;
}

.veerai-message-bubble a { color: inherit; text-decoration: underline; }
.veerai-message-wrapper.assistant .veerai-message-bubble a { color: var(--veerai-primary); }

.veerai-message-bubble ul,
.veerai-message-bubble ol { margin: 6px 0; padding-left: 18px; }
.veerai-message-bubble li { margin-bottom: 3px; }

.veerai-message-bubble code {
	font-family: 'Consolas', 'Fira Code', Monaco, monospace;
	font-size: 0.84em;
	padding: 1px 5px;
	border-radius: 4px;
	background-color: rgba(0,0,0,0.07);
}


.veerai-message-wrapper.user .veerai-message-bubble code {
	background-color: rgba(255,255,255,0.2);
}

/* Code blocks */
.veerai-code-block-wrapper {
	margin: 10px 0;
	background-color: #0f172a;
	border-radius: var(--veerai-radius);
	overflow: hidden;
	color: #e2e8f0;
	font-size: 0.84rem;
}

.veerai-code-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 16px;
	background-color: #1e293b;
	border-bottom: 1px solid #334155;
	font-size: 0.75rem;
	color: #94a3b8;
}

.veerai-code-copy-btn {
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 3px 7px;
	border-radius: 4px;
	transition: background-color var(--veerai-transition);
	font-family: inherit;
}

.veerai-code-copy-btn:hover { background-color: #334155; color: #fff; }

.veerai-code-block-wrapper pre {
	margin: 0;
	padding: 14px 16px;
	overflow-x: auto;
}

.veerai-code-block-wrapper code {
	background: none;
	padding: 0;
	font-size: inherit;
	color: inherit;
	border-radius: 0;
}

/* Tables inside chat */
.veerai-message-bubble table {
	border-collapse: collapse;
	width: 100%;
	margin: 10px 0;
	font-size: 0.84rem;
}

.veerai-message-bubble th,
.veerai-message-bubble td {
	border: 1px solid var(--veerai-border);
	padding: 7px 11px;
	text-align: left;
}

.veerai-message-bubble th {
	background-color: var(--veerai-surface);
	font-weight: 700;
}

.veerai-message-wrapper.user .veerai-message-bubble th,
.veerai-message-wrapper.user .veerai-message-bubble td {
	border-color: rgba(255,255,255,0.2);
}

.veerai-message-wrapper.user .veerai-message-bubble th {
	background-color: rgba(255,255,255,0.1);
}

/* ──────────────────────────────────────────────
   TYPING INDICATOR
   ────────────────────────────────────────────── */
.veerai-typing-indicator {
	display: flex;
	gap: 5px;
	padding: 11px 16px;
	background-color: var(--veerai-bubble-ai);
	border: 1px solid var(--veerai-bubble-ai-border);
	border-radius: var(--veerai-radius-lg);
	border-top-left-radius: var(--veerai-radius-sm);
	width: fit-content;
	align-self: flex-start;
	margin-left: 44px;
	animation: veerai-fade-in 150ms ease forwards;
}

.veerai-typing-dot {
	width: 6px;
	height: 6px;
	background-color: var(--veerai-text-muted);
	border-radius: 50%;
	animation: bounce 1.4s infinite ease-in-out both;
}

.veerai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.veerai-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
	0%, 80%, 100% { transform: scale(0); }
	40%           { transform: scale(1.0); }
}

.veerai-scroller-bottom-spacer {
	height: 12px;
	flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   INPUT PANEL — ChatGPT-style redesign
   ────────────────────────────────────────────── */
.veerai-chat-input-panel {
	padding: 12px 0 16px;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.015) 100%);
	flex-shrink: 0;
	transition: background-color var(--veerai-transition);
}

.veerai-input-form-container {
	max-width: 720px;
	width: min(720px, calc(100% - 24px));
	min-height: 0;
	margin: 0 auto;
	background-color: var(--veerai-surface);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius-xl);
	box-shadow: none;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: border-color var(--veerai-transition), background-color var(--veerai-transition), box-shadow var(--veerai-transition), transform var(--veerai-transition);
}

.veerai-input-form-container:focus-within {
	border-color: var(--veerai-border);
	box-shadow: none;
	transform: none;
}

.veerai-chat-textarea:focus,
.veerai-chat-textarea:focus-visible {
	outline: none;
	box-shadow: none;
}

.veerai-textarea-wrapper {
	padding: 14px 16px 6px;
}

.veerai-chat-textarea {
	width: 100%;
	border: none;
	outline: none;
	resize: none;
	font-family: inherit;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--veerai-text);
	padding: 0;
	background-color: transparent;
	max-height: 150px;
	min-height: 26px;
	caret-color: var(--veerai-primary);
}

.veerai-chat-textarea::placeholder {
	color: var(--veerai-text-faint);
}

/* Toolbar row inside input box */
.veerai-input-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px 10px;
	gap: 8px;
}

.veerai-input-action-btn {
	background: none;
	border: none;
	padding: 7px;
	border-radius: 50%;
	color: var(--veerai-text-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--veerai-transition), color var(--veerai-transition), transform var(--veerai-transition);
	line-height: 0;
}

.veerai-input-action-btn:hover:not(:disabled) {
	background-color: var(--veerai-surface-hover);
	color: var(--veerai-text);
	transform: translateY(-1px);
}

.veerai-input-action-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Send button */
.veerai-btn-send {
	background: var(--veerai-primary);
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
	transition: background-color var(--veerai-transition), transform var(--veerai-transition), box-shadow var(--veerai-transition);
}

.veerai-btn-send:hover:not(:disabled) {
	color: #fff;
	transform: translateY(-1px) scale(1.03);
	box-shadow: none;
}

.veerai-btn-send:disabled {
	background: var(--veerai-border);
	color: var(--veerai-text-faint);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.veerai-generation-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.veerai-btn-stop-generating {
	padding: 5px 12px;
	border-radius: var(--veerai-radius-sm);
	font-size: 0.75rem;
	border-color: #ef4444;
	color: #ef4444;
	background-color: rgba(239, 68, 68, 0.06);
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: inherit;
	cursor: pointer;
}

.veerai-btn-stop-generating:hover {
	background-color: rgba(239, 68, 68, 0.12);
}

.veerai-hidden {
	display: none !important;
}

/* ──────────────────────────────────────────────
   CARD COMPONENTS
   ────────────────────────────────────────────── */

/* 1. Domain Search Card */
.veerai-domain-search-card {
	background-color: var(--veerai-surface);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius);
	padding: 18px;
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 480px;
	width: 100%;
}

.veerai-domain-input-group {
	display: flex;
	gap: 8px;
}

.veerai-domain-input {
	flex: 1;
	padding: 9px 13px;
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius-sm);
	font-size: 0.875rem;
	outline: none;
	background-color: var(--veerai-bg);
	color: var(--veerai-text);
	transition: border-color var(--veerai-transition);
	font-family: inherit;
}

.veerai-domain-input:focus {
	border-color: var(--veerai-primary);
}

.veerai-btn-search-domain {
	background-color: var(--veerai-primary);
	color: #fff;
	border: none;
	padding: 9px 16px;
	border-radius: var(--veerai-radius-sm);
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--veerai-transition);
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: inherit;
	font-size: 0.8125rem;
}

.veerai-btn-search-domain:hover { background-color: var(--veerai-primary-hover); }
.veerai-btn-search-domain:disabled { opacity: 0.7; cursor: not-allowed; }

.veerai-domain-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255,255,255,0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.veerai-domain-results {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.veerai-domain-primary-result {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border-radius: var(--veerai-radius-sm);
	font-size: 0.875rem;
}

.veerai-domain-primary-result.available {
	background-color: rgba(16,185,129,0.08);
	border: 1px solid rgba(16,185,129,0.25);
	color: #059669;
}

.veerai-domain-primary-result.unavailable {
	background-color: rgba(239,68,68,0.08);
	border: 1px solid rgba(239,68,68,0.25);
	color: #dc2626;
}

.veerai-domain-badge {
	font-weight: 700;
	font-size: 0.7rem;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 4px;
}

.veerai-domain-badge.available { background-color: rgba(16,185,129,0.15); color: #059669; }
.veerai-domain-badge.taken     { background-color: rgba(239,68,68,0.15); color: #dc2626; }

.veerai-domain-order-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.veerai-domain-price { font-weight: 700; }

.veerai-btn-order-domain {
	background-color: #10b981;
	color: #fff;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.75rem;
	padding: 5px 11px;
	border-radius: var(--veerai-radius-sm);
	transition: background-color var(--veerai-transition);
}

.veerai-btn-order-domain:hover { background-color: #059669; }

.veerai-domain-alternatives-title {
	font-size: 0.7rem;
	text-transform: uppercase;
	color: var(--veerai-text-faint);
	font-weight: 700;
	margin-top: 6px;
	letter-spacing: 0.05em;
}

.veerai-domain-alternatives-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.veerai-domain-alternative-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 11px;
	background-color: var(--veerai-bg);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius-sm);
	font-size: 0.8125rem;
}

/* 2. Hosting & VPS Cards */
.veerai-hosting-cards-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 14px;
	width: 100%;
}

.veerai-hosting-card {
	background-color: var(--veerai-bg);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius);
	padding: 18px;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color var(--veerai-transition), transform var(--veerai-transition);
}

.veerai-hosting-card:hover {
	transform: translateY(-1px);
	border-color: var(--veerai-text-faint);
}

.veerai-hosting-card.popular {
	border-color: var(--veerai-primary);
}

.veerai-hosting-badge {
	position: absolute;
	top: -10px;
	right: 14px;
	background-color: var(--veerai-primary);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 9999px;
	letter-spacing: 0.05em;
}

.veerai-hosting-card-header { margin-bottom: 10px; }

.veerai-hosting-plan-name {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--veerai-text);
	margin: 0;
}

.veerai-hosting-price-row {
	display: flex;
	align-items: baseline;
	margin-top: 5px;
}

.veerai-hosting-price {
	font-size: 1.625rem;
	font-weight: 800;
	color: var(--veerai-text);
}

.veerai-hosting-period {
	font-size: 0.75rem;
	color: var(--veerai-text-muted);
}

.veerai-hosting-desc {
	font-size: 0.775rem;
	color: var(--veerai-text-muted);
	margin-bottom: 14px;
	line-height: 1.45;
}

.veerai-hosting-divider {
	height: 1px;
	background-color: var(--veerai-border);
	margin-bottom: 14px;
}

.veerai-hosting-features-list {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	flex: 1;
}

.veerai-hosting-feature-item {
	font-size: 0.8rem;
	color: var(--veerai-text-secondary);
	display: flex;
	align-items: flex-start;
	gap: 7px;
}

.veerai-hosting-feature-icon {
	color: #10b981;
	flex-shrink: 0;
	margin-top: 2px;
	display: flex;
}

.veerai-btn-order-hosting {
	display: block;
	text-align: center;
	background-color: var(--veerai-primary);
	color: #fff;
	text-decoration: none !important;
	padding: 9px 14px;
	border-radius: var(--veerai-radius-sm);
	font-weight: 600;
	font-size: 0.8125rem;
	transition: background-color var(--veerai-transition);
}

.veerai-hosting-card.popular .veerai-btn-order-hosting:hover { background-color: var(--veerai-primary-hover); }

.veerai-hosting-card:not(.popular) .veerai-btn-order-hosting {
	background-color: var(--veerai-surface);
	color: var(--veerai-text);
	border: 1px solid var(--veerai-border);
}

.veerai-hosting-card:not(.popular) .veerai-btn-order-hosting:hover {
	background-color: var(--veerai-surface-hover);
}

/* 3. Tool Diagnostic Card */
.veerai-tool-card {
	background-color: var(--veerai-surface);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius);
	padding: 18px;
	margin-top: 10px;
	max-width: 500px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.veerai-tool-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--veerai-border);
	padding-bottom: 8px;
}

.veerai-tool-title { font-weight: 700; font-size: 0.875rem; color: var(--veerai-text); }

.veerai-tool-badge {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 7px;
	background-color: var(--veerai-primary-light);
	color: var(--veerai-primary);
	border-radius: 4px;
}

.veerai-tool-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.veerai-tool-grid-item { display: flex; flex-direction: column; gap: 2px; }
.veerai-tool-grid-label { font-size: 0.6875rem; color: var(--veerai-text-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.veerai-tool-grid-val { font-size: 0.85rem; font-weight: 600; color: var(--veerai-text); }

.veerai-tool-list { display: flex; flex-direction: column; gap: 6px; }

.veerai-tool-list-item {
	display: flex;
	justify-content: space-between;
	padding: 7px 10px;
	background-color: var(--veerai-bg);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius-sm);
	font-size: 0.8rem;
}

.veerai-tool-list-type { font-weight: 700; color: var(--veerai-primary); }

/* 4. Support Ticket Card */
.veerai-support-card {
	background-color: var(--veerai-surface);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius);
	padding: 18px;
	margin-top: 10px;
	max-width: 460px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.veerai-support-form { display: flex; flex-direction: column; gap: 10px; }

.veerai-form-group { display: flex; flex-direction: column; gap: 4px; }

.veerai-form-group label {
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--veerai-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.veerai-support-input, .veerai-support-textarea, .veerai-support-select {
	padding: 9px 11px;
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius-sm);
	font-size: 0.84rem;
	background-color: var(--veerai-bg);
	color: var(--veerai-text);
	outline: none;
	width: 100%;
	font-family: inherit;
	transition: border-color var(--veerai-transition);
}

.veerai-support-input:focus,
.veerai-support-textarea:focus,
.veerai-support-select:focus { border-color: var(--veerai-primary); }

.veerai-support-textarea { resize: none; height: 76px; }

.veerai-btn-submit-ticket {
	background-color: var(--veerai-primary);
	color: #fff;
	border: none;
	padding: 9px;
	border-radius: var(--veerai-radius-sm);
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--veerai-transition);
	font-family: inherit;
	font-size: 0.875rem;
}

.veerai-btn-submit-ticket:hover { background-color: var(--veerai-primary-hover); }

.veerai-support-confirmation {
	border: 1px solid rgba(16,185,129,0.25);
	background-color: rgba(16,185,129,0.06);
	border-radius: var(--veerai-radius-sm);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.veerai-support-confirm-header { display: flex; justify-content: space-between; align-items: center; }
.veerai-support-tkt-id { font-weight: 800; color: #059669; }

.veerai-support-status-badge {
	background-color: rgba(16,185,129,0.15);
	color: #059669;
	font-size: 0.65rem;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
	text-transform: uppercase;
}

.veerai-support-confirm-msg { font-size: 0.8rem; color: var(--veerai-text-secondary); line-height: 1.4; }

/* 5. Knowledge Base Card */
.veerai-kb-card {
	background-color: var(--veerai-surface);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius);
	padding: 18px;
	margin-top: 10px;
	max-width: 480px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.veerai-kb-title-row {
	font-size: 0.7rem;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--veerai-text-faint);
	letter-spacing: 0.07em;
}

.veerai-kb-list { display: flex; flex-direction: column; gap: 10px; }
.veerai-kb-item { display: flex; flex-direction: column; gap: 2px; }

.veerai-kb-link {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--veerai-primary);
	text-decoration: none;
}

.veerai-kb-link:hover { text-decoration: underline; }

.veerai-kb-desc { font-size: 0.75rem; color: var(--veerai-text-muted); line-height: 1.4; }

/* 6. Sales Contact Card */
.veerai-sales-card {
	background-color: var(--veerai-surface);
	border: 1px solid var(--veerai-border);
	border-radius: var(--veerai-radius);
	padding: 18px;
	margin-top: 10px;
	max-width: 420px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.veerai-sales-title {
	font-weight: 700;
	font-size: 0.875rem;
	border-bottom: 1px solid var(--veerai-border);
	padding-bottom: 8px;
	margin-bottom: 2px;
}

.veerai-sales-item { display: flex; justify-content: space-between; font-size: 0.8rem; }
.veerai-sales-label { color: var(--veerai-text-muted); }
.veerai-sales-value { font-weight: 600; }

/* ──────────────────────────────────────────────
   THEME TOGGLE ICONS
   ────────────────────────────────────────────── */

/* ──────────────────────────────────────────────
   RESPONSIVE — TABLET
   ────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.veerai-sidebar { width: var(--veerai-sidebar-collapsed); }

	.veerai-btn-text,
	.veerai-history-label,
	.veerai-history-item-content,
	.veerai-history-actions,
	.veerai-user-details {
		opacity: 0;
		pointer-events: none;
		width: 0;
		display: none;
	}

	.veerai-new-chat-wrapper { padding: 12px 8px; }
	.veerai-new-chat-btn { padding: 9px; border-radius: 50%; }
	.veerai-sidebar-header { justify-content: space-between; padding: 0 8px; }
	.veerai-logo-group { justify-content: center; }
	.veerai-sidebar-toggle-btn { display: flex; }
	.veerai-history-section { align-items: center; }
	.veerai-history-empty { display: none; }
	.veerai-history-item { padding: 9px; border-radius: 50%; justify-content: center; }
	.veerai-sidebar-footer { justify-content: center; flex-direction: column; gap: 8px; padding: 12px 8px; }
}

/* ──────────────────────────────────────────────
   RESPONSIVE — MOBILE
   ────────────────────────────────────────────── */
@media (max-width: 768px) {
	.veerai-mobile-header { display: flex; }

	.veerai-sidebar {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		width: 260px !important;
		transform: translate3d(-100%, 0, 0);
		transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
	}

	.veerai-btn-text,
	.veerai-history-label,
	.veerai-history-item-content,
	.veerai-user-details {
		opacity: 1 !important;
		pointer-events: auto !important;
		width: auto !important;
		display: flex !important;
	}
	.veerai-history-item-content { display: flex !important; flex-direction: column !important; }
	.veerai-new-chat-wrapper { padding: 12px !important; }
	.veerai-new-chat-btn { padding: 10px 14px !important; border-radius: 14px !important; width: 100% !important; }
	.veerai-sidebar-header { justify-content: space-between !important; }
	.veerai-logo-group { justify-content: flex-start !important; }
	.veerai-sidebar-toggle-btn { display: flex !important; }
	.veerai-history-section { align-items: stretch !important; }
	.veerai-history-item { padding: 8px 10px !important; border-radius: var(--veerai-radius-sm) !important; justify-content: space-between !important; }
	.veerai-sidebar-footer { flex-direction: row !important; justify-content: space-between !important; padding: 12px !important; }

	.veerai-app-container.mobile-sidebar-open .veerai-sidebar {
		transform: translate3d(0, 0, 0);
	}

	.veerai-sidebar-overlay {
		display: none;
		position: absolute;
		inset: 0;
		background-color: rgba(0,0,0,0.35);
		backdrop-filter: blur(2px);
		z-index: 9;
	}

	.veerai-app-container.mobile-sidebar-open .veerai-sidebar-overlay {
		display: block;
	}

	.veerai-suggestions-grid { grid-template-columns: 1fr; }
	.veerai-hosting-cards-wrapper { grid-template-columns: 1fr; }
	.veerai-message-wrapper { max-width: 96%; }
	.veerai-messages-container { padding: 16px; }
	.veerai-chat-input-panel { padding: 10px 12px 14px; }
	.veerai-welcome-heading { font-size: 1.375rem; margin-bottom: 20px; }
}

/* Quick Chat Box */
.veerai-quick-chat-wrapper {
	width: 100%;
	padding: 20px 16px;
	display: flex;
	justify-content: center;
}

.veerai-quick-chat-card {
	width: min(100%, 860px);
	background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(247,250,255,0.96) 100%);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 28px;
	padding: 28px 24px 22px;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.veerai-quick-chat-copy {
	text-align: center;
	margin-bottom: 16px;
}

.veerai-quick-chat-title-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.veerai-quick-chat-icon-wrap {
	display: none;
}

.veerai-quick-chat-icon {
	width: 30px;
	height: 30px;
	display: block;
	flex-shrink: 0;
}

.veerai-quick-chat-title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--veerai-text);
	line-height: 1.1;
}

.veerai-quick-chat-subtitle {
	font-size: 16px;
	color: var(--veerai-text-muted);
	font-weight: 400;
}

.veerai-quick-chat-form {
	width: 100%;
}

.veerai-quick-chat-input-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px 7px 14px;
	border: 1px solid rgba(37, 99, 235, 0.34);
	border-radius: 999px;
	background: #ffffff;
	box-shadow: none;
	background-image: none;
}

.veerai-quick-chat-input {
	flex: 1;
	border: none;
	outline: none;
	background: #ffffff;
	font: inherit;
	font-size: 0.95rem;
	color: var(--veerai-text);
	min-width: 0;
	appearance: none;
	-webkit-appearance: none;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.veerai-quick-chat-input::placeholder {
	color: #7c8799;
	opacity: 1;
}

.veerai-quick-chat-form .veerai-quick-chat-submit {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	max-width: 44px !important;
	max-height: 44px !important;
	aspect-ratio: 1 / 1 !important;
	border: none !important;
	border-radius: 150px !important;
	background: #1b71e4 !important;
	background-image: none !important;
	color: #fff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 0 !important;
	cursor: pointer !important;
	flex: 0 0 44px !important;
	margin-right: 6px !important;
	padding: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
	transform: none !important;
	outline: none !important;
	overflow: hidden !important;
}

.veerai-quick-chat-form .veerai-quick-chat-submit:hover,
.veerai-quick-chat-form .veerai-quick-chat-submit:active,
.veerai-quick-chat-form .veerai-quick-chat-submit:focus,
.veerai-quick-chat-form .veerai-quick-chat-submit:focus-visible {
	background: #1b71e4 !important;
	background-image: none !important;
	transform: none !important;
	box-shadow: none !important;
	outline: none !important;
}

.veerai-quick-chat-form .veerai-quick-chat-submit svg {
	display: block;
	flex-shrink: 0;
}

.veerai-quick-chat-input:-webkit-autofill,
.veerai-quick-chat-input:-webkit-autofill:hover,
.veerai-quick-chat-input:-webkit-autofill:focus,
.veerai-quick-chat-input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
	box-shadow: 0 0 0 1000px #ffffff inset !important;
	-webkit-text-fill-color: var(--veerai-text) !important;
	caret-color: var(--veerai-primary);
}

.veerai-quick-chat-form .veerai-quick-chat-submit:focus-visible {
	outline: 2px solid rgba(37, 99, 235, 0.24) !important;
	outline-offset: 2px !important;
}

@media (max-width: 768px) {
	.veerai-quick-chat-wrapper {
		padding: 16px 12px;
	}

	.veerai-quick-chat-card {
		padding: 22px 16px 18px;
		border-radius: 22px;
	}

	.veerai-quick-chat-title {
		font-size: 28px;
	}

	.veerai-quick-chat-icon {
		width: 22px;
		height: 22px;
	}

	.veerai-quick-chat-input-row {
		padding: 7px 7px 7px 16px;
	}

	.veerai-quick-chat-form .veerai-quick-chat-submit {
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
		min-height: 40px !important;
		max-width: 40px !important;
		max-height: 40px !important;
		flex: 0 0 40px !important;
		background: #1b71e4 !important;
		background-image: none !important;
	}
}

/* Page-scoped widget hiding for VeerAI only */
body:has(#veerai-chat-app) .cky-btn-revisit-wrapper,
body:has(#veerai-chat-app) #cky-btn-revisit-wrapper,
body:has(#veerai-chat-app) .cky-consent-container,
body:has(#veerai-chat-app) #cookie-law-info-bar,
body:has(#veerai-chat-app) #cookie-law-info-again,
body:has(#veerai-chat-app) .chatwoot-widget-bubble,
body:has(#veerai-chat-app) .woot-widget-bubble,
body:has(#veerai-chat-app) .woot-widget-holder,
body:has(#veerai-chat-app) .woot-widget-logo,
body:has(#veerai-chat-app) .woot-widget-frame,
body:has(#veerai-chat-app) #chatwoot_live_chat_widget,
body:has(#veerai-chat-app) #chatwoot_live_chat_widget iframe,
body:has(#veerai-chat-app) #chatwoot-widget,
body:has(#veerai-chat-app) iframe[title*="Chatwoot"] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ──────────────────────────────────────────────
   ACCESSIBILITY — FOCUS STATES
   ────────────────────────────────────────────── */
.veerai-app-container button:focus-visible {
	outline: 2px solid rgba(37, 99, 235, 0.24);
	outline-offset: 2px;
}

.veerai-app-container textarea:focus-visible,
.veerai-app-container input:focus-visible {
	outline: none;
}
