/* KOL Panel Custom Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Selection */
::selection {
    background: rgba(0, 212, 255, 0.3);
}

/* Input focus glow */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

/* Smooth transitions */
* {
    transition-property: color, background-color, border-color, opacity;
    transition-duration: 150ms;
}

/* Nav link active indicator */
.nav-link.active {
    position: relative;
}
.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: linear-gradient(to bottom, #00d4ff, #b388ff);
    border-radius: 0 2px 2px 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 40;
        transition: transform 0.3s ease;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-overlay {
        display: none;
    }
    .sidebar-overlay.active {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 30;
        background: rgba(0,0,0,0.5);
    }
    .main-content {
        margin-left: 0 !important;
    }
}

/* Prose dark theme for markdown */
.prose-invert h1, .prose-invert h2, .prose-invert h3 {
    color: #e2e8f0;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 600;
}
.prose-invert h1 { font-size: 1.25rem; }
.prose-invert h2 { font-size: 1.125rem; }
.prose-invert h3 { font-size: 1rem; }
.prose-invert ul, .prose-invert ol {
    padding-left: 1.5em;
    margin: 0.5em 0;
}
.prose-invert li {
    margin: 0.25em 0;
}
.prose-invert strong {
    color: #00d4ff;
}
.prose-invert code {
    background: rgba(255,255,255,0.1);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    font-size: 0.85em;
}
.prose-invert blockquote {
    border-left: 3px solid #00d4ff;
    padding-left: 1em;
    color: #94a3b8;
    margin: 0.5em 0;
}
.prose-invert a {
    color: #00d4ff;
    text-decoration: underline;
}
.prose-invert p {
    margin: 0.5em 0;
}

/* Sparkline mini chart */
.sparkline {
    display: inline-block;
    vertical-align: middle;
}
