/* 文档上传功能样式 */

/* 上传按钮样式 */
.upload-doc-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.upload-doc-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.upload-doc-btn:active {
    transform: translateY(0);
}

/* 文档上传模态框 */
.doc-upload-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.doc-upload-modal.active {
    opacity: 1;
    visibility: visible;
}

.doc-upload-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 1200px;
    height: auto;
    max-height: 90vh;
    position: relative;
    animation: modalEnter 0.3s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

/* 中等屏幕适配 */
@media (max-width: 1024px) {
    .doc-upload-left {
        width: 250px;
    }
    
    .decoration-content h3 {
        font-size: 20px;
    }
    
    .decoration-content p {
        font-size: 14px;
    }
    
    .feature-item span:last-child {
        font-size: 13px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .doc-upload-content {
        width: 95%;
        max-width: none;
        max-height: 95vh;
    }
    
    .doc-upload-main {
        flex-direction: column;
        min-height: auto;
    }
    
    .doc-upload-left {
        display: none !important; /* 手机端强制隐藏左侧装饰区域 */
    }
    
    .doc-upload-right {
        background: white;
        border-left: none;
        border-top: none; /* 移除顶部边框 */
        padding: 0;
        max-height: none;
        overflow: visible;
        width: 100%; /* 右侧内容区域占满全宽 */
        border-radius: 12px; /* 添加顶部圆角 */
    }
    
    .decoration-content h3 {
        font-size: 20px;
    }
    
    .decoration-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .decoration-features {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 4px;
        padding: 6px 8px;
        text-align: center;
        min-width: 70px;
    }
    
    .feature-item span:last-child {
        font-size: 12px;
    }
    
    .doc-upload-content-area {
        padding: 20px;
        overflow-y: visible;
    }
    
    .doc-upload-footer {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        display: flex;
    }
    
    .doc-footer-actions {
        justify-content: center;
        gap: 10px;
        width: 100%;
        order: 1;
    }
    
    .doc-footer-actions .doc-btn {
        flex: 1;
        font-weight: 600;
    }
    
    /* 移动端取消按钮放在最后 */
    .doc-upload-footer .doc-btn-secondary {
        order: 2;
        width: 100%;
    }
    
    .doc-tab {
        padding: 14px 16px;
        font-size: 14px;
        font-weight: 700; /* 移动端使用加粗 */
        letter-spacing: 0.025em;
        border: 2px solid #e2e8f0; /* 浅灰四边框 */
        border-radius: 6px;
    }
    
    .doc-tab.active {
        font-weight: 800; /* 激活状态更加粗 */
        border: 2px solid #3b82f6; /* 蓝色四边描边框 */
    }
    
    .doc-tab-navigation {
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
        gap: 6px;
        padding: 6px;
        border-radius: 12px 12px 0 0; /* 添加顶部圆角 */
    }
    
    .doc-tab-navigation::before {
        height: 1.5px;
    }
    
    /* 移动端按钮区域优化 */
    .doc-upload-footer #docReuploadBtn {
        order: 0;
        margin-bottom: 8px;
        width: 100%;
    }
    
    /* 移动端取消按钮放在最后 */
    .doc-upload-footer .doc-btn-secondary {
        order: 2;
        width: 100%;
    }
}

@media (max-height: 600px) {
    .doc-upload-content {
        max-height: 95vh;
    }
    
    .doc-upload-header {
        padding: 16px 20px;
    }
    

    
    .doc-upload-content-area {
        padding: 16px 20px;
        overflow-y: visible;
    }
    
    .doc-upload-footer {
        padding: 12px 16px;
    }
    
    .doc-upload-section,
    .doc-history-tab {
        padding: 16px 20px;
    }
    
    .doc-tab {
        padding: 12px 16px;
        font-size: 13px;
        font-weight: 600; /* 小高度屏幕稍微减轻 */
        border: 2px solid #e2e8f0; /* 浅灰四边框 */
        border-radius: 6px;
    }
    
    .doc-tab.active {
        font-weight: 700; /* 激活状态适度加粗 */
        border: 2px solid #3b82f6; /* 蓝色四边描边框 */
    }
    
    .doc-tab-navigation::before {
        height: 1px;
    }

    .doc-upload-left {
        display: none !important; /* 小高度屏幕也强制隐藏左侧装饰区域 */
    }
    
    .doc-upload-right {
        padding: 0;
        max-height: none;
        overflow: visible;
        width: 100%; /* 占满全宽 */
        border-radius: 12px; /* 添加圆角 */
    }
    
    .doc-tab-navigation {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        gap: 5px;
        padding: 5px;
        border-radius: 12px 12px 0 0; /* 添加顶部圆角 */
    }
}

