/* Custom Scrollbar for Dark Mode */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #e2e8f0;
}

.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-text {
    background: linear-gradient(to right, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HTMX Indicator Styles */
.htmx-indicator {
    display: none;
    /* Hidden by default */
    opacity: 0;
    transition: opacity 200ms ease-in;
}

.htmx-request .htmx-indicator {
    display: inline-flex;
    /* Show when parent has .htmx-request */
    opacity: 1;
}

.htmx-request.htmx-indicator {
    display: inline-flex;
    /* Show when element itself has .htmx-request */
    opacity: 1;
}