        :root {
            --primary: #ff7f00;
            --primary-dark: #e67300;
            --primary-light: #ffa64d;
            --primary-lighter: #ffd9b3;
            --secondary: #4a4a4a;
            --light: #f8f9fa;
            --light-gray: #e9ecef;
            --dark: #343a40;
            --success: #28a745;
            --danger: #dc3545;
            --warning: #ffc107;
            --info: #17a2b8;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #fff9f2 0%, #ffe9d1 100%);
            color: var(--secondary);
            line-height: 1.6;
            min-height: 100vh;
            padding: 10px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* 头部样式 - 移动端优化 */
        header {
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            color: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            flex: 1;
            min-width: 200px;
        }
        
        .logo {
            width: 50px;
            height: 50px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-weight: bold;
            font-size: 20px;
            color: var(--primary);
            flex-shrink: 0;
        }
        
        .header-text h1 {
            font-size: 1.4rem;
            margin-bottom: 3px;
        }
        
        .header-text p {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .user-info {
            text-align: right;
            font-size: 0.9rem;
        }
        
        .user-info p {
            margin-bottom: 3px;
        }
        
        .btn-logout {
            background: white;
            color: var(--primary);
            border: none;
            padding: 5px 12px;
            border-radius: 15px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s;
            font-size: 0.85rem;
        }
        
        .btn-logout:hover {
            background: var(--light);
            transform: translateY(-1px);
        }
        
        /* 主内容区 - 移动端优化 */
        .main-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        @media (min-width: 992px) {
            .main-content {
                display: grid;
                grid-template-columns: 1fr 280px;
                gap: 25px;
            }
        }
        
        /* 当前路径显示区域 - 新增 */
        .current-path {
            background: white;
            border-radius: 8px;
            padding: 12px 15px;
            margin-bottom: 15px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            border-left: 4px solid var(--primary);
        }
        
        .path-label {
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 3px;
        }
        
        .path-value {
            font-weight: 500;
            color: var(--primary);
            font-size: 0.95rem;
        }
        
        /* 面包屑导航 - 简化 */
        .breadcrumb {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 8px 12px;
            background: var(--light);
            border-radius: 6px;
            font-size: 0.9rem;
            flex-wrap: wrap;
            gap: 5px;
        }
        
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
            padding: 2px 5px;
            border-radius: 3px;
            transition: background 0.2s;
        }
        
        .breadcrumb a:hover {
            background: var(--primary-lighter);
        }
        
        .breadcrumb span {
            margin: 0 3px;
            color: #999;
        }
        
        /* 卡片样式 */
        .card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
            overflow: hidden;
        }
        
        .card-header {
            background: linear-gradient(to right, var(--primary-lighter), #fff4e6);
            padding: 12px 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .card-title {
            color: var(--primary-dark);
            margin: 0;
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .card-body {
            padding: 15px;
        }
        
        /* 上传区域 - 大幅简化 */
        .upload-section {
            margin-bottom: 20px;
        }
        
        .upload-area {
            border: 2px dashed var(--primary-light);
            border-radius: 6px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            background-color: #fffdf9;
        }
        
        .upload-area:hover {
            border-color: var(--primary);
            background-color: #fff9f2;
        }
        
        .upload-area.dragover {
            border-color: var(--primary);
            background-color: #fff4e6;
            transform: scale(1.02);
        }
        
        .upload-icon {
            font-size: 32px;
            color: var(--primary-light);
            margin-bottom: 8px;
        }
        
        .upload-text h3 {
            font-size: 1rem;
            margin-bottom: 5px;
            color: var(--secondary);
        }
        
        .upload-text p {
            font-size: 0.85rem;
            color: #666;
            margin: 3px 0;
        }
        
        .file-input {
            display: none;
        }
        
        .file-info {
            margin-top: 10px;
            font-size: 0.85rem;
            color: var(--secondary);
            padding: 8px;
            background: #f8f9fa;
            border-radius: 4px;
        }
        
        .btn-upload {
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 5px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 8px;
        }
        
        .btn-upload:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }
        
        /* 文件列表 - 移动端优化 */
        .file-list {
            margin-top: 10px;
        }
        
        .file-list-header {
            display: grid;
            grid-template-columns: 35px 1fr 80px 100px;
            gap: 10px;
            align-items: center;
            background: var(--light-gray);
            padding: 8px 12px;
            border-radius: 5px;
            font-weight: 500;
            font-size: 0.85rem;
            margin-bottom: 5px;
        }
        
        .file-item {
            display: grid;
            grid-template-columns: 35px 1fr 80px 100px;
            gap: 10px;
            align-items: center;
            padding: 8px 12px;
            border-bottom: 1px solid #f5f5f5;
            transition: background 0.2s;
            min-height: 45px;
        }
        
        .file-item:hover {
            background: #fffaf3;
        }
        
        .file-item:last-child {
            border-bottom: none;
        }
        
        .file-icon {
            font-size: 16px;
            text-align: center;
        }
        
        .folder-icon {
            color: #ffc107;
        }
        
        .file-icon-default {
            color: var(--primary);
        }
        
        .file-name {
            display: flex;
            align-items: center;
            min-width: 0;
        }
        
        .file-name a, .file-name span {
            color: var(--secondary);
            text-decoration: none;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 1;
            font-size: 0.9rem;
        }
        
        .file-name a:hover {
            color: var(--primary);
        }
        
        .owner-badge {
            background: var(--success);
            color: white;
            font-size: 9px;
            padding: 2px 5px;
            border-radius: 8px;
            margin-left: 5px;
            flex-shrink: 0;
        }
        
        .file-size {
            font-size: 0.8rem;
            color: #666;
            text-align: right;
        }
        
        .file-actions {
            display: flex;
            gap: 3px;
            justify-content: flex-end;
        }
        
        .btn-action {
            padding: 3px 6px;
            border: none;
            border-radius: 3px;
            font-size: 0.75rem;
            cursor: pointer;
            transition: all 0.2s;
            min-width: 35px;
        }
        
        .btn-download {
            background: var(--success);
            color: white;
        }
        
        .btn-delete {
            background: var(--danger);
            color: white;
        }
        
        .btn-download:hover, .btn-delete:hover {
            opacity: 0.8;
            transform: translateY(-1px);
        }
        
        .btn-disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        
        .btn-disabled:hover {
            transform: none;
            opacity: 1;
        }
        
        /* 状态消息 */
        .alert {
            padding: 10px 12px;
            border-radius: 5px;
            margin: 10px 0;
            display: flex;
            align-items: center;
            font-size: 0.85rem;
        }
        
        .alert-success {
            background-color: #d4edda;
            color: #155724;
            border-left: 3px solid var(--success);
        }
        
        .alert-error {
            background-color: #f8d7da;
            color: #721c24;
            border-left: 3px solid var(--danger);
        }
        
        .alert-warning {
            background-color: #fff3cd;
            color: #856404;
            border-left: 3px solid var(--warning);
        }
        
        /* 侧边栏样式 */
        .sidebar .card {
            margin-bottom: 15px;
        }
        
        .sidebar .card-body {
            padding: 12px;
        }
        
        .sys-info p, .instructions p {
            font-size: 0.85rem;
            margin-bottom: 6px;
            line-height: 1.4;
        }
        
        /* 登录页面 */
        .auth-container {
            max-width: 420px;
            margin: 40px 20px auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        .auth-header {
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            color: white;
            text-align: center;
            padding: 25px 20px;
        }
        
        .auth-header h1 {
            font-size: 1.6rem;
            margin-bottom: 8px;
        }
        
        .auth-body {
            padding: 25px;
        }
        
        .form-group {
            /*margin-bottom: 18px;*/
            margin: 18px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .form-control {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 0.95rem;
            transition: border 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 2px rgba(255, 127, 0, 0.2);
        }
        
        .btn-login {
    display: block;            /* 块级元素 */
    width: 300px;              /* 固定宽度，也可以用 max-width */
    max-width: 90%;            /* 小屏自适应 */
    margin: 0 auto;            /* 上下 0，左右居中 */
    padding: 10px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

        
        .btn-login:hover {
            opacity: 0.95;
            transform: translateY(-1px);
        }
        
        .auth-footer {
            text-align: center;
            padding: 15px;
            border-top: 1px solid var(--light-gray);
            color: #666;
            font-size: 0.85rem;
        }
        
        /* 移动端响应式 */
        @media (max-width: 768px) {
            body {
                padding: 8px;
            }
            
            header {
                padding: 12px;
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
            
            .logo-container {
                justify-content: center;
            }
            
            .header-text h1 {
                font-size: 1.2rem;
            }
            
            .user-info {
                text-align: center;
                font-size: 0.8rem;
            }
            
            .file-list-header,
            .file-item {
                grid-template-columns: 25px 1fr 50px;
                gap: 8px;
                padding: 6px 8px;
            }
            
            .file-size {
                display: none;
            }
            
            .btn-action {
                padding: 2px 4px;
                font-size: 0.7rem;
                min-width: 28px;
            }
            
            .upload-area {
                padding: 15px;
            }
            
            .upload-icon {
                font-size: 28px;
            }
            
            .upload-text h3 {
                font-size: 0.9rem;
            }
            
            .upload-text p {
                font-size: 0.8rem;
            }
            
            .breadcrumb {
                font-size: 0.8rem;
                padding: 6px 8px;
            }
        }
        
        /* 空状态样式 */
        .empty-state {
            text-align: center;
            padding: 30px 20px;
            color: #999;
            grid-column: 1 / -1;
        }
        
        .empty-state .empty-icon {
            font-size: 48px;
            margin-bottom: 10px;
            opacity: 0.5;
        }
        
        /* 加载状态 */
        .loading {
            text-align: center;
            padding: 20px;
            color: #666;
        }
        
        /* 下载模态框优化 */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .modal-content {
            background: white;
            border-radius: 8px;
            width: 100%;
            max-width: 450px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }
        
        .modal-header {
            background: var(--primary);
            color: white;
            padding: 12px 15px;
            font-size: 1.1rem;
            font-weight: 500;
        }
        
        .modal-body {
            padding: 20px;
        }
        
        .modal-footer {
            padding: 12px 20px;
            text-align: right;
            border-top: 1px solid var(--light-gray);
            background: #fafafa;
        }
        
        .btn-modal {
            padding: 6px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
            border: none;
            font-size: 0.9rem;
            transition: all 0.2s;
        }
        
        .btn-cancel {
            background: #e0e0e0;
            color: var(--secondary);
            margin-right: 8px;
        }
        
        .btn-confirm {
            background: var(--primary);
            color: white;
        }
        
        .btn-modal:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }