/**
 * peTransSubmitV2.css
 * AI+人工翻译下单页 - 新版完整样式覆盖
 * 左侧表单 + 右侧面板全部在此文件中重置为新设计
 */

/* ══════════════════════════════════════
   § 0  页面背景 & 整体容器
   ══════════════════════════════════════ */

/* 页面背景改灰 */
.fileView body,
body.fileView {
    background: #f5f6fa !important;
}

/* 去掉白色内容区和边框 */
.fileView .trans .content {
    background: transparent !important;
    border: none !important;
    padding: 28px 0 48px !important;
    width: 1200px !important;
}

/* 外层大容器：左右两栏 flex 布局 */
.fileView .container {
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 24px !important;
    height: auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* bottomcontainer：已通过 inline style 隐藏，CSS 仅做兜底 */
.fileView .bottomcontainer {
    display: none !important;
}

/* ══════════════════════════════════════
   § 1  左侧表单卡片 (.ulcontainer)
   ══════════════════════════════════════ */

.fileView .ulcontainer {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,.09) !important;
    overflow: visible !important;
}

/* 表单卡片内部 ul */
.fileView ul.file-info {
    padding: 32px 36px 28px !important;
    border-radius: 14px !important;
    list-style: none !important;
    margin: 0 !important;
}

/* 标题 li 不作为普通表单行 */
.fileView .pe-form-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.fileView .pe-form-title-bar .pe-form-title-text {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.fileView .pe-form-title-bar .pe-form-title-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: #e0291d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    line-height: 1.4;
}

/* 每一个表单行：纵向排列，label 在上 */
.fileView .file-info-detail {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 22px 0 !important;
    color: #1a1a1a !important;
    position: static !important;
    box-sizing: border-box !important;
}

