Omarrran's picture
Initial commit: Kashmiri Diacritics Converter for HF Spaces
c3834d8
Raw
History Blame Contribute Delete
22 kB
/* =====================================================
KASH CRITICS - Kashmiri Diacritics Converter
Premium Modern UI with Glassmorphism & Animations
===================================================== */
/* CSS Custom Properties (Design Tokens) */
:root {
/* Light Theme Colors */
--bg-primary: #f0f4f8;
--bg-secondary: rgba(255, 255, 255, 0.8);
--bg-tertiary: rgba(241, 245, 249, 0.9);
--bg-glass: rgba(255, 255, 255, 0.6);
--text-primary: #0f172a;
--text-secondary: #475569;
--text-muted: #94a3b8;
--border-color: rgba(226, 232, 240, 0.8);
--border-focus: #6366f1;
/* Accent Colors */
--accent-primary: #6366f1;
--accent-primary-hover: #4f46e5;
--accent-secondary: #8b5cf6;
--accent-success: #10b981;
--accent-warning: #f59e0b;
--accent-danger: #ef4444;
--accent-cyan: #06b6d4;
/* Gradients */
--gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
--gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
--gradient-header: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
--gradient-mesh: radial-gradient(at 40% 20%, hsla(228, 93%, 67%, 0.15) 0px, transparent 50%),
radial-gradient(at 80% 0%, hsla(262, 83%, 67%, 0.15) 0px, transparent 50%),
radial-gradient(at 0% 50%, hsla(189, 100%, 56%, 0.1) 0px, transparent 50%),
radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 0.1) 0px, transparent 50%),
radial-gradient(at 0% 100%, hsla(269, 100%, 77%, 0.1) 0px, transparent 50%);
/* Shadows */
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
--shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
--shadow-glow: 0 0 30px rgba(99, 102, 241, 0.4);
--shadow-glow-success: 0 0 30px rgba(16, 185, 129, 0.4);
/* Spacing */
--spacing-xs: 0.25rem;
--spacing-sm: 0.5rem;
--spacing-md: 1rem;
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
--spacing-2xl: 3rem;
/* Border Radius */
--radius-sm: 0.5rem;
--radius-md: 0.75rem;
--radius-lg: 1rem;
--radius-xl: 1.5rem;
--radius-2xl: 2rem;
--radius-full: 9999px;
/* Transitions */
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
/* Typography */
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-arabic: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Scheherazade New', serif;
}
/* Dark Theme */
[data-theme="dark"] {
--bg-primary: #0a0a0f;
--bg-secondary: rgba(30, 41, 59, 0.7);
--bg-tertiary: rgba(51, 65, 85, 0.6);
--bg-glass: rgba(15, 23, 42, 0.7);
--text-primary: #f1f5f9;
--text-secondary: #cbd5e1;
--text-muted: #64748b;
--border-color: rgba(51, 65, 85, 0.6);
--border-focus: #818cf8;
--gradient-mesh: radial-gradient(at 40% 20%, hsla(228, 93%, 67%, 0.12) 0px, transparent 50%),
radial-gradient(at 80% 0%, hsla(262, 83%, 67%, 0.12) 0px, transparent 50%),
radial-gradient(at 0% 50%, hsla(189, 100%, 56%, 0.08) 0px, transparent 50%),
radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 0.08) 0px, transparent 50%);
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
--shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.4);
}
/* ===== Base Styles ===== */
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-sans);
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
transition: background var(--transition-base), color var(--transition-base);
}
/* ===== Animated Background ===== */
.app {
min-height: 100vh;
display: flex;
flex-direction: column;
background: var(--gradient-mesh);
position: relative;
}
.app::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
pointer-events: none;
z-index: 0;
}
/* RTL Text Support - Nastaliq Font Styling */
.rtl {
direction: rtl;
text-align: right;
font-family: var(--font-arabic), var(--font-sans);
line-height: 2.4;
font-size: 1.25rem;
}
/* ===== Header ===== */
.app-header {
background: var(--gradient-header);
color: #ffffff;
padding: var(--spacing-2xl) var(--spacing-xl);
position: relative;
overflow: hidden;
z-index: 10;
}
.app-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
opacity: 0.6;
}
.app-header::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}
.header-content {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1400px;
margin: 0 auto;
flex-wrap: wrap;
gap: var(--spacing-md);
}
.logo-section h1 {
font-size: 2.25rem;
font-weight: 700;
display: flex;
align-items: center;
gap: var(--spacing-md);
letter-spacing: -0.02em;
}
.logo-icon {
font-family: var(--font-arabic);
font-size: 2.75rem;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
padding: 0.5rem 0.75rem;
border-radius: var(--radius-lg);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
line-height: 1.4;
}
.tagline {
opacity: 0.85;
font-size: 1rem;
margin-top: var(--spacing-xs);
font-weight: 400;
letter-spacing: 0.01em;
}
.header-actions {
display: flex;
gap: var(--spacing-sm);
}
.header-description {
position: relative;
max-width: 1400px;
margin: var(--spacing-xl) auto 0;
padding-top: var(--spacing-lg);
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.header-description p {
opacity: 0.9;
font-size: 1rem;
line-height: 1.7;
}
.header-description strong {
color: #c4b5fd;
font-weight: 600;
}
/* ===== Main Content ===== */
.main-content {
flex: 1;
padding: var(--spacing-2xl) var(--spacing-xl);
max-width: 1400px;
margin: 0 auto;
width: 100%;
position: relative;
z-index: 1;
}
.converter-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--spacing-xl);
}
@media (max-width: 1024px) {
.converter-container {
grid-template-columns: 1fr;
}
}
/* ===== Glass Card Effect ===== */
.converter-section,
.results-section,
.export-panel {
background: var(--bg-secondary);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-radius: var(--radius-2xl);
padding: var(--spacing-xl);
border: 1px solid var(--border-color);
box-shadow: var(--shadow-lg);
transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.converter-section:hover,
.results-section:hover,
.export-panel:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg), var(--shadow-glow);
}
/* ===== Converter Section ===== */
.input-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: var(--spacing-lg);
flex-wrap: wrap;
gap: var(--spacing-md);
}
.input-header h2 {
display: flex;
align-items: center;
gap: var(--spacing-sm);
font-size: 1.15rem;
font-weight: 600;
color: var(--text-primary);
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.input-actions {
display: flex;
gap: var(--spacing-sm);
flex-wrap: wrap;
}
.text-input {
width: 100%;
min-height: 300px;
padding: var(--spacing-xl);
font-family: var(--font-arabic), var(--font-sans);
font-size: 1.4rem;
line-height: 2.6;
background: var(--bg-glass);
backdrop-filter: blur(10px);
border: 2px solid var(--border-color);
border-radius: var(--radius-xl);
color: var(--text-primary);
resize: vertical;
transition: all var(--transition-base);
}
.text-input:focus {
outline: none;
border-color: var(--accent-primary);
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), var(--shadow-glow);
}
.text-input::placeholder {
color: var(--text-muted);
opacity: 0.6;
font-size: 1.1rem;
}
.convert-section {
display: flex;
align-items: center;
gap: var(--spacing-lg);
margin-top: var(--spacing-lg);
flex-wrap: wrap;
}
.text-stats {
color: var(--text-muted);
font-size: 0.9rem;
background: var(--bg-tertiary);
padding: var(--spacing-sm) var(--spacing-md);
border-radius: var(--radius-full);
}
/* ===== Buttons ===== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--spacing-sm);
padding: var(--spacing-sm) var(--spacing-lg);
font-size: 0.9rem;
font-weight: 500;
border-radius: var(--radius-lg);
border: none;
cursor: pointer;
transition: all var(--transition-base);
white-space: nowrap;
position: relative;
overflow: hidden;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}
.btn:hover::before {
left: 100%;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.btn:disabled::before {
display: none;
}
.btn-primary {
background: var(--gradient-primary);
color: white;
box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.3);
font-weight: 600;
}
.btn-primary:hover:not(:disabled) {
transform: translateY(-3px) scale(1.02);
box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.btn-primary:active:not(:disabled) {
transform: translateY(-1px) scale(1);
}
.btn-large {
padding: var(--spacing-md) var(--spacing-2xl);
font-size: 1.05rem;
border-radius: var(--radius-xl);
}
.btn-secondary {
background: var(--bg-glass);
backdrop-filter: blur(10px);
color: var(--text-primary);
border: 1px solid var(--border-color);
}
.btn-secondary:hover:not(:disabled) {
background: var(--bg-tertiary);
border-color: var(--accent-primary);
color: var(--accent-primary);
}
.btn-icon-only {
padding: var(--spacing-sm);
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
color: white;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: var(--radius-md);
cursor: pointer;
transition: all var(--transition-base);
}
.btn-icon-only:hover {
background: rgba(255, 255, 255, 0.25);
transform: scale(1.1);
}
.btn-icon {
padding: var(--spacing-sm);
background: transparent;
border: none;
color: var(--text-muted);
cursor: pointer;
border-radius: var(--radius-md);
transition: all var(--transition-base);
}
.btn-icon:hover {
color: var(--accent-primary);
background: rgba(99, 102, 241, 0.1);
transform: scale(1.1);
}
.btn-icon .success {
color: var(--accent-success);
}
/* ===== Results Section ===== */
.results-container {
display: flex;
flex-direction: column;
gap: var(--spacing-xl);
}
.results-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: var(--spacing-lg);
}
.results-header h2 {
font-size: 1.15rem;
font-weight: 600;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.results-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 220px;
color: var(--text-muted);
text-align: center;
padding: var(--spacing-xl);
}
.empty-icon {
font-size: 4rem;
margin-bottom: var(--spacing-lg);
opacity: 0.4;
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.results-empty p {
font-size: 1.05rem;
margin-bottom: var(--spacing-sm);
}
.results-empty .hint {
font-size: 0.9rem;
opacity: 0.7;
}
.table-container {
max-height: 450px;
overflow-y: auto;
border-radius: var(--radius-xl);
border: 1px solid var(--border-color);
background: var(--bg-glass);
}
.results-table {
width: 100%;
border-collapse: collapse;
}
.results-table th,
.results-table td {
padding: var(--spacing-md) var(--spacing-lg);
text-align: left;
border-bottom: 1px solid var(--border-color);
}
.results-table th {
background: var(--bg-tertiary);
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-secondary);
position: sticky;
top: 0;
z-index: 1;
}
.results-table th.rtl,
.results-table td.rtl {
text-align: right;
font-family: var(--font-arabic), var(--font-sans);
}
.results-table .row-number {
width: 50px;
text-align: center;
color: var(--text-muted);
font-size: 0.85rem;
font-weight: 500;
}
.results-table .actions {
width: 50px;
text-align: center;
}
.results-table tbody tr {
transition: background var(--transition-fast);
}
.results-table tbody tr:hover {
background: rgba(99, 102, 241, 0.05);
}
.results-table .diacritical {
color: var(--accent-primary);
font-size: 1.35rem;
line-height: 2.5;
padding: var(--spacing-md) var(--spacing-lg);
}
.results-table .non-diacritical {
font-size: 1.35rem;
line-height: 2.5;
padding: var(--spacing-md) var(--spacing-lg);
}
.results-footer {
display: flex;
justify-content: flex-end;
margin-top: var(--spacing-md);
}
.row-count {
color: var(--text-muted);
font-size: 0.9rem;
background: var(--bg-tertiary);
padding: var(--spacing-sm) var(--spacing-md);
border-radius: var(--radius-full);
}
/* ===== Export Panel ===== */
.export-panel h3 {
display: flex;
align-items: center;
gap: var(--spacing-sm);
font-size: 1.1rem;
font-weight: 600;
margin-bottom: var(--spacing-lg);
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.export-buttons {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--spacing-md);
}
@media (max-width: 600px) {
.export-buttons {
grid-template-columns: 1fr;
}
}
.btn-export {
display: flex;
align-items: center;
gap: var(--spacing-md);
padding: var(--spacing-lg);
background: var(--bg-glass);
backdrop-filter: blur(10px);
border: 2px solid var(--border-color);
border-radius: var(--radius-xl);
cursor: pointer;
transition: all var(--transition-base);
color: var(--text-primary);
}
.btn-export:hover:not(:disabled) {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.btn-export:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.btn-export.xlsx {
border-color: rgba(16, 185, 129, 0.3);
}
.btn-export.xlsx:hover:not(:disabled) {
border-color: var(--accent-success);
background: rgba(16, 185, 129, 0.1);
box-shadow: var(--shadow-lg), var(--shadow-glow-success);
}
.btn-export.tsv {
border-color: rgba(245, 158, 11, 0.3);
}
.btn-export.tsv:hover:not(:disabled) {
border-color: var(--accent-warning);
background: rgba(245, 158, 11, 0.1);
box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.3);
}
.btn-export.jsonl {
border-color: rgba(139, 92, 246, 0.3);
}
.btn-export.jsonl:hover:not(:disabled) {
border-color: var(--accent-secondary);
background: rgba(139, 92, 246, 0.1);
box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.3);
}
.export-label {
display: flex;
flex-direction: column;
align-items: flex-start;
text-align: left;
}
.export-label strong {
font-size: 1rem;
font-weight: 600;
}
.export-label small {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 2px;
}
.export-info {
margin-top: var(--spacing-lg);
text-align: center;
color: var(--text-secondary);
font-size: 0.95rem;
padding: var(--spacing-md);
background: rgba(99, 102, 241, 0.08);
border-radius: var(--radius-lg);
border: 1px solid rgba(99, 102, 241, 0.2);
}
.export-info strong {
color: var(--accent-primary);
font-size: 1.1rem;
}
/* ===== Help Section ===== */
.help-section {
background: var(--bg-secondary);
backdrop-filter: blur(20px);
padding: var(--spacing-2xl) var(--spacing-xl);
border-top: 1px solid var(--border-color);
position: relative;
z-index: 1;
}
.help-section>h2 {
display: flex;
align-items: center;
gap: var(--spacing-sm);
font-size: 1.4rem;
max-width: 1400px;
margin: 0 auto var(--spacing-2xl);
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.help-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: var(--spacing-xl);
max-width: 1400px;
margin: 0 auto var(--spacing-2xl);
}
.help-card {
background: var(--bg-glass);
backdrop-filter: blur(10px);
border-radius: var(--radius-2xl);
padding: var(--spacing-xl);
border: 1px solid var(--border-color);
transition: all var(--transition-base);
}
.help-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
border-color: var(--accent-primary);
}
.help-icon {
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
background: var(--gradient-primary);
color: white;
border-radius: var(--radius-xl);
margin-bottom: var(--spacing-lg);
font-size: 1.6rem;
box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
.help-card h3 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: var(--spacing-sm);
}
.help-card p {
color: var(--text-secondary);
font-size: 0.95rem;
line-height: 1.7;
}
.diacritics-info {
max-width: 1400px;
margin: 0 auto var(--spacing-2xl);
background: var(--bg-glass);
backdrop-filter: blur(10px);
border-radius: var(--radius-2xl);
padding: var(--spacing-xl);
border: 1px solid var(--border-color);
}
.diacritics-info h3 {
font-size: 1.1rem;
margin-bottom: var(--spacing-lg);
font-weight: 600;
}
.diacritics-grid {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-sm);
}
.diacritics-grid span {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
font-family: var(--font-arabic);
font-size: 1.6rem;
cursor: help;
transition: all var(--transition-bounce);
}
.diacritics-grid span:hover {
background: var(--gradient-primary);
color: white;
border-color: transparent;
transform: scale(1.2) rotate(5deg);
box-shadow: var(--shadow-glow);
}
.use-case {
max-width: 1400px;
margin: 0 auto;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
backdrop-filter: blur(10px);
border-radius: var(--radius-2xl);
padding: var(--spacing-xl);
border: 1px solid rgba(99, 102, 241, 0.2);
}
.use-case h3 {
font-size: 1.2rem;
margin-bottom: var(--spacing-md);
font-weight: 600;
}
.use-case p {
color: var(--text-secondary);
margin-bottom: var(--spacing-lg);
line-height: 1.7;
}
.use-case ul {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: var(--spacing-md);
}
.use-case li {
display: flex;
align-items: center;
gap: var(--spacing-sm);
color: var(--text-secondary);
padding: var(--spacing-sm) 0;
}
.use-case li::before {
content: '✓';
color: var(--accent-success);
font-weight: bold;
font-size: 1.1rem;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(16, 185, 129, 0.1);
border-radius: var(--radius-full);
}
/* ===== Footer ===== */
.app-footer {
background: var(--bg-secondary);
backdrop-filter: blur(20px);
border-top: 1px solid var(--border-color);
padding: var(--spacing-xl);
text-align: center;
position: relative;
z-index: 1;
}
.app-footer p {
color: var(--text-muted);
font-size: 0.95rem;
}
.app-footer a {
color: var(--accent-primary);
text-decoration: none;
font-weight: 500;
margin-left: var(--spacing-sm);
transition: all var(--transition-fast);
}
.app-footer a:hover {
text-decoration: underline;
color: var(--accent-secondary);
}
/* ===== Animations ===== */
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.spin {
animation: spin 1s linear infinite;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.6;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ===== Scrollbar ===== */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: var(--bg-tertiary);
border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb {
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
border-radius: var(--radius-full);
border: 2px solid var(--bg-tertiary);
}
::-webkit-scrollbar-thumb:hover {
background: var(--accent-primary);
}
/* ===== Selection ===== */
::selection {
background: rgba(99, 102, 241, 0.3);
color: var(--text-primary);
}