/* 专门针对小屏幕设备强制隐藏装饰区域 */
@media (max-width: 480px) {
    .doc-upload-left {
        display: none !important;
        width: 0 !important;
        padding: 0 !important;
    }
    
    .doc-upload-main {
        flex-direction: column !important;
    }
    
    .doc-upload-right {
        width: 100% !important;
        flex: none !important;
    }
}

.doc-upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
    background: white;
    border-radius: 12px 12px 0 0;
}

/* 滚动内容容器样式 - 应用到右侧内容区域 */
.doc-upload-right::-webkit-scrollbar {
    width: 6px;
}

.doc-upload-right::-webkit-scrollbar-track {
    background: #f8fafc;
}

.doc-upload-right::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.doc-upload-right::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 上传文档区域 */
.doc-upload-section {
    padding: 0;
}

/* 配置区域优化 */
.doc-config-section {
    margin-bottom: 24px;
}

.doc-config-section:last-child {
    margin-bottom: 0;
}

/* 文档上传区域优化 */
.doc-upload-area {
    margin-top: 16px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 滚动条样式优化 */
.doc-upload-content-area::-webkit-scrollbar {
    width: 6px;
}

.doc-upload-content-area::-webkit-scrollbar-track {
    background: #f8fafc;
}

.doc-upload-content-area::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.doc-upload-content-area::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.doc-upload-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #374151;
}

.doc-upload-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    color: #6b7280;
    transition: all 0.2s ease;
}

.doc-upload-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* 标签页导航 */
/* 配置区域 */
.doc-config-section {
    padding: 12px 24px 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.doc-config-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

.doc-config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* 模式选择 */
.doc-mode-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-mode-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.doc-mode-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.doc-mode-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.doc-mode-option input[type="radio"] {
    margin: 0;
    accent-color: #3b82f6;
    cursor: pointer;
}



.doc-mode-info {
    flex: 1;
}

.doc-mode-name {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    margin-bottom: 4px;
}

.doc-mode-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* 平台选择 */
.doc-platform-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.doc-platform-option {
    position: relative;
}

.doc-platform-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.doc-platform-option label {
    display: block;
    padding: 8px 6px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.doc-platform-option:hover label {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.doc-platform-option input[type="radio"]:checked + label {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
}

/* 上传区域 */
.doc-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.doc-upload-area:hover {
    border-color: #9ca3af;
    background: #f5f5f5;
}

.doc-upload-area.dragover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.doc-upload-area.disabled {
    border-color: #d1d5db;
    background: #f9fafb;
    cursor: not-allowed;
    opacity: 0.6;
}

.doc-upload-area.disabled .doc-upload-text {
    color: #9ca3af;
}

.doc-upload-area.disabled .doc-upload-hint {
    color: #d1d5db;
}

.doc-upload-area.disabled .doc-upload-icon {
    opacity: 0.4;
}

.doc-upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.doc-upload-text {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.doc-upload-hint {
    font-size: 14px;
    color: #6b7280;
}

.doc-file-input {
    display: none;
}

/* 文件信息显示 */
.doc-file-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    display: none;
    transition: all 0.3s ease;
}

.doc-file-info.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.3s ease;
}

.doc-file-name {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    word-break: break-all;
}

/* 文件名和配置显示容器 */
.doc-file-name-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.doc-file-name-text {
    font-weight: 600;
    color: #495057;
    word-break: break-all;
    line-height: 1.4;
}

.doc-config-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.doc-config-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid;
    transition: all 0.2s ease;
}

.doc-mode-badge {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    border-color: #90caf9;
}

.doc-platform-badge {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    color: #ea580c;
    border-color: #fb923c;
}

.doc-config-badge i {
    font-size: 10px;
    opacity: 0.8;
}

/* 响应式适配 */
@media (min-width: 640px) {
    .doc-file-name-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
    }
    
    .doc-file-name-text {
        flex: 1;
        min-width: 0;
    }
    
    .doc-config-display {
        flex-shrink: 0;
        gap: 6px;
    }
    
    .doc-config-badge {
        font-size: 11px;
        padding: 3px 7px;
    }
}

/* 文件详情样式 */
.doc-file-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}

.doc-actual-chars {
    font-weight: 600;
    color: #495057;
    display: none; /* 初始隐藏，有实际字数时才显示 */
}

.doc-actual-chars.show {
    display: block;
}

