/* 业务选择页面样式 */
:root {
    --primary-color: #223a5e;
    /* 主色调 - 深蓝色 */
    --primary-light: #3a5485;
    /* 浅色变体 */
    --primary-dark: #19294a;
    /* 深色变体 */
    --primary-darker: #0e1a31;
    /* 更深色变体 */
    --bg-gradient-start: #f7faff;
    --bg-gradient-end: #eff4fe;
    --text-color: #333333;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);
    --accent-color: #f0f5ff;
    --border-color: rgba(255, 255, 255, 0.6);
    --divider-color: rgba(34, 58, 94, 0.05);
    --hover-bg: rgba(34, 58, 94, 0.08);
    --active-bg: rgba(34, 58, 94, 0.12);
    --shadow-sm: 0 4px 15px rgba(34, 58, 94, 0.1);
    --shadow-md: 0 15px 30px rgba(34, 58, 94, 0.05);
    --shadow-lg: 0 20px 40px rgba(34, 58, 94, 0.08);
    --shadow-hover: 0 25px 50px rgba(34, 58, 94, 0.12);
    --gradient-primary: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    --gradient-accent: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-dark: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    --gradient-bg: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.3) 100%);
}

/* 基础布局 */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f9f9f9;
    background-image: none;
    margin: 0;
    padding: 0;
}

/* 主内容区 - 使用新的包装器 */
.common3-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 300px);
    /* 减去头部和底部的高度 */
    padding-top: 0;
    /* 移除顶部内边距 */
    background-color: #ffffff;
    /* 设置白色背景 */
}

/* 使用说明区域 - 扁平化设计 */
.instructions-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1260px;
    margin: 5px auto 3px;
    /* 减少上下外边距 */
    padding: 15px;
    /* 减少内边距 */
    position: relative;
    background-color: #ffffff;
    /* 设置白色背景 */
}

.instructions-title {
    font-size: 20px;
    /* 减小标题字体 */
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    text-align: center;
    width: 100%;
    padding-bottom: 8px;
    /* 减少下内边距 */
    margin-bottom: 8px;
    /* 减少下外边距 */
}

/* 移除标题的装饰线 */
.instructions-title::after {
    display: none;
}

.instructions-content {
    width: 100%;
    margin: 0 0 10px;
    /* 减少下边距 */
    padding: 8px;
    /* 减少上下内边距 */
    line-height: 1.5;
    /* 减小行高 */
    font-size: 14px;
    /* 减小字体 */
    color: #444;
    background-color: transparent;
    border-radius: 0;
    border-left: none;
    text-align: left;
}

.instructions-textarea {
    min-height: auto;
    height: auto;
    width: 100%;
    line-height: 1.8;
    font-size: 16px;
    color: #444;
    font-family: "Microsoft YaHei", sans-serif;
    overflow: visible;
    white-space: pre-wrap;
}

/* 使用说明富文本格式支持 */
.instructions-textarea p,
.instructions-content p {
    margin-bottom: 1em;
    font-size: 14px;
}

.instructions-textarea strong,
.instructions-textarea b,
.instructions-content strong,
.instructions-content b {
    font-weight: 600;
    color: var(--primary-dark);
}

.instructions-textarea em,
.instructions-textarea i,
.instructions-content em,
.instructions-content i {
    font-style: italic;
}

.instructions-textarea ul,
.instructions-textarea ol,
.instructions-content ul,
.instructions-content ol {
    padding-left: 2em;
    margin-bottom: 1em;
}

.instructions-textarea ul li,
.instructions-content ul li {
    list-style: disc;
    margin-bottom: 0.5em;
}

.instructions-textarea ol li,
.instructions-content ol li {
    list-style: decimal;
    margin-bottom: 0.5em;
}

.instructions-textarea h1,
.instructions-textarea h2,
.instructions-textarea h3,
.instructions-textarea h4,
.instructions-textarea h5,
.instructions-textarea h6,
.instructions-content h1,
.instructions-content h2,
.instructions-content h3,
.instructions-content h4,
.instructions-content h5,
.instructions-content h6 {
    margin: 1em 0 0.5em;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
}

.instructions-textarea h1,
.instructions-content h1 {
    font-size: 1.5em;
}

.instructions-textarea h2,
.instructions-content h2 {
    font-size: 1.3em;
}

