/* Custom scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0F19; 
}
::-webkit-scrollbar-thumb {
    background: #1f2937; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4c1d95; 
}

/* Glass UI Elements */
.glass-panel {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Subtle glowing input fields */
.form-input {
    background-color: #1f2937;
    border: 1px solid #374151;
    color: #f3f4f6;
    transition: all 0.3s ease;
}
.form-input:focus {
    border-color: #8b5cf6;
    background-color: #111827;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
    outline: none;
}

/* Micro-animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Floating animation for banner */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Gradients */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #a78bfa, #8b5cf6, #3b82f6);
}

/* Table Responsiveness */
.table-responsive {
    width: 100%;
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Sidebar & Drawer styles */
#sidebar-overlay {
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

#sidebar {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 767px) {
    #sidebar.hidden-mobile {
        transform: translateX(-100%);
    }
    #sidebar.show-mobile {
        transform: translateX(0);
        display: flex !important;
        z-index: 100;
        position: fixed;
    }
}
