.conten-cor {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.qrcode-main {
    position: relative;
    flex: 1;
}

.qrcode-subnav {
    display: flex;
    padding: 24px 0 15px;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 15px;
}

.subnav-item {
    height: 28px;
    padding: 0 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: 1px solid #fff;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    color: var(--color4);
}

.subnav-item.active,
.subnav-item:hover {
    border-color: currentColor;
    color: var(--color2);
}

.content-area {
    position: relative;
    background: #fff;
    border-radius: 10px;
}

.input-container {
    width: 100%;
    overflow: hidden;
}

.content-panel {
    display: none;
    min-height: 300px;
    flex-direction: column;
}

.content-panel.active {
    display: flex;
}

.content-panel.url{
    justify-content: center;
}

/* 网址子 tab */
.url-subnav {
    display: flex;
    gap: 12px;
    margin: auto 90px 15px;
}

.url-subnav-item {
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: #666;
    user-select: none;
    transform-origin: 0 100%;
}

.url-subnav-item:not(:first-child){
    margin-left: 10px;
}

.url-subnav-item.active {
    transform: scale(1.2);
    color: var(--color2);
}

.url-subnav-item:hover:not(.active) {
    color: var(--color2);
}

.url-input{
    display: block;
    height: 33px;
    border: 1px solid #bbb;
    border-radius: 100px;
    outline: 0;
    padding: 0 10px;
    margin: 0 90px auto;
    background: #F2F3F4;
    font-size: 14px;
    color: var(--color1);
}

.url-input:focus{
    border-color: var(--color2);
}

.content-input {
    display: block;
    width: 100%;
    height: 220px;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    outline: none;
    border: 0;
}

.content-input:focus {
    border-color: #0088ff;
}

.file-upload-container {
    width: 100%;
    height: 165px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
}

.file-upload-container:hover {
    border-color: #0088ff;
    color: #0088ff;
}

.file-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.file-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.image-list-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: auto 0;
    padding-top: 20px;
}

.image-list-wrapper::-webkit-scrollbar {
    height: 10px;
}

.image-list-wrapper::-webkit-scrollbar-thumb {
    background: #03d769;
    border-radius: 3px;
}

.image-list-scroll{
    display: flex;
    overflow-x: auto;
    max-width: 460px;
    gap: 20px;
}

.image-list-scroll::-webkit-scrollbar-button{
    display: none;
}

.image-list-scroll::-webkit-scrollbar{
    height: 6px;
}

.image-list-scroll::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.image-card {
    width: 100px;
    height: 120px;
    flex: 0 0 auto;
    white-space: normal;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.image-card:hover .close-btn{
    display: flex;
}

.image-card .preview {
    width: 100%;
    height: 80px;
    object-fit: contain;
}

.image-card .info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    padding: 0 5px;
    width: 100%;
    text-align: center;
}

.image-card .close-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.image-card .close-btn:hover {
    background: rgba(255, 0, 0, 0.8);
}

.image-card-name{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 12px;
    color: #333;
    max-width: 90px;
}

.image-card-size{
    font-size: 10px;
    color: #999;
}

.image-card-info {
    width: 100%;
    padding: 2px 5px 4px;
    text-align: center;
}

/* 文档上传进度条 */
.doc-upload-progress {
    width: 80px;
    height: 4px;
    margin: 16px 0;
}

.doc-upload-bar {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.doc-upload-inner {
    height: 100%;
    background: var(--color2);
    width: 0%;
    transition: width 0.3s ease;
}

.add-image-card {
    width: 100px;
    height: 120px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: #999;
    padding-top: 20px;
    font-size: 12px;
}

.add-image-card:hover {
    border-color: #0088ff;
    color: #0088ff;
}

/* 文档面板 - 开启下载复选框 */
.download-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    cursor: pointer;
    transition: 0.2s;
    z-index: 10;
}

.toggle-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #999;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.toggle-checkbox.checked {
    background: #0088ff;
    border-color: #0088ff;
}