/* Label 样式：纵排、加粗 */
.fileView .file-info-detail > label,
.fileView .upload-label {
    float: none !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    line-height: 1.5 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

/* 副标签（非必填） */
.fileView .otherRequirement-con label .subtitle {
    display: inline !important;
    font-size: 12px !important;
    color: #aaa !important;
    margin-left: 4px !important;
    font-weight: 400 !important;
}

/* ─── 语言选择行 ─── */
.fileView .chooseLang {
    width: 100% !important;
    margin-bottom: 22px !important;
    overflow: visible !important;
}

/* 语言按钮容器：横排 flex */
.fileView .chooseLang > label {
    /* 本行有 upload-label 处理 */
}

/* 重新排布语言选择器为横排 flex */
.fileView .chooseLang .machineTrans-item-select,
.fileView .chooseLang .arrow-swap {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fileView .chooseLang .machineTrans-item-select {
    margin-left: 0 !important;
    padding: 7px 20px !important;
    height: 38px !important;
    line-height: 1 !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: border-color .2s, color .2s, background .2s !important;
}

.fileView .chooseLang .machineTrans-item-select:hover {
    border-color: #e0291d !important;
    color: #e0291d !important;
    background: #fff0ef !important;
}

/* 默认高亮中文按钮（源语言） */
.fileView .chooseLang .machineTrans-from-lang {
    border-color: #e0291d !important;
    color: #e0291d !important;
    background: #fff0ef !important;
}

/* select-text 在新布局里去掉固定高度 */
.fileView .chooseLang .machineTrans-item-select .select-text {
    height: auto !important;
    line-height: 1 !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

/* 切换箭头按钮 */
.fileView .chooseLang .arrow-swap {
    margin: 0 8px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e8e8e8 !important;
    background: #fff url("images/btn_order_changelanguage.png") 50% 50% no-repeat !important;
    background-size: 14px !important;
    cursor: pointer !important;
    transition: border-color .2s, background-color .2s, transform .3s !important;
    vertical-align: middle !important;
}

.fileView .chooseLang .arrow-swap:hover {
    border-color: #e0291d !important;
    background-color: #fff0ef !important;
    transform: rotate(180deg) !important;
}

/* 其他语种提示：单行 */
.fileView .lang-hint-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin-top: 6px !important;
    white-space: nowrap !important;
}

/* 其他语种提示 */
.fileView .chooseLang .select-text-other {
    margin-left: 0 !important;
    display: inline !important;
    margin-top: 0 !important;
    font-size: 12px !important;
    color: #aaa !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}

/* ════════════════════════════════════
   § 多语种双下拉选择器
   ════════════════════════════════════ */

/* 外层容器 */
.fileView .pe-lang-pair {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin-bottom: 10px !important;
}

/* 语言下拉按钮 */
.fileView .pe-lang-btn {
    flex: 1 !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: border-color .2s, background .2s, box-shadow .2s !important;
    user-select: none !important;
    position: relative !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
.fileView .pe-lang-btn:hover {
    border-color: #ccc !important;
}
.fileView .pe-lang-btn.open {
    border-color: #e0291d !important;
    background: #fff8f7 !important;
    box-shadow: 0 0 0 3px rgba(224,41,29,.08) !important;
}

.fileView .pe-lang-btn-left {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    min-width: 0 !important;
}
.fileView .pe-lang-flag {
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    color: #999 !important;
    letter-spacing: 0.04em !important;
}
.fileView .pe-lang-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    white-space: nowrap !important;
}
.fileView .pe-lang-caret {
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform .2s !important;
    color: #888 !important;
}
.fileView .pe-lang-btn.open .pe-lang-caret {
    transform: rotate(180deg) !important;
}

/* 下拉弹出层 */
.fileView .pe-lang-dropdown {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    min-width: 100% !important;
    background: #fff !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    z-index: 500 !important;
    overflow: hidden !important;
    padding: 4px 0 !important;
    box-sizing: border-box !important;
}
.fileView .pe-lang-dropdown.open {
    display: block !important;
}
.fileView .pe-lang-option {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    padding: 11px 16px !important;
    cursor: pointer !important;
    transition: background .15s !important;
    white-space: nowrap !important;
}
.fileView .pe-lang-option:hover {
    background: #f8f9fc !important;
}
.fileView .pe-lang-option.pe-lo-selected {
    background: #fff0ef !important;
}
.fileView .pe-lang-option.pe-lo-selected .pe-lo-name {
    color: #e0291d !important;
    font-weight: 600 !important;
}
.fileView .pe-lang-option.pe-lo-disabled {
    opacity: .35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
.fileView .pe-lo-flag {
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #999 !important;
    letter-spacing: 0.04em !important;
    min-width: 18px !important;
}
.fileView .pe-lo-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
}
.fileView .pe-lo-check {
    margin-left: auto !important;
    color: #e0291d !important;
    font-size: 13px !important;
    display: none !important;
}
.fileView .pe-lang-option.pe-lo-selected .pe-lo-check {
    display: block !important;
}
.fileView .pe-lo-unavail {
    margin-left: auto !important;
    font-size: 11px !important;
    color: #bbb !important;
}

/* 互换方向按钮 */
.fileView .pe-lang-swap {
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 10px !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 50% !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: border-color .2s, background .2s, transform .35s !important;
    color: #888 !important;
    padding: 0 !important;
}
.fileView .pe-lang-swap:hover {
    border-color: #e0291d !important;
    background: #fff0ef !important;
    color: #e0291d !important;
    transform: rotate(180deg) !important;
}

/* 价格提示条 */
.fileView .pe-lang-hint {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 14px !important;
    background: #f8f9fc !important;
    border-radius: 8px !important;
    border: 1px solid #eee !important;
    font-size: 13px !important;
    color: #555 !important;
    margin-top: 10px !important;
}
.fileView .pe-lang-hint-pair {
    font-weight: 600 !important;
    color: #1a1a1a !important;
}
.fileView .pe-lang-hint-price {
    color: #e0291d !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}
.fileView .pe-lang-hint-orig {
    color: #bbb !important;
    text-decoration: line-through !important;
    font-size: 12px !important;
}
.fileView .pe-lang-hint-badge {
    margin-left: auto !important;
    background: #e0291d !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
}
/* 不可用语向提示 */
.fileView .pe-lang-unavail {
    display: none;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 14px !important;
    background: #fffbe6 !important;
    border-radius: 8px !important;
    border: 1px solid #ffe58f !important;
    font-size: 13px !important;
    color: #8b6914 !important;
    margin-top: 10px !important;
}

/* 最低计费说明 */
.fileView .pe-min-word-tip {
    font-size: 12px !important;
    color: #aaa !important;
    margin-top: 6px !important;
    padding-left: 2px !important;
}

/* 必填星号 */
.fileView .pe-required {
    color: #e02020 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    margin-right: 3px !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* 隐藏旧版语言按钮（由新组件替代） */
.fileView .chooseLang .machineTrans-item-select,
.fileView .chooseLang .arrow-swap,
.fileView .chooseLang .lang-hint-row {
    display: none !important;
}

/* 价格 Hero 中价格行的折叠 */
.pe-price-row.pe-pr-extra {
    display: none;
}
.pe-price-row.pe-pr-extra.pe-pr-visible {
    display: flex;
}
/* 更多语种展开按钮 */
.pe-price-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    margin-top: 8px;
    padding: 8px 0;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 8px;
    color: rgba(255,255,255,.80);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, color .2s;
    letter-spacing: .5px;
}
.pe-price-more-btn:hover {
    background: rgba(255,255,255,.18);
    color: #fff;
}
.pe-price-more-arrow {
    display: inline-block;
    transition: transform .25s;
    font-style: normal;
    font-size: 10px;
}
.pe-price-more-btn.open .pe-price-more-arrow {
    transform: rotate(180deg);
}

/* ─── 翻译内容（上传/输入）区域 ─── */
.fileView .docupload,
.fileView .docupload1,
.fileView .docupload2 {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 22px !important;
}


/* 直接输入标题栏 */
.fileView .pe-input-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    background: #f8f9fc !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.fileView .pe-input-header-title {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4a4a4a !important;
}

.fileView .pe-input-cancel {
    font-size: 12px !important;
    color: #888 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    padding: 2px 8px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    background: #fff !important;
    transition: color .15s, border-color .15s !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    display: inline-block !important;
}

.fileView .pe-input-cancel:hover {
    color: #e0291d !important;
    border-color: #e0291d !important;
}

/* textarea 直接输入 */
.fileView #inputDocText {
    width: 100% !important;
    height: 130px !important;
    box-sizing: border-box !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    resize: vertical !important;
    font-family: inherit !important;
    margin-bottom: 0 !important;
    transition: none !important;
    background: #fff !important;
    display: block !important;
}

.fileView #inputDocText:focus {
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 上传/输入选择区外层：大卡片模式 */
.fileView .fileupload-con:not(.input-doctext-con),
.fileView .fileupload-con.pe-upload-row {
    margin-left: 0 !important;
    left: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
}

/* pe-upload-row 专属 */
.fileView .pe-upload-row {
    gap: 0 !important;
    align-items: stretch !important;
    min-height: 110px !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
}

/* textarea 输入区：默认隐藏（不加 !important，让 JS 的 show() inline style 能正常覆盖） */
.fileView .input-doctext-con,
.fileView .fileupload-con.input-doctext-con,
.fileView .file-info-detail .input-doctext-con {
    display: none;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 10px;
    margin-left: 0 !important;
    left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    height: auto !important;
    padding-top: 0 !important;
    font-size: 14px !important;
}

/* 当 input-doctext-con 显示时（JS 设置 display:block），其内部子元素竖排 */
/* pe-input-header 和 textarea 都是 block 元素，自然竖排，无需 flex */

/* 整体获焦高亮 */
.fileView .input-doctext-con:focus-within {
    border-color: #3b5ee8;
    box-shadow: 0 0 0 3px rgba(59,94,232,.08);
}

/* docupload2 状态时隐藏大卡片行和 more-hint（已移到 §2 区域，此处备用） */

/* ─── 上传文档大卡片 ─── */
/* 用 ID 选择器确保优先级高于 peTransSubmit.css 的 .file-info-btn 规则 */
.fileView #fileInfoBtn,
.fileView a#fileInfoBtn,
.fileView a#fileInfoBtn.file-info-btn,
.fileView .file-info-btn.pe-upload-card,
.fileView a.file-info-btn.pe-upload-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 20px 16px !important;
    height: 100% !important;
    min-height: 110px !important;
    width: 100% !important;
    background: #fafafa !important;
    border: 1.5px dashed #c8c8c8 !important;
    border-radius: 10px !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: border-color .2s, background .2s !important;
    position: static !important;
    left: auto !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: auto !important;
}

.fileView #fileInfoBtn:hover,
.fileView .file-info-btn.pe-upload-card:hover {
    border-color: #e0291d !important;
    background: #fff0ef !important;
}

/* 禁用状态（JS 切换为 file-info-btn2） */
.fileView .file-info-btn2.pe-upload-card,
.fileView #fileInfoBtn.file-info-btn2 {
    border-color: #e0e0e0 !important;
    background: #f5f5f5 !important;
    border-style: dashed !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    color: #aaa !important;
}