.instructions-textarea h3,
.instructions-content h3 {
    font-size: 1.2em;
}

.instructions-textarea h4,
.instructions-textarea h5,
.instructions-textarea h6,
.instructions-content h4,
.instructions-content h5,
.instructions-content h6 {
    font-size: 1.1em;
}

.instructions-textarea table,
.instructions-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.instructions-textarea table th,
.instructions-textarea table td,
.instructions-content table th,
.instructions-content table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.instructions-textarea table th,
.instructions-content table th {
    background-color: var(--hover-bg);
    font-weight: 600;
    color: var(--primary-color);
}

.instructions-textarea a,
.instructions-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: all 0.2s ease;
}

.instructions-textarea a:hover,
.instructions-content a:hover {
    color: var(--primary-light);
}

.instructions-actions {
    text-align: center;
    position: relative;
    padding: 10px 0;
    /* 减少上下内边距 */
    width: 100%;
    border-top: none;
}

.confirm-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    height: 50px;
    padding: 0 40px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    opacity: 0.65;
    position: relative;
    overflow: hidden;
}

/* 与业务选择页「下一步」禁用态（.next-btn:disabled）一致 */
.confirm-btn:disabled,
.confirm-btn.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: linear-gradient(135deg, #8896b3, #a6b2c9);
    transform: none;
}

.confirm-btn.active {
    opacity: 1;
    cursor: pointer;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

.confirm-btn.active:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* 主容器 */
.businessTips {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1260px;
    margin: 8px auto 5px;
    /* 减少上下外边距 */
    padding: 15px 20px;
    /* 减少内边距 */
    position: relative;
    background-color: #ffffff;
    /* 设置白色背景 */
}

/* 使用说明部分整体样式 */
.businessTips::before {
    display: none;
}

/* 使用说明部分 */
.tips-header {
    width: 100%;
    margin-bottom: 20px;
    /* 减少下边距 */
    text-align: center;
    position: relative;
}

.tips-title {
    font-size: 28px;
    /* 减小字体大小 */
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(34, 58, 94, 0.1);
}

.tips-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.tips-content {
    width: 100%;
    margin: 0 0 20px;
    /* 减少下边距 */
    padding: 8px;
    /* 减少内边距 */
    background-color: var(--hover-bg);
    border-radius: 10px;
}

.tips-textarea {
    min-height: auto;
    height: auto;
    width: 100%;
    line-height: 1.7;
    /* 减小行高 */
    border-radius: 8px;
    padding: 15px;
    /* 减少内边距 */
    font-size: 15px;
    /* 减小字体 */
    color: #444;
    background-color: #fff;
    font-family: "Microsoft YaHei", sans-serif;
    overflow: visible;
    white-space: pre-wrap;
}

.tips-footer {
    margin-top: 8px;
    /* 减少上边距 */
    text-align: center;
    position: relative;
    padding: 15px 0;
    /* 减少内边距 */
    width: 100%;
    border-top: 1px solid rgba(34, 58, 94, 0.1);
}

.countdown-wrapper {
    margin-bottom: 8px;
    /* 减少下边距 */
    text-align: center;
    /* 改为居中对齐 */
    color: var(--primary-dark);
    font-size: 13px;
    /* 减小字体 */
    font-weight: 500;
    animation: pulse 2s infinite;
}

.countdown {
    background: var(--hover-bg);
    padding: 5px 15px;
    border-radius: 20px;
    color: #e74c3c;
    font-weight: bold;
    display: inline-block;
    min-width: 40px;
    text-align: center;
    font-size: 12px;
}

.tips_btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    height: 50px;
    padding: 0 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: not-allowed;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    opacity: 0.6;
    position: relative;
    overflow: hidden;
}

.tips_btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(90deg, #999, #bbb);
}