.toggle-checkbox .check-icon {
    display: none;
}

.toggle-checkbox.checked .check-icon {
    display: block;
}

.toggle-text {
    font-size: 12px;
    color: #666;
}

.process-log {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    font-size: 14px;
}

.process-item {
    padding: 4px 8px;
    color: #666;
}

.process-item.success {
    color: #07c160;
    font-weight: bold;
}

.process-item.error {
    color: #ff0000;
}

.btn-box {
    margin: 28px 0;
}

.generate-btn {
    width: 148px;
    height: 36px;
    border-radius: 10px;
    border: 0;
    background: linear-gradient(268.5deg, rgba(38,111,255,1) 1.98%,rgba(70,179,240,1) 98.71%);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.generate-btn-outline {
    background: transparent;
    border: 2px solid currentColor;
    color: var(--color2);
}

.generate-btn-outline:hover {
    border: 0;
    background: linear-gradient(268.5deg, rgba(38,111,255,1) 1.98%,rgba(70,179,240,1) 98.71%);
    color: #fff;
}

.generate-btn:disabled {
    background-color: hsl(210, 100%, 80%);
    cursor: not-allowed;
}

.preview-content {
    width: 100%;
    height: 320px;
    padding: 15px;
    box-sizing: border-box;
    overflow-y: auto;
    word-wrap: break-word;
    line-height: 1.6;
    color: #333;
}

.iphone-head{
    position: relative;
}

.iphone-head img {
    display: block;
    width: 100%;
    pointer-events: none;
}

.iphone-head-title{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9px;
    max-width: 45%;
    margin: 0 auto;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    line-height: 28px;
    font-size: 14px;
    font-weight: bold;
}

.qrcode-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.loading-dots {
    display: flex;
    align-items: center;
    gap: 16px;
}

.loading-dot {
    width: 12px;
    height: 12px;
    background: #0088ff;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.qrcode-loading p {
    margin-top: 16px;
    font-size: 14px;
    color: #999;
}

.preview-tip {
    display: flex;
    text-align: center;
    position: absolute;
    bottom: 30px;
}

.preview-right {
    display: flex;
    flex-wrap: wrap;
}

.preview-card {
    width: 300px;
    height: 300px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-card.qrcode{
    justify-content: center;
}

.preview-card.page{
    height: 533px;
    padding: 0;
    box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.1);
}

.preview-container{
    width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.preview-container::-webkit-scrollbar{
    width: 6px;
    height: 6px;
}

.preview-container::-webkit-scrollbar-thumb{
    background: #c1c1c1;
    border-radius: 20px;
}

.preview-container::-webkit-scrollbar-track-piece{
    background: #fafafa;
}

.preview-image {
    width: 100%;
}

.media-preview video,
.media-preview audio {
    width: 100%;
}

/* 视频预览容器 - 只显示第一帧+播放按钮 */
.video-preview-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.video-preview-wrapper .video-preview {
    width: 100%;
    display: block;
    object-fit: contain;
}

/* 播放按钮 */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: url("../image/icon-cover-play.png");
    background-size: 100% 100%;
    border-radius: 50%;
}

.doc-item-preview {
    position: relative;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 16px;
}

.doc-item-preview:not(:last-child):after{
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 1px;
    background: #e5e5e5;
}

.doc-icon-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

.doc-name {
    font-size: 14px;
    color: #333;
    width: 100%;
}

.doc-size {
    font-size: 14px;
    color: #999;
}

.doc-info {
    flex: 1;
}

/* 文档下载图标 */
.doc-download-icon {
    width: 16px;
    height: 16px;
}

/* 单文档预览 - 上下结构 */
.doc-single-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: #fff;
}

.doc-single-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    object-fit: contain;
}

.doc-single-info {
    text-align: center;
    margin-bottom: 16px;
}

.doc-single-info .doc-size{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    gap: 10px;
}