.fileView .pe-upload-card-icon {
    font-size: 24px !important;
    line-height: 1 !important;
    display: block !important;
}

.fileView .pe-upload-card-text {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    display: block !important;
}

.fileView .pe-upload-card-sub {
    font-size: 12px !important;
    color: #aaa !important;
    display: block !important;
}

/* ─── 中间分隔"或" ─── */
.fileView .pe-upload-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 36px !important;
    font-size: 13px !important;
    color: #aaa !important;
}

/* ─── 直接输入大卡片 ─── */
/* 两个 pe-card-wrap 作为等宽 flex 子元素，内部 a 填满 */
.fileView .pe-card-wrap,
.fileView #fileInfoBtnWrap,
.fileView #inputDocCon {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    margin-left: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border: none !important;
    min-height: 110px !important;
}

/* 内部 a 链接填满容器，并应用卡片样式 */
.fileView #inputDoc,
.fileView a#inputDoc,
.fileView a#inputDoc.inputDoc1,
.fileView .inputDoc1.pe-input-card,
.fileView a.inputDoc1.pe-input-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 20px 16px !important;
    height: 100% !important;
    min-height: 110px !important;
    width: 100% !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #1a1a1a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: center !important;
    cursor: pointer !important;
    line-height: normal !important;
    transition: border-color .2s, background .2s !important;
    text-decoration: none !important;
    margin-left: 0 !important;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.fileView #inputDoc:hover,
