/* 下载中心页面样式 */

/* 页面容器 */
.download-center-page {
    background-image: linear-gradient(#78fff5, #68ffc5);
    position: relative;
}

.download-center-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* 页面标题区域 */
.page-header {
    text-align: center;
    padding: 0.8rem 0 0.1rem;
    margin-bottom: 0.2rem;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 0.52rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.12rem;
    font-family: 'Kinetika-Bold', sans-serif;
    letter-spacing: 0.02rem;
    text-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-0.2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 工具栏 */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.24rem 0.32rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0.16rem;
    margin-bottom: 0.24rem;
    box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: slideInUp 0.5s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(0.2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.24rem;
}

.toolbar-left {
    flex: 1;
    gap: 0.32rem;
}

/* 视图切换按钮 */
.view-mode {
    display: flex;
    gap: 0.08rem;
    background: #f5f5f5;
    padding: 0.04rem;
    border-radius: 0.08rem;
}

.view-btn {
    padding: 0.08rem 0.12rem;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 0.06rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.view-btn.active {
    background: #ffffff;
    color: #000;
    box-shadow: 0 0.02rem 0.04rem rgba(0, 0, 0, 0.1);
}

/* 选中信息 */
.selected-info {
    font-size: 0.14rem;
    color: #666;
}

.selected-count strong {
    color: #000;
    font-weight: bold;
}

/* 搜索框 */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0.2rem;
}

.search-input {
    padding: 0.08rem 0.4rem 0.08rem 0.12rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 0.06rem;
    font-size: 0.14rem;
    width: 2.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    width: 3rem;
}

.search-icon {
    position: absolute;
    right: 0.12rem;
    color: #999;
    pointer-events: none;
}

.search-input:focus + .search-icon {
    color: #667eea;
}

/* 工具栏按钮 */
.btn-select-all,
.btn-download-selected,
.btn-refresh {
    padding: 0.08rem 0.2rem;
    border: none;
    border-radius: 0.06rem;
    font-size: 0.14rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.06rem;
}

.btn-refresh {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-refresh:hover {
    background: linear-gradient(135deg, #5568d3 0%, #64398e 100%);
    transform: scale(1.05);
}

.btn-refresh:active {
    transform: scale(0.98);
}

.btn-refresh svg {
    transition: transform 0.3s ease;
}

.btn-refresh:hover svg {
    transform: rotate(180deg);
}

.btn-select-all {
    background: #f5f5f5;
    color: #333;
}

.btn-select-all:hover {
    background: #e0e0e0;
}

.btn-download-selected {
    background: #000;
    color: #fff;
}

.btn-download-selected:hover:not(:disabled) {
    background: #333;
}

.btn-download-selected:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 0.08rem 0.16rem;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.14rem;
    flex-wrap: nowrap;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 0.08rem;
}

.breadcrumb-item {
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.05rem 0.15rem;
    padding-right: 0.25rem;
    border-radius: 0.06rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    position: absolute;
    right: 0.08rem;
    color: #999;
    font-size: 0.16rem;
}

.breadcrumb-item:hover {
    color: #000;
    background: rgba(102, 126, 234, 0.1);
}

.breadcrumb-item.active {
    color: #000;
    font-weight: 500;
    cursor: default;
}

/* 文件容器 */
.file-container {
    display: grid;
    gap: 0.24rem;
    margin-bottom: 0.8rem;
    padding: 0 0.1rem;
}

/* 网格视图 */
.file-container.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(2rem, 1fr));
}

/* 列表视图 */
.file-container.list-view {
    grid-template-columns: 1fr;
}

/* 文件项 - 网格视图 */
.file-item {
    background: #ffffff;
    border-radius: 0.16rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.08);
    position: relative;
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 为每个文件项添加延迟动画 */
.file-item:nth-child(1) { animation-delay: 0.05s; }
.file-item:nth-child(2) { animation-delay: 0.1s; }
.file-item:nth-child(3) { animation-delay: 0.15s; }
.file-item:nth-child(4) { animation-delay: 0.2s; }
.file-item:nth-child(5) { animation-delay: 0.25s; }
.file-item:nth-child(6) { animation-delay: 0.3s; }

.file-item:hover {
    transform: translateY(-0.08rem) scale(1.02);
    box-shadow: 0 0.12rem 0.3rem rgba(0, 0, 0, 0.15);
}

.file-item.selected {
    border: 0.02rem solid #000;
    box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.15);
}

