:root {
	/* --- Renk Paleti --- */
	--aivox-bg: #0c1024;
	--aivox-primary: #7c5dfa;
	--aivox-primary-rgb: 124 93 250;
	--aivox-primary-hover: #6347c9;
	--aivox-secondary: #34d399;
	--aivox-text: #f8fafc;
	--aivox-muted: #94a3b8;
	
	/* --- Efektler ve Gölgeler --- */
	--aivox-glass-bg: rgba(15, 23, 42, 0.6);
	--aivox-glass-border: rgba(255, 255, 255, 0.08);
	--aivox-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	
	/* --- Bileşenler --- */
	--aivox-bubble-user: #7c5dfa;
	--aivox-bubble-ai: rgba(255, 255, 255, 0.08);
	--aivox-font: 'Inter', system-ui, sans-serif;
	--aivox-radius: 16px;
}

/* --- Temel Ayarlar & Reset --- */
* { box-sizing: border-box; }

/* Textarea Genel Stil Tanımları */
textarea {
	min-height: 120px;
	max-height: 320px;
	resize: vertical;
	overflow-y: auto;
	line-height: 1.45;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--aivox-glass-border, #d1d5db);
	background: rgba(255,255,255,0.04);
	color: inherit;
	font: inherit;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
	scrollbar-width: thin;
	scrollbar-color: rgba(0,0,0,0.25) transparent;
}
textarea:focus {
	outline: none;
	border-color: var(--aivox-primary);
	box-shadow: 0 0 0 3px rgba(124,93,250,0.18);
	background: rgba(255,255,255,0.06);
}
textarea::-webkit-scrollbar { width: 8px; }
textarea::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 999px; }
textarea::-webkit-scrollbar-track { background: transparent; }

/* Erişilebilirlik (Screen Reader Only) */
.aivox-sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Ana Kapsayıcı Yapısı --- */
.aivox-shell {
	display: flex;
	justify-content: center;
	padding: 20px;
	font-family: var(--aivox-font);
}

.aivox-frame {
	width: min(900px, 100%);
	background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.2)), var(--aivox-bg);
	border-radius: 24px;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: var(--aivox-shadow);
	color: var(--aivox-text);
	padding: 20px;
	border: 1px solid var(--aivox-glass-border);
	display: flex;
	flex-direction: column;
	gap: 12px;
	overscroll-behavior: contain;
}

/* --- Üst Bilgi Alanı (Header) --- */
.aivox-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--aivox-glass-border);
}

.aivox-badge {
	background: rgba(255, 255, 255, 0.1);
	color: var(--aivox-primary);
	border: 1px solid var(--aivox-glass-border);
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.aivox-status {
	font-size: 13px;
	color: var(--aivox-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}
.aivox-status::before {
	content: '';
	display: block;
	width: 8px; height: 8px;
	background: var(--aivox-secondary);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--aivox-secondary);
}

/* --- Mesajlaşma Alanı --- */
.aivox-messages {
	height: 300px;
	max-height: 60vh;
	overflow-y: auto;
	padding: 16px;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	overscroll-behavior: contain;
}
.aivox-messages::-webkit-scrollbar { width: 6px; }
.aivox-messages::-webkit-scrollbar-track { background: transparent; }
.aivox-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 10px; }

.aivox-bubble {
	padding: 12px 16px;
	border-radius: 18px;
	line-height: 1.5;
	font-size: 14px;
	width: fit-content;
	max-width: 85%;
	position: relative;
	color: #fff;
	word-wrap: break-word;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.aivox-bubble.user {
	align-self: flex-end;
	background: var(--aivox-bubble-user);
	border-bottom-right-radius: 4px;
}

.aivox-bubble.ai {
	align-self: flex-start;
	background: var(--aivox-bubble-ai);
	border: 1px solid var(--aivox-glass-border);
	border-bottom-left-radius: 4px;
}

.aivox-analysis-block {
	margin-top: 10px;
	padding: 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border-left: 3px solid var(--aivox-primary);
	font-size: 0.9em;
	color: #e2e8f0;
}

/* --- Yazıyor Animasyonu (Typing Indicator) --- */
.aivox-typing {
	align-self: flex-start;
	background: rgba(255,255,255,0.05);
	padding: 10px 14px;
	border-radius: 18px;
	border-bottom-left-radius: 4px;
	display: none;
	align-items: center;
	gap: 4px;
	width: fit-content;
	margin-bottom: 10px;
}
.aivox-typing[hidden] { display: none !important; }

.aivox-typing .dot {
	width: 5px; height: 5px;
	background: var(--aivox-muted);
	border-radius: 50%;
	animation: bounce 1.4s infinite ease-in-out both;
}
.aivox-typing .dot:nth-child(1) { animation-delay: -0.32s; }
.aivox-typing .dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
	0%, 80%, 100% { transform: scale(0); }
	40% { transform: scale(1); }
}

