﻿
 .page-title {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
    font-family: "iconfont" !important;
}
/* 通知栏样式 */
.notice-bar {
    background-color: #fff9e6;
    border: 1px solid #ffe082;
    padding: 10px 15px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.notice-bar .warning-icon {
    color: #ffb300;
    font-weight: bold;
    margin-right: 8px;
}

.notice-bar a {
    color: #007bff;
    text-decoration: underline;
    margin-left: 5px;
    cursor: pointer;
}

/* 上传区域样式 */
.upload-area {
    text-align: center;
    margin-bottom: 30px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 3rem 2rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

/*.upload-area:hover {*/
/*    border-color: #007bff;*/
/*    background: #e7f3ff;*/
/*}*/

.upload-area.dragover {
    border-color: #007bff;
    background: #e7f3ff;
}

.upload-area .plus-icon {
    font-size: 36px;
    color: #ccc;
    margin-bottom: 15px;
}

.upload-area .upload-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: default;
    font-size: 14px;
    margin-bottom: 10px;
}

.upload-area .upload-btn:hover {
    background-color: #0056b3;
    cursor: pointer;
}

.upload-area .tips {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.upload-area .tips .file-types {
    color: #dc3545;
}

/* 选中文件显示 */
.selected-file {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #e7f3ff;
    border: 1px solid #007bff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.file-icon {
    font-size: 2rem;
    color: #007bff;
}

.file-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

/* 限制说明样式 */
.restriction-box {
    border: 1px solid #ddd;
    padding: 15px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin-top: 30px;
}

.restriction-box .forbidden {
    color: #dc3545;
}

.restriction-box a {
    color: #007bff;
    text-decoration: underline;
}

/* 应用信息区域 */
.app-info-area {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.app-info-area h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

/* 圆形上传进度条样式 */
#simpleUploadProgress {
    animation: fadeIn 0.3s ease-in;
    display: none;
    text-align: center;
    margin-bottom: 30px;
}

#simpleUploadProgress .card {
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

/* SVG圆形进度条容器 */
.circular-progress {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

/* 进度文本 */
.progress-text {
    position: absolute;
    top: 60%;
    left: 52%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

/* 状态文本 */
.status-text {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}

/* 应用图标在进度环内 */
.progress-app-icon {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#extractedInfo {
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

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

.mb-1 {
    margin-bottom: .85rem !important;
}

/* 隐藏元素 */
#dummyBrowseBtn {
    display: none;
}

/* 头部模式标识 */
.upload-mode {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-mode.local {
    background-color: #007bff;
    color: white;
}

.upload-mode.qiniu {
    background-color: #28a745;
    color: white;
}

/* 上传进度弹窗样式 */
.upload-progress-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.upload-progress-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.upload-progress-content {
    position: relative;
    width: 90%;
    max-width: 420px;
    margin: 80px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.upload-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0 20px;
    margin-bottom: 16px;
}

.upload-progress-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
}

.upload-progress-header h3::before {
    content: '📤';
    margin-right: 8px;
}

.upload-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    font-size: 18px;
    transition: all 0.2s ease;
}

.upload-close-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.upload-progress-body {
    padding: 0 20px 20px 20px;
}

/* 应用信息区域 */
.upload-app-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.app-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-icon-container {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.app-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 24px;
}

.app-details {
    flex: 1;
}

.app-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 3px;
}

.app-package,
.app-version {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 2px;
}

/* 进度条区域 */
.upload-progress-section {
    margin-bottom: 20px;
}

/* 圆形进度条容器 */
.circular-progress-container {
    display: flex;
    justify-content: center;
    margin-bottom: -24px;
}

.circular-progress {
    position: relative;
    width: 140px;
    height: 140px;
}

.circular-progress svg {
    width: 100%;
    height: 100%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

/* 线性进度条 */
.linear-progress-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.progress-percent {
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar-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: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #6b7280;
}

.upload-speed {
    color: #059669;
    font-weight: 500;
}

/* 状态信息区域 */
.upload-status-section {
    text-align: center;
}

.status-message {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 12px;
}

.upload-tips {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    background: #fef3c7;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #fcd34d;
}

.upload-tips i {
    color: #d97706;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .upload-progress-content {
        width: 95%;
        margin: 40px auto;
    }

    .upload-progress-header {
        padding: 16px 16px 0 16px;
    }

    .upload-progress-body {
        padding: 0 16px 16px 16px;
    }

    .circular-progress {
        width: 150px;
        height: 150px;
    }

    .circular-progress svg {
        width: 150px;
        height: 150px;
    }

    .progress-text {
        font-size: 24px;
    }

    .app-info-row {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .app-details {
        text-align: center;
    }
}

/* 模态框打开时禁用滚动 */
.modal-open {
    overflow: hidden;
}