/* CloudVault - Modern Cyber Theme Enhanced */

:root {
    /* Primary Colors - Cyber Blue & Purple */
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary: #a855f7;
    --accent: #ff006e;
    --success: #00ff88;
    --warning: #ffaa00;
    --danger: #ff3366;
    
    /* Background Colors */
    --dark: #0a0e1a;
    --darker: #05070f;
    --dark-secondary: #0f1426;
    --dark-tertiary: #141b2e;
    
    /* Text Colors */
    --light: #f0f6fc;
    --light-secondary: #c9d1d9;
    --gray: #8b949e;
    --gray-dark: #58606a;
    
    /* Glass Effects */
    --glass-bg: rgba(20, 27, 46, 0.8);
    --glass-bg-light: rgba(20, 27, 46, 0.6);
    --glass-border: rgba(0, 212, 255, 0.15);
    --glass-border-hover: rgba(0, 212, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --blur: blur(20px);
    
    /* Gradients - Cyber Style */
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #ff006e 0%, #ffaa00 100%);
    --gradient-3: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-bg: linear-gradient(135deg, #0a0e1a 0%, #0f1426 50%, #141b2e 100%);
    --gradient-cyber: linear-gradient(45deg, #00d4ff, #a855f7, #ff006e, #00ff88);
    
    /* Neon Glows */
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(168, 85, 247, 0.5);
    --glow-accent: 0 0 20px rgba(255, 0, 110, 0.5);
    --glow-success: 0 0 20px rgba(0, 255, 136, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--darker);
    min-height: 100vh;
    color: var(--light);
    line-height: 1.6;
    position: relative;
}

/* Cyber Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
}

/* Animated Cyber Glow */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 110, 0.1) 0%, transparent 40%);
    z-index: -1;
    animation: cyberFloat 20s ease-in-out infinite;
}

@keyframes cyberFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-30px) scale(1.1); 
        opacity: 0.8;
    }
}

/* Glass Card */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-logo p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-help {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
}

.btn-block {
    width: 100%;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.alert-info {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
}

.alert-info code {
    color: #00d4ff;
    font-family: 'Courier New', monospace;
}

/* Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    padding: 24px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: var(--blur);
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-logo .icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.sidebar-logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light), var(--gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    margin-bottom: 32px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.nav-item.active {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-item i {
    width: 20px;
    font-size: 1.1rem;
}

/* Storage Info */
.storage-info {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.storage-info h4 {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.storage-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.storage-bar-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.storage-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Logout Button */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    text-decoration: none;
    border: 1px solid rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
    margin-top: auto;
    font-size: 0.95rem;
    cursor: pointer;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateX(-2px);
}

.logout-btn i {
    width: 20px;
    font-size: 1rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 32px;
}

/* Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* Search */
.search-box {
    position: relative;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light);
    font-size: 0.95rem;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-icon.files { background: rgba(99, 102, 241, 0.2); color: var(--primary); }
.stat-icon.folders { background: rgba(139, 92, 246, 0.2); color: var(--secondary); }
.stat-icon.shared { background: rgba(236, 72, 153, 0.2); color: var(--accent); }
.stat-icon.starred { background: rgba(245, 158, 11, 0.2); color: var(--warning); }

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* File Grid */
.files-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* File Card */
.file-card {
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.file-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.file-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

.file-icon.image { background: rgba(236, 72, 153, 0.2); color: var(--accent); }
.file-icon.video { background: rgba(79, 70, 229, 0.2); color: #818cf8; }
.file-icon.audio { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.file-icon.document { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.file-icon.archive { background: rgba(245, 158, 11, 0.2); color: var(--warning); }

.file-name {
    font-weight: 500;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    font-size: 0.8rem;
    color: var(--gray);
}

.file-star {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--warning);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-card:hover .file-star,
.file-card .file-star.active {
    opacity: 1;
}

/* Folder Card */
.folder-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.folder-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.folder-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.folder-info h4 {
    font-weight: 500;
    margin-bottom: 4px;
}

.folder-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

.folder-locked {
    margin-left: auto;
    color: var(--warning);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span {
    color: var(--light);
}

.breadcrumbs i {
    color: var(--gray);
    font-size: 0.7rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 32px;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.upload-area h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.upload-area p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 90%;
    max-width: 500px;
    padding: 32px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--light);
}

/* Context Menu */
.context-menu {
    position: fixed;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    z-index: 1001;
    box-shadow: var(--glass-shadow);
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.context-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.context-menu-item.danger {
    color: var(--danger);
}

.context-menu-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 8px 0;
}

/* Share Card */
.share-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.share-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

.share-info {
    flex: 1;
}

.share-info h4 {
    font-weight: 500;
    margin-bottom: 4px;
}

.share-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

.share-actions {
    display: flex;
    gap: 8px;
}

/* Preview */
.preview-container {
    padding: 32px;
    text-align: center;
}

.preview-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
}

.preview-video {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
}

/* User Avatar */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 200px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.warning { border-left: 4px solid var(--warning); }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 64px 32px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 24px;
}

/* Color Picker */
.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.color-option:hover,
.color-option.selected {
    border-color: white;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 16px;
    }
    
    .sidebar-logo h1,
    .nav-item span,
    .storage-info {
        display: none;
    }
    
    .sidebar-logo .icon {
        margin: 0 auto;
    }
    
    .nav-item {
        justify-content: center;
        padding: 12px;
    }
    
    .main-content {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .file-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Loading Spinner */
.loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none; }
/* ========================================
   NEW FEATURES - Enhanced UI
======================================== */

/* Quick Actions Bar */
.quick-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.view-mode-toggle {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.view-mode-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.view-mode-btn.active {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--glow-primary);
}

.view-mode-btn:hover {
    color: var(--primary);
}

/* Bulk Selection Mode */
.bulk-actions-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 900;
    box-shadow: var(--glass-shadow), var(--glow-primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bulk-actions-bar.show {
    opacity: 1;
    visibility: visible;
}

.bulk-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.bulk-actions {
    display: flex;
    gap: 8px;
}

.file-checkbox {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.2s ease;
    z-index: 10;
}

.bulk-selection-mode .file-checkbox,
.file-card:hover .file-checkbox {
    display: flex;
}

.file-checkbox.checked {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    box-shadow: var(--glow-primary);
}

/* List View Mode */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-list-item:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-light);
    transform: translateX(4px);
}

.file-list-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary);
}

.file-list-info {
    flex: 1;
}

.file-list-name {
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--light);
}

