@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap'); @import "tailwindcss"; @theme { --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif; --font-display: "Space Grotesk", "Inter", sans-serif; --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; } /* -------------------------------------------------------------------------- SHRINK ALL RECTANGULAR, OVAL & SHAPES ("to'rt burchak, ovol va boshqa shakllar") We enforce extremely tight border-radius and dimensions for professional neatness. -------------------------------------------------------------------------- */ .rounded-3xl { border-radius: 10px !important; } .rounded-2xl { border-radius: 8px !important; } .rounded-xl { border-radius: 6px !important; } .rounded-lg { border-radius: 4px !important; } .rounded-md { border-radius: 4px !important; } /* Tighten paddings and sizes slightly so buttons/panels fit extremely elegantly together */ .p-6, .md\:p-6, .p-8, .md\:p-8 { padding: 14px !important; } .p-5, .md\:p-5, .p-4, .md\:p-4 { padding: 10px !important; } .p-3 { padding: 8px !important; } .gap-6, .md\:gap-6 { gap: 12px !important; } .gap-5, .md\:gap-5 { gap: 10px !important; } .gap-4, .md\:gap-4 { gap: 8px !important; } /* Force lock body/html scroll so empty outer zones do not wiggle/scroll on mobiles & computers */ html { font-size: 13px !important; } @media (min-width: 640px) { html { font-size: 13.5px !important; } } @media (min-width: 1024px) { html { font-size: 14px !important; } } @media (min-width: 1440px) { html { font-size: 14.5px !important; } } html, body, #root { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important; transition: background 0.25s ease, color 0.25s ease; } /* Custom scaling engine for Android devices to gracefully scale down texts, paddings, gaps, profiles, and notifications */ html.is-android { font-size: 12.5px !important; } /* Ensure font smooth and sharp and perfect rendering inside scaled container */ html.is-android * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* ========================================================================== THEMED LIGHT MODE DEFINITION (DEFAULT) ========================================================================== */ html:not(.dark-mode), html:not(.dark-mode) body, html:not(.dark-mode) #root { background: linear-gradient(180deg, #ffffff 50%, #f1f5f9 100%) !important; color: #0f172a !important; } html:not(.dark-mode) .bg-slate-800, html:not(.dark-mode) .bg-slate-850, html:not(.dark-mode) .bg-slate-900, html:not(.dark-mode) .bg-slate-950, html:not(.dark-mode) .bg-slate-900\/60, html:not(.dark-mode) .bg-slate-950\/70, html:not(.dark-mode) .bg-slate-950\/80, html:not(.dark-mode) .bg-slate-950\/40, html:not(.dark-mode) .bg-slate-900\/40, html:not(.dark-mode) .bg-slate-900\/80, html:not(.dark-mode) .bg-slate-900\/95, html:not(.dark-mode) .bg-slate-900\/90, html:not(.dark-mode) #main_header, html:not(.dark-mode) #tab_chat_module, html:not(.dark-mode) #chat_workspace_pane { background-color: #ffffff !important; background-image: none !important; color: #0f172a !important; border-color: #e2e8f0 !important; } html:not(.dark-mode) header#main_header { background-color: rgba(255, 255, 255, 0.9) !important; border-bottom: 1px solid #e1e8f0 !important; backdrop-filter: blur(12px) !important; } html:not(.dark-mode) p, html:not(.dark-mode) h1, html:not(.dark-mode) h2, html:not(.dark-mode) h3, html:not(.dark-mode) h4, html:not(.dark-mode) h5, html:not(.dark-mode) h6, html:not(.dark-mode) span, html:not(.dark-mode) strong, html:not(.dark-mode) li { color: #0f172a !important; } html:not(.dark-mode) .text-slate-100, html:not(.dark-mode) .text-slate-200, html:not(.dark-mode) .text-slate-300, html:not(.dark-mode) .text-white { color: #1e293b !important; } html:not(.dark-mode) .text-slate-400, html:not(.dark-mode) .text-slate-500, html:not(.dark-mode) .text-slate-350 { color: #475569 !important; } /* Light theme orange / purple accents */ html:not(.dark-mode) .text-orange-400, html:not(.dark-mode) .text-orange-450, html:not(.dark-mode) .text-amber-400, html:not(.dark-mode) .text-pink-400, html:not(.dark-mode) .text-rose-450, html:not(.dark-mode) .text-violet-400 { color: #ea580c !important; /* Premium readable orange */ } html:not(.dark-mode) button, html:not(.dark-mode) .cursor-pointer { color: #0f172a; } html:not(.dark-mode) .bg-slate-800, html:not(.dark-mode) .bg-slate-850, html:not(.dark-mode) .bg-slate-900, html:not(.dark-mode) .bg-slate-950, html:not(.dark-mode) .bg-slate-950\/80, html:not(.dark-mode) .bg-slate-900\/60 { background-color: #ffffff !important; border: 1px solid #e2e8f0 !important; } html:not(.dark-mode) #profile_pill, html:not(.dark-mode) #profile_card, html:not(.dark-mode) #brand_badge, html:not(.dark-mode) .bg-orange-500\/10 { background-color: #f8fafc !important; border-color: #e2e8f0 !important; } html:not(.dark-mode) #brand_badge { background-color: #2563eb !important; /* Elegant blue badge in Light Theme */ } html:not(.dark-mode) #brand_badge * { color: #ffffff !important; } html:not(.dark-mode) #toggle_dark_mode_btn, html:not(.dark-mode) #toggle_dark_mode_btn * { background-color: #f1f5f9 !important; border-color: #cbd5e1 !important; color: #0f172a !important; } /* Interactive elements */ html:not(.dark-mode) .bg-orange-500, html:not(.dark-mode) .bg-gradient-to-r.from-orange-500.to-amber-500 { background: #2563eb !important; color: #ffffff !important; border: none !important; } html:not(.dark-mode) .bg-orange-500 *, html:not(.dark-mode) .bg-gradient-to-r.from-orange-500.to-amber-500 * { color: #ffffff !important; } html:not(.dark-mode) input { background-color: #f8fafc !important; border: 1px solid #cbd5e1 !important; color: #0f172a !important; } /* ========================================================================== THEMED DARK MODE DEFINITION (TUNGI REJIM) ========================================================================== */ html.dark-mode, html.dark-mode body, html.dark-mode #root { background: linear-gradient(180deg, #020617 0%, #0f172a 100%) !important; color: #f8fafc !important; } html.dark-mode .bg-slate-900, html.dark-mode .bg-slate-950, html.dark-mode .bg-slate-900\/60, html.dark-mode .bg-slate-900\/40, html.dark-mode .bg-slate-950\/70, html.dark-mode .bg-slate-950\/80, html.dark-mode .bg-slate-950\/40, html.dark-mode .bg-slate-900\/80, html.dark-mode .bg-slate-900\/95, html.dark-mode .bg-slate-900\/90, html.dark-mode #main_header, html.dark-mode #tab_chat_module, html.dark-mode #chat_workspace_pane { background-color: #0b0f19 !important; background-image: none !important; color: #f8fafc !important; border-color: #1e293b !important; } html.dark-mode header#main_header { background-color: rgba(11, 15, 25, 0.9) !important; border-bottom: 1px solid #1e293b !important; backdrop-filter: blur(12px) !important; } html.dark-mode p, html.dark-mode h1, html.dark-mode h2, html.dark-mode h3, html.dark-mode h4, html.dark-mode h5, html.dark-mode h6, html.dark-mode span, html.dark-mode strong, html.dark-mode li { color: #f8fafc !important; } html.dark-mode .text-slate-100, html.dark-mode .text-slate-200, html.dark-mode .text-slate-300, html.dark-mode .text-white { color: #f1f5f9 !important; } html.dark-mode .text-slate-400, html.dark-mode .text-slate-500, html.dark-mode .text-slate-350 { color: #94a3b8 !important; } /* Dark theme orange accents (keeps theme glow) */ html.dark-mode .text-orange-400, html.dark-mode .text-orange-450, html.dark-mode .text-amber-400, html.dark-mode .text-pink-400, html.dark-mode .text-rose-450, html.dark-mode .text-violet-400 { color: #f97316 !important; /* Premium bright glow */ } html.dark-mode button, html.dark-mode .cursor-pointer { color: #f8fafc; } html.dark-mode .bg-slate-900, html.dark-mode .bg-slate-950, html.dark-mode .bg-slate-950\/80, html.dark-mode .bg-slate-900\/60 { background-color: #0b0f19 !important; border: 1px solid #1e293b !important; } html.dark-mode #profile_pill, html.dark-mode #profile_card, html.dark-mode #brand_badge, html.dark-mode .bg-orange-500\/10 { background-color: #111827 !important; border-color: #1e293b !important; } html.dark-mode #brand_badge { background-color: #ea580c !important; } html.dark-mode #brand_badge * { color: #f8fafc !important; } html.dark-mode #toggle_dark_mode_btn, html.dark-mode #toggle_dark_mode_btn * { background-color: #111827 !important; border-color: #334155 !important; color: #f1f5f9 !important; } /* Interactive elements in dark mode */ html.dark-mode .bg-orange-500, html.dark-mode .bg-gradient-to-r.from-orange-500.to-amber-500 { background: #2563eb !important; color: #ffffff !important; border: none !important; } html.dark-mode .bg-orange-500 *, html.dark-mode .bg-gradient-to-r.from-orange-500.to-amber-500 * { color: #ffffff !important; } html.dark-mode input[type="text"] { background-color: #111827 !important; border: 1px solid #334155 !important; color: #f8fafc !important; } /* Glowing blur blobs */ .blur-2xl, .blur-3xl, .blur-\[120px\] { opacity: 0.12 !important; } /* Scroll area and container definitions */ #dashboard_scroller { background: transparent !important; } /* Hide scrollbars completely across all components to prevent outer track flickering */ ::-webkit-scrollbar { display: none !important; width: 0px !important; height: 0px !important; } * { scrollbar-width: none !important; -ms-overflow-style: none !important; } /* Redefine/disable entry movements so windows do not shift, bounce, or slide on tab navigation */ .animate-scale-up, .animate-fade-in { animation: none !important; transform: none !important; opacity: 1 !important; } /* Disable hover shifts, floating movements, bouncing, and pulsing */ .hover\:-translate-y-0\.5:hover, .hover\:-translate-y-1:hover, .hover\:translate-y-[-2px]:hover, .hover\:translate-y-[-1px]:hover, .transform.hover\:-translate-y-0\.5:hover, .transform.hover\:-translate-y-1:hover { transform: none !important; } /* Disable continuous bouncing on icons/banners */ .animate-bounce { animation: none !important; } /* Calm down the pulse animation so it stays stably in one place */ .animate-pulse { animation: none !important; opacity: 1 !important; } /* Stop scaling transition durations from moving on active states */ button, a, div { animation-duration: 0s !important; } /* LOCK DOCK POSITIONS FOR AI CHAT & COMPRESSED MAIN TILES FOR ZERO PAGE SHIFTING */ #tab_chat_module { height: calc(100vh - 120px) !important; max-height: calc(100vh - 120px) !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; min-height: unset !important; padding: 12px !important; } #chat_workspace_pane { display: flex !important; flex-direction: column !important; height: 100% !important; max-height: 100% !important; overflow: hidden !important; flex-grow: 1 !important; gap: 8px !important; } #chat_scroll_area { flex: 1 1 auto !important; overflow-y: auto !important; min-height: 100px !important; max-height: calc(100vh - 340px) !important; -webkit-overflow-scrolling: touch !important; /* Premium buttery smooth inertia scroll on touch screens */ } /* Responsive adjustment for mobiles/Android */ html.is-android #tab_chat_module { height: calc(100vh - 90px) !important; max-height: calc(100vh - 90px) !important; padding: 8px !important; } html.is-android #chat_scroll_area { max-height: calc(100vh - 290px) !important; }