.doc-preview-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 查看文件按钮 */
.doc-view-btn {
    padding: 8px 20px;
    background: #0088ff;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.doc-view-btn:hover {
    background: #0066cc;
}

.doc-download-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.doc-download-icon:hover {
    background: #f5f5f5;
}

.doc-download-icon svg {
    width: 16px;
    height: 16px;
    color: #999;
}

.hidden-input {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    text-indent: -9999px;
}

/* 切换容器 */
.tab-switch-container {
    display: inline-flex;
    background-color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid #1677ff;
}

/* 切换选项 */
.tab-option {
    position: relative;
    z-index: 1;
    padding: 6px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    transition: color 0.3s ease;
    border-radius: 9999px;
}

/* 激活态文字颜色 */
.tab-option.active {
    color: #ffffff;
}

/* 滑动背景 */
.tab-slider {
    position: absolute;
    top: 0;
    bottom: 4px;
    width: 50%;
    background-color: #1677ff;
    border-radius: 9999px;
    transition: left 0.3s ease;
    height: 100%;
}

/* 目录选择下拉框 */
.directory-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modify-directory-btn {
    background: none;
    border: none;
    color: #1677ff;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    transition: 0.2s;
}

.modify-directory-btn:hover {
    color: #0050b3;
}

.directory-dropdown-container {
    width: 100%;
}

.directory-dropdown {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-height: 300px;
    overflow-y: auto;
}

.directory-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.directory-item:last-child {
    border-bottom: none;
}

.directory-item:hover {
    background-color: #f5f7fa;
}

.directory-item.active {
    background-color: #e6f7ff;
    color: #1677ff;
}

.directory-icon {
    font-size: 16px;
}

.directory-name {
    flex: 1;
    font-weight: 500;
}

.directory-path {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.component-choose-cate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #e7e7e7;
    margin: 0 20px 20px;
    padding: 5px 12px;
    background: #fcfcfc;
    cursor: pointer;
}

/* 目录选择弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-box {
    background: #fff;
    border-radius: 12px;
    width: 480px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: 0.2s;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #666;
}

.modal-body {
    padding: 16px;
    max-height: 360px;
    overflow-y: auto;
}

.modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 生成进度弹窗 */
.progress-text {
    text-align: center;
    font-size: 16px;
    color: #333;
}

.progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.modal-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.modal-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.modal-btn-cancel:hover {
    background: #e8e8e8;
}

.modal-btn-confirm {
    background: #1677ff;
    color: #fff;
}

.modal-btn-confirm:hover {
    background: #0050b3;
}

/* 目录列表项 */
.directory-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
    user-select: none;
}

.directory-item:last-child {
    border-bottom: none;
}

.directory-item:hover {
    background-color: #f5f7fa;
}

.directory-item.active {
    background-color: #e6f7ff;
    color: #1677ff;
}

.directory-icon {
    font-size: 18px;
}

/* 整体容器 */
.link-scence-wrap{
    padding: 50px 0;
    background-color: #fff;
}

.link-scence-box {
    width: 1440px;
    margin: 0 auto;
}

/* 标题样式 */
.link-scence-box h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
}

.link-scence-box h2 + ul {
    margin-top: 0;
}

.link-scence-box h2:not(:first-child) {
    margin-top: 40px;
}

/* 列表容器 */
.link-scence-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;
}

/* 单个卡片项 */
.link-scence-box li {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.link-scence-box li:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 链接 */
.link-scence-box li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* 图标容器 */
.link-scence-box .img {
    position: absolute;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

/* SVG 图标 */
.link-scence-box .img svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* 文字区域 */
.link-scence-box .app-txt h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
}

.link-scence-box .app-txt p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .link-scence-box ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .link-scence-box ul {
        grid-template-columns: 1fr;
    }
}