.tips_btn.active {
    opacity: 1;
    cursor: pointer;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

.tips_btn.active:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

/* 业务选择面板 */
.businessList {
    background-color: #ffffff;
    /* 设置白色背景 */
    padding: 15px;
    /* 减少内边距 */
    max-width: 1260px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* 修改面板样式 */
.panel {
    width: 100%;
    padding: 15px;
    /* 减少内边距 */
    border-top: none;
    padding-top: 15px;
    /* 减少顶部内边距 */
    text-align: center;
    background-color: #ffffff;
    /* 设置白色背景 */
    margin: 0 auto;
}

/* 调整面板标题样式 */
.panel-title {
    font-size: 16px;
    /* 减小字体 */
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    letter-spacing: 1px;
    padding-bottom: 6px;
    /* 减少下内边距 */
}

/* 移除面板标题的下划线 */
.panel-title::after {
    display: none;
}

.panel-title:before {
    content: "\f15c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-light);
}

/* 修改业务卡片样式 */
.cb-business-link {
    display: flex;
    height: 100%;
    padding: 14px 10px;
    /* 略增内边距，业务项不那么紧凑 */
    align-items: center;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    border: none;
    /* 移除边框 */
    width: 100%;
}

.cb-business-link::before {
    display: none;
}

.cb-business-link:hover {
    transform: translateY(-1px);
    /* 减小浮动高度 */
    background-color: rgba(255, 255, 255, 0.5);
}

.cb-business-link span {
    font-size: 14px;
    flex: 1;
    margin-left: 10px;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-weight: 400;
    padding-right: 25px;
    /* 减少右侧内边距，适应小标记 */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    text-align: left;
}

/* 业务分类区域 */
.business-categories {
    width: 100%;
    /* 确保宽度100% */
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    /* 设置白色背景 */
}

.category-section {
    margin-bottom: 10px;
    /* 减少分类之间间距 */
    overflow: hidden;
    background-color: #ffffff;
    /* 设置白色背景 */
    transition: margin 0.25s ease;
    /* 添加过渡效果 */
}

.category-section:not(:last-child) {
    margin-bottom: 5px;
    /* 减少分类之间间距 */
}

.category-header {
    margin-bottom: 0;
    padding: 8px 0;
    /* 减少上下内边距 */
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.3s ease;
    border-bottom: none;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border-radius: 4px;
    /* 添加圆角 */
}

/* 移除底部装饰线 */
.category-header::after {
    display: none;
}

.category-header:hover {
    background: rgba(34, 58, 94, 0.02);
    /* 添加悬停背景 */
}

.category-header:hover::after {
    display: none;
}

.category-header .toggle-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    opacity: 0.8;
    font-size: 13px;
    /* 减小图标大小 */
    margin-left: 6px;
    /* 减少左侧间距 */
}

.category-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.category-header.collapsed+.category-content {
    margin-top: 0;
    padding-top: 0;
}

.category-content {
    padding: 5px 0 0;
    /* 减少内边距 */
    transition: all 0.3s ease;
    max-width: 100%;
    /* 确保内容可以占据全宽 */
    margin-left: auto;
    margin-right: auto;
}

.category-section.collapsed .category-content {
    display: none;
}

.category-title {
    font-size: 14px;
    /* 减小字体大小 */
    color: var(--primary-color);
    margin: 0;
    position: relative;
    padding-left: 0;
    display: flex;
    align-items: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

/* 当分类展开时标题样式 */
.category-header:not(.collapsed) .category-title {
    font-weight: 600;
    color: var(--primary-color);
}

.category-title::before {
    display: none;
    /* 移除左侧装饰线 */
}

.category-description {
    color: #666;
    font-size: 13px;
    /* 减小字体大小 */
    margin: 5px 0 0 10px;
    /* 减少外边距 */
    padding: 8px;
    /* 减少内边距 */
    background-color: var(--hover-bg);
    border-radius: 4px;
    /* 减小圆角 */
    border-left: 3px solid var(--primary-color);
}

/* 业务列表：桌面 gap 20px；手机 ≤768px 见文件底部 */
ul.business {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
    list-style-type: none;
    padding: 0;
    margin: 12px 0;
    /* 调整上下边距 */
    width: 100%;
}

.cb-business-item {
    position: relative;
    height: auto;
    /* 自动高度适应内容 */
    min-height: 72px;
    /* 设置最小高度 */
    max-height: 92px;
    /* 设置最大高度 */
    transition: all 0.3s ease;
    width: 100%;
}

/* 电子件标签 - 右上角标记样式 */
.electronic-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    transform: none;
    background: linear-gradient(135deg, #4890d9, #3870c9);
    color: white;
    width: 20px;
    height: 20px;
    font-size: 10px;
    line-height: 1;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(34, 58, 94, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.electronic-tag::before {
    content: 'e';
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 11px;
    opacity: 1;
}

.electronic-tag span {
    display: none;
    /* 隐藏原有的文字 */
}

/* 选中态下的电子件标签 */
.cb-business-item .btnselect .electronic-tag {
    background: linear-gradient(135deg, var(--primary-color), #2c4c85);
    box-shadow: 0 2px 4px rgba(34, 58, 94, 0.3);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 鼠标悬停效果 */
.cb-business-link:hover .electronic-tag {
    transform: scale(1.1);
    box-shadow: 0 3px 5px rgba(34, 58, 94, 0.35);
}

/* 有电子件标签时，调整选中图标位置 */
.cb-business-item .btnselect::after {
    right: 12px;
    /* 恢复默认位置 */
}

/* 选中状态样式更新 */
.cb-business-item .btnselect {
    background-color: rgba(34, 58, 94, 0.04);
    border-left: 2px solid var(--primary-color);
    padding-left: 14px;
    box-shadow: none;
    transform: translateY(-1px);
}

.cb-business-item .btnselect::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: calc(50% - 7px);
    /* 垂直居中对齐 */
    color: var(--primary-color);
    font-size: 14px;
    z-index: 3;
    /* 确保选中图标在最上层 */
}

.cb-business-item .layui-icon-template-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    min-width: 36px;
    /* 设置最小宽度 */
    height: 36px;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    background: rgba(34, 58, 94, 0.08);
    color: var(--primary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
    /* 防止图标被挤压 */
    margin-top: 0;
    /* 保持图标垂直居中 */
    align-self: flex-start;
    /* 图标与第一行文字对齐 */
    margin-top: 1px;
    /* 微调图标位置 */
}

.cb-business-item .btnselect .layui-icon-template-1 {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
    /* 移除阴影 */
}

.cb-business-item:hover a span {
    color: var(--primary-color);
}

.cb-business-item:hover a.btnselect span {
    color: var(--primary-color);
}

.cb-business-item .btnselect span {
    color: var(--primary-color);
    font-weight: 600;
    /* 加粗选中项文本 */
}

/* 业务选择面板整体样式 */
.business-list-container {
    background-color: #ffffff;
    /* 设置白色背景 */
    width: 100%;
}

/* 提示文本 */
.note {
    margin: 20px auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 58, 94, 0.03), rgba(34, 58, 94, 0.06));
    /* 添加渐变背景 */
    max-width: 500px;
    /* 稍微增加宽度 */
    padding: 10px 25px;
    /* 增加内边距 */
    color: #555;
    font-size: 13px;
    position: relative;
    border-radius: 12px;
    /* 添加圆角 */
    border-left: 4px solid var(--primary-color);
    /* 增加左边框宽度 */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(34, 58, 94, 0.08);
    /* 添加阴影 */
}

.note:hover {
    background: linear-gradient(135deg, rgba(34, 58, 94, 0.08), rgba(34, 58, 94, 0.12));
    /* 增强悬停背景 */
    transform: translateY(-2px);
    /* 增加浮动效果 */
    box-shadow: 0 4px 15px rgba(34, 58, 94, 0.15);
    /* 增强阴影 */
}

.note-icon {
    color: var(--primary-color);
    font-size: 20px;
    /* 稍微增加图标大小 */
    margin-right: 15px;
    /* 增加右边距 */
    opacity: 0.9;
    animation: pulse-icon 2s infinite;
    /* 添加脉冲动画 */
}

.note span {
    letter-spacing: 0.4px;
    /* 增加字母间距 */
    line-height: 1.5;
    /* 增加行高 */
    font-weight: 500;
    /* 增加字重 */
}

.note strong {
    color: #e74c3c;
    /* 使用红色表示重点 */
    font-weight: 700;
    /* 增加字重 */
    position: relative;
    padding: 2px 4px;
    /* 增加内边距 */
    background: rgba(231, 76, 60, 0.1);
    /* 添加红色背景 */
    border-radius: 4px;
    /* 添加圆角 */
    margin: 0 2px;
    /* 添加左右边距 */
}

/* 强调效果 - 添加下划线动画 */
.note strong::after {
    content: '';
    position: absolute;
    bottom: 1px;
    /* 调整位置 */
    left: 2px;
    /* 调整位置 */
    width: calc(100% - 4px);
    /* 调整宽度 */
    height: 2px;
    /* 增加高度 */
    background: #e74c3c;
    /* 使用红色 */
    opacity: 0.5;
    /* 降低透明度 */
    transition: all 0.3s ease;
    border-radius: 1px;
    /* 添加圆角 */
}

.note:hover strong::after {
    height: 3px;
    /* 增加高度 */
    opacity: 0.8;
    /* 增加透明度 */
    transform: scaleX(1.05);
    /* 添加缩放效果 */
}

/* 下一步按钮 */
.next {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: none;
}

.next-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    /* 更改渐变方向 */
    color: white;
    border: none;
    border-radius: 25px;
    /* 增加圆角 */
    height: 48px;
    /* 稍微增加高度 */
    min-width: 180px;
    /* 增加最小宽度 */
    padding: 0 35px;
    font-size: 14px;
    font-weight: 600;
    /* 增加字重 */
    letter-spacing: 0.8px;
    /* 增加字母间距 */
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* 确保光效正确显示 */
    box-shadow: 0 4px 15px rgba(34, 58, 94, 0.25);
    /* 添加阴影 */
}

/* 按钮悬停效果 */
.next-btn:hover,
.next-btn.hover-effect {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-3px);
    /* 增加浮动高度 */
    box-shadow: 0 8px 25px rgba(34, 58, 94, 0.35);
    /* 增强阴影 */
}

/* 按钮激活效果 */
.next-btn:active,
.next-btn.active-effect {
    transform: translateY(1px);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* 按钮点击效果 */
.next-btn.clicked {
    animation: button-pulse 0.5s ease-out;
}

@keyframes button-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 58, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 58, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 58, 94, 0);
    }
}

