/* Dark Neocom Theme - Custom Properties & Overrides */

:root {
    --neocom-bg: #0a0e17;
    --neocom-surface: #111827;
    --neocom-panel: #1a2332;
    --neocom-border: #1e3a5f;
    --neocom-accent: #3b82f6;
    --neocom-highlight: #60a5fa;
    --neocom-text: #e2e8f0;
    --neocom-muted: #64748b;
    --neocom-success: #22c55e;
    --neocom-warning: #eab308;
    --neocom-danger: #ef4444;
    --neocom-gold: #d4a843;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--neocom-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--neocom-border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neocom-muted);
}

/* Selection */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--neocom-text);
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--neocom-accent);
    outline-offset: 2px;
}

/* Table sorting indicator */
th[data-sort] {
    user-select: none;
}
th[data-sort]::after {
    content: ' ↕';
    opacity: 0.3;
    font-size: 0.75em;
}
th[data-sort].sort-asc::after {
    content: ' ↑';
    opacity: 1;
}
th[data-sort].sort-desc::after {
    content: ' ↓';
    opacity: 1;
}

/* Tooltip for copied */
.copied-tooltip {
    position: fixed;
    background: var(--neocom-success);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 50;
    animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; transform: translateY(0); }
    70% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10px); }
}