.doc-char-count {
    color: #28a745;
}

/* 进度条 */
.doc-progress-container {
    margin-top: 16px;
    display: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.doc-progress-container.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.3s ease;
}

/* 错误和成功消息区域 */
#docErrorMessage,
#docSuccessMessage {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
    transition: all 0.3s ease;
}

#docErrorMessage {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

#docSuccessMessage {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

#docErrorMessage.show,
#docSuccessMessage.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* 成功消息中的下载按钮 */
#docSuccessMessage .download-btn {
    margin-top: 12px;
    padding: 8px 12px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#docSuccessMessage .download-btn:hover {
    background: #059669;
}

/* 动画定义 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 下载区域样式 */
.download-container {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    animation: fadeInUp 0.3s ease;
}

.download-header h4 {
    margin: 0 0 8px 0;
    color: #0369a1;
    font-size: 16px;
    font-weight: 600;
}

.download-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.download-actions {
    display: flex;
    gap: 12px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.download-btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.download-btn.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.download-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.download-btn.secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.download-btn.secondary:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.download-btn.tertiary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.download-btn.tertiary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.download-note {
    color: #64748b;
    font-size: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.doc-progress-bar {
    width: 100%;
    height: 12px;
    background-color: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.doc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* 进度条流光效果 */
.doc-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.doc-progress-text {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 进度表情动画 */
.progress-emoji {
    font-size: 18px;
    display: inline-block;
    animation: bounce 1.5s ease-in-out infinite;
}

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

/* 表情弹跳动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.1);
    }
    60% {
        transform: translateY(-4px) scale(1.05);
    }
}

/* 不同表情的特殊动画 */
.progress-emoji.fire {
    animation: flicker 0.8s ease-in-out infinite alternate;
}

.progress-emoji.lightning {
    animation: flash 0.6s ease-in-out infinite;
}

.progress-emoji.rocket {
    animation: rocket 1.2s ease-in-out infinite;
}

.progress-emoji.star {
    animation: twinkle 1s ease-in-out infinite;
}

.progress-emoji.celebrate {
    animation: celebrate 0.8s ease-in-out infinite;
}

/* 闪烁动画 - 火焰 */
@keyframes flicker {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* 闪电动画 */
@keyframes flash {
    0%, 50%, 100% { opacity: 1; transform: scale(1); }
    25%, 75% { opacity: 0.7; transform: scale(1.2); }
}

/* 火箭动画 */
@keyframes rocket {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-5deg); }
    50% { transform: translateY(-6px) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* 星星闪烁动画 */
@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.3); }
}

/* 庆祝动画 */
@keyframes celebrate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-10deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    75% { transform: scale(1.1) rotate(10deg); }
}

/* 横向主体布局 */
.doc-upload-main {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 500px;
}

.doc-upload-left {
    width: 300px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    flex-shrink: 0;
}

.doc-upload-right {
    flex: 1;
    background: white;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    max-height: calc(90vh - 80px); /* 减去header高度 */
    position: relative;
    min-width: 0; /* 防止flex内容溢出 */
}

/* 左侧装饰区域样式 */
.doc-upload-decoration {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.decoration-content {
    max-width: 250px;
}

.decoration-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.decoration-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.decoration-content p {
    font-size: 16px;
    margin: 0 0 24px 0;
    opacity: 0.9;
    line-height: 1.5;
}

.decoration-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 18px;
}

.feature-item span:last-child {
    font-size: 14px;
    font-weight: 500;
}

/* 左侧区域装饰背景 */
.doc-upload-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .doc-upload-left {
        width: 350px;
    }
    
    .decoration-icon {
        font-size: 72px;
    }
    
    .decoration-content h3 {
        font-size: 28px;
    }
    
    .decoration-content p {
        font-size: 18px;
    }
    
    .feature-item {
        padding: 10px 14px;
    }
    
    .feature-item span:last-child {
        font-size: 15px;
    }
}

/* 标签页导航 */
.doc-tab-navigation {
    display: flex;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #d1d5db;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    gap: 8px;
    padding: 8px;
}

.doc-tab-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
}

.doc-tab {
    flex: 1;
    padding: 18px 24px;
    background: transparent;
    border: 2px solid #e2e8f0; /* 浅灰四边框 */
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700; /* 文字加粗 */
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.025em;
}

.doc-tab:hover {
    color: #475569;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.doc-tab.active {
    color: #1e40af;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #3b82f6; /* 蓝色四边描边框 */
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1;
    position: relative;
    font-weight: 800; /* 激活状态更加粗 */
}

/* 内容区域 */
.doc-upload-content-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    position: relative;
}

/* 底部按钮区域 */
.doc-upload-footer {
    border-top: 1px solid #d1d5db;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.doc-upload-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #cbd5e1 20%, #cbd5e1 80%, transparent 100%);
}

.doc-footer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 取消按钮独立在右边 */
.doc-upload-footer .doc-btn-secondary {
    grid-column: 3;
}

/* 上传文档按钮居中显示 */
.doc-footer-actions #docProcessBtn {
    margin-right: auto;
    margin-left: auto;
}

/* 旧的水平布局样式 - 仅用于移动端 */
.doc-upload-actions.horizontal {
    padding: 20px 24px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
    background: white;
    border-radius: 0 0 12px 12px;
}

/* 重新上传按钮在footer中的样式 */
.doc-upload-footer #docReuploadBtn {
    /* 按钮已在左侧通过justify-content: space-between布局 */
}

.doc-btn {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    white-space: nowrap;
    flex-shrink: 0;
}

.doc-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    font-weight: 600;
}

.doc-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

.doc-btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 成功状态按钮样式 */
.doc-btn.success,
.doc-upload-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
    animation: pulse-success 2s ease-in-out infinite;
}

.doc-btn.success:hover,
.doc-upload-btn.success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4);
    animation: none;
}

/* 成功按钮脉冲动画 */
@keyframes pulse-success {
    0%, 100% {
        box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
        transform: scale(1.02);
    }
}

.doc-btn-secondary {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    border: 1px solid #cbd5e1;
    font-weight: 600;
}

.doc-btn-secondary:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.doc-btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    font-weight: 600;
    transition: all 0.3s ease;
}

.doc-btn-outline:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* 历史记录标签页 */
.doc-history-tab {
    padding: 24px;
    display: none;
}

.doc-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.doc-history-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-refresh-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doc-refresh-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* 历史记录列表 - 简洁设计 */
.doc-history-list {
    max-height: 500px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
}

.doc-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.doc-history-item:last-child {
    border-bottom: none;
}

.doc-history-item:hover {
    background-color: #f8fafc;
}

.doc-history-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.doc-history-file-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.doc-history-file-info {
    flex: 1;
    min-width: 0;
}

.doc-history-filename {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
    word-break: break-word;
    line-height: 1.4;
}

.doc-history-meta {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.doc-history-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.doc-status-simple {
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.doc-status-completed {
    background: #dcfce7;
    color: #166534;
}

.doc-status-processing {
    background: #fef3c7;
    color: #92400e;
}

.doc-status-pending {
    background: #e0e7ff;
    color: #3730a3;
}

.doc-status-failed {
    background: #fef2f2;
    color: #dc2626;
}

.doc-actions-simple {
    display: flex;
    gap: 8px;
}

.doc-btn-simple {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.doc-btn-download {
    background: #10b981;
    color: white;
}

.doc-btn-download:hover {
    background: #059669;
}

.doc-btn-details {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.doc-btn-details:hover {
    background: #e5e7eb;
}

/* 空状态 */
.doc-no-history {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.doc-no-history-icon span {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.6;
}

.doc-no-history h4 {
    margin: 12px 0 8px 0;
    color: #374151;
    font-size: 18px;
    font-weight: 600;
}

.doc-no-history p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* 错误状态 */
.doc-history-error {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.doc-error-icon span {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.6;
}

.doc-history-error h4 {
    margin: 12px 0 8px 0;
    color: #374151;
    font-size: 18px;
    font-weight: 600;
}

.doc-history-error p {
    margin: 0 0 16px 0;
    color: #6b7280;
    font-size: 14px;
}

.doc-retry-btn {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.doc-retry-btn:hover {
    background: #2563eb;
}

/* 加载状态 */
.doc-history-loading {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 分页 */
.doc-history-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.doc-page-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.doc-page-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.doc-page-btn:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.doc-page-info {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .doc-history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .doc-history-item-left {
        width: 100%;
    }
    
    .doc-history-item-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .doc-history-meta {
        font-size: 12px;
        gap: 8px;
    }
    
    .doc-actions-simple {
        gap: 6px;
    }
    
    .doc-btn-simple {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* 错误状态 */
.doc-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* 成功状态 */
.doc-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* 加载状态 */
.doc-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.doc-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 确认界面样式 */
.doc-confirmation {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.doc-confirmation h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.doc-info-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 15px;
}

.doc-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.doc-info-item .label {
    font-weight: 500;
    color: #6c757d;
    font-size: 14px;
}

.doc-info-item .value {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.doc-info-item .value.cost {
    color: #dc3545;
    font-size: 16px;
}

.doc-balance-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 6px;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #bbdefb;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.balance-item .label {
    font-weight: 500;
    color: #1976d2;
    font-size: 14px;
}

.balance-item .value {
    font-weight: 600;
    color: #0d47a1;
    font-size: 14px;
}

.doc-confirmation-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.doc-confirmation-actions .doc-btn {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 费用信息样式 */
.doc-cost-info {
    background: linear-gradient(135deg, #e8f5e9 0%, #f3e5f5 100%);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #c8e6c9;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.cost-item .label {
    font-weight: 500;
    color: #2e7d32;
    font-size: 14px;
}

.cost-item .value {
    font-weight: 600;
    color: #1b5e20;
    font-size: 14px;
}

.cost-item .value.cost {
    color: #d32f2f;
    font-size: 16px;
    font-weight: 700;
}

/* 文档详情弹窗样式 */
.doc-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    animation: fadeIn 0.3s ease;
}

.doc-details-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.doc-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px 12px 0 0;
}

.doc-details-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-details-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #6b7280;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-details-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.doc-details-body {
    padding: 24px;
}

.doc-detail-section {
    margin-bottom: 24px;
}

.doc-detail-section:last-child {
    margin-bottom: 0;
}

.doc-detail-section h5 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.doc-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.doc-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doc-detail-item label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    word-break: break-all;
}

.doc-task-id {
    font-family: 'Courier New', monospace;
    font-size: 12px !important;
    background: #fef3c7 !important;
    border-color: #fbbf24 !important;
}

.doc-detail-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 12px;
}

.doc-download-action-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    min-width: 200px;
    justify-content: center;
}

.doc-download-action-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.doc-download-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.doc-download-action-btn span:first-child {
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* 响应式设计 */
@media (max-width: 768px) {
    .doc-details-content {
        width: 95%;
        margin: 20px;
    }
    
    .doc-detail-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .doc-details-header {
        padding: 16px 20px;
    }
    
    .doc-details-body {
        padding: 20px;
    }
    
    .doc-download-action-btn {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 160px;
    }
    
    .doc-download-action-btn span:first-child {
        font-size: 14px;
    }
}

/* 登录提示界面样式 */
.doc-login-prompt {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.doc-login-prompt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.doc-login-prompt-icon {
    margin-bottom: 20px;
}

.doc-login-prompt-icon span {
    font-size: 64px;
    display: inline-block;
    animation: gentle-bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* 温和的弹跳动画 */
@keyframes gentle-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-6px) scale(1.05);
    }
    60% {
        transform: translateY(-3px) scale(1.02);
    }
}

.doc-login-prompt h3 {
    margin: 0 0 16px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.doc-login-prompt p {
    margin: 8px 0;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.5;
}

.doc-login-prompt p:first-of-type {
    color: #374151;
    font-weight: 600;
}

/* 操作按钮区域 */
.doc-login-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
    align-items: center;
}

.doc-login-prompt-actions .doc-btn-secondary,
.doc-login-prompt-actions .doc-btn-primary,
.doc-login-prompt-actions .doc-btn-accent {
    min-width: 200px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.doc-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.doc-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.doc-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.doc-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.doc-btn-accent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.doc-btn-accent:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* 按钮点击效果 */
.doc-login-prompt-actions button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* 提示信息 */
.doc-login-prompt-note {
    margin-top: 20px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    color: #1e40af;
}

.doc-login-prompt-note small {
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 响应式设计 */
@media (max-width: 640px) {
    .doc-login-prompt {
        padding: 30px 16px;
    }
    
    .doc-login-prompt-icon span {
        font-size: 48px;
    }
    
    .doc-login-prompt h3 {
        font-size: 20px;
    }
    
    .doc-login-prompt p {
        font-size: 14px;
    }
    
    .doc-login-prompt-actions .doc-btn-secondary,
    .doc-login-prompt-actions .doc-btn-primary,
    .doc-login-prompt-actions .doc-btn-accent {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .doc-login-prompt-note {
        padding: 12px;
    }
    
    .doc-login-prompt-note small {
        font-size: 12px;
    }
}

/* 按钮图标动画 */
.doc-login-prompt-actions button:hover span:first-child {
    animation: icon-wiggle 0.6s ease-in-out;
}

@keyframes icon-wiggle {
    0%, 50%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-3deg); }
    20%, 40% { transform: rotate(3deg); }
}