/* 内部图标设置 */
.next-btn i {
    margin-right: 8px;
    font-size: 14px;
    transition: all 0.25s ease;
}

/* 图标悬停效果 */
.next-btn:hover i,
.next-btn.hover-effect i {
    transform: translateX(4px);
}

/* 按钮禁用状态 */
.next-btn:disabled,
.next-btn.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: linear-gradient(135deg, #8896b3, #a6b2c9);
    transform: none;
}

/* 添加内部光效，增强质感 */
.next-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transition: all 0.5s ease;
    z-index: -1;
    /* 确保在内容下方 */
}

.next-btn:hover::before,
.next-btn.hover-effect::before {
    left: 100%;
}

/* 调整页脚区域，减少下方空白 */
footer {
    margin-top: 0;
}

/* 业务主内容区二列布局 */
.business-layout-container {
    display: flex;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    gap: 0;
    /* 移除间距，使用内边距控制 */
    position: relative;
}

/* 左列 - 流程 */
.process-column {
    width: 200px;
    /* 进一步减少宽度，节省空间 */
    flex-shrink: 0;
}

/* 右侧业务选择列 */
.business-column {
    flex: 1;
    min-width: 0;
    /* 防止内容溢出 */
    padding-left: 20px;
    position: relative;
}

/* 已选业务浮窗样式 */
.business-side-column {
    position: fixed;
    right: 20px;
    top: max(80px, 8vh);
    /* 右上角位置，更靠近顶部 */
    z-index: 1000;
    width: 330px;
    transition: all 0.2s ease;
    /* 缩短过渡时间，提升响应性 */
    max-height: calc(100vh - 100px);
    /* 调整最大高度，与新的top值保持一致 */
    overflow: visible;
    user-select: none;
    will-change: transform;
    /* 启用硬件加速 */
}