/* --- Dosya Yükleme Alanı (Upload Preview) --- */
.aivox-uploads {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 0 4px 8px 4px;
	scrollbar-width: thin;
	scrollbar-color: var(--aivox-primary) transparent;
}
.aivox-uploads:empty { padding: 0; }

.aivox-upload-card {
	flex-shrink: 0;
	width: 60px; height: 60px;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	border: 2px solid var(--aivox-primary);
	background: rgba(0,0,0,0.2);
}
.aivox-upload-card img { width: 100%; height: 100%; object-fit: cover; }

/* --- KVKK Onay Kutusu --- */
.aivox-kvkk-box {
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: calc(var(--aivox-radius, 16px) - 4px);
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.aivox-kvkk-toggle {
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(255,255,255,0.08);
	color: #fff;
	border-radius: calc(var(--aivox-radius, 16px) - 6px);
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	cursor: pointer;
	font-weight: 700;
	letter-spacing: 0.2px;
	transition: all 0.2s ease;
}
.aivox-kvkk-toggle:hover { filter: brightness(1.05); }
.aivox-kvkk-icon { font-size: 16px; }
.aivox-kvkk-caret { opacity: 0.7; }
.aivox-kvkk-panel {
	background: rgba(0,0,0,0.35);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: calc(var(--aivox-radius, 16px) - 6px);
	padding: 12px;
	color: #e2e8f0;
	max-height: 240px;
	overflow: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.aivox-kvkk-title { font-weight: 700; margin-bottom: 6px; color: #fff; }
.aivox-kvkk-content { font-size: 14px; line-height: 1.5; color: #e2e8f0; }
.aivox-kvkk-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-weight: 600;
}
.aivox-kvkk-check input { width: 18px; height: 18px; }

.aivox-disabled {
	pointer-events: none !important;
	opacity: 0.55 !important;
}

/* --- Giriş Alanı Bileşenleri (Input Row) --- */
.aivox-input-row {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	padding: 10px;
	background: rgba(255,255,255,0.04);
	border: 1px solid var(--aivox-glass-border);
	border-radius: calc(var(--aivox-radius, 16px) + 2px);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.aivox-input-row:focus-within {
	border-color: rgba(var(--aivox-primary-rgb), 0.55);
	box-shadow: 0 0 0 3px rgba(var(--aivox-primary-rgb), 0.22);
}

#aivox-input {
	flex-grow: 1;
	min-height: 30px;
	max-height: 60px;
	padding: 10px 12px;
	border-radius: calc(var(--aivox-radius, 16px) - 2px);
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.10);
	color: var(--aivox-text);
	font-size: 14px;
	line-height: 1.35;
	resize: none;
	outline: none;
	font-family: inherit;
	transition: border-color 0.2s;
	overflow-y: auto;
}
#aivox-input:focus { border-color: var(--aivox-primary); }
#aivox-input::placeholder { color: rgba(255,255,255,0.3); }

/* Buton Stilleri (Ortak) */
.aivox-upload-btn,
#aivox-send,
.aivox-action-btn {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: calc(var(--aivox-radius, 16px) - 2px);
	background: var(--aivox-primary);
	color: #fff;
	border: 1px solid rgba(var(--aivox-primary-rgb), 0.35);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
	transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
	box-shadow: 0 6px 16px rgba(0,0,0,0.25);
	-webkit-appearance: none;
	appearance: none;
}

.aivox-upload-btn:hover,
#aivox-send:hover,
.aivox-action-btn:hover {
	filter: brightness(0.95);
	transform: translateY(-1px);
}

.aivox-upload-btn:active,
#aivox-send:active,
.aivox-action-btn:active {
	filter: brightness(0.9);
	transform: translateY(0);
}

#aivox-send:disabled {
	background: #334155;
	cursor: default;
	transform: none;
	box-shadow: none;
	border-color: transparent;
}

.aivox-upload-btn svg,
#aivox-send svg,
.aivox-action-btn svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	display: block;
}

.aivox-file { display: none; }

/* --- MODERN WIDGET TASARIMI (v2.1 - Balon + Titreşimli Yazı) --- */
.aivox-widget-container {
    position: fixed;
    bottom: calc(25px + env(safe-area-inset-bottom));
    z-index: 2147483647 !important;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}
.aivox-widget-container > * { pointer-events: auto; }

.aivox-widget-container.right { right: 30px; }
.aivox-widget-container.left { left: 30px; align-items: flex-start; }