.fileView .inputDoc1.pe-input-card:hover {
    border-color: #3b5ee8 !important;
    background: #eef0ff !important;
}

/* 禁用状态（JS 切换为 inputDoc2） */
.fileView #inputDoc.inputDoc2,
.fileView .inputDoc2.pe-input-card {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* 隐藏旧"或"字和 file-or（已不再使用） */
.fileView .file-or {
    display: none !important;
}

/* 禁用提示保持隐藏（JS 控制） */
.fileView .disabled-upload,
.fileView .disabled-input {
    display: none !important;
    font-size: 12px !important;
    color: #e0291d !important;
    margin-top: 4px !important;
}

/* 直接输入 旧按钮样式（非 pe-input-card 时的兼容） */
.fileView .inputDoc1:not(.pe-input-card) {
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 8px !important;
    border: 1.5px solid #e8e8e8 !important;
    color: #4a4a4a !important;
    background: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 0 16px !important;
    width: auto !important;
    margin-left: 0 !important;
    display: inline-block !important;
}

/* 上传说明文字 */
.fileView .more-hint {
    margin-left: 0 !important;
    margin-top: 8px !important;
    padding: 0 !important;
    font-size: 12px !important;
    color: #aaa !important;
}

/* 直接输入模式（docupload2）：隐藏大卡片行和 more-hint，JS 会 show textarea */
.fileView #docu.docupload2 .pe-upload-row {
    display: none !important;
}
.fileView #docu.docupload2 .more-hint {
    display: none !important;
}

/* 错误提示 */
.fileView .fileupload-con i,
.fileView #docError,
.fileView #file-error-message {
    position: static !important;
    left: auto !important;
    top: auto !important;
    display: block !important;
    margin-top: 4px !important;
    width: auto !important;
}

