/* Dashboard Specific Styles */

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #9ca3af;
    transition: all 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

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

/* Mobile Sidebar Styles */
@media (max-width: 767px) {
    #dashboard-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 50;
    }

    #dashboard-sidebar:not(.hidden) {
        transform: translateX(0) !important;
    }

    /* Adjust main content when sidebar is hidden */
    main {
        width: 100%;
    }

    /* Scrollable content on mobile */
    .flex-1.overflow-y-auto {
        padding: 1rem;
    }

    /* Stats grid responsive */
    .grid.grid-cols-1.md\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .grid.grid-cols-1.md\\:grid-cols-4>div {
        padding: 1rem;
    }

    .grid.grid-cols-1.md\\:grid-cols-4 .text-3xl {
        font-size: 1.5rem;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .grid.grid-cols-1.md\\:grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Custom scrollbar for dashboard */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}