/* 固定右下角 */
.fixed-service {
    position: fixed;
    right: 0;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    background: #fff;
}
/* 单个按钮 */
.service-item {
    position: relative;
    width: 66px;
    height: 66px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #424242;
    font-size: 13px;
}
.service-item:hover {
    background: #f5f7fa;
}
.service-item .svg-icon {
    fill: currentColor;
    color: #2578e3;
    font-size: 32px;
}
/* 悬浮弹窗 */
.service-pop {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    width: 260px;
    display: none;
}
.service-item:hover .service-pop {
    display: block;
}
/* 文字样式 */
.pop-title {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    color: #222;
}
.pop-txt {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}
.qr-img {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto 12px;
    object-fit: cover;
}
.phone-num {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #111;
    margin: 10px 0;
}
.mod-act {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}
.mod-btn{
    width: 120px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: 2px solid currentColor;
    font-size: 14px;
    cursor: pointer;
}
.mod-btn.image{
    color: #4ED594;
}
.mod-btn.image:hover{
    background: #4ED594;
    color: #fff;
}
.mod-btn.video{
    color: #266FFF;
}
.mod-btn.video:hover{
    background: #266FFF;
    color: #fff;
}
.mod-btn.text{
    color: #EC4848;
}
.mod-btn.text:hover{
    background: #EC4848;
    color: #fff;
}
.mod-btn .svg-icon{
    width: 20px;
    height: 20px;
    margin-right: 4px;
    fill: currentColor;
}
.qrcode-zhan{
    text-align: center;
    font-size: 12px;
    color: #BEBEBE;
}
.qrcode-zhan img{
    width: 100px;
    height: 100px;
}
.qrcode-download{
    height: 36px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--color2);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #fff;
}
.qrcode-act{
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}
.qrcode-btn{
    flex: 0 0 calc(50% - 5px);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--color4);
    gap: 4px;
    cursor: pointer;
}