/* 文件夹样式 */
.file-item.folder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.file-item.folder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-item.folder:hover::before {
    opacity: 1;
}

.file-item.folder .file-icon {
    background: transparent;
}

.file-item.folder .file-name {
    color: #fff;
    font-weight: 600;
}

.file-item.folder .file-size {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* 文件夹下载图标（网格视图） */
.folder-download-icon {
    position: absolute;
    top: 0.12rem;
    right: 0.12rem;
    width: 0.4rem;
    height: 0.4rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.folder-download-icon svg {
    width: 0.24rem;
    height: 0.24rem;
    color: #667eea;
}

.file-item.folder:hover .folder-download-icon {
    opacity: 1;
    transform: scale(1.05);
}

.folder-download-icon:hover {
    background: #fff;
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.3);
    transform: scale(1.1) !important;
}

.folder-download-icon:active {
    transform: scale(0.95) !important;
}

/* 复选框 */
.file-checkbox {
    position: absolute;
    top: 0.1rem;
    left: 0.1rem;
    width: 0.2rem;
    height: 0.2rem;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-item:hover .file-checkbox,
.file-item.selected .file-checkbox {
    opacity: 1;
}

.file-checkbox input {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* 网格视图中的文件项 */
.grid-view .file-item {
    display: flex;
    flex-direction: column;
}

.grid-view .file-preview {
    width: 100%;
    height: 2rem;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.grid-view .file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-view .file-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

/* 文件夹图标 */
.file-icon.folder-icon {
    background: transparent;
    padding: 0.3rem;
}

.file-icon.folder-icon svg {
    width: 100%;
    height: 100%;
    max-width: 1.2rem;
    filter: drop-shadow(0 0.04rem 0.08rem rgba(0, 0, 0, 0.15));
}

/* 图片文件图标 */
.file-icon.image-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.file-icon.image-icon::before {
    content: '🖼️';
    font-size: 0.6rem;
}

/* PDF 文件图标 */
.file-icon.pdf-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.file-icon.pdf-icon::before {
    content: 'PDF';
    color: white;
    font-size: 0.24rem;
    font-weight: bold;
}

/* Word 文档图标 */
.file-icon.doc-icon {
    background: linear-gradient(135deg, #4c8bf5 0%, #2d5aad 100%);
}

.file-icon.doc-icon::before {
    content: 'DOC';
    color: white;
    font-size: 0.2rem;
    font-weight: bold;
}

/* Excel 文件图标 */
.file-icon.excel-icon {
    background: linear-gradient(135deg, #1d6f42 0%, #0f4d2a 100%);
}

.file-icon.excel-icon::before {
    content: 'XLS';
    color: white;
    font-size: 0.2rem;
    font-weight: bold;
}

/* PPT 文件图标 */
.file-icon.ppt-icon {
    background: linear-gradient(135deg, #d24726 0%, #a0371e 100%);
}

.file-icon.ppt-icon::before {
    content: 'PPT';
    color: white;
    font-size: 0.2rem;
    font-weight: bold;
}

/* 压缩文件图标 */
.file-icon.zip-icon {
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
}

.file-icon.zip-icon::before {
    content: '📦';
    font-size: 0.5rem;
}

/* 视频文件图标 */
.file-icon.video-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.file-icon.video-icon::before {
    content: '🎬';
    font-size: 0.5rem;
}

/* 音频文件图标 */
.file-icon.audio-icon {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
}

.file-icon.audio-icon::before {
    content: '🎵';
    font-size: 0.5rem;
}

/* 文本文件图标 */
.file-icon.text-icon {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.file-icon.text-icon::before {
    content: 'TXT';
    color: white;
    font-size: 0.2rem;
    font-weight: bold;
}

/* 通用文件图标 */
.file-icon.file-icon-default {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
}

.file-icon.file-icon-default::before {
    content: '📄';
    font-size: 0.5rem;
}

.grid-view .file-info {
    padding: 0.18rem 0.15rem;
}

.grid-view .file-name {
    font-size: 0.15rem;
    color: #333;
    margin-bottom: 0.08rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.4;
}

.grid-view .file-size {
    font-size: 0.13rem;
    color: #999;
}

/* 列表视图中的文件项 */
.list-view .file-item {
    display: flex;
    align-items: center;
    padding: 0.18rem 0.24rem;
    gap: 0.18rem;
}

.list-view .file-preview {
    width: 0.6rem;
    height: 0.6rem;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.06rem;
    background: #f5f5f5;
}

.list-view .file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-view .file-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.24rem;
    color: #999;
    border-radius: 0.06rem;
}

/* 列表视图中的文件夹图标 */
.list-view .file-icon.folder-icon {
    padding: 0.1rem;
}

.list-view .file-icon.folder-icon svg {
    max-width: 0.5rem;
}

/* 列表视图中文件图标字体大小调整 */
.list-view .file-icon.pdf-icon::before,
.list-view .file-icon.doc-icon::before,
.list-view .file-icon.excel-icon::before,
.list-view .file-icon.ppt-icon::before,
.list-view .file-icon.text-icon::before {
    font-size: 0.12rem;
}

.list-view .file-icon.image-icon::before,
.list-view .file-icon.zip-icon::before,
.list-view .file-icon.video-icon::before,
.list-view .file-icon.audio-icon::before,
.list-view .file-icon.file-icon-default::before {
    font-size: 0.28rem;
}

.list-view .file-info {
    flex: 1;
    min-width: 0;
}

.list-view .file-name {
    font-size: 0.15rem;
    color: #333;
    margin-bottom: 0.03rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.list-view .file-size {
    font-size: 0.12rem;
    color: #999;
}

.list-view .file-actions {
    display: flex;
    gap: 0.1rem;
}

.list-view .btn-download,
.list-view .btn-preview {
    padding: 0.06rem 0.15rem;
    border: none;
    border-radius: 0.04rem;
    font-size: 0.12rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f5f5;
    color: #333;
}

.list-view .btn-download:hover,
.list-view .btn-preview:hover {
    background: #e0e0e0;
}

/* 加载和空状态 */
.loading-state,
.empty-state {
    text-align: center;
    padding: 1rem 0;
    color: #999;
}

.spinner {
    width: 0.4rem;
    height: 0.4rem;
    border: 0.04rem solid #f3f3f3;
    border-top: 0.04rem solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 0.2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state svg {
    margin: 0 auto 0.2rem;
}

.empty-state p {
    font-size: 0.16rem;
    color: #999;
}

/* 错误状态 */
.error-state {
    text-align: center;
    padding: 1rem 0;
    color: #ff4d4f;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.16rem;
    margin: 0.2rem 0;
    box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.1);
}

.error-state svg {
    margin: 0 auto 0.2rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error-message {
    font-size: 0.16rem;
    color: #ff4d4f;
    margin: 0.2rem 0;
    font-weight: 500;
}

.btn-retry {
    margin-top: 0.2rem;
    padding: 0.1rem 0.3rem;
    border: none;
    border-radius: 0.06rem;
    font-size: 0.14rem;
    cursor: pointer;
    background: #ff4d4f;
    color: #fff;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-retry:hover {
    background: #ff7875;
    transform: translateY(-0.02rem);
    box-shadow: 0 0.04rem 0.12rem rgba(255, 77, 79, 0.3);
}

/* 图片预览模态框 */
.image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.modal-content {
    position: relative;
    z-index: 10000;
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    border-radius: 0.12rem;
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: 0.15rem;
    right: 0.15rem;
    width: 0.36rem;
    height: 0.36rem;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.24rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.preview-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin-bottom: 0.2rem;
}

.image-info {
    text-align: center;
    margin-bottom: 0.2rem;
}

.image-name {
    font-size: 0.18rem;
    color: #333;
    margin-bottom: 0.08rem;
    font-weight: 500;
}

.image-size {
    font-size: 0.14rem;
    color: #999;
}

.modal-actions {
    display: flex;
    gap: 0.15rem;
}

.btn-download-single {
    padding: 0.1rem 0.3rem;
    border: none;
    border-radius: 0.06rem;
    font-size: 0.15rem;
    cursor: pointer;
    background: #000;
    color: #fff;
    transition: background 0.3s ease;
    font-weight: 500;
}

.btn-download-single:hover {
    background: #333;
}

/* 响应式设计 - 移动端 */
@media screen and (max-width: 750px) {
    .download-center-page {
        padding-bottom: 0.3rem;
    }

    .page-header {
        padding: 0.5rem 0.2rem 0.05rem;
    }

    .page-title {
        font-size: 0.36rem;
    }

    .toolbar {
        flex-direction: column;
        gap: 0.15rem;
        padding: 0.15rem 0.2rem;
    }

    .toolbar-left {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
    }

    .toolbar-left .breadcrumb {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .file-container.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(1.5rem, 1fr));
        padding: 0 0.15rem;
    }

    .grid-view .file-preview {
        height: 1.5rem;
    }

    .list-view .file-item {
        padding: 0.12rem 0.15rem;
    }

    .modal-content {
        max-width: 95%;
        max-height: 95%;
        padding: 0.2rem;
    }

    .preview-image {
        max-height: 60vh;
    }
}

/* ==================== 下载进度弹窗 ==================== */
.download-progress-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.04rem);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    display: none;
}

.download-progress-content {
    background: white;
    border-radius: 0.16rem;
    padding: 0.4rem;
    min-width: 4rem;
    max-width: 90%;
    box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: modalSlideIn 0.3s ease-out;
}

.download-progress-icon {
    margin-bottom: 0.2rem;
    animation: downloadBounce 1s ease-in-out infinite;
}

.download-progress-icon svg {
    width: 0.48rem;
    height: 0.48rem;
}

.download-progress-text {
    font-size: 0.16rem;
    color: #333;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.download-progress-bar {
    width: 100%;
    height: 0.08rem;
    background: #f0f0f0;
    border-radius: 0.04rem;
    overflow: hidden;
    margin-bottom: 0.12rem;
}

.download-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2196F3 0%, #1976D2 100%);
    border-radius: 0.04rem;
    transition: width 0.3s ease;
    box-shadow: 0 0 0.08rem rgba(33, 150, 243, 0.5);
}

.download-progress-percent {
    font-size: 0.14rem;
    color: #666;
    font-weight: 500;
}

@keyframes downloadBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.08rem);
    }
}

/* ==================== Toast 提示 ==================== */
.toast {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(-1rem);
    background: white;
    padding: 0.16rem 0.32rem;
    border-radius: 0.08rem;
    box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.15);
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    min-width: 2rem;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-message {
    font-size: 0.15rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
}

.toast-info {
    border-left: 0.04rem solid #2196F3;
}

.toast-info .toast-message {
    color: #2196F3;
}

.toast-success {
    border-left: 0.04rem solid #4CAF50;
}

.toast-success .toast-message {
    color: #4CAF50;
}

.toast-warning {
    border-left: 0.04rem solid #FF9800;
}

.toast-warning .toast-message {
    color: #FF9800;
}

.toast-error {
    border-left: 0.04rem solid #F44336;
}

.toast-error .toast-message {
    color: #F44336;
}

/* Toast 响应式 */
@media (max-width: 768px) {
    .toast {
        top: 0.8rem;
        min-width: 60%;
        max-width: 90%;
    }
    
    .download-progress-content {
        min-width: 3rem;
        padding: 0.3rem;
    }
}

/* ===================================
   下载加载弹窗
   =================================== */

.download-loading-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.download-loading-modal.show {
    display: flex;
}

.download-loading-content {
    background: white;
    padding: 40px 60px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.3s ease;
}

.download-loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #1abc9c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.download-loading-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


