*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;direction:rtl;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:16px;margin:0;overscroll-behavior-y:contain}#root{height:100vh;height:100dvh;overflow:hidden}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}input,select,textarea{font-size:16px!important}.touch-manipulation{-webkit-tap-highlight-color:transparent;touch-action:manipulation}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#555}.animate-bounce{animation:bounce 1s infinite}.animate-spin{animation:spin 1s linear infinite}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}button:focus,input:focus,textarea:focus{outline:2px solid #4f46e5;outline-offset:2px}.loading{opacity:.6;pointer-events:none}.error-message{background-color:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin:12px 0;padding:12px}.success-message{background-color:#d1fae5;border:1px solid #a7f3d0;border-radius:8px;color:#059669;margin:12px 0;padding:12px}@media (max-width:768px){.app-container{height:100vh;height:100dvh;position:fixed;width:100%}.messages-container{padding-bottom:env(safe-area-inset-bottom)}.chat-input-container{bottom:0;left:0;position:-webkit-sticky;position:sticky;right:0}.safe-area-bottom{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.safe-area-top{padding-top:calc(12px + env(safe-area-inset-top))}}@keyframes fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fade-in .3s ease-out}.messages-container{scrollbar-color:#cbd5e1 #0000;scrollbar-width:thin}.messages-container::-webkit-scrollbar-thumb{background-color:#cbd5e1}.messages-container::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}:focus-visible{outline:2px solid #4f46e5;outline-offset:2px}button:active{transform:scale(.98)}.chat-header,button{-webkit-user-select:none;user-select:none}@media (max-width:768px){body{font-size:14px}}@media print{body{background:#fff}.no-print{display:none!important}}.flex{display:flex}.flex-col{flex-direction:column}.flex-1{flex:1 1}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.w-2{width:.5rem}.h-2{height:.5rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-4{padding-bottom:1rem;padding-top:1rem}.m-4{margin:1rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:1rem}.mv-3{margin-bottom:.75rem;margin-top:.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem}.text-lg,.text-xl{line-height:1.75rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.font-medium{font-weight:500}.font-bold{font-weight:700}.text-indigo-200{color:#c7d2fe}.text-white{color:#fff}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-800{color:#1f2937}.text-indigo-600{color:#4f46e5}.text-red-600{color:#dc2626}.text-green-600{color:#059669}.text-gray-500{color:#6b7280}.bg-white{background-color:#fff}.bg-indigo-50{background-color:#eef2ff}.bg-indigo-600{background-color:#4f46e5}.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}.to-indigo-100{background:linear-gradient(90deg,#e0e7ff,#c7d2fe)}.from-blue-50{background:linear-gradient(90deg,#eff6ff,#dbeafe)}.bg-gradient-to-br{background:linear-gradient(to bottom right,#e0e7ff,#c7d2fe)}.border{border-width:1px}.border-2{border-width:2px}.border-gray-200{border-color:#e5e7eb}.border-indigo-200{border-color:#c7d2fe}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.border-gray-300{border-color:#d1d5db}.rounded-tl-sm{border-top-left-radius:.125rem}.rounded-tr-sm{border-top-right-radius:.125rem}.shadow{box-shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f}.shadow-md{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.shadow-lg{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-16{width:4rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-16{height:4rem}.h-screen{height:100vh}.max-w-xs{max-width:20rem}.max-w-md{max-width:28rem}.max-w-4xl{max-width:56rem}.overflow-y-auto{overflow-y:auto}.overflow-x-auto{overflow-x:auto}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\:bg-indigo-700:hover{background-color:#4338ca}.disabled\:bg-gray-400:disabled{background-color:#9ca3af}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus\:border-indigo-500:focus{border-color:#6366f1}.whitespace-pre-wrap{white-space:pre-wrap}.leading-relaxed{line-height:1.625}.chat-header{background:#0c4a6e;box-shadow:0 4px 20px #0c4a6e4d;height:96px;min-height:96px;overflow:hidden;padding:24px 20px;position:relative;transition:background .3s ease,box-shadow .3s ease}.chat-header:before{background:radial-gradient(circle,#ffffff1a 0,#0000 70%);border-radius:50%;content:"";height:200px;pointer-events:none;position:absolute;right:-10%;top:-50%;width:200px}.header-content{align-items:center;display:flex;gap:16px;height:100%;margin:0 auto;max-width:1200px;position:relative;transition:justify-content .3s ease;z-index:1}.header-content.center-mode{justify-content:center}.header-logo-center{align-items:center;animation:fadeIn .3s ease;display:flex;justify-content:center;max-height:48px;max-width:200px}.header-logo-center img{height:auto;max-height:48px;max-width:200px;object-fit:contain;width:auto}.header-icon{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:12px;box-shadow:0 4px 12px #0000001a;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.header-icon,.header-text{color:#fff;transition:opacity .2s ease,transform .2s ease}.header-logo{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:12px;box-shadow:0 4px 12px #0000001a;display:flex;flex-shrink:0;height:48px;justify-content:center;overflow:hidden;padding:4px;width:48px}.header-logo img{height:100%;object-fit:contain;width:100%}.header-text h1{color:#fff;font-size:22px;font-weight:700;letter-spacing:-.5px;margin:0 0 4px}.header-text p{color:#ffffffd9;font-size:13px;font-weight:500;margin:0}@media (max-width:768px){.chat-header{height:82px;min-height:82px;padding:20px 16px}.header-content{gap:12px}.header-icon,.header-logo{height:42px;width:42px}.header-logo-center,.header-logo-center img{max-height:42px;max-width:160px}.header-icon svg{height:20px;width:20px}.header-text h1{font-size:18px}.header-text p{font-size:12px}}.suggested-answers{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;margin-top:12px;padding:8px 0}.suggested-answer-btn{background-color:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 1px 3px #00000014;color:#4a5568;cursor:pointer;font-size:14px;font-weight:500;padding:10px 16px;transition:all .2s ease;white-space:nowrap}.suggested-answer-btn:hover:not(:disabled){background-color:#667eea;border-color:#667eea;box-shadow:0 4px 6px #667eea40;color:#fff;transform:translateY(-1px)}.suggested-answer-btn:active:not(:disabled){box-shadow:0 1px 3px #0000001a;transform:translateY(0)}.suggested-answer-btn:focus{box-shadow:0 0 0 3px #667eea4d;outline:none}.suggested-answer-btn:disabled{background-color:#f7fafc;cursor:not-allowed;opacity:.5}[dir=rtl] .suggested-answers{justify-content:flex-end}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.suggested-answer-btn{animation:slideUp .3s ease forwards}.suggested-answer-btn:first-child{animation-delay:0ms}.suggested-answer-btn:nth-child(2){animation-delay:50ms}.suggested-answer-btn:nth-child(3){animation-delay:.1s}.suggested-answer-btn:nth-child(4){animation-delay:.15s}.suggested-answer-btn:nth-child(5){animation-delay:.2s}@media (max-width:480px){.suggested-answers{gap:6px;justify-content:center}.suggested-answer-btn{font-size:13px;padding:8px 14px}}.message-wrapper{align-items:flex-start;animation:slideIn .3s ease-out;display:flex;gap:10px;margin-bottom:16px}.message-wrapper.user{justify-content:flex-start}.message-wrapper.ai{flex-direction:row-reverse;justify-content:flex-end}.message-content-wrapper{display:flex;flex-direction:column;max-width:calc(70% - 46px)}.message-wrapper.user .message-content-wrapper{max-width:70%}.message-avatar{align-items:center;background:linear-gradient(145deg,#a5d9ff,#fff);border-radius:12px;box-shadow:0 4px 12px #0c4a6e59,inset 0 1px 0 #ffffff2e;color:#fff;display:flex;flex-shrink:0;height:40px;justify-content:center;margin-top:2px;overflow:hidden;position:relative;transition:transform .2s ease,box-shadow .2s ease;width:40px}.message-avatar:before{background:linear-gradient(135deg,#ffffff2e,#0000 55%);border-radius:inherit;content:"";inset:0;pointer-events:none;position:absolute}.message-bubble{border-radius:18px;box-shadow:0 2px 8px #0000001a;padding:14px 18px;position:relative}.message-wrapper.user .message-bubble{background:#0c4a6e;border-bottom-right-radius:4px;color:#fff}.message-wrapper.ai .message-bubble{background:#fff;border:1px solid #f3f4f6;border-bottom-left-radius:4px;box-shadow:0 1px 2px 0 #0000000d;color:#374151}.message-content{word-wrap:break-word;font-size:15px;line-height:1.5;margin:0;white-space:pre-wrap}.message-time{display:block;font-size:11px;margin-top:6px;opacity:.7}.message-wrapper.ai .message-bubble .message-time{color:#4b5563;opacity:1}@media (max-width:768px){.message-avatar{border-radius:10px;height:36px;width:36px}.message-avatar svg{height:18px;width:18px}.message-content-wrapper{max-width:calc(85% - 42px)}.message-wrapper.user .message-content-wrapper{max-width:85%}.message-bubble{padding:12px 16px}.message-content{font-size:14px}}.chat-input-container{background:#fff;border-top:1px solid #e2e8f0;box-shadow:0 -2px 10px #0000000d;padding:16px 20px}.input-wrapper{align-items:center;display:flex;gap:12px;margin:0 auto;max-width:900px}.chat-input{background:#f7fafc;border:2px solid #e2e8f0;border-radius:24px;direction:rtl;flex:1 1;font-size:15px;outline:none;padding:14px 20px;text-align:right;transition:all .3s ease}.chat-input:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.chat-input:disabled{background:#edf2f7;cursor:not-allowed;opacity:.6}.chat-input::placeholder{color:#a0aec0}.send-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;box-shadow:0 4px 12px #667eea66;color:#fff;cursor:pointer;display:flex;height:48px;justify-content:center;transition:all .3s ease;width:48px}.send-button:hover:not(:disabled){box-shadow:0 6px 16px #667eea80;transform:scale(1.05)}.send-button:active:not(:disabled){transform:scale(.95)}.send-button:disabled{box-shadow:none;cursor:not-allowed;opacity:.5}@media (max-width:768px){.chat-input,.chat-input-container{padding:12px 16px}.chat-input{font-size:16px}.send-button{height:44px;width:44px}}.typing-indicator-wrapper{animation:slideIn .3s ease-out;display:flex;justify-content:flex-end;margin-bottom:16px}.typing-indicator{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:18px;border-bottom-left-radius:4px;box-shadow:0 2px 8px #0000001a;display:flex;gap:6px;padding:14px 20px}.typing-indicator span{animation:bounce 1.4s infinite;background:#fff;border-radius:50%;height:8px;width:8px}.typing-indicator span:first-child{animation-delay:0s}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-8px)}}.completion-message{align-items:center;animation:slideIn .5s ease-out;background:#0c4a6e;border-radius:20px;box-shadow:0 8px 28px #0c4a6e59,inset 0 1px 0 #ffffff1a;display:flex;flex-direction:column;justify-content:center;margin:20px auto;max-width:380px;overflow:hidden;padding:36px 28px;position:relative}.completion-message:before{background:radial-gradient(circle,#ffffff14 0,#0000 70%);border-radius:50%;content:"";height:220px;pointer-events:none;position:absolute;right:-15%;top:-40%;width:220px}.completion-icon{align-items:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(145deg,#ffffff2e,#ffffff14);border:1px solid #ffffff38;border-radius:18px;box-shadow:0 4px 14px #00000026,inset 0 1px 0 #fff3;color:#fff;display:flex;height:68px;justify-content:center;margin-bottom:20px;width:68px}.completion-text{color:#fff;font-size:20px;font-weight:700;letter-spacing:-.01em;margin:0 0 8px}.completion-subtext{color:#ffffffbf;font-size:14px;font-weight:400;margin:0}@media (max-width:768px){.completion-message{margin:16px;padding:28px 20px}.completion-icon{border-radius:14px;height:56px;width:56px}.completion-text{font-size:18px}.completion-subtext{font-size:13px}}.app-container{direction:rtl;height:100vh;height:100dvh;overflow:hidden}.app-container,.optout-page{background:linear-gradient(135deg,#667eea,#764ba2);display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif}.optout-page{align-items:center;justify-content:center;min-height:100vh;min-height:100dvh;padding:20px}.optout-card{background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000002e;max-width:440px;padding:40px 32px;text-align:center;width:100%}.optout-logo{font-size:48px;margin-bottom:16px}.optout-body{align-items:center;display:flex;flex-direction:column;gap:16px}.optout-title{color:#1a1a2e;font-size:22px;font-weight:700;margin:0}.optout-greeting{color:#444;font-size:16px;margin:0}.optout-subtitle{color:#555;font-size:15px;line-height:1.7;margin:0}.optout-actions{display:flex;flex-direction:column;gap:12px;margin-top:8px;width:100%}.btn{align-items:center;border:none;border-radius:10px;cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;justify-content:center;padding:12px 24px;transition:background .2s,transform .1s;width:100%}.btn:focus-visible{outline:3px solid #667eea;outline-offset:2px}.btn-danger{background:#e53935;color:#fff}.btn-danger:hover{background:#c62828}.btn-secondary{background:#f0f0f5;color:#333}.btn-secondary:hover{background:#e0e0eb}.optout-icon{align-items:center;border-radius:50%;display:flex;font-size:26px;height:56px;justify-content:center;width:56px}.optout-icon--success{background:#e8f5e9;color:#2e7d32}.optout-icon--error{background:#ffebee;color:#c62828}.optout-icon--info{background:#e3f2fd;color:#1565c0}.optout-spinner{animation:optout-spin .8s linear infinite;border:3px solid #e0e0f0;border-radius:50%;border-top-color:#667eea;height:40px;width:40px}@keyframes optout-spin{to{transform:rotate(1turn)}}.chat-section{background:#fff;display:flex;flex:1 1;flex-direction:column;min-width:0;position:relative}.messages-container{-webkit-overflow-scrolling:touch;background:#f8f9fa;flex:1 1;overflow-x:hidden;overflow-y:auto;padding:20px}.messages-inner{margin:0 auto;max-width:900px;padding-bottom:20px}.welcome-message{animation:fadeIn .5s ease-in;padding:80px 20px;text-align:center}.welcome-icon{font-size:64px;margin-bottom:20px}.welcome-message h3{color:#2d3748;font-size:24px;font-weight:600;margin-bottom:8px}.welcome-message p{color:#718096;font-size:16px}.loading-screen{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;height:100vh;justify-content:center}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:50px;margin-bottom:20px;width:50px}.loading-screen p{color:#fff;font-size:16px;font-weight:500}.error-screen{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;height:100vh;justify-content:center;padding:20px}.error-card{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:400px;padding:40px;text-align:center}.error-icon{font-size:60px;margin-bottom:20px}.error-card h2{color:#e53e3e;font-size:24px;font-weight:600;margin-bottom:10px}.error-card p{color:#4a5568;font-size:16px}.chat-error{background:#fff5f5;border:1px solid #fc8181;border-radius:12px;color:#c53030;font-size:15px;margin:0 20px 16px;padding:16px}.summary-toggle-btn{align-items:center;background:#667eea;border:none;border-radius:50%;bottom:100px;box-shadow:0 4px 16px #667eea66;color:#fff;cursor:pointer;display:flex;height:48px;justify-content:center;left:20px;position:fixed;transition:all .3s ease;width:48px;z-index:1000}.summary-toggle-btn:hover{background:#5a67d8;transform:scale(1.1)}.summary-toggle-btn:active{transform:scale(.95)}.summary-panel{background:#fff;bottom:0;box-shadow:4px 0 20px #00000026;left:0;overflow-y:auto;position:fixed;top:0;transform:translateX(-100%);transition:transform .3s ease;width:350px;z-index:1001}.summary-panel.show{transform:translateX(0)}.summary-overlay{animation:fadeIn .3s ease;background:#00000080;inset:0;position:fixed;z-index:1000}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(1turn)}}@media (min-width:768px){.summary-toggle-btn{display:none}.summary-panel{position:relative;transform:translateX(0);width:400px}.summary-overlay{display:none}.messages-container{padding:30px}}.chat-footer{background:#fff;border-top:1px solid #e2e8f0;padding:12px 20px;text-align:center}.copyright-text{color:#4a5568;font-size:13px;font-weight:400;letter-spacing:.3px;margin:0}.messages-container::-webkit-scrollbar{width:6px}.messages-container::-webkit-scrollbar-track{background:#0000}.messages-container::-webkit-scrollbar-thumb{background:#0003;border-radius:3px}.messages-container::-webkit-scrollbar-thumb:hover{background:#0000004d}.error-boundary{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);direction:rtl;display:flex;justify-content:center;min-height:100vh;padding:20px}.error-boundary-card{animation:slideIn .5s ease-out;background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:500px;padding:40px;text-align:center}.error-boundary-icon{animation:pulse 2s infinite;font-size:64px;margin-bottom:20px}.error-boundary-card h1{color:#2d3748;font-size:24px;font-weight:700;margin-bottom:12px}.error-boundary-card p{color:#4a5568;font-size:16px;line-height:1.6;margin-bottom:24px}.error-reload-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;box-shadow:0 4px 12px #667eea66;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px 32px;transition:all .3s ease}.error-reload-btn:hover{box-shadow:0 6px 16px #667eea80;transform:translateY(-2px)}.error-reload-btn:active{transform:translateY(0)}.error-details{background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;margin:20px 0;padding:16px;text-align:right}.error-details summary{color:#4a5568;cursor:pointer;font-weight:600;margin-bottom:12px;-webkit-user-select:none;user-select:none}.error-details summary:hover{color:#2d3748}.error-stack{background:#2d3748;border-radius:8px;color:#f7fafc;direction:ltr;font-size:12px;line-height:1.5;overflow-x:auto;padding:16px;text-align:left;white-space:pre-wrap;word-break:break-word}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@media (max-width:768px){.error-boundary-card{padding:30px 20px}.error-boundary-icon{font-size:48px}.error-boundary-card h1{font-size:20px}.error-boundary-card p{font-size:14px}.error-reload-btn{font-size:15px;padding:12px;width:100%}}
/*# sourceMappingURL=main.8453bd2f.css.map*/