.qrcode-btn-icon{
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.qrcode-btn-plus{
    width: 16px;
    height: 16px;
    position: relative;
    display: inline-block;
}

.qrcode-btn-plus::before,
.qrcode-btn-plus::after{
    content: '';
    position: absolute;
    background-color: var(--color4);
    border-radius: 1px;
}

.qrcode-btn-plus::before{
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qrcode-btn-plus::after{
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qrcode-btn:nth-child(2n){
    margin-left: 10px;
}

.qrcode-btn:nth-child(n+3){
    margin-top: 10px;
}

/* 单码/批量单选按钮 */
.code-mode-radio {
    position: absolute;
    left: 20px;
    top: 20px;
    display: flex;
    gap: 20px;
    z-index: 2;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d9d9d9;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:hover {
    border-color: #1677ff;
}

.radio-option input[type="radio"]:checked {
    border-color: #1677ff;
    background: #1677ff;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.radio-label {
    font-size: 14px;
    color: #666;
    transition: color 0.2s;
}

.radio-option:hover .radio-label {
    color: #333;
}

.radio-option:has(input:checked) .radio-label {
    color: #1677ff;
    font-weight: 500;
}

.qrcode-result{
    display: flex;
    flex-direction: column;
    height: 300px;
}

.qrcode-result-tit{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.qrcode-result-tit img{
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.qrcode-result-box{
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px 20px;
    border-radius: 6px;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
}

.file-box{
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #000;
    border: 1px dashed transparent;
    border-radius: 8px;
    transition: border-color 0.2s;
    cursor: pointer;
}

.file-box:hover{
    border-color: #266fff;
}

.file-box-icon{
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.file-box-tit{
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.file-box-txt{
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

/* 上传进度条样式 */
.media-file-progress{
    position: relative;
    display: flex;
    align-items: center;
    margin: 15px auto;
}

.media-file-text{
    margin-top: 1px;
}

.media-file-bar{
    width: 240px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
}

.media-file-inner{
    position: relative;
    height: 100%;
    background: var(--color2);
    width: 0%;
    transition: width 0.3s ease;
}

.media-file-point{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(100%, -50%);
    width: 36px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--color2);
    font-size: 10px;
    color: #fff;
}

.media-file-cancel{
    position: absolute;
    right: -30px;
    transform: translateX(100%);
    font-size: 12px;
    color: #666;
    cursor: pointer;
    text-align: right;
    color: var(--color2);
}

.media-file-tips{
    font-size: 12px;
    color: #999;
    text-align: center;
}

.tips-box{
    height: 40px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #999;
}

.tips-box a{
    color: var(--color2);
}

.media-title{
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 28px;
    color: #000;
    word-break: break-all;
}

.image-list-wrapper + .image-list-wrapper{
    padding-top: 0;
}

.media-title-wrapper + .image-list-wrapper{
    padding-top: 0;
}

.media-title-input{
    display: block;
    margin: 15px auto auto;
    width: 340px;
    height: 32px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 100px;
    color: #333;
    font-size: 14px;
    text-align: center;
}

.media-title-input:focus{
    border: 0;
    outline: 0;
    box-shadow: 0 0 0 2px var(--color2);
}

.media-act{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.media-btn{
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 100px;
    border: 1px solid #e7e7e7;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.media-btn:hover{
    color: var(--color2);
}

.media-btn:not(:first-child){
    margin-left: 20px;
}

.media-file{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto 0;
}

.media-file-image{
    position: relative;
    width: 80px;
    height: 80px;
}

.media-file-image.success:after{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    background: url(../image/tick1.png);
    background-size: 100% 100%;
}

.media-file-image img{
    display: block;
    width: 100%;
}

.media-file-name{
    margin-top: 10px;
    font-weight: bold;
}

.media-file-size{
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

/* 解码面板样式 */
.decode-result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: 100%;
}

.decode-result-label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.decode-result-content {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border-radius: 6px;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    font-size: 13px;
    color: #333;
    word-break: break-all;
    line-height: 1.5;
    margin-bottom: 15px;
    max-height: 150px;
    overflow-y: auto;
}

.decode-result-actions {
    display: flex;
    gap: 12px;
}

.decode-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.decode-btn {
    background: #1677ff;
    color: #fff;
}

.decode-btn:hover {
    background: #0050b3;
}

.decode-btn-outline {
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #666;
}

.decode-btn-outline:hover {
    border-color: #1677ff;
    color: #1677ff;
}

/* ==================== 表单面板样式 ==================== */
.form-panel {
    width: 1000px;
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-panel-title {
    text-align: center;
    line-height: 34px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

/* 创建按钮区 */
.form-create-btns {
    display: flex;
    justify-content: space-between;
}

.form-create-btn {
    width: 185px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    color: #333;
    position: relative;
    white-space: nowrap;
}

.form-create-btn:hover {
    border-color: #1677ff;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.1);
}

.form-create-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-ai-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.2;
}

/* 模板库区域 */
.form-template-section {
    padding: 30px;
    margin-top: 4px;
    border-radius: 10px;
    background: #fff;
}

.form-template-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

/* 分类标签 */
.form-template-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.form-template-tag {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    color: #666;
    background: #fff;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.form-template-tag:hover {
    border-color: #1677ff;
    color: #1677ff;
}

.form-template-tag.active {
    background: #1677ff;
    color: #fff;
    border-color: #1677ff;
}

/* 模板卡片网格 */
.form-template-grid {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.form-template-card {
    width: 220px;
    height: 80px;
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-template-card:not(:nth-child(4n+1)){
    margin-left: calc((100% - 4*220px) / 3);
}

.form-template-card:nth-child(n+5){
    margin-top: calc((100% - 4*220px) / 3);
}

.form-template-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
    transform: translateY(-2px);
}

.form-template-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-template-card-info {
    flex: 1;
    min-width: 0;
}

.form-template-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-template-card-desc {
    font-size: 10px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 更多模板 */
.form-template-more {
    text-align: center;
}

.form-template-more a {
    font-size: 13px;
    color: #1677ff;
    text-decoration: none;
    transition: color 0.2s;
}

.form-template-more a:hover {
    color: #0050b3;
}