/* Custom Scrollbar Design - Space Theme */

/* For Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:active {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Scrollbar Corner */
::-webkit-scrollbar-corner {
    background: #0a1628;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.02);
}

/* Enhanced Scrollbar with Animation */
@keyframes scrollbar-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    }
}

/* Optional: Add glow animation to scrollbar */
::-webkit-scrollbar-thumb {
    animation: scrollbar-glow 3s ease-in-out infinite;
}

/* Scrollbar for specific sections (optional) */
.custom-scroll::-webkit-scrollbar {
    width: 10px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
}

/* Thin Scrollbar Variant */
.thin-scroll::-webkit-scrollbar {
    width: 6px;
}

.thin-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.thin-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.thin-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}
