@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@400;500;600;700&display=swap');

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

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.5);
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
    background: rgba(75, 85, 99, 0.5);
}

/* Modal Glassmorphism */
.modal-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 1.5rem;
}
.dark .modal-card {
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #f3f4f6;
}

/* Inputs & Buttons */
.input-field {
    width: 100%;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    color: #1f2937;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    outline: none;
    transition: all 0.2s;
}
.dark .input-field {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: #f3f4f6;
}
.input-field:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.btn-primary {
    background: #4f46e5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-primary:hover { background: #4338ca; }

.btn-glass {
    background: rgba(0,0,0,0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}
.dark .btn-glass {
    background: rgba(255,255,255,0.1);
}
.btn-glass:hover {
    background: rgba(0,0,0,0.1);
}
.dark .btn-glass:hover {
    background: rgba(255,255,255,0.2);
}

/* File Tabs */
.file-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-right: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
}
.dark .file-tab { color: #9ca3af; }
.file-tab.active {
    background: white;
    color: #4f46e5;
    border-top: 2px solid #4f46e5;
}
.dark .file-tab.active {
    background: #111827;
    color: #818cf8;
    border-top: 2px solid #818cf8;
}
.file-tab:hover:not(.active) { background: rgba(0,0,0,0.02); }
.dark .file-tab:hover:not(.active) { background: rgba(255,255,255,0.02); }

.del-file { display: none; padding: 2px; border-radius: 4px; }
.file-tab:hover .del-file { display: block; color: #ef4444; }
.del-file:hover { background: rgba(239, 68, 68, 0.1); }

/* Users List */
.user-item {
    padding: 0.35rem 0.5rem;
    border-radius: 0.375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 2px;
}
.user-item:hover {
    background: rgba(99, 102, 241, 0.1);
}
.user-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #10b981;
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.3s ease forwards; }
