* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}
.header h1 {
    font-size: 28px;
    color: #333;
}
.user-info {
    font-size: 14px;
    color: #666;
    text-align: right;
}
.toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}
.btn-primary {
    background-color: #0066cc;
    color: white;
}
.btn-primary:hover {
    background-color: #0052a3;
}
.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}
.btn-secondary:hover {
    background-color: #e0e0e0;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.btn-danger {
    background-color: #dc3545;
    color: white;
}
.btn-danger:hover {
    background-color: #c82333;
}
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 8px;
    font-size: 14px;
}
.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb .separator {
    color: #999;
}
.breadcrumb .current {
    color: #666;
}
.file-list {
    display: grid;
    gap: 12px;
}
.item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.item:hover {
    background-color: #f9f9f9;
}
.item-icon {
    font-size: 20px;
    width: 30px;
    text-align: center;
}
.item-info {
    flex: 1;
}
.item-name {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}
.item-name:hover {
    text-decoration: underline;
}
.item-size {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.item-checkbox {
    margin-right: 8px;
}
.item-actions {
    margin-left: auto;
    display: flex;
    gap: 5px;
}
.icon-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    color: #666;
}
.icon-btn:hover {
    background-color: #f0f0f0;
    color: #0066cc;
}
.empty {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}
.section-title {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}
.batch-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 15px;
}
.selected-count {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
}
.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h2 {
    font-size: 18px;
    color: #333;
}
.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.modal-body {
    padding: 20px;
}
.modal-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.upload-area {
    border: 2px dashed #0066cc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}
.upload-area:hover {
    background-color: #f0f7ff;
}
.upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
}
.error-message {
    background-color: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.selected-files {
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}
.file-list-preview {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
}
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}
.file-item-name {
    font-size: 14px;
    color: #333;
}
.file-item-size {
    font-size: 12px;
    color: #999;
}
.remove-file-btn {
    background: none;
    border: none;
    color: #c33;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}
.progress-container {
    margin-top: 15px;
    display: none;
}
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background-color: #0066cc;
    width: 0%;
    transition: width 0.2s;
}
.progress-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: right;
}
/* 进度条等待动画 */
.progress-fill.progress-waiting {
    background-image: linear-gradient(45deg, 
        rgba(255,255,255,0.15) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255,255,255,0.15) 50%, 
        rgba(255,255,255,0.15) 75%, 
        transparent 75%, 
        transparent);
    background-size: 40px 40px;
    animation: progress-bar-stripes 1s linear infinite;
}
@keyframes progress-bar-stripes {
    from { background-position: 40px 0; }
    to { background-position: 0 0; }
}