/* Ana Balon (Trigger) */
.aivox-widget-bubble {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--aivox-primary), var(--aivox-primary-hover));
    border-radius: 50%;
    
    /* Neon Glow */
    box-shadow: 0 8px 30px rgba(var(--aivox-primary-rgb), 0.4), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(8px);
    z-index: 2147483647;
}

.aivox-widget-bubble:hover { 
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 15px 40px rgba(var(--aivox-primary-rgb), 0.6),
                inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* İkonlar */
.aivox-widget-icon, .aivox-widget-close-icon {
    position: absolute;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 100%; height: 100%;
    padding: 14px;
}
.aivox-widget-icon svg, .aivox-widget-close-icon svg {
    width: 28px; height: 28px; display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.aivox-widget-bubble img { 
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%; 
}

/* Açılış Efekti */
.aivox-widget-container.open .aivox-widget-icon { opacity: 0; transform: rotate(180deg) scale(0.5); }
.aivox-widget-container.open .aivox-widget-close-icon { opacity: 1; transform: rotate(0) scale(1); }
.aivox-widget-container:not(.open) .aivox-widget-close-icon { opacity: 0; transform: rotate(-180deg) scale(0.5); }

/* Animasyon 1: Balon Dalgalanması (Ripple) */
@keyframes aivox-ripple {
    0% { box-shadow: 0 0 0 0 rgba(var(--aivox-primary-rgb), 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(var(--aivox-primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--aivox-primary-rgb), 0); }
}

.aivox-widget-bubble.aivox-pulse { 
    animation: aivox-ripple 2.5s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
}
.aivox-widget-container.open .aivox-widget-bubble.aivox-pulse { animation: none; }


/* Animasyon 2: Yazı Titreşimi (Shake) */
@keyframes aivox-text-shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-3px) rotate(-1deg); }
    30% { transform: translateX(3px) rotate(1deg); }
    45% { transform: translateX(-2px); }
    60% { transform: translateX(2px); }
    75% { transform: translateX(0); }
}

/* Tooltip (Balon Metni) */
.aivox-widget-tooltip {
    position: absolute; bottom: 14px;
    background: rgba(255, 255, 255, 0.95); 
    color: #1e293b;
    padding: 10px 20px; border-radius: 12px;
    font-size: 14px; font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden;
    /* Başlangıç pozisyonu (kapalıyken) */
    transform: translateX(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    margin-right: 75px;
    border: 1px solid rgba(0,0,0,0.05);
}

.aivox-widget-container.right .aivox-widget-tooltip { right: 0; }
.aivox-widget-container.left .aivox-widget-tooltip { left: 0; transform: translateX(-20px) scale(0.9); margin-left: 75px; margin-right: 0; }

/* AÇIK DURUM (Görünür Olma ve Titreşim) */
.aivox-widget-container:not(.open) .aivox-widget-tooltip { 
    opacity: 1; 
    visibility: visible; 
    /* Eğer balon titreşimliyse (pulse aktifse), yazıyı da titret */
    animation: aivox-text-shake 3s ease-in-out infinite;
    /* Transform transition'dan sonra animasyon devreye girmeli, 
       ama keyframe içinde transform olduğu için direkt çalışır. */
}

/* Sadece "Pulse" açıkken yazı titresin isterseniz bu kuralı kullanın: */
.aivox-widget-container:not(.open) .aivox-widget-bubble.aivox-pulse + .aivox-widget-tooltip {
    animation: aivox-text-shake 4s ease-in-out infinite; /* Her 4 saniyede bir sallar */
}

/* --- Modal Wrapper --- */
.aivox-modal-wrapper {
    position: absolute;
    bottom: 80px; right: 0; 
    width: 380px; max-width: calc(100vw - 40px);
    height: 500px; max-height: calc(80vh - 100px);
    opacity: 0; visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    z-index: 999998;
    overscroll-behavior: contain;
}
.aivox-widget-container.left .aivox-modal-wrapper { right: auto; left: 0; transform-origin: bottom left; }
.aivox-widget-container.open .aivox-modal-wrapper { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: all; }

.aivox-modal-wrapper .aivox-shell { padding: 0; width: 100%; height: 100%; align-items: stretch; }
.aivox-modal-wrapper .aivox-frame { width: 100%; height: 100%; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.aivox-modal-wrapper .aivox-messages { max-height: none; flex-grow: 1; }

/* --- Overlay & Blur Efektleri --- */
.aivox-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2147483646; 
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}
body.aivox-blur-active .aivox-overlay { 
	opacity: 1; visibility: visible; pointer-events: auto;
	background: rgba(0,0,0,0.35);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
body.aivox-blur-active, body.aivox-scroll-lock { 
	overflow: hidden; overscroll-behavior: none; touch-action: none; 
}

/* --- Responsive (Mobil Uyumluluk) --- */
@media screen and (max-width: 768px) {
	.aivox-shell { padding: 10px; align-items: flex-end; }
	.aivox-frame { width: 100%; padding: 12px; border-radius: 16px; }
	.aivox-header { margin-bottom: 8px; padding-bottom: 8px; }
	.aivox-messages { height: auto; min-height: 300px; max-height: 50vh; font-size: 14px; }
	.aivox-bubble { max-width: 90%; padding: 10px 14px; font-size: 14px; }
	
	/* Mobil Input Düzeni */
	.aivox-input-row { gap: 6px; padding: 6px; }
	.aivox-upload-btn, #aivox-send, .aivox-action-btn { width: 44px; height: 44px; }
	#aivox-input {
		font-size: 15px; line-height: 1.3;
		height: 44px; min-height: 44px; max-height: 44px;
		padding: 10px 12px;
	}

	/* Mobil Overlay & Widget */
    .aivox-overlay {
        backdrop-filter: none; -webkit-backdrop-filter: none;
        background-color: rgba(0, 0, 0, 0.85);
        display: flex; align-items: center; justify-content: center;
    }
    body:not(.aivox-blur-active) .aivox-overlay { display: none !important; }
    
    .aivox-modal-wrapper { z-index: 2147483648 !important; }
    .aivox-widget-container, .aivox-widget-bubble { 
		display: flex !important; visibility: visible !important; opacity: 1 !important; 
	}
	
	body.aivox-blur-active .aivox-overlay {
		background: rgba(0,0,0,0.45);
	}
}

@media (max-width: 380px) {
	.aivox-shell { padding: 5px; }
	.aivox-frame { padding: 10px; }
	.aivox-input-row { flex-wrap: wrap; }
	#aivox-input {
		min-width: 100%; order: 1; margin-bottom: 5px;
		height: 52px; min-height: 52px; max-height: 52px;
	}
	.aivox-upload-btn { order: 2; }
	#aivox-send { order: 3; margin-left: auto; }
}

