body { 
    font-family: 'Inter', sans-serif; 
}

.hidden { 
    display: none; 
}

.nav-input { 
    width: 150px; 
    padding: 0.5rem; 
    font-size: 0.875rem; 
    border-radius: 0.375rem; 
    border: 1px solid #cbd5e1; 
}

.dark .nav-input {
    background-color: #334155;
    border-color: #475569;
    color: #e2e8f0;
}

.dark .nav-input::placeholder {
    color: #94a3b8;
}

.fira-code {
    font-family: 'Fira Code', monospace;
}

/* CodeMirror custom styling */
.CodeMirror {
    font-family: 'Fira Code', monospace;
    height: 100%;
    font-size: 14px;
    border-radius: 0 0 0.5rem 0.5rem;
}

/* File list scrollbar styling */
#file-list::-webkit-scrollbar {
    width: 6px;
}

#file-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dark #file-list::-webkit-scrollbar-track {
    background: #1e293b;
}

#file-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dark #file-list::-webkit-scrollbar-thumb {
    background: #475569;
}

#file-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dark #file-list::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    #file-sidebar {
        position: fixed;
        top: 64px;
        left: 0;
        bottom: 0;
        z-index: 30;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    #file-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    /* Backdrop for mobile menu */
    #menu-backdrop {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 20;
        top: 64px;
    }
}

/* Responsive navigation inputs */
@media (max-width: 900px) {
    .nav-input {
        width: 100%;
    }
    
    /* Hide desktop login form on mobile/tablet */
    #login-form {
        display: none !important;
    }
    
    /* Hide desktop user status on mobile/tablet */
    #user-status {
        display: none !important;
    }
}

@media (min-width: 901px) {
    /* Hide mobile user menu toggle on desktop */
    #user-menu-toggle {
        display: none !important;
    }
}

