Files
pwa/src/styles/globals.css
T

867 lines
21 KiB
CSS
Raw Normal View History

2025-11-18 20:22:25 +03:30
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
/* Light is the product default */
--background: 210 40% 98%;
--foreground: 222 47% 11%;
2025-11-18 20:22:25 +03:30
--card: 0 0% 100%;
--card-foreground: 222 47% 11%;
2025-11-18 20:22:25 +03:30
--popover: 0 0% 100%;
--popover-foreground: 222 47% 11%;
--primary: 216 100% 50%;
--primary-foreground: 0 0% 100%;
--secondary: 210 40% 96%;
--secondary-foreground: 222 47% 11%;
--muted: 210 40% 96%;
--muted-foreground: 215 25% 28%;
--accent: 191 90% 42%;
--accent-foreground: 0 0% 100%;
--destructive: 0 72% 45%;
--destructive-foreground: 0 0% 100%;
--border: 214 32% 88%;
--input: 214 32% 91%;
--ring: 216 100% 50%;
--radius: 1rem;
--neon-blue: #0066ff;
--neon-cyan: #00d2ff;
--neon-teal: #00ffcc;
--neon-emerald: #10b981;
--navy-deep: #070a14;
--navy: #0a0f1d;
--glass-bg: rgba(255, 255, 255, 0.82);
--glass-bg-strong: rgba(255, 255, 255, 0.92);
--body-text: #1e3a4c;
--glow-blue: 0 0 12px rgba(47, 127, 212, 0.12);
--glow-teal: 0 0 12px rgba(52, 184, 150, 0.12);
--glow-border: 0 0 8px rgba(47, 127, 212, 0.1);
--gradient-neon: linear-gradient(135deg, #2f7fd4 0%, #2bb8c9 50%, #34b896 100%);
2025-11-18 20:22:25 +03:30
}
.light {
--background: 210 40% 98%;
--foreground: 222 47% 11%;
--card: 0 0% 100%;
--card-foreground: 222 47% 11%;
--popover: 0 0% 100%;
--popover-foreground: 222 47% 11%;
--primary: 216 100% 50%;
--primary-foreground: 0 0% 100%;
--secondary: 210 40% 96%;
--secondary-foreground: 222 47% 11%;
--muted: 210 40% 96%;
--muted-foreground: 215 25% 28%;
--accent: 191 90% 42%;
--accent-foreground: 0 0% 100%;
--destructive: 0 72% 45%;
--destructive-foreground: 0 0% 100%;
--border: 214 32% 88%;
--input: 214 32% 91%;
--ring: 216 100% 50%;
--glass-bg: rgba(255, 255, 255, 0.82);
--glass-bg-strong: rgba(255, 255, 255, 0.92);
--body-text: #1e3a4c;
--glow-blue: 0 0 12px rgba(47, 127, 212, 0.12);
--glow-teal: 0 0 12px rgba(52, 184, 150, 0.12);
--glow-border: 0 0 8px rgba(47, 127, 212, 0.1);
}
/* Keep .dark as alias of product dark tokens */
2025-11-18 20:22:25 +03:30
.dark {
--background: 222 48% 6%;
--foreground: 0 0% 100%;
--card: 222 47% 11%;
--card-foreground: 0 0% 100%;
--popover: 222 47% 9%;
--popover-foreground: 0 0% 100%;
--primary: 216 100% 50%;
--primary-foreground: 0 0% 100%;
--secondary: 217 33% 14%;
--secondary-foreground: 210 40% 96%;
--muted: 217 33% 12%;
--muted-foreground: 210 25% 82%;
--accent: 191 100% 50%;
--accent-foreground: 222 48% 6%;
--destructive: 0 72% 42%;
--destructive-foreground: 0 0% 100%;
--border: 210 40% 40%;
--input: 217 33% 16%;
--ring: 191 100% 50%;
--glass-bg: rgba(12, 20, 36, 0.72);
--glass-bg-strong: rgba(14, 24, 42, 0.86);
--body-text: #e8eef6;
--glow-blue: 0 0 14px rgba(56, 140, 220, 0.22), 0 0 28px rgba(0, 180, 200, 0.1);
--glow-teal: 0 0 14px rgba(45, 180, 160, 0.2), 0 0 28px rgba(52, 168, 130, 0.1);
--glow-border: 0 0 10px rgba(72, 180, 200, 0.18), 0 0 22px rgba(60, 170, 150, 0.1);
2025-11-18 20:22:25 +03:30
}
}
@font-face {
2026-01-05 14:59:18 +03:30
font-family: 'Shabnam';
src: url('/fonts/shabnam/Shabnam-Light.ttf') format('truetype');
font-weight: 300;
2025-11-18 20:22:25 +03:30
font-style: normal;
2026-01-05 14:59:18 +03:30
font-display: swap;
}
@font-face {
font-family: 'Shabnam';
src: url('/fonts/shabnam/Shabnam.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Shabnam';
src: url('/fonts/shabnam/Shabnam-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
2025-11-18 20:22:25 +03:30
}
@layer base {
* {
border-color: hsl(var(--border) / 0.45);
2025-11-18 20:22:25 +03:30
}
html {
color-scheme: light;
height: 100%;
overflow: hidden;
overscroll-behavior: none;
}
@supports (height: 100svh) {
html {
height: 100svh;
}
}
html.dark {
color-scheme: dark;
}
html.light {
color-scheme: light;
}
body,
#root {
height: 100%;
width: 100%;
overflow: hidden;
overscroll-behavior: none;
}
#root {
display: flex;
flex-direction: column;
min-height: 0;
}
2025-11-18 20:22:25 +03:30
body {
@apply text-foreground antialiased;
font-family: 'Vazirmatn', 'Shabnam', 'Tahoma', system-ui, sans-serif;
background-color: #e6eef6;
margin: 0;
}
html.dark body {
background-color: #070b14;
}
h1,
h2,
h3,
h4 {
color: hsl(var(--foreground));
letter-spacing: -0.01em;
}
p,
label,
span,
li {
color: inherit;
}
}
@layer components {
/* Desktop stage: soft wellness ambience (muted blue + soft teal) */
.app-desktop-stage {
@apply relative flex w-full flex-1 justify-center overflow-hidden;
min-height: 0;
background-color: #070b14;
background-image:
radial-gradient(ellipse 50% 40% at 16% 20%, rgba(56, 130, 200, 0.14), transparent 72%),
radial-gradient(ellipse 45% 36% at 84% 16%, rgba(52, 168, 140, 0.12), transparent 70%),
radial-gradient(ellipse 40% 30% at 72% 82%, rgba(64, 170, 180, 0.08), transparent 72%),
radial-gradient(ellipse 55% 40% at 50% 108%, rgba(40, 90, 140, 0.08), transparent 65%);
}
.app-desktop-stage::before,
.app-desktop-stage::after {
content: '';
pointer-events: none;
position: absolute;
border-radius: 9999px;
filter: blur(90px);
z-index: 0;
opacity: 0.55;
}
.app-desktop-stage::before {
width: min(40vw, 320px);
height: min(40vw, 320px);
top: -6%;
left: 10%;
background: rgba(56, 130, 200, 0.22);
}
.app-desktop-stage::after {
width: min(36vw, 280px);
height: min(36vw, 280px);
bottom: -4%;
right: 8%;
background: rgba(52, 168, 140, 0.2);
}
/* Front phone surface: clearer glass for readable content */
.app-mobile-shell {
@apply relative z-10 flex w-full max-w-[430px] flex-1 flex-col overflow-hidden;
min-height: 0;
padding-bottom: env(safe-area-inset-bottom, 0px);
background: rgba(9, 14, 26, 0.62);
backdrop-filter: blur(32px) saturate(1.15);
-webkit-backdrop-filter: blur(32px) saturate(1.15);
border: 1px solid rgba(90, 190, 210, 0.28);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.1),
0 0 0 1px rgba(70, 170, 160, 0.08),
0 20px 60px rgba(0, 0, 0, 0.4);
scrollbar-width: none;
-ms-overflow-style: none;
}
.app-mobile-shell::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}
@media (max-width: 430px) {
.app-mobile-shell {
border: none;
border-radius: 0;
box-shadow: none;
background: rgba(10, 15, 29, 0.55);
}
html.light .app-mobile-shell {
background: rgba(255, 255, 255, 0.88);
}
}
html.light .app-desktop-stage {
background-color: #e6eef6;
background-image:
radial-gradient(ellipse 55% 45% at 14% 18%, rgba(56, 160, 230, 0.22), transparent 72%),
radial-gradient(ellipse 50% 40% at 86% 14%, rgba(52, 184, 150, 0.18), transparent 70%),
radial-gradient(ellipse 45% 35% at 70% 84%, rgba(64, 180, 210, 0.14), transparent 72%);
}
html.light .app-desktop-stage::before {
background: rgba(56, 160, 230, 0.28);
opacity: 0.7;
}
html.light .app-desktop-stage::after {
background: rgba(52, 184, 150, 0.24);
opacity: 0.65;
}
html.light .app-mobile-shell {
background: rgba(255, 255, 255, 0.62);
border-color: rgba(56, 160, 200, 0.28);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.9),
0 0 0 1px rgba(56, 160, 200, 0.08),
0 20px 50px rgba(47, 127, 212, 0.12);
}
.glass-panel {
@apply relative rounded-2xl backdrop-blur-xl;
background: var(--glass-bg);
border: 1px solid rgba(90, 200, 210, 0.38);
box-shadow:
0 0 0 1px rgba(70, 170, 160, 0.12),
var(--glow-border),
inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Chat messages surface — high-intensity glass, no extra border */
.glass-panel-chat {
@apply relative h-full min-h-0 overflow-hidden rounded-none;
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(42px) saturate(1.7);
-webkit-backdrop-filter: blur(42px) saturate(1.7);
border: none;
box-shadow:
0 16px 40px rgba(47, 127, 212, 0.14),
0 10px 28px rgba(52, 184, 150, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.glass-panel-chat::before {
content: '';
pointer-events: none;
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 80% 50% at 100% 0%, rgba(56, 160, 230, 0.18), transparent 55%),
radial-gradient(ellipse 70% 45% at 0% 100%, rgba(52, 184, 150, 0.16), transparent 50%);
}
html.dark .glass-panel-chat {
background: rgba(12, 20, 36, 0.22);
box-shadow:
0 16px 40px rgba(0, 140, 210, 0.16),
0 10px 28px rgba(52, 184, 150, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
html.light .glass-panel-chat {
background: rgba(255, 255, 255, 0.22);
box-shadow:
0 16px 40px rgba(47, 127, 212, 0.12),
0 10px 28px rgba(52, 184, 150, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
/* Chat composer */
.composer-glass {
@apply relative flex min-h-12 w-full items-end gap-2 rounded-2xl p-1.5;
background: rgba(255, 255, 255, 0.28);
backdrop-filter: blur(28px) saturate(1.5);
-webkit-backdrop-filter: blur(28px) saturate(1.5);
border: 1px solid rgb(47 127 212 / 0.2);
box-shadow:
0 8px 18px rgba(47, 127, 212, 0.12),
0 6px 14px rgba(52, 184, 150, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.composer-glass textarea.input-neon {
min-height: 48px;
padding-block: 0.75rem;
padding-inline: 0.75rem;
line-height: 1.5;
transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.composer-glass:focus-within {
box-shadow:
0 12px 32px rgba(47, 127, 212, 0.22),
0 0 0 1px rgba(56, 160, 230, 0.22),
inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
html.dark .composer-glass,
html.dark .composer-glass:focus-within {
background: rgba(12, 20, 36, 0.45);
border-color: rgb(59 158 255 / 0.2);
}
html.light .composer-glass,
html.light .composer-glass:focus-within {
background: rgba(255, 255, 255, 0.55);
border-color: rgb(47 127 212 / 0.2);
}
.composer-glass .input-neon {
background: transparent;
border: none;
color: hsl(var(--foreground));
box-shadow: none;
}
.composer-glass .input-neon::placeholder {
color: hsl(var(--muted-foreground));
}
.composer-glass .input-neon:focus-visible {
box-shadow: none;
}
html.light .composer-glass .input-neon::placeholder {
color: hsl(var(--muted-foreground));
}
.glass-panel-strong {
@apply relative rounded-2xl backdrop-blur-2xl;
background: var(--glass-bg-strong);
border: 1px solid rgba(90, 200, 210, 0.45);
box-shadow:
0 0 0 1px rgba(70, 170, 160, 0.14),
var(--glow-border),
inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.neon-border {
border: 1px solid transparent;
background:
linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
linear-gradient(135deg, rgba(47, 127, 212, 0.65), rgba(43, 184, 201, 0.55), rgba(52, 184, 150, 0.55))
border-box;
box-shadow: var(--glow-border);
}
html.light .glass-panel,
html.light .glass-panel-strong {
border-color: rgba(47, 127, 212, 0.28);
box-shadow:
0 0 0 1px rgba(52, 184, 150, 0.08),
var(--glow-border),
inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.neon-glow {
box-shadow: var(--glow-blue);
}
.neon-glow-teal {
box-shadow: var(--glow-teal);
}
.btn-neon {
@apply relative inline-flex items-center justify-center rounded-xl px-4 py-2.5 text-sm font-semibold text-white transition-all duration-300;
background: var(--gradient-neon);
background-size: 160% 160%;
box-shadow:
0 0 18px rgba(0, 102, 255, 0.45),
0 0 36px rgba(0, 255, 204, 0.2);
}
.btn-neon:hover:not(:disabled) {
filter: brightness(1.08);
box-shadow:
0 0 24px rgba(0, 102, 255, 0.55),
0 0 48px rgba(0, 255, 204, 0.28);
}
html.light .btn-neon {
box-shadow:
0 0 14px rgba(47, 127, 212, 0.28),
0 0 28px rgba(52, 184, 150, 0.14);
}
html.light .btn-neon:hover:not(:disabled) {
filter: brightness(1.04);
box-shadow:
0 0 18px rgba(47, 127, 212, 0.36),
0 0 36px rgba(52, 184, 150, 0.18);
}
.btn-neon:focus-visible {
outline: none;
box-shadow:
0 0 0 2px var(--navy),
0 0 0 4px var(--neon-cyan),
0 0 24px rgba(0, 210, 255, 0.5);
}
.btn-glass {
@apply inline-flex items-center justify-center rounded-xl px-4 py-2.5 text-sm font-medium transition-all duration-300;
background: rgba(15, 23, 42, 0.45);
border: 1px solid rgba(0, 210, 255, 0.35);
color: var(--body-text);
backdrop-filter: blur(12px);
}
.btn-glass:hover:not(:disabled) {
border-color: rgba(0, 255, 204, 0.55);
box-shadow: var(--glow-teal);
color: hsl(var(--foreground));
}
html.light .btn-glass {
background: rgba(255, 255, 255, 0.72);
border-color: rgba(47, 127, 212, 0.28);
}
.btn-glass:focus-visible {
outline: none;
box-shadow:
0 0 0 2px var(--navy),
0 0 0 4px var(--neon-cyan);
}
.btn-danger-neon {
@apply inline-flex items-center justify-center rounded-xl px-4 py-2.5 text-sm font-medium transition-all duration-300;
background: rgba(127, 29, 29, 0.35);
border: 1px solid rgba(248, 113, 113, 0.45);
color: #fecaca;
backdrop-filter: blur(12px);
}
html.light .btn-danger-neon {
background: rgba(254, 226, 226, 0.9);
border-color: rgba(220, 38, 38, 0.35);
color: #b91c1c;
}
.btn-danger-neon:hover:not(:disabled) {
border-color: rgba(248, 113, 113, 0.75);
box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
color: #fff;
}
html.light .btn-danger-neon:hover:not(:disabled) {
color: #991b1b;
background: rgba(254, 202, 202, 0.95);
}
.input-neon {
@apply flex h-11 w-full items-center rounded-xl px-3 py-0 text-sm leading-normal transition-all duration-300;
background: rgba(15, 23, 42, 0.55);
border: 1px solid rgba(0, 210, 255, 0.28);
color: hsl(var(--foreground));
backdrop-filter: blur(10px);
}
.input-neon::placeholder {
color: rgba(226, 232, 240, 0.45);
}
html.light .input-neon {
background: rgba(255, 255, 255, 0.78);
border-color: rgba(47, 127, 212, 0.28);
color: hsl(var(--foreground));
}
html.light .input-neon::placeholder {
color: rgba(51, 65, 85, 0.45);
}
.input-neon:focus-visible {
outline: none;
border-color: var(--neon-cyan);
box-shadow:
0 0 0 1px var(--neon-cyan),
0 0 20px rgba(0, 210, 255, 0.35);
}
.input-neon:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.progress-neon {
@apply relative h-2 w-full overflow-hidden rounded-full;
background: rgba(15, 23, 42, 0.7);
border: 1px solid rgba(0, 210, 255, 0.2);
}
html.light .progress-neon {
background: rgba(15, 23, 42, 0.08);
border-color: rgba(47, 127, 212, 0.2);
}
.progress-neon-fill {
@apply h-full rounded-full transition-all duration-300 ease-out;
background: var(--gradient-neon);
box-shadow: 0 0 12px rgba(0, 210, 255, 0.55);
}
.ambient-glow {
position: relative;
}
.ambient-glow::before {
content: '';
pointer-events: none;
position: absolute;
inset: -20% -10% auto;
height: 55%;
background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.25), transparent 70%);
z-index: 0;
}
.nav-dock {
@apply fixed z-50 mx-auto;
left: 0.75rem;
right: 0.75rem;
bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
max-width: 28rem;
margin-inline: auto;
background: rgba(10, 15, 29, 0.72);
border: 1px solid rgba(0, 210, 255, 0.32);
border-radius: 1.25rem;
backdrop-filter: blur(18px);
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.45),
var(--glow-border);
}
.nav-item-active-dot {
@apply absolute -top-0.5 h-1.5 w-1.5 rounded-full;
background: var(--neon-cyan);
box-shadow: 0 0 10px var(--neon-cyan), 0 0 18px rgba(0, 210, 255, 0.6);
}
.avatar-glow {
@apply rounded-full;
padding: 2px;
background: var(--gradient-neon);
box-shadow: 0 0 18px rgba(0, 210, 255, 0.4);
}
.bubble-user {
@apply inline-flex w-fit flex-col rounded-2xl py-2.5 text-base leading-7;
max-width: calc(85% * 1.2);
padding-inline: calc(0.875rem * 1.2);
background: rgba(255, 255, 255, 0.28);
backdrop-filter: blur(18px) saturate(1.35);
-webkit-backdrop-filter: blur(18px) saturate(1.35);
border: 1px solid rgb(47 127 212 / 0.2);
color: hsl(var(--foreground));
box-shadow:
-4px 5px 10px rgba(47, 127, 212, 0.22),
0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
html.light .bubble-user {
background: rgba(236, 246, 255, 0.55);
color: hsl(var(--foreground));
border-color: rgb(47 127 212 / 0.2);
box-shadow:
-4px 5px 10px rgba(47, 127, 212, 0.18),
0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
html.dark .bubble-user {
background: rgba(40, 90, 150, 0.22);
border-color: rgb(59 158 255 / 0.2);
box-shadow:
-4px 5px 10px rgba(56, 140, 220, 0.22),
0 1px 0 rgba(255, 255, 255, 0.08) inset;
}
html.light .bubble-ai {
color: hsl(var(--foreground));
}
html.light .ai-thinking-bubble {
background: rgba(255, 255, 255, 0.28);
border: none;
box-shadow: 0 8px 24px rgba(47, 127, 212, 0.12);
}
/* Readable cyan accents on light surfaces */
html.light .text-neon-cyan {
color: #0e7490;
}
html.light .text-neon-teal {
color: #0f766e;
}
html.light .text-neon-emerald {
color: #059669;
}
.bubble-ai {
@apply rounded-2xl px-1 py-1 text-base leading-7;
background: transparent;
border: none;
box-shadow: none;
color: hsl(var(--foreground));
}
.bubble-ai p,
.bubble-ai li,
.bubble-ai .chat-prose {
text-align: justify;
text-align-last: right;
text-justify: inter-word;
}
.bubble-user .chat-prose {
width: fit-content;
max-width: 100%;
text-align: right;
white-space: pre-wrap;
}
.bubble-ai strong {
font-weight: 600;
}
/* Digits stay readable under RTL justify without breaking line layout. */
.bubble-ai .chat-num,
.bubble-user .chat-num {
color: hsl(var(--foreground));
font-variant-numeric: tabular-nums;
letter-spacing: 0;
unicode-bidi: isolate;
white-space: nowrap;
}
.bubble-ai ol,
.bubble-ai ul {
list-style-position: outside;
padding-inline-start: 1.35rem;
margin-inline-end: 0.15rem;
}
.bubble-ai li::marker {
color: hsl(var(--foreground));
font-weight: 600;
}
/* App chrome — only rendered when authenticated (not on login/signup). */
.app-header {
z-index: 50;
flex-shrink: 0;
padding-top: env(safe-area-inset-top, 0px);
background: rgba(255, 255, 255, 0.28);
backdrop-filter: blur(24px) saturate(1.4);
-webkit-backdrop-filter: blur(24px) saturate(1.4);
box-shadow: 0 8px 24px rgba(47, 127, 212, 0.08), 0 6px 16px rgba(52, 184, 150, 0.06);
}
html.dark .app-header {
background: rgba(12, 20, 36, 0.42);
}
/* Scrollable route area below header */
.app-main {
@apply flex min-h-0 flex-1 flex-col overflow-hidden;
}
/* Auth screens without app header still respect the top inset */
.app-auth-screen {
padding-top: env(safe-area-inset-top, 0px);
}
.ai-thinking-bubble {
@apply rounded-2xl;
background: rgba(255, 255, 255, 0.16);
border: none;
box-shadow: 0 8px 24px rgba(47, 127, 212, 0.12);
}
html.dark .ai-thinking-bubble {
background: rgba(12, 20, 36, 0.35);
}
.ai-thinking-dots {
display: inline-flex;
align-items: center;
gap: 5px;
}
.ai-thinking-dot {
width: 6px;
height: 6px;
border-radius: 9999px;
background: #00d2ff;
box-shadow: 0 0 8px rgba(0, 210, 255, 0.75), 0 0 14px rgba(0, 255, 204, 0.45);
animation: ai-dot-bounce 1.15s ease-in-out infinite;
}
.ai-thinking-dot:nth-child(2) {
animation-delay: 0.16s;
background: #00ffcc;
}
.ai-thinking-dot:nth-child(3) {
animation-delay: 0.32s;
}
.ai-stream-cursor {
display: inline-block;
width: 2px;
height: 1.05em;
margin-inline-start: 3px;
vertical-align: text-bottom;
border-radius: 1px;
background: linear-gradient(180deg, #00d2ff 0%, #00ffcc 100%);
box-shadow:
0 0 8px rgba(0, 210, 255, 0.85),
0 0 16px rgba(0, 255, 204, 0.55);
animation: ai-cursor-blink 0.95s step-end infinite;
}
@keyframes ai-dot-bounce {
0%,
80%,
100% {
transform: translateY(0);
opacity: 0.45;
}
40% {
transform: translateY(-4px);
opacity: 1;
}
}
@keyframes ai-cursor-blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
.page-with-dock {
padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}
.text-body {
color: var(--body-text);
2025-11-18 20:22:25 +03:30
}
}
/* RTL Support */
[dir='rtl'] {
direction: rtl;
text-align: right;
}
[dir='ltr'] {
direction: ltr;
text-align: left;
}
/* Hide scrollbar tracks everywhere — scroll still works with mouse wheel & touch */
* {
scrollbar-width: none;
-ms-overflow-style: none;
}
*::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
background: transparent;
}
/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}