/* 确保所有容器在任何屏幕尺寸下不会超出父容器 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    max-width: 100%;
}

pre,
code {
    white-space: pre-wrap;
    word-break: break-word;
}

/* 两栏布局容器 */
.business-container {
    display: block;
    max-width: 1260px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* 查档须知内容包装器 */
.instructions-content-wrapper {
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(34, 58, 94, 0.08);
}

.business-main-column {
    width: 100%;
    min-width: 0;
    /* 防止内容溢出 */
}

/* 已选业务显示区域 - 浮窗样式 */
.selected-business-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(34, 58, 94, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 58, 94, 0.08);
    margin: 0;
    height: auto;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 拖动中的样式 */
.selected-business-container.dragging {
    opacity: 0.9;
    box-shadow: 0 8px 32px rgba(34, 58, 94, 0.3);
    cursor: grabbing !important;
    transform: scale(1.02);
    /* 轻微放大效果 */
    transition: none;
    /* 拖拽时禁用过渡效果 */
    will-change: transform;
    /* 启用硬件加速 */
    z-index: 1001;
    /* 确保在拖拽时在最上层 */
}

.selected-business-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: white;
    cursor: grab;
    position: relative;
    user-select: none;
    transition: background 0.2s ease;
}

.selected-business-header:hover {
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
}