/* pe-upload-row 内的错误/提示元素脱离 flex，不参与宽度分配 */
.fileView .pe-upload-row > i,
.fileView .pe-upload-row > #docError,
.fileView .pe-upload-row > #file-error-message,
.fileView .pe-upload-row > .disabled-upload,
.fileView .pe-upload-row > .disabled-input {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    flex: none !important;
}


/* 文件列表容器 */
.fileView #fileInfo- {
    margin-left: 0 !important;
    left: 0 !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
}

/* 每条文件项：白底卡片行 */
.fileView .fileInfoWrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: #fff !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    overflow: hidden !important;
}

/* 文件名 */
.fileView .fileInfoWrapper .fileName {
    flex: 1 !important;
    font-size: 13px !important;
    color: #1a1a1a !important;
    font-weight: 500 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    /* 加文件图标前缀 */
    padding-left: 20px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 14 16'%3E%3Cpath d='M2 0h7l5 5v11H2V0z' fill='%23e8e8e8'/%3E%3Cpath d='M9 0l5 5H9V0z' fill='%23d0d0d0'/%3E%3C/svg%3E") no-repeat left center !important;
    background-size: 14px !important;
}

/* 上传状态 */
.fileView .fileInfoWrapper .fileSubmit {
    flex-shrink: 0 !important;
    font-size: 12px !important;
    color: #16a34a !important;
    font-weight: 500 !important;
    padding: 2px 8px !important;
    background: #f0fdf4 !important;
    border-radius: 4px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

/* 删除按钮 */
.fileView .fileInfoWrapper .delete-file {
    flex-shrink: 0 !important;
    font-size: 12px !important;
    color: #e0291d !important;
    cursor: pointer !important;
    padding: 2px 8px !important;
    border: 1px solid #fcc !important;
    border-radius: 4px !important;
    background: #fff !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    transition: background .15s !important;
}

.fileView .fileInfoWrapper .delete-file:hover {
    background: #fff0ef !important;
    border-color: #e0291d !important;
}

/* 隐藏文件 input */
.fileView .fileInfoWrapper .input-display-none {
    display: none !important;
}

.fileView .upload-file-list {
    margin-left: 0 !important;
    left: 0 !important;
    padding-top: 0 !important;
}


/* ─── 下拉选择框（翻译用途 / 专业领域）─── */
.fileView .select-input-con {
    margin-left: 0 !important;
    width: 100% !important;
    height: 40px !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding: 0 36px 0 14px !important;
    font-size: 14px !important;
    color: #4a4a4a !important;
    cursor: pointer !important;
    transition: border-color .2s !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.fileView .select-input-con:hover {
    border-color: #3b5ee8 !important;
}

.fileView .select-input-con .select-text {
    height: 38px !important;
    line-height: 38px !important;
    margin-right: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* 下拉弹出列表 */
.fileView .select-input-con .select {
    width: 100% !important;
    left: 0 !important;
    box-sizing: border-box !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.10) !important;
}

/* ─── 备注 textarea ─── */
.fileView .trans .doc-trans .comment-swap #otherRequirement {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    height: 80px !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #2B333D !important;
    resize: none !important;
    overflow: auto !important;
    transition: border-color .2s !important;
}

.fileView .trans .doc-trans .comment-swap #otherRequirement:focus {
    border-color: #3b5ee8 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59,94,232,.08) !important;
}

.fileView .comment-swap {
    margin-bottom: 22px !important;
}

.fileView .comment-swap div {
    overflow: visible !important;
}

/* ─── 联系电话 / 电子邮箱 ─── */
.fileView .file-info-detail.order-phone,
.fileView .file-info-detail.order-email {
    height: auto !important;
}

.fileView .file-info-detail.order-phone .order-value,
.fileView .file-info-detail.order-email .order-value {
    margin-left: 0 !important;
    float: none !important;
    height: auto !important;
    line-height: normal !important;
    display: block !important;
}

