    /* 保留所有原始CSS样式 */
    :root {
        --primary-500: #4361ee;
        --primary-600: #3a0ca3;
        --primary-100: #e0e7ff;
        --secondary-500: #4cc9f0;
        --success-500: #4ade80;
        --warning-500: #fbbf24;
        --danger-500: #ef4444;
        --dark-700: #1e293b;
        --light-100: #f8fafc;
        --light-200: #f1f5f9;
        --light-300: #e2e8f0;
    }

    body {
        font-family: 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
        background-color: var(--light-200);
        color: var(--dark-700);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .topbar {
        height: 60px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 0 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
    }

    .topbar-scrolled {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .sidebar {
        width: 240px;
        position: fixed;
        top: 60px;
        bottom: 0;
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
        padding-top: 20px;
        z-index: 1020;
        overflow-y: auto;
        transition: all 0.3s ease;
    }

    .content {
        margin-left: 240px;
        margin-top: 60px;
        padding: 25px;
        min-height: calc(100vh - 60px);
        background-color: #f5f7fa;
        transition: margin-left 0.3s;
    }

    .file-card {
        text-align: center;
        width: 140px;
        display: inline-block;
        margin: 15px;
        position: relative;
        transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        cursor: pointer;
        vertical-align: top;
        border-radius: 12px;
        padding: 8px;
        background-color: white;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    }

    .file-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(67, 97, 238, 0.15);
        background-color: var(--primary-100);
    }

    .file-card.selected {
        background-color: var(--primary-100);
        box-shadow: 0 0 0 2px var(--primary-500);
    }

    .nav-link {
        color: #555;
        padding: 12px 20px;
        border-radius: 8px;
        margin: 4px 15px;
        display: flex;
        align-items: center;
        transition: all 0.2s;
        text-decoration: none;
        position: relative;
    }

    .nav-link:hover, .nav-link.active {
        background: #eaf3ff;
        color: var(--primary-500);
    }

    .nav-link.active:after {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 24px;
        width: 4px;
        background-color: var(--primary-500);
        border-radius: 0 4px 4px 0;
    }

    .storage-info {
        background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
        color: white;
        border-radius: 16px;
        padding: 15px;
        margin: 20px 15px;
        box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
    }

    .upload-btn {
        background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
        border: none;
        border-radius: 8px;
        font-weight: 500;
        padding: 10px 18px;
        display: flex;
        align-items: center;
        box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
        color: white;
        transition: all 0.3s;
    }

    .upload-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
    }

    .action-btn {
        border-radius: 8px;
        padding: 10px 18px;
        font-weight: 500;
        border: 1px solid #dee2e6;
        background: white;
        transition: all 0.3s;
    }

    .action-btn:hover {
        background: #f8f9fa;
        border-color: var(--primary-500);
        color: var(--primary-500);
    }

    .file-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        color: white;
        flex-shrink: 0;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .file-icon.folder {
        background: linear-gradient(135deg, #4cc9f0, #4895ef);
    }

    .file-icon.doc {
        background: linear-gradient(135deg, #4361ee, #4895ef);
    }

    .file-icon.img {
        background: linear-gradient(135deg, #f72585, #b5179e);
    }

    .file-icon.vid {
        background: linear-gradient(135deg, #f77f00, #d62828);
    }

    .file-icon.pdf {
        background: linear-gradient(135deg, #ef476f, #e63946);
    }

    .context-menu {
        position: absolute;
        z-index: 9999;
        background: white;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        padding: 8px 0;
        min-width: 180px;
        display: none;
        animation: fadeIn 0.2s ease-out;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .context-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .context-menu li {
        padding: 8px 20px;
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        transition: all 0.2s;
    }

    .context-menu li:hover {
        background: #eaf3ff;
        color: var(--primary-500);
    }

    .context-menu li i {
        width: 20px;
        margin-right: 10px;
        text-align: center;
    }

    .search-container {
        position: relative;
        width: 400px;
    }

    .search-container i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #777;
    }

    .search-container input {
        padding-left: 45px;
        border-radius: 50px;
        border: 1px solid #e2e8f0;
        height: 40px;
        width: 100%;
        transition: all 0.3s;
    }

    .search-container input:focus {
        border-color: var(--primary-500);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    }

    .section-title {
        font-weight: 600;
        font-size: 18px;
        color: #333;
        margin: 25px 0 15px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
    }

    .section-title i {
        margin-right: 10px;
        color: var(--primary-500);
    }

    .user-badge {
        background: linear-gradient(135deg, #ffd166, #ff9e00);
        color: #333;
        font-weight: 600;
        padding: 5px 12px;
        border-radius: 50px;
        font-size: 13px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .file-thumb {
        width: 100px;
        height: 100px;
        border-radius: 16px;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        transition: all 0.3s;
    }

    .file-card:hover .file-thumb {
        transform: scale(1.05);
    }

    .file-thumb img {
        max-width: 60px;
        max-height: 60px;
    }

    .file-card p {
        font-size: 13px;
        margin-top: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 500;
        color: #444;
    }

    .file-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .file-table th {
        background-color: #f8f9fa;
        padding: 12px 16px;
        text-align: left;
        font-weight: 600;
        color: #495057;
        border-bottom: 1px solid #e9ecef;
    }

    .file-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #e9ecef;
        transition: background-color 0.2s;
    }

    .file-table tr:hover td {
        background-color: #f8f9fa;
    }

    .file-table tr.selected td {
        background-color: var(--primary-100);
    }

    .tag {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 500;
    }

    .tag-folder {
        background-color: #e3f2fd;
        color: #1976d2;
    }

    .tag-doc {
        background-color: #e8f5e9;
        color: #388e3c;
    }

    .tag-img {
        background-color: #fce4ec;
        color: #d81b60;
    }

    .tag-vid {
        background-color: #fff3e0;
        color: #ef6c00;
    }

    .context-menu-item {
        display: flex;
        align-items: center;
    }

    .context-menu-item i {
        width: 20px;
        margin-right: 10px;
    }

    .progress {
        height: 8px;
        border-radius: 4px;
        overflow: hidden;
        background-color: rgba(255, 255, 255, 0.3);
    }

    .progress-bar {
        background-color: white;
    }

    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 20px;
        color: var(--primary-500);
        margin-right: 15px;
    }

    /* 响应式设计 */
    @media (max-width: 992px) {
        .sidebar {
            width: 70px;
            padding-top: 15px;
        }

        .sidebar .nav-text {
            display: none;
        }

        .sidebar .nav-link {
            margin: 4px 10px;
            padding: 12px;
            justify-content: center;
        }

        .sidebar .nav-link i {
            margin-right: 0;
            font-size: 18px;
        }

        .content {
            margin-left: 70px;
        }

        .storage-info {
            display: none;
        }

        .search-container {
            width: 200px;
        }
    }

    @media (max-width: 768px) {
        .mobile-menu-btn {
            display: block;
        }

        .sidebar {
            transform: translateX(-100%);
            display: block;
            width: 240px;
            box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        }

        .sidebar.active {
            transform: translateX(0);
        }

        .content {
            margin-left: 0;
        }

        .topbar {
            padding: 0 10px;
        }

        .search-container {
            width: 150px;
        }

        .file-card {
            width: 120px;
            margin: 10px;
        }

        .file-thumb {
            width: 80px;
            height: 80px;
        }
    }

    @media (max-width: 576px) {
        .topbar h5 {
            font-size: 16px;
        }

        .search-container {
            width: 120px;
        }

        .action-buttons .btn {
            padding: 8px 12px;
            font-size: 14px;
        }

        .file-card {
            width: 100px;
            margin: 8px;
        }

        .file-thumb {
            width: 70px;
            height: 70px;
        }

        .user-badge {
            display: none;
        }
    }
        /* 新增文件类型样式 */
    .file-icon.audio { color: #ff9800; }
    .file-icon.archive { color: #795548; }
    .file-icon.other { color: #9e9e9e; }

    .tag-audio { background: #fff3e0; color: #ef6c00; }
    .tag-archive { background: #efebe9; color: #5d4037; }
    .tag-other { background: #f5f5f5; color: #616161; }

    /* 存储进度条样式 */
    .storage-progress {
        height: 10px;
        border-radius: 5px;
        overflow: hidden;
        background-color: #e9ecef;
    }

    .storage-progress-bar {
        height: 100%;
        background-color: #4e73df;
        border-radius: 5px;
    }

    /* 文件卡片样式 */
    .file-card {
        position: relative;
        width: 120px;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .file-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .file-thumb {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
    }

    .file-card p {
        margin: 0;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 文件表格样式 */
    .file-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .file-table th {
        background-color: #f8f9fa;
        font-weight: 600;
        padding: 12px 15px;
        text-align: left;
        border-bottom: 2px solid #e9ecef;
    }

    .file-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #e9ecef;
    }

    .file-table tr:hover td {
        background-color: #f8f9fa;
    }

    .file-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }

    .file-icon.folder { background: #e7f4e4; color: #2e7d32; }
    .file-icon.doc { background: #e3f2fd; color: #1565c0; }
    .file-icon.img { background: #fce4ec; color: #c2185b; }
    .file-icon.vid { background: #f3e5f5; color: #7b1fa2; }
    .file-icon.audio { background: #fff3e0; color: #ef6c00; }
    .file-icon.archive { background: #efebe9; color: #5d4037; }
    .file-icon.other { background: #f5f5f5; color: #9e9e9e; }

    .tag {
        display: inline-block;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    .tag-folder { background: #e7f4e4; color: #2e7d32; }
    .tag-doc { background: #e3f2fd; color: #1565c0; }
    .tag-img { background: #fce4ec; color: #c2185b; }
    .tag-vid { background: #f3e5f5; color: #7b1fa2; }
    .tag-audio { background: #fff3e0; color: #ef6c00; }
    .tag-archive { background: #efebe9; color: #5d4037; }
    .tag-other { background: #f5f5f5; color: #616161; }

    /* 上下文菜单样式 */
    .context-menu {
        display: none;
        position: absolute;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 1000;
        width: 180px;
        overflow: hidden;
    }

    .context-menu-item {
        padding: 10px 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        transition: background 0.2s;
    }

    .context-menu-item:hover {
        background: #f8f9fa;
    }

    .context-menu-item i {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }

    .context-menu-divider {
        height: 1px;
        background: #e9ecef;
        margin: 4px 0;
    }

    /* 选中状态 */
    .selected {
        background-color: #e8f4ff !important;
        outline: 2px solid #4e73df;
    }