.file-list-details {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--gray);
}

.file-list-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-list-item:hover .file-list-actions {
    opacity: 1;
}

/* Trash/Recycle Bin */
.trash-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(255, 51, 102, 0.2);
    color: var(--danger);
}

.trash-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 12px;
}

.trash-info {
    flex: 1;
}

.trash-info h4 {
    font-weight: 500;
    margin-bottom: 4px;
}

.trash-meta {
    font-size: 0.85rem;
    color: var(--gray);
}

.restore-btn {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.restore-btn:hover {
    background: rgba(0, 255, 136, 0.3);
    box-shadow: var(--glow-success);
}

/* Profile Settings */
.profile-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    border: 3px solid var(--primary);
    box-shadow: var(--glow-primary);
}

.profile-details h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.profile-details p {
    color: var(--gray);
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.setting-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: var(--gray-dark);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--primary);
    box-shadow: var(--glow-primary);
}

.toggle-slider {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.toggle-switch.active .toggle-slider {
    left: 26px;
}

/* File Move Modal */
.folder-tree {
    max-height: 400px;
    overflow-y: auto;
    padding: 12px;
}

.folder-tree-item {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.folder-tree-item:hover {
    background: rgba(0, 212, 255, 0.1);
}

.folder-tree-item.selected {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--primary);
}

.folder-tree-item.nested {
    margin-left: 24px;
}

/* Enhanced File Card with Details */
.file-card-enhanced {
    position: relative;
    padding: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-card-enhanced:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow), var(--glow-primary);
}

.file-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.file-type-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary);
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
}

.file-card-body {
    text-align: center;
    margin-bottom: 12px;
}

.file-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray);
    padding-top: 12px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

/* Neon Border Effect */
.neon-border {
    position: relative;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-cyber);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.neon-border:hover::before {
    opacity: 0.3;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* Filter Dropdown */
.filter-dropdown {
    position: relative;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
}

.filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    display: none;
    z-index: 100;
}

.filter-dropdown.active .filter-menu {
    display: block;
}

.filter-option {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-option:hover {
    background: rgba(0, 212, 255, 0.1);
}

.filter-option.active {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary);
}

/* Progress Bar Enhanced */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Keyboard Shortcuts Hint */
.shortcuts-hint {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--gray);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.shortcuts-hint.show {
    opacity: 1;
}

.kbd {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--primary);
    font-family: monospace;
}

/* Enhanced Animations */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-in {
    animation: slideUp 0.4s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .bulk-actions-bar {
        width: 90%;
        flex-wrap: wrap;
        padding: 12px 16px;
    }
    
    .quick-actions {
        flex-wrap: wrap;
    }
    
    .file-list-details {
        flex-direction: column;
        gap: 4px;
    }
    
}