/* --- Gelişmiş Giriş Satırı (Advanced Input Row) --- */
/* Dış Kapsayıcı */
.aivox-input-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    
    width: 100% !important;
    min-height: 60px !important;
    padding: 6px 8px 6px 20px !important;
    margin-top: 15px !important;
    
    background: rgba(20, 25, 40, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
    
    position: relative;
    overflow: visible !important;
}

.aivox-input-row:focus-within {
    border-color: rgba(var(--aivox-primary-rgb), 0.6) !important;
    box-shadow: 0 0 0 1px rgba(var(--aivox-primary-rgb), 0.3), 0 15px 40px -10px rgba(0,0,0,0.6) !important;
    background: rgba(30, 35, 50, 0.8) !important;
}

/* Textarea */
#aivox-input {
    order: 1 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    
    padding: 10px 0 !important;
    min-height: 24px !important;
    max-height: 120px !important;
    
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}
#aivox-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Buton Düzeni */
.aivox-upload-btn, 
#aivox-send {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.aivox-upload-btn svg, 
#aivox-send svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    pointer-events: none;
}

.aivox-upload-btn {
    order: 2 !important;
    width: 40px !important;
    height: 40px !important;
    
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-right: 4px !important;
}
.aivox-upload-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

#aivox-send {
    order: 3 !important;
    width: 44px !important;
    height: 44px !important;
    
    background: var(--aivox-primary) !important;
    border: none !important;
    color: #fff !important;
    
    box-shadow: 0 4px 15px rgba(var(--aivox-primary-rgb), 0.4) !important;
}

#aivox-send:hover:not(:disabled) {
    background: var(--aivox-primary-hover) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 20px rgba(var(--aivox-primary-rgb), 0.6) !important;
}

.aivox-upload-btn svg { fill: currentColor !important; }
#aivox-send svg { fill: #fff !important; }

@media screen and (max-width: 768px) {
    .aivox-input-row {
        padding: 4px 6px 4px 14px !important;
        min-height: 54px !important;
    }
    #aivox-send { width: 40px !important; height: 40px !important; }
    .aivox-upload-btn { width: 36px !important; height: 36px !important; }
}

/* Versiyon 1.6.2 Ek Düzenlemeleri */
.aivox-input-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 6px 6px 16px !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--aivox-radius, 16px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    margin-top: 10px;
    width: 100%;
}

#aivox-input {
    flex: 1 !important;
    order: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
    min-height: 24px !important;
    max-height: 100px !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.aivox-upload-btn, 
#aivox-send {
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.aivox-upload-btn {
    order: 2 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

#aivox-send {
    order: 3 !important;
}

@media screen and (max-width: 768px) {
    .aivox-input-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        min-height: 50px;
    }
}