.fileView .file-info-detail.order-email #moreText,
.fileView .file-info-detail.order-phone #moreText,
.fileView .more-hint input,
.fileView #phoneInfo,
.fileView #emailInfo {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    line-height: 40px !important;
    box-sizing: border-box !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    color: #2B333D !important;
    margin-left: 0 !important;
    background: #fff !important;
    transition: border-color .2s !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
}

.fileView .file-info-detail.order-email #moreText:focus,
.fileView .file-info-detail.order-phone #moreText:focus,
.fileView #phoneInfo:focus,
.fileView #emailInfo:focus {
    border-color: #3b5ee8 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59,94,232,.08) !important;
}

.fileView .file-info-detail .error-message {
    margin-left: 0 !important;
    display: block !important;
    line-height: 1.5 !important;
    margin-top: 4px !important;
}

/* ══════════════════════════════════════
   § 2  底部提交区（现在在 ulcontainer 内）
   ══════════════════════════════════════ */

/* submit-con 作为最后一个 li */
.fileView .submit-con {
    margin-left: 0 !important;
    height: auto !important;
    overflow: visible !important;
    list-style: none !important;
}

/* cut-off-line 在 submit-con 内 */
.fileView .submit-con .cut-off-line,
.fileView .cut-off-line {
    width: 100% !important;
    margin: 0 0 24px 0 !important;
}

.fileView .read-agreement {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 0 14px 0 !important;
    height: auto !important;
}

.fileView .read-agreement label {
    float: none !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    margin: 0 !important;
    font-size: 12px !important;
    color: #888 !important;
}

.fileView .read-agreement a {
    color: #3b5ee8 !important;
}

.fileView .submit-layout {
    margin: 0 !important;
    clear: both !important;
}

/* 提交按钮：大红块 */
.fileView #goToConfirmTrans.goToConfirmTrans1,
.fileView #goToConfirmTrans.goToConfirmTrans2 {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    line-height: 48px !important;
    text-align: center !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    float: none !important;
}

.fileView #goToConfirmTrans.goToConfirmTrans1 {
    background: #e0291d !important;
    color: #fff !important;
    transition: background .2s, box-shadow .2s, transform .1s !important;
}

.fileView #goToConfirmTrans.goToConfirmTrans1:hover {
    background: #c42115 !important;
    box-shadow: 0 4px 16px rgba(224,41,29,.35) !important;
    transform: translateY(-1px) !important;
}

.fileView #goToConfirmTrans.goToConfirmTrans2 {
    background: #ccc !important;
    color: #fff !important;
    pointer-events: none !important;
}

/* ══════════════════════════════════════
   § 3  aicontainer 右侧面板布局
   ══════════════════════════════════════ */

/* 覆盖原 aicontainer 的背景图，改为透明容器 */
.container .aicontainer {
    width: 420px;
    height: auto;
    min-height: 562px;
    background: none;
    margin-left: auto;
    margin-top: 0;
    margin-right: 0;
    padding: 0 24px 40px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}

/* 原 queryPrice 不再需要，隐藏 */
.queryPrice {
    display: none !important;
}

/* ─── CSS 变量 ─── */
.aicontainer {
    --pe-red: #e0291d;
    --pe-red-hover: #c42115;
    --pe-red-light: #fff0ef;
    --pe-gold: #ff8c00;
    --pe-gold-light: #fff8ee;
    --pe-blue: #3b5ee8;
    --pe-blue-panel: #1e2a7a;
    --pe-blue-light: #eef0ff;
    --pe-green: #16a34a;
    --pe-green-light: #f0fdf4;
    --pe-text: #1a1a1a;
    --pe-text-mid: #4a4a4a;
    --pe-text-light: #888;
    --pe-border: #e8e8e8;
    --pe-white: #ffffff;
    --pe-shadow: 0 2px 12px rgba(0,0,0,.07);
    --pe-shadow-md: 0 4px 20px rgba(0,0,0,.10);
    --pe-radius: 10px;
}