.selected-business-header:active {
    cursor: grabbing;
}

.selected-business-header h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    padding-left: 0;
    /* 移除左侧padding */
}

.selected-business-header h3 i {
    margin-right: 8px;
    font-size: 15px;
}

/* 头部控件样式 */
.header-controls {
    display: flex;
    align-items: center;
}

.selected-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.selected-business-list {
    overflow-y: auto;
    flex: 1;
    /* 占据剩余空间 */
    max-height: 300px;
}

.empty-selection-tip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
    height: 60px;
}

.empty-selection-tip i {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary-color);
    opacity: 0.5;
}

.selected-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selected-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 6px;
    background: rgba(34, 58, 94, 0.03);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.selected-item:hover {
    background: rgba(34, 58, 94, 0.06);
}

.selected-item-name {
    font-size: 14px;
    color: var(--text-color);
    flex: 1;
    padding-right: 10px;
}

.remove-selected {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-selected:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* 添加折叠/展开按钮 */
.toggle-selected {
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 10px;
    cursor: pointer;
    z-index: 2;
    border: none;
    outline: none;
    padding: 0;
}

.toggle-selected:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.toggle-selected:active {
    transform: scale(0.95);
}

/* 折叠状态 */
.selected-business-container.collapsed .selected-business-list {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.selected-business-container.collapsed {
    box-shadow: 0 2px 10px rgba(34, 58, 94, 0.15);
    opacity: 0.85;
    transform: scale(0.95);
}

.selected-business-container.collapsed:hover {
    opacity: 1;
    transform: scale(1);
}

.selected-business-container.collapsed .toggle-selected i {
    transform: rotate(180deg);
}

/* 当选择业务数为0时，默认折叠 */
.selected-business-container.empty:not(.force-expanded) .selected-business-list {
    display: none;
}

.selected-business-container.empty:not(.force-expanded) .toggle-selected {
    transform: rotate(180deg);
}

/* 图标脉冲动画 */
@keyframes pulse-icon {

    0%,
    100% {
        opacity: 0.9;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

/* 点击提示对话框样式 - 与业务对话框保持一致 */
.click-tips-dialog {
    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: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.click-tips-dialog.show {
    opacity: 1;
    visibility: visible;
}

.click-tips-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.click-tips-dialog.show .click-tips-content {
    transform: scale(1);
}

.click-tips-header {
    background: linear-gradient(135deg, #223a5e 0%, #3a5485 100%);
    color: white;
    padding: 10px 10px 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px 16px 0 0;
}

.click-tips-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.click-tips-header h3 i {
    transform: translateY(1px);
}

.click-tips-header .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.click-tips-header .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.close-btn i {
    font-size: 16px;
}

.click-tips-body {
    padding: 24px;
}

.click-tips-text {
    color: #374151;
    line-height: 1.6;
    margin: 0;
    text-align: left;
    font-weight: 500;
    max-height: 50vh;
    overflow-y: auto;
    background: transparent;
    border-radius: 0;
    border: none;
}

/* 富文本内容样式 */
.click-tips-text h1,
.click-tips-text h2,
.click-tips-text h3,
.click-tips-text h4,
.click-tips-text h5,
.click-tips-text h6 {
    margin: 16px 0 8px 0;
    color: #223a5e;
    font-weight: 600;
}

.click-tips-text h1 {
    font-size: 20px;
}

.click-tips-text h2 {
    font-size: 18px;
}

.click-tips-text h3 {
    font-size: 16px;
}

.click-tips-text p {
    margin: 8px 0;
    line-height: 1.6;
}

.click-tips-text ul,
.click-tips-text ol {
    margin: 8px 0;
    padding-left: 20px;
}

.click-tips-text li {
    margin: 4px 0;
}

.click-tips-text strong,
.click-tips-text b {
    font-weight: 600;
    color: #223a5e;
}

.click-tips-text em,
.click-tips-text i {
    font-style: italic;
    color: #6c757d;
}

.click-tips-text a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.click-tips-text a:hover {
    border-bottom-color: #007bff;
}

.click-tips-text blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    background: #f1f3f4;
    border-left: 4px solid #223a5e;
    border-radius: 4px;
    font-style: italic;
}

.click-tips-text code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e83e8c;
}

.click-tips-text pre {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow-x: auto;
    margin: 16px 0;
}

.click-tips-text pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.click-tips-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border: 1px solid #dee2e6;
}

.click-tips-text th,
.click-tips-text td {
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.click-tips-text th {
    background: #f8f9fa;
    font-weight: 600;
    color: #223a5e;
}

.click-tips-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.click-tips-text video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
}

.click-tips-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.click-tips-actions button {
    padding: 12px 12px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    justify-content: center;
}

.click-tips-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 58, 94, 0.5);
}

.click-tips-actions button {
    width: auto;
    margin-top: 28px;
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.click-tips-dialog.show .click-tips-content {
    animation: slideInUp 0.4s ease-out;
}

.click-tips-dialog.show {
    animation: fadeIn 0.4s ease-out;
}

.business-dialog-text p {
    margin: 0 0 12px 0;
    line-height: 1.6;
    color: #333;
}

.business-dialog-text p:last-child {
    margin-bottom: 0;
}

.business-dialog-text strong {
    color: #223a5e;
    font-weight: 600;
}

.order-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.order-link:hover {
    color: #2980b9;
    text-decoration: underline;
}


.no-cross-category .category-title::after {
    /* 移除"(不允许跨类别选择)"提示文字 */
    content: "";
}

/* ========== 响应式（置底）：≤1200 / ≤992 / ≤768（含业务列表 gap、点击提示、已选侧滑）/ ≤480 ========== */
@media (max-width: 1200px) {
    .business-layout-container {
        flex-direction: column;
        gap: 20px;
    }

    .process-column {
        width: 100%;
        flex-shrink: 1;
    }

    .business-column {
        padding-left: 0;
    }

    .business-side-column {
        right: 20px;
        top: max(80px, 8vh);
        width: 300px;
    }
}

@media (max-width: 992px) {
    .business-side-column {
        position: fixed;
        right: 15px;
        top: max(70px, 7vh);
        width: 280px;
        z-index: 998;
    }
}

.selected-business-flow-wrapper {
    display: block;
    width: 100%;
}

.selected-business-flow-tab {
    display: none;
}

@media (max-width: 768px) {
    ul.business {
        gap: 5px;
        grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    }

    /* 业务卡片：手机端略增高，避免过挤 */
    .cb-business-item {
        min-height: 54px;
        max-height: 72px;
    }

    .cb-business-link {
        padding: 8px 6px;
    }

    .cb-business-link span {
        font-size: 13px;
        line-height: 1.25;
        margin-left: 6px;
        padding-right: 20px;
        -webkit-line-clamp: 2;
    }

    .cb-business-item .layui-icon-template-1 {
        min-width: 28px;
        height: 28px;
        font-size: 15px;
        margin-top: 0;
    }

    .cb-business-item .btnselect::after {
        font-size: 12px;
        top: calc(50% - 6px);
        right: 8px;
    }

    .electronic-tag {
        top: 4px;
        right: 4px;
        width: 17px;
        height: 17px;
    }

    .electronic-tag::before {
        font-size: 9px;
    }

    .click-tips-content {
        width: 95%;
        margin: 20px;
        border-radius: 16px;
        max-width: none;
    }

    .click-tips-header {
        padding: 20px 24px 16px;
    }

    .click-tips-header h3 {
        font-size: 18px;
    }

    .click-tips-text {
        padding: 12px;
        max-height: 60vh;
    }

    .click-tips-text h1 {
        font-size: 18px;
    }

    .click-tips-text h2 {
        font-size: 16px;
    }

    .click-tips-text h3 {
        font-size: 15px;
    }

    .selected-business-flow-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        position: fixed;
        right: 0;
        top: calc(max(118px, 17vh) + var(--selected-business-tab-offset, 0px));
        width: 36px;
        min-height: 72px;
        padding: 6px 0;
        border: none;
        border-radius: 14px 0 0 14px;
        background: var(--primary-color, #223a5e);
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.1;
        cursor: pointer;
        box-shadow: -2px 2px 14px rgba(0, 0, 0, 0.14);
        z-index: 1004;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        touch-action: none;
        transition: background 0.2s ease, box-shadow 0.2s ease;
    }

    .selected-business-flow-tab:hover,
    .selected-business-flow-tab:focus-visible {
        background: var(--primary-dark, #1a2d47);
        box-shadow: -2px 2px 18px rgba(0, 0, 0, 0.18);
    }

    .selected-business-flow-tab:active {
        transform: scale(0.97);
    }

    .selected-business-tab-count {
        background: rgba(255, 255, 255, 0.25);
        min-width: 20px;
        padding: 2px 6px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
    }

    .selected-business-flow-tab-chars span {
        display: block;
        line-height: 1.05;
    }

    /* 父级不占布局，避免遮挡主内容点击 */
    .business-side-column {
        position: fixed !important;
        right: 0 !important;
        top: max(118px, 17vh) !important;
        left: auto !important;
        width: 0 !important;
        height: 0 !important;
        max-width: none !important;
        overflow: visible !important;
        z-index: 1002;
        pointer-events: none;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transition: none;
    }

    .business-side-column .selected-business-flow-tab {
        pointer-events: auto;
    }

    .selected-business-flow-wrapper {
        --selected-business-tab-offset: 0px;
        position: static;
        width: auto;
        height: auto;
    }

    /* 窄面板：约 252px，与流程侧滑 max 280px 同量级 */
    .selected-business-container {
        position: fixed !important;
        right: 44px !important;
        left: auto !important;
        top: calc(max(118px, 17vh) + var(--selected-business-tab-offset, 0px)) !important;
        width: min(252px, calc(100vw - 52px)) !important;
        max-width: calc(100vw - 52px) !important;
        margin: 0 !important;
        margin-top: 0 !important;
        max-height: calc(100vh - 130px) !important;
        transition:
            transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
            opacity 0.28s ease;
        will-change: transform, opacity;
        box-shadow:
            0 16px 40px rgba(15, 23, 42, 0.2),
            0 0 0 1px rgba(15, 23, 42, 0.06);
        border-radius: 16px;
        border: none;
    }

    .selected-business-flow-wrapper:not(.selected-business-panel-open) .selected-business-container {
        transform: translate3d(calc(100vw + 80px), 0, 0);
        opacity: 0;
        pointer-events: none;
    }

    .selected-business-flow-wrapper.selected-business-panel-open .selected-business-container {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1 !important;
        pointer-events: auto;
    }

    /* 折叠列表时不再使用桌面端的 scale，避免与侧滑动画冲突 */
    .selected-business-container.collapsed {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1 !important;
        box-shadow:
            0 16px 40px rgba(15, 23, 42, 0.2),
            0 0 0 1px rgba(15, 23, 42, 0.06);
    }

    .selected-business-flow-wrapper:not(.selected-business-panel-open) .selected-business-container.collapsed {
        transform: translate3d(calc(100vw + 80px), 0, 0) !important;
        opacity: 0 !important;
        pointer-events: none;
    }

    .selected-business-list {
        max-height: min(220px, calc(100vh - 240px));
    }

    .selected-business-header {
        cursor: default;
        padding: 8px 12px;
    }

    .selected-business-header h3 {
        font-size: 13px;
    }

    .selected-business-header h3 i {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    /* 窄屏（如 375×667）：单列铺满，避免两列挤压导致标题被截断 */
    ul.business {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cb-business-item {
        min-height: 58px;
        max-height: none;
    }

    .cb-business-link {
        overflow: visible;
        align-items: flex-start;
        padding: 10px 12px;
    }

    .cb-business-link span {
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: visible;
        line-height: 1.4;
        word-break: break-word;
    }

    .business-side-column {
        width: calc(100% - 20px);
        right: 10px;
        top: max(50px, 5vh);
        z-index: 998;
    }

    .selected-business-container.collapsed {
        opacity: 0.9;
    }

    .selected-business-container {
        max-height: 250px;
    }

    .selected-business-list {
        max-height: 150px;
    }
}

@media (min-width: 769px) {
    .selected-business-flow-tab {
        display: none !important;
    }

    .business-side-column {
        width: 330px;
    }

    .selected-business-container {
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transition: all 0.3s ease;
        box-shadow: 0 3px 15px rgba(34, 58, 94, 0.2);
        border: 1px solid rgba(34, 58, 94, 0.08);
    }
}