/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-50:oklch(96.2% .018 272.314);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-4xl:56rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.-top-\[195px\]{top:-195px}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-\[60px\]{margin-top:60px}.mr-2{margin-right:calc(var(--spacing)*2)}.\!mb-0{margin-bottom:calc(var(--spacing)*0)!important}.\!mb-2{margin-bottom:calc(var(--spacing)*2)!important}.\!mb-3{margin-bottom:calc(var(--spacing)*3)!important}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.\!inline{display:inline!important}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-16{height:calc(var(--spacing)*16)}.h-\[240px\]{height:240px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.min-h-\[700px\]{min-height:700px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-\[240px\]{width:240px}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-\[500px\]{max-width:500px}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[200px\]{min-width:200px}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}.self-center{align-self:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-blue-400{border-color:var(--color-blue-400)}.border-blue-600{border-color:var(--color-blue-600)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-white{background-color:var(--color-white)}.bg-white\/70{background-color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.bg-white\/70{background-color:color-mix(in oklab,var(--color-white)70%,transparent)}}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-white{--tw-gradient-via:var(--color-white);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-indigo-50{--tw-gradient-to:var(--color-indigo-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-cover{background-size:cover}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.text-center{text-align:center}.text-end{text-align:end}.\!text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-yellow-600{color:var(--color-yellow-600)}.opacity-0{opacity:0}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\[direction\:rtl\]{direction:rtl}@media(hover:hover){.hover\:border-blue-300:hover{border-color:var(--color-blue-300)}.hover\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\:text-blue-600:hover{color:var(--color-blue-600)}.hover\:text-blue-800:hover{color:var(--color-blue-800)}.hover\:text-red-600:hover{color:var(--color-red-600)}.hover\:text-red-700:hover{color:var(--color-red-700)}}@media(min-width:40rem){.sm\:hidden{display:none}.sm\:inline{display:inline}.sm\:inline-block{display:inline-block}.sm\:px-4{padding-inline:calc(var(--spacing)*4)}}@media(min-width:48rem){.md\:mr-3{margin-right:calc(var(--spacing)*3)}.md\:inline{display:inline}.md\:h-8{height:calc(var(--spacing)*8)}.md\:h-16{height:calc(var(--spacing)*16)}.md\:w-8{width:calc(var(--spacing)*8)}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:gap-1{gap:calc(var(--spacing)*1)}.md\:gap-2{gap:calc(var(--spacing)*2)}.md\:rounded-lg{border-radius:var(--radius-lg)}.md\:border{border-style:var(--tw-border-style);border-width:1px}.md\:border-gray-200{border-color:var(--color-gray-200)}.md\:px-6{padding-inline:calc(var(--spacing)*6)}.md\:\!text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.md\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}@media(min-width:64rem){.lg\:px-8{padding-inline:calc(var(--spacing)*8)}}}html,body,#root{height:100%}body{font-family:Vazirmatn,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@keyframes spin{to{transform:rotate(360deg)}}.chat-interface{display:flex;flex-direction:column;height:100%;position:relative;background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed;direction:rtl}.chat-interface:before{content:"";position:absolute;inset:0;background:#ffffffa8;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);z-index:0}.chat-messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem;scroll-behavior:smooth;position:relative;z-index:1}.chat-empty-state{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.empty-state-content{background:#fffffffa;padding:1.5rem 2rem;border-radius:1rem;box-shadow:0 4px 6px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-width:90%;margin:0 auto}@media(min-width:768px){.empty-state-content{padding:2rem 3rem}}.empty-state-content h2{font-size:1.5rem;color:#1e293b;margin-bottom:.75rem;font-weight:600}@media(min-width:768px){.empty-state-content h2{font-size:1.75rem}}.empty-state-content p{font-size:1rem;color:#64748b}@media(min-width:768px){.empty-state-content p{font-size:1.125rem}}.chat-message{display:flex;gap:.75rem;animation:fadeIn .3s ease-in;position:relative;width:100%}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.user-message{justify-content:flex-end;flex-direction:row-reverse}.assistant-message{justify-content:flex-start;flex-direction:row-reverse}.message-content-wrapper{display:flex;flex-direction:column;max-width:75%;min-width:200px;position:relative;align-items:flex-start}.user-message .message-content-wrapper{align-items:flex-end}.message-content{position:relative;padding:.875rem 1.125rem;border-radius:1rem;word-wrap:break-word;box-shadow:0 2px 8px #00000014;transition:all .2s ease;width:100%}.user-message .message-content{background:#007bff;color:#fff;border-radius:1rem 1rem .25rem;margin-right:0;margin-left:auto}.assistant-message .message-content{background:#fffffffa;color:#1e293b;border-radius:1rem 1rem .25rem;border:1px solid rgba(0,0,0,.05);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.assistant-message .message-content p{margin:.5rem 0;line-height:1.7;text-align:right}.assistant-message .message-content p:first-child{margin-top:0}.assistant-message .message-content p:last-child{margin-bottom:0}.user-message .message-content p{text-align:right;margin:0;line-height:1.7}.assistant-message .message-content code{background:#00000014;padding:.2rem .4rem;border-radius:.25rem;font-size:.9em;font-family:Courier New,monospace;direction:ltr;text-align:left}.assistant-message .message-content pre{margin:.75rem 0;border-radius:.5rem;overflow-x:auto;background:#0000000d;padding:.75rem;direction:ltr;text-align:left}.assistant-message .message-content pre code{background:transparent;padding:0}.message-footer{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem;padding:0 .25rem;gap:.75rem;min-height:1.5rem}.user-message .message-footer{margin-left:auto}.assistant-message .message-footer{margin-right:auto;flex-direction:row-reverse}.message-actions{display:flex;gap:.375rem;opacity:0;transition:opacity .2s ease;background:transparent;padding:0;z-index:10}.message-actions.visible{opacity:1}.message-action-button{display:flex;align-items:center;justify-content:center;width:1.875rem;height:1.875rem;border:none;background:#00000014;border-radius:.375rem;cursor:pointer;color:#475569;transition:all .2s ease}.message-action-button:hover{background:#007bff26;color:#007bff;transform:scale(1.05)}.message-action-button:disabled{opacity:.5;cursor:not-allowed}.message-action-button{background:#00000014;color:#475569}.message-action-button:hover{background:#007bff26;color:#007bff}.message-timestamp{font-size:.75rem;color:#64748b;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;font-weight:400}.assistant-message .message-timestamp,.user-message .message-timestamp{color:#64748b}.chat-input-container{border-top:1px solid rgba(226,232,240,.8);padding:1rem 1.5rem;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative;z-index:1;box-shadow:0 -2px 10px #0000000d}.chat-input-form{max-width:100%}.chat-input-wrapper{display:flex;align-items:flex-end;gap:.5rem;background:#f8fafcf2;border:1px solid rgba(226,232,240,.8);border-radius:1.5rem;padding:.5rem .75rem;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);flex-direction:row-reverse}.chat-input-wrapper:focus-within{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.chat-input{flex:1;border:none;background:transparent;resize:none;padding:.5rem .75rem;font-size:1rem;font-family:inherit;outline:none;max-height:200px;overflow-y:auto;line-height:1.5;direction:rtl;text-align:right}.chat-input::-moz-placeholder{color:#94a3b8}.chat-input::placeholder{color:#94a3b8}.chat-button{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border:none;background:transparent;border-radius:50%;cursor:pointer;color:#64748b;transition:all .2s ease;flex-shrink:0}.chat-button:hover:not(:disabled){background:#007bff1a;color:#007bff;transform:scale(1.05)}.chat-button:disabled{opacity:.5;cursor:not-allowed}.send-button{background:#007bff;color:#fff}.send-button:hover:not(:disabled){background:#0056b3;transform:scale(1.05)}.mic-button.recording{background:#dc3545;color:#fff;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.05)}}.tts-button.active{color:#007bff;background:#007bff1a}@media(max-width:768px){.chat-messages{padding:.75rem;gap:1rem}.message-content-wrapper{max-width:90%;min-width:120px}.user-message .message-content,.assistant-message .message-content{padding:.625rem .875rem;font-size:.9375rem}.chat-input-container{padding:.625rem .75rem}.chat-input-wrapper{padding:.375rem .5rem}.chat-button{width:2rem;height:2rem}.chat-button svg{width:18px;height:18px}.message-actions{opacity:1}.chat-interface{background-attachment:scroll}.message-timestamp{font-size:.6875rem}.message-action-button{width:1.75rem;height:1.75rem}.message-action-button svg{width:14px;height:14px}}@media(max-width:480px){.chat-messages{padding:.5rem;gap:.875rem}.message-content-wrapper{max-width:95%;min-width:100px}.user-message .message-content,.assistant-message .message-content{padding:.5rem .75rem;font-size:.875rem}.chat-input-container{padding:.5rem}.chat-input{font-size:.9375rem}}@media(max-width:480px){.empty-state-content{padding:1.5rem 2rem}.empty-state-content h2{font-size:1.5rem}.empty-state-content p{font-size:1rem}.message-content-wrapper{max-width:95%}}.chat-messages::-webkit-scrollbar{width:8px}.chat-messages::-webkit-scrollbar-track{background:#f1f5f980;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb{background:#94a3b880;border-radius:4px;-webkit-transition:background .2s;transition:background .2s}.chat-messages::-webkit-scrollbar-thumb:hover{background:#64748bb3}.assistant-message .message-content ul,.assistant-message .message-content ol{text-align:right;padding-right:1.5rem;padding-left:0}.assistant-message .message-content li{text-align:right;margin:.5rem 0}.assistant-message .message-content blockquote{border-right:3px solid #007bff;border-left:none;padding-right:1rem;padding-left:0;margin:1rem 0;text-align:right}.assistant-message .message-content h1,.assistant-message .message-content h2,.assistant-message .message-content h3,.assistant-message .message-content h4,.assistant-message .message-content h5,.assistant-message .message-content h6{text-align:right;direction:rtl}.chat-interface .ant-tooltip-inner{background-color:#1e293b!important;color:#fff!important;font-size:.75rem!important;padding:.375rem .625rem!important;border-radius:.375rem!important;font-weight:500!important}.chat-interface .ant-tooltip-arrow:before{background-color:#1e293b!important}.sidebar-overlay{position:fixed;inset:0;background:#00000080;z-index:998;display:none}@media(max-width:768px){.sidebar-overlay{display:block;top:3.5rem}}@media(min-width:769px){.sidebar-overlay{display:none!important}}.chat-sidebar{width:280px;height:100%;background:#fff;border-right:1px solid #e2e8f0;border-left:none;display:flex;flex-direction:column;position:relative;z-index:999;transition:transform .3s ease;direction:rtl;box-shadow:-1px 0 #0000000d}@media(max-width:768px){.chat-sidebar{position:fixed;top:3.5rem;right:0;width:100%;max-width:320px;transform:translate(100%);box-shadow:-2px 0 8px #0000001a;z-index:999}.chat-sidebar.open{transform:translate(0)}}@media(min-width:769px){.chat-sidebar{position:relative;top:0;height:100%}}.chat-sidebar{order:1}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #e2e8f0;background:#fff}.new-chat-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;background:#007bff;color:#fff;border:none;border-radius:.5rem;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s;width:100%}.new-chat-button:hover{background:#0056b3;transform:translateY(-1px);box-shadow:0 2px 4px #007bff33}.close-sidebar-button{display:none;align-items:center;justify-content:center;width:2rem;height:2rem;background:transparent;border:none;border-radius:.25rem;cursor:pointer;color:#64748b;transition:background .2s}.close-sidebar-button:hover{background:#f1f5f9}@media(max-width:768px){.close-sidebar-button{display:flex}}.sidebar-search{position:relative;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;background:#fff}.search-icon{position:absolute;right:1.5rem;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none}.search-input{width:100%;padding:.5rem 2.5rem .5rem .75rem;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.875rem;outline:none;transition:all .2s;background:#f8fafc;direction:rtl}.search-input:focus{border-color:#007bff;background:#fff;box-shadow:0 0 0 3px #007bff1a}.sidebar-content{flex:1;overflow-y:auto;padding:.5rem;background:#fff}.sidebar-loading,.sidebar-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;color:#94a3b8;text-align:center}.sidebar-empty p{margin-top:1rem;font-size:.875rem}.chat-list{display:flex;flex-direction:column;gap:.25rem}.chat-item{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:#fff;border-radius:.5rem;cursor:pointer;transition:all .2s;border:1px solid transparent;position:relative}.chat-item:before{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:3px;height:0;background:#007bff;border-radius:0 2px 2px 0;transition:height .2s}.chat-item:hover{background:#f8fafc}.chat-item:hover:before{height:60%}.chat-item.active{background:#f1f5f9;border-color:transparent}.chat-item.active:before{height:60%;background:#007bff}.chat-item-content{flex:1;min-width:0}.chat-item-title{font-size:.875rem;font-weight:500;color:#1e293b;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-item.active .chat-item-title{color:#0f172a;font-weight:600}.chat-item-meta{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:#64748b}.chat-item.active .chat-item-meta{color:#475569}.message-count{padding:.125rem .375rem;background:#e2e8f0;border-radius:.25rem;font-weight:500}.chat-item.active .message-count{background:#cbd5e1}.delete-chat-button{display:flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;background:transparent;border:none;border-radius:.25rem;cursor:pointer;color:#dc3545;opacity:0;transition:all .2s;flex-shrink:0}.chat-item:hover .delete-chat-button{opacity:1}.delete-chat-button:hover{background:#fee2e2;color:#c82333}.sidebar-content::-webkit-scrollbar{width:6px}.sidebar-content::-webkit-scrollbar-track{background:#f8fafc}.sidebar-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.sidebar-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.chat-page-container{height:calc(100vh - 3.6rem);overflow:hidden}@media(min-width:768px){.chat-page-container{height:calc(100vh - 4.1rem)}}.chat-main-wrapper{display:flex;height:100%;position:relative;direction:rtl;flex-direction:row-reverse}.sidebar-toggle-button{display:none;position:fixed;top:3.75rem;left:.75rem;z-index:1000;width:2.25rem;height:2.25rem;background:#fff;border:1px solid #dee2e6;border-radius:.5rem;cursor:pointer;box-shadow:0 2px 4px #0000001a;align-items:center;justify-content:center;transition:all .2s;direction:rtl}@media(min-width:768px){.sidebar-toggle-button{top:4.5rem;left:1rem;width:2.5rem;height:2.5rem}}.sidebar-toggle-button:hover{background:#f8f9fa;box-shadow:0 4px 8px #00000026}@media(max-width:768px){.sidebar-toggle-button{display:flex}}.chat-main-content{flex:1;display:flex;flex-direction:column;height:100%;overflow:hidden;min-width:0}@media(max-width:768px){.chat-main-content{width:100%}}.main-header{position:relative;top:0;z-index:100}.main-header .ant-btn{padding:.25rem .5rem;height:auto;font-size:.875rem}@media(min-width:768px){.main-header .ant-btn{padding:.375rem .75rem}}.main-header .ant-typography{margin:0!important}.header-nav-button{min-width:auto}.header-nav-button .anticon{font-size:1rem}@media(min-width:768px){.header-nav-button .anticon{margin-left:.5rem}}@media(max-width:640px){.main-header .ant-btn-icon-only{padding:.25rem}.main-header .ant-btn>.anticon{margin:0}}@media(max-width:768px){.chat-sidebar:not(.open){display:none}}@media(max-width:768px){.chat-page-container{position:relative}}.App{height:100%}
