/* CSS Variables for Theming */
:root {
    /* Light Theme Colors */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --success: #10b981;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* App Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .header {
    background: rgba(30, 41, 59, 0.9);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-primary);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: block;
}

/* Main Content Layout */
.main-content {
    display: flex;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    overflow-y: auto;
}

.sidebar.collapsed {
    margin-left: -280px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title svg {
    width: 18px;
    height: 18px;
}

.sidebar-toggle {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.sidebar-toggle:hover {
    background: var(--accent-primary);
    color: white;
}

.sidebar-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
}

.sidebar.collapsed .sidebar-toggle svg {
    transform: rotate(180deg);
}

.template-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.template-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.template-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.template-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

/* Workspace */
.workspace {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-x: hidden;
}

/* Platform Selector */
.platform-selector,
.mode-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selector-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.platform-options,
.mode-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.platform-btn,
.mode-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.platform-btn:hover,
.mode-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.platform-btn.active,
.mode-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.platform-btn.active .platform-icon {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.platforms-supported {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    padding-left: 6.5rem;
    font-weight: 400;
}

/* IO Container */
.io-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.io-panel {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.io-panel:hover {
    box-shadow: var(--shadow-md);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.panel-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-title svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

.io-textarea {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.7;
    resize: vertical;
    transition: all var(--transition-fast);
}

.io-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.io-textarea::placeholder {
    color: var(--text-muted);
}

.char-count {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: right;
}

/* IO Actions */
.io-actions {
    display: flex;
    justify-content: center;
}

.enhance-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-xl);
    border: none;
    background: var(--accent-gradient);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.enhance-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.enhance-btn:active {
    transform: translateY(0);
}

.enhance-btn svg {
    width: 20px;
    height: 20px;
}

/* Output Panel */
.output-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.action-btn.primary {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.action-btn.primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.output-content {
    min-height: 150px;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.output-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    color: var(--text-muted);
    text-align: center;
}

.output-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.output-placeholder p {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.output-placeholder span {
    font-size: 0.8125rem;
}

.output-content.has-result {
    background: var(--bg-primary);
}

.output-text {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
}

/* Tips Section */
.tips-section {
    margin-top: 1rem;
}

.tips-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tips-title svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.tip-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    transition: all var(--transition-fast);
}

.tip-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.tip-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-xl);
    margin-bottom: 0.75rem;
}

.tip-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    opacity: 0;
    transition: all var(--transition-normal);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.toast span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 1rem;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.show .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header h2 svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--accent-primary);
    color: white;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-content {
    padding: 1.5rem;
}

.modal-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Loading Animation */
.enhance-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.enhance-btn.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 99;
        width: 300px;
        max-width: 85vw;
        transform: translateX(-100%);
        border-radius: 0;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .sidebar-toggle {
        display: none;
    }

    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platforms-supported {
        padding-left: 0;
        margin-top: 0.75rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 1rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
    }

    .workspace {
        padding: 1rem;
        gap: 1rem;
    }

    .platform-selector,
    .mode-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .selector-label {
        font-size: 0.8125rem;
    }

    .platform-options,
    .mode-options {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .platform-btn,
    .mode-btn {
        flex: 1;
        min-width: calc(33.333% - 0.35rem);
        max-width: calc(33.333% - 0.35rem);
        justify-content: center;
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .platforms-supported {
        font-size: 0.75rem;
        margin-top: 0.5rem;
        padding-left: 0;
    }

    .io-panel {
        padding: 1rem;
    }

    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .panel-title {
        font-size: 0.9375rem;
    }

    .io-textarea {
        min-height: 150px;
        font-size: 0.875rem;
        padding: 0.875rem;
    }

    .char-count {
        font-size: 0.75rem;
    }

    .output-actions {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .action-btn svg {
        width: 14px;
        height: 14px;
    }

    .enhance-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .enhance-btn svg {
        width: 18px;
        height: 18px;
    }

    .tips-section {
        margin-top: 0.5rem;
    }

    .tips-title {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .tip-card {
        padding: 1rem;
    }

    .tip-card p {
        font-size: 0.8125rem;
    }

    .modal {
        margin: 0.75rem;
        max-height: calc(100vh - 1.5rem);
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 1rem;
    }

    .modal-description {
        font-size: 0.875rem;
    }

    .feature-item {
        gap: 0.75rem;
    }

    .feature-item h4 {
        font-size: 0.875rem;
    }

    .feature-item p {
        font-size: 0.8125rem;
    }

    .modal-footer {
        margin-top: 1.5rem;
        padding-top: 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.625rem 0.75rem;
    }

    .logo-text {
        display: none;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
    }

    .nav-btn svg {
        width: 18px;
        height: 18px;
    }

    .workspace {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .platform-btn,
    .mode-btn {
        min-width: calc(33.333% - 0.35rem);
        max-width: calc(33.333% - 0.35rem);
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }

    .platforms-supported {
        font-size: 0.6875rem;
    }

    .io-panel {
        padding: 0.75rem;
        border-radius: var(--radius-md);
    }

    .panel-title {
        font-size: 0.875rem;
    }

    .panel-title svg {
        width: 16px;
        height: 16px;
    }

    .io-textarea {
        min-height: 120px;
        padding: 0.75rem;
        font-size: 0.8125rem;
        border-radius: var(--radius-sm);
    }

    .clear-btn {
        width: 28px;
        height: 28px;
    }

    .clear-btn svg {
        width: 16px;
        height: 16px;
    }

    .output-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-btn {
        width: 100%;
    }

    .enhance-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .enhance-btn svg {
        width: 16px;
        height: 16px;
    }

    .output-content {
        min-height: 120px;
        padding: 0.75rem;
    }

    .output-placeholder {
        min-height: 100px;
    }

    .output-placeholder svg {
        width: 36px;
        height: 36px;
    }

    .output-placeholder p {
        font-size: 0.8125rem;
    }

    .output-placeholder span {
        font-size: 0.75rem;
    }

    .output-text {
        font-size: 0.8125rem;
    }

    .tips-title {
        font-size: 0.875rem;
    }

    .tip-card {
        padding: 0.875rem;
    }

    .tip-number {
        font-size: 0.6875rem;
        padding: 0.2rem 0.5rem;
    }

    .tip-card p {
        font-size: 0.75rem;
    }

    .toast {
        bottom: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .header-content {
        padding: 0.5rem;
    }

    .workspace {
        padding: 0.5rem;
    }

    .platform-btn,
    .mode-btn {
        min-width: calc(50% - 0.25rem);
        max-width: calc(50% - 0.25rem);
    }

    .io-textarea {
        min-height: 100px;
    }

    .char-count {
        font-size: 0.6875rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

button:focus-visible {
    outline-offset: 2px;
}

/* Selection Styling */
::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
}
