body {
    font-family: "Space Grotesk", sans-serif;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #111814;
}

::-webkit-scrollbar-thumb {
    background: #28392f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0df26c;
}

.checkbox-primary {
    accent-color: #0df26c;
}

/* Floating Mobile Navigation */
.mobile-nav-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: 90%;
    max-width: 400px;
    display: none;
    /* Hidden by default, shown on mobile via media query or JS class */
}

@media (max-width: 1024px) {
    .mobile-nav-container {
        display: block;
        animation: slideUp 0.5s ease-out forwards;
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.mobile-nav-glass {
    background: rgba(17, 24, 20, 0.85);
    /* background-dark with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 12px 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    /* slate-400 */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.mobile-nav-item:hover {
    color: #0df26c;
    /* primary */
    background: rgba(13, 242, 108, 0.05);
}

.mobile-nav-item.active {
    color: #0df26c;
    /* primary */
    transform: translateY(-4px);
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background-color: #0df26c;
    border-radius: 50%;
    box-shadow: 0 0 8px #0df26c;
}

.mobile-nav-item span.material-symbols-outlined {
    font-size: 26px;
    margin-bottom: 2px;
}

/* Add extra padding to bottom of body to prevent content from being hidden behind nav */
@media (max-width: 1024px) {
    body {
        padding-bottom: 100px;
    }

    /* For dashboard/app-like layouts with internal scrolling */
    main .overflow-y-auto {
        padding-bottom: 100px;
    }

    /* Bulk action bar: sit above the floating mobile nav (nav is bottom:24px + ~72px tall) */
    #bulkActionBar {
        bottom: 96px !important;
        border-radius: 16px 16px 0 0;
        left: 8px;
        right: 8px;
        border: 1px solid rgba(255,255,255,0.1);
    }
}