/* 基础样式与布局 - 宽屏设计，白色背景 */
.oak-upload-page {
    background-color: #ffffff; /* 白色背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    margin: 0;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

/* 宽屏容器 - 更宽的最大宽度 */
.oak-upload-container {
    width: 100%;
    max-width: 1200px; /* 宽屏效果 */
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    padding: 50px;
    border: 1px solid #f0f0f0;
}

/* 主标题样式 */
.oak-upload-main-title {
    color: #2d3748;
    text-align: center;
    margin: 0 0 40px 0;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}

.oak-upload-main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #165DFF, #0E42D2); /* 指定颜色渐变 */
    border-radius: 3px;
}

/* 上传区域样式 - 宽而不高 */
.oak-upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px; /* 控制高度 */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #fafafa;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 上传区域悬停效果 - 使用指定颜色 */
.oak-upload-area:hover, .oak-upload-area.drag-over {
    border-color: #165DFF; /* 主色 */
    background-color: rgba(22, 93, 255, 0.03); /* 主色透明背景 */
}

/* 上传图标样式 - 使用指定颜色 */
.oak-upload-icon {
    color: #165DFF; /* 主色 */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.oak-upload-icon i {
    font-size: 60px;
}

.oak-upload-area:hover .oak-upload-icon {
    transform: scale(1.05);
    color: #0E42D2; /* 深色 */
}

/* 上传区域文本样式 */
.oak-upload-title {
    font-size: 1.4rem;
    color: #2d3748;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.oak-upload-description {
    color: #718096;
    margin: 0;
    font-size: 0.95rem;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

/* 进度条样式 - 宽屏设计，使用指定颜色 */
.oak-upload-progress-container {
    margin-top: 30px;
    padding: 20px 25px;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.oak-upload-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.oak-upload-progress-title {
    margin: 0;
    color: #2d3748;
    font-size: 1rem;
    font-weight: 600;
}

.oak-upload-progress-percentage {
    font-weight: 600;
    color: #165DFF; /* 主色 */
}

.oak-upload-progress-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

/* 进度条填充 - 使用指定颜色渐变 */
.oak-upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #165DFF, #0E42D2); /* 指定颜色渐变 */
    border-radius: 4px;
    transition: width 0.3s ease;
}

.oak-upload-progress-filename {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #718096;
}

/* 结果区域样式 - 宽屏布局 */
.oak-upload-result-container {
    margin-top: 30px;
    padding: 25px;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    animation: fadeIn 0.5s ease;
}

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

.oak-upload-result-header {
    margin-bottom: 20px;
    text-align: center;
}

.oak-upload-result-title {
    margin: 0 0 8px 0;
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
}

.oak-upload-result-subtitle {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
}

.oak-upload-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.oak-upload-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.oak-upload-file-item:hover {
    transform: translateX(3px);
}

.oak-upload-file-name {
    font-weight: 500;
    margin: 0;
    color: #2d3748;
    font-size: 0.95rem;
}

/* 复制按钮样式 - 使用指定指定颜色 */
.oak-upload-copy-btn {
    background-color: transparent;
    color: #165DFF; /* 主色 */
    border: 1px solid #165DFF; /* 主色边框 */
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.oak-upload-copy-btn:hover {
    background-color: #165DFF; /* 主色背景 */
    color: white;
    border-color: #0E42D2; /* 深色边框 */
    box-shadow: 0 3px 10px rgba(22, 93, 255, 0.2);
}

.oak-upload-copy-btn.copied {
    background-color: #0E42D2; /* 深色背景 */
    border-color: #0E42D2; /* 深色边框 */
    color: white;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .oak-upload-container {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .oak-upload-container {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .oak-upload-description {
        max-width: 90%;
    }
    
    .oak-upload-file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .oak-upload-copy-btn {
        align-self: flex-end;
    }
}