/* ─── 价格 Hero 卡片 ─── */
.pe-price-hero {
    background: linear-gradient(135deg, #1e2a7a 0%, #3b5ee8 55%, #5b6ef0 100%);
    border-radius: var(--pe-radius);
    padding: 22px 20px 18px;
    color: #fff;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.pe-price-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}

.pe-price-hero::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}

.pe-price-hero-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.pe-price-hero-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.pe-price-hero-title em {
    font-style: normal;
    color: #ffd066;
}

/* 价格行 */
.pe-price-table {
    position: relative;
    z-index: 1;
}

.pe-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.11);
    margin-bottom: 7px;
    transition: background .2s;
    cursor: default;
}

.pe-price-row:last-child {
    margin-bottom: 0;
}

.pe-price-row:hover,
.pe-price-row.highlight {
    background: rgba(255,208,102,.15);
}

.pe-price-row-lang {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.pe-price-row-flag {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
}

.pe-price-row-name {
    font-size: 13px;
    font-weight: 500;
}

.pe-price-row-right {
    text-align: right;
}

.pe-price-amount {
    font-size: 20px;
    font-weight: 900;
    color: #ffd066;
    line-height: 1;
}

.pe-price-amount-unit {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,.65);
    margin-left: 2px;
}

.pe-price-old {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    text-decoration: line-through;
    margin-top: 2px;
}

.pe-discount-badge {
    display: inline-block;
    background: #ff4d42;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
    text-decoration: none;
}

.pe-price-note {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255,255,255,.5);
    line-height: 1.55;
}

/* ─── 通用卡片外框 ─── */
.pe-card {
    background: var(--pe-white);
    border-radius: var(--pe-radius);
    box-shadow: var(--pe-shadow);
    border: 1px solid var(--pe-border);
    padding: 18px 20px;
    flex-shrink: 0;
}

/* 折叠后卡片底部 padding 与顶部对称 */
.pe-card.pe-card-collapsed {
    padding-bottom: 18px;
}

.pe-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pe-text);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    user-select: none;
}

/* 折叠状态：标题无下边距 */
.pe-card-title.pe-collapsed {
    margin-bottom: 0;
}

/* 无折叠功能的标题（订单预估）*/
.pe-card-title.no-collapse {
    cursor: default;
}

.pe-card-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    border-radius: 2px;
    flex-shrink: 0;
}

.pe-card-title.blue-bar::before { background: var(--pe-blue); }
.pe-card-title.red-bar::before  { background: var(--pe-red); }
.pe-card-title.green-bar::before { background: var(--pe-green); }

/* 折叠箭头图标 */
.pe-collapse-icon {
    margin-left: auto;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #bbb;
    flex-shrink: 0;
    transition: color .2s, background .2s, transform .25s;
}

.pe-card-title:hover .pe-collapse-icon {
    color: #888;
    background: #f5f6fa;
}

/* 折叠时箭头旋转 -90° */
.pe-card-title.pe-collapsed .pe-collapse-icon {
    transform: rotate(-90deg);
}

/* 可折叠内容区：展开/收起动效 */
.pe-card-body {
    overflow: hidden;
    transition: max-height .3s ease, opacity .25s ease;
    max-height: 1200px;
    opacity: 1;
}

.pe-card-body.pe-collapsed {
    max-height: 0;
    opacity: 0;
}

/* ─── 三大价值 ─── */
.pe-value-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pe-value-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1.5px solid var(--pe-border);
    transition: border-color .2s, background .2s, transform .15s;
    cursor: default;
}

.pe-value-item:hover {
    border-color: transparent;
    box-shadow: var(--pe-shadow-md);
    transform: translateX(3px);
}

.pe-value-item.green:hover { background: var(--pe-green-light); border-color: rgba(22,163,74,.2); }
.pe-value-item.gold:hover  { background: var(--pe-gold-light);  border-color: rgba(255,140,0,.2); }
.pe-value-item.blue:hover  { background: var(--pe-blue-light);  border-color: rgba(59,94,232,.2); }

.pe-value-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.pe-value-icon.green { background: var(--pe-green-light); }
.pe-value-icon.gold  { background: var(--pe-gold-light); }
.pe-value-icon.blue  { background: var(--pe-blue-light); }

.pe-value-body {
    flex: 1;
    min-width: 0;
}

.pe-value-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--pe-text);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.pe-value-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
    white-space: nowrap;
}

.pe-value-tag.green { background: var(--pe-green-light); color: var(--pe-green); }
.pe-value-tag.gold  { background: var(--pe-gold-light);  color: var(--pe-gold); }
.pe-value-tag.blue  { background: var(--pe-blue-light);  color: var(--pe-blue); }

.pe-value-desc {
    font-size: 12px;
    color: var(--pe-text-light);
    line-height: 1.5;
}

/* ─── 服务流程 ─── */
.pe-flow-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pe-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    position: relative;
}

.pe-flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 13px;
    top: 32px;
    width: 2px;
    height: calc(100% - 12px);
    background: linear-gradient(to bottom, var(--pe-border), transparent);
}

.pe-flow-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pe-blue-light);
    color: var(--pe-blue);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.pe-flow-step:first-child .pe-flow-num {
    background: var(--pe-red-light);
    color: var(--pe-red);
}

.pe-flow-step:last-child .pe-flow-num {
    background: var(--pe-green-light);
    color: var(--pe-green);
}

.pe-flow-body {
    padding-top: 4px;
}

.pe-flow-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--pe-text);
}

.pe-flow-desc {
    font-size: 11px;
    color: var(--pe-text-light);
    margin-top: 1px;
    line-height: 1.4;
}

/* ─── 订单预估面板（覆盖原 .file-info-detail.order-info 样式的补充） ─── */
/* 将旧的 order-info li 隐藏，改用右侧面板显示 */
.pe-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.pe-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.pe-summary-label {
    color: var(--pe-text-light);
}

.pe-summary-val {
    color: var(--pe-text);
    font-weight: 500;
}

.pe-summary-val.empty {
    color: var(--pe-text-light);
}

.pe-summary-divider {
    height: 1px;
    background: var(--pe-border);
    margin: 4px 0;
}

.pe-summary-total {
    font-size: 14px;
    font-weight: 700;
}

.pe-summary-total-val {
    color: var(--pe-red);
    font-size: 16px;
}

.pe-summary-total-val.empty {
    color: var(--pe-text-light);
    font-size: 13px;
    font-weight: 400;
}

/* ─── 隐藏旧版底部 order-info li（字数/价格/时间横排展示）─── */
/* 数据改在右侧面板中展示 */
.bottomcontainer .file-info-detail.order-info {
    display: none;
}

/* 右侧面板中复用 .file-info-detail.order-info 时，覆盖旧版固定尺寸 */
.aicontainer .file-info-detail.order-info {
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    margin: 0 !important;
    position: static !important;
    color: inherit !important;
}

/* order-value 在新面板里的布局覆盖 */
.aicontainer .file-info-detail.order-info .order-value {
    margin-left: 0 !important;
    float: none !important;
    height: auto !important;
    line-height: normal !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 13px !important;
}

/* origin-words / expect-price / expect-time 在新面板里的字号覆盖 */
.aicontainer .file-info-detail.order-info .origin-words,
.aicontainer .file-info-detail.order-info .expect-price,
.aicontainer .file-info-detail.order-info .expect-time {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    line-height: normal !important;
    margin-left: 0 !important;
}

/* expect-price 用红色加粗 */
.aicontainer .file-info-detail.order-info .pe-summary-total-val {
    color: #e0291d !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* remind 文字在新面板里高度不被固定 */
.aicontainer .file-info-detail.order-info .remind {
    height: auto !important;
    line-height: 1.5 !important;
}

/* 垂直分隔线 class 在新面板里隐藏（原 .vertical-bar 是横排展示用） */
.aicontainer .file-info-detail.order-info .vertical-bar {
    display: none !important;
}

/* ─── 进入动效 ─── */
@keyframes peSlideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pe-price-hero { animation: peSlideUp .35s ease both; }
.pe-card.value-card  { animation: peSlideUp .35s .08s ease both; }
.pe-card.flow-card   { animation: peSlideUp .35s .16s ease both; }
.pe-card.summary-card { animation: peSlideUp .35s .24s ease both; }
