@charset "utf-8";

table {
	width: 100%;
	border-collapse: collapse;
}

.jcap-hidden {
    display: none !important;
}

/* =============================================================================
   Jcap Mobile UI: Data Table Component (Updated Alignment)
   Prefix: jcap-
   ============================================================================= */

/* --- 表格容器 --- */
.jcap-table-container {
    width: 100%;
    max-width: 480px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    border-collapse: separate;
    border-spacing: 0;
}

/* --- 表格基础设置 --- */
.jcap-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center; /* 全局默认居中（影响表头和其余列） */
}

/* --- 表头样式 --- */
.jcap-table-header {
    background-color: #007bff;
    color: #ffffff;
}

.jcap-th {
    padding: 14px 10px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center; /* 确保表头文字居中 */
}

/* --- 表格行样式 --- */
.jcap-table-row {
    background-color: #f5f8ff;
    transition: background-color 0.2s ease;
}

.jcap-table-row:nth-child(even) {
    background-color: #ebf3ff;
}

.jcap-table-row:active {
    background-color: #dbeafe;
}

/* --- 单元格样式 --- */
.jcap-td {
    padding: 14px 10px;
    font-size: 14px;
    color: #333333;
    border-bottom: 1px solid #e1e4e8;
    vertical-align: middle;
}

/* ---------------------------------------------------------
   【修改重点】第一列单元格强制左对齐
   使用 :first-child 选择器选中每行的第一个 td
   --------------------------------------------------------- */
.jcap-td:first-child {
    text-align: left;
    font-weight: 500; /* 可选：稍微加粗，突出项目名称 */
}

/* 去掉最后一行的底部边框 */
.jcap-table-row:last-child .jcap-td {
    border-bottom: none;
}

/* --- 通用图片卡片容器 --- */
.jcap-image-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    max-width: 480px;
    margin: 20px auto;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    /* 增加一个过渡效果，让显示更柔和（可选） */
    animation: jcapFadeIn 0.4s ease;
}

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

/* --- 图片主体 --- */
.jcap-image-main {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background-color: #f5f5f5;
}

/* --- 图片信息区域 --- */
.jcap-image-info {
    padding: 16px 0 0;
    text-align: left;
}

.jcap-image-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.jcap-image-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 通用图片卡片容器 */


/* 通用checkbox的样式定义 start */

/* =============================================================================
   JCap Mobile UI Extensions: Checkbox & Typography
   Naming Convention: jcap-[component]-[element]
   ============================================================================= */

/* --- 1. 基础自定义 Checkbox 样式 --- */

/* 隐藏原生 checkbox 输入框 (核心控制元素) */
.jcap-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

/* 自定义复选框标签容器 */
.jcap-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none; /* 防止快速点击时选中文字 */
    position: relative;
    padding-left: 28px; /* 为左侧图标留出空间 */
    line-height: 1.5;
    transition: color 0.2s ease;
}

/* 绘制方框 (使用 ::before) */
.jcap-checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px; /* 轻微圆角 */
    background-color: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* 绘制对勾 (使用 ::after，默认隐藏) */
.jcap-checkbox-label::after {
    content: '';
    position: absolute;
    left: 4px; 
    top: 8px;
    transform: translateY(-55%) rotate(315deg);
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
    transition: all 0.2s ease;
}

/* --- 状态：选中 (Checked) --- */
/* 当 input 被选中时，改变方框颜色和对勾显示 */
.jcap-checkbox-input:checked + .jcap-checkbox-label::before {
    background-color: #007bff; /* 主题蓝 */
    border-color: #007bff;
}

.jcap-checkbox-input:checked + .jcap-checkbox-label::after {
    opacity: 1;
}

.jcap-checkbox-input:checked + .jcap-checkbox-label {
    color: #007bff; /* 选中时文字也变蓝，增强反馈 */
}

/* --- 状态：禁用 (Disabled) --- */
.jcap-checkbox-input:disabled + .jcap-checkbox-label {
    color: #ccc;
    cursor: not-allowed;
}

.jcap-checkbox-input:disabled + .jcap-checkbox-label::before {
    background-color: #f5f5f5;
    border-color: #eee;
}

.jcap-checkbox-input:disabled:checked + .jcap-checkbox-label::before {
    background-color: #ccc;
    border-color: #ccc;
}

.jcap-checkbox-input:disabled:checked + .jcap-checkbox-label::after {
    border-color: #fff; /* 确保对勾在灰色背景下可见 */
}


/* --- 2. 布局工具类：一行多个 Checkbox --- */

/* 通用容器样式 */
.jcap-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* 项目之间的间距 */
    margin-bottom: 16px;
}

/* 单个选项包裹器 (用于控制宽度) */
.jcap-checkbox-item {
    display: block;
    margin-left:45%;
}

/* 一行两个 (每个占 50% 减去间距的一半) */
.jcap-checkbox-row-2 .jcap-checkbox-item {
    flex: 0 0 calc(50% - 8px); 
    box-sizing: border-box;
}

/* 一行三个 (每个占 33.33% 减去间距的补偿) */
.jcap-checkbox-row-3 .jcap-checkbox-item {
    flex: 0 0 calc(33.333% - 10.6px); 
    box-sizing: border-box;
}

/* 移动端小屏幕适配：如果屏幕太窄，一行三个自动变为两行或一行两个 */
@media (max-width: 360px) {
    .jcap-checkbox-row-3 .jcap-checkbox-item {
        flex: 0 0 calc(50% - 8px); /* 超小屏强制变为一行两个 */
    }
}


/* --- 3. 文本段落样式 --- */
.jcap-text-paragraph {
    font-size: 14px;
    line-height: 1.6; /* 舒适的阅读行高 */
    color: #555;
    text-align: justify; /* 两端对齐 */
    margin-bottom: 16px;
}

.jcap-text-paragraph strong {
    color: #333;
    font-weight: 600;
}

.jcap-text-paragraph a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px dashed #007bff;
    transition: color 0.2s;
}

.jcap-text-paragraph a:active,
.jcap-text-paragraph a:hover {
    color: #0056b3;
    border-bottom-style: solid;
}

/* 辅助类：小号文字 (用于免责声明等) */
.jcap-text-small {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    margin-top: -8px; /* 稍微拉近与上一段的距离 */
}


/* 通用checkbox的样式定义 end */



/* 参会报名  start  */
.jcap-cnbm-table-container {
	max-width: 100%;
	width: 100%;
	background-color: white;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.jcap-cnbm-table {
	width: 100%;
	border-collapse: collapse;
}

.jcap-cnbm-table thead {
	background-color: #122A8E;
}

.jcap-cnbm-table th {
	background-color: #122A8E;
	font-size: 14px;
	color: white;
	padding: 2px;
	text-align: center;
	font-weight: bold;
	border-right: 2px solid rgba(255, 255, 255, 0.2);

}

.jcap-cnbm-table th:last-child {
	border-right: none;
}

.jcap-cnbm-table th:first-child {
	text-align: left;
	padding-left: 10px;
}

.jcap-cnbm-table tbody tr {
	border-top: 1px solid #e0e0e0;
}

.jcap-cnbm-table tbody tr:last-child {
	border-bottom: none;
}

.jcap-cnbm-table td {
	padding: 2px;
	text-align: center;
	font-size: 14px;
	border-right: 2px solid rgba(255, 255, 255, 0.2)
}

/* 第一列样式 - 深蓝色背景 */
.jcap-cnbm-table td:first-child {
	color: white;
	text-align: left;
	padding-left: 10px;
	font-weight: bold;
	border-right: 2px solid rgba(255, 255, 255, 0.2);
}

/* 第一行数据 - 蓝色背景 */
.jcap-cnbm-table tbody tr:nth-child(1) {
	background-color: #3657C5;
}

.jcap-cnbm-table tbody tr:nth-child(1) td:not (:first-child ) {
	background-color: #3657C5;
	color: white;
}

/* 第二行数据 - 浅蓝色背景 */
.jcap-cnbm-table tbody tr:nth-child(2) {
	background-color: #8AA8F1;
}

.jcap-cnbm-table tbody tr:nth-child(2) td:not (:first-child ) {
	background-color: #8AA8F1;
	color: white;
}

/* 价格样式 */
.jcap-cnbm-price {
	font-size: 14px;
	font-weight: bold;
}

.jcap-cnbm-unit {
	font-size: 14px;
	margin-left: 2px;
}

.jcap-cnbm-note {
	padding: 10px;
	background-color: #f9f9f9;
	font-size: 0.8rem;
	color: #666;
	border-top: 1px solid #e0e0e0;
}

/*参会报名 end */


/* --- 通用样式--- */
.jcap-body {
    padding: 30px 20px;
    background: #fff;
    min-height: 400px; /* 保证最小视觉高度 */
}

.jcap-error-wrap {
	display: block;
    margin-bottom: 8px;
    font-weight: 600;
	width: 100%;
	color: #DC143C;
	text-align: center
}

.jcap-result-wrap {
	display: block;
    margin-bottom: 8px;
    font-weight: 600;
	width: 100%;
	color: #122A8E;
	text-align: center
}

.jcap-form-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #122A8E;
    margin-bottom: 20px;
}

.jcap-form-title-h2 {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #122A8E;
    margin-bottom: 16px;
}

.jcap-form-title-h3 {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #122A8E;
    margin-bottom: 14px;
}

.jcap-form-group {
    margin-bottom: 20px;
    position: relative;
}

.jcap-form-label {
	width:100%;
	text-align: center;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.jcap-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px; /* 防止iOS缩放 */
    outline: none;
    transition: border-color 0.3s;
}

.jcap-form-input:focus {
    border-color: #007bff;
}

.jcap-btn-code {
    position: absolute;
    right: 10px;
    top: 8px; /* 根据label高度调整  原始数据38px */
    padding: 8px 12px;
    background: #f0f7ff;
    color: #007bff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.jcap-btn-submit {
    width: 100%;
    padding: 14px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.jcap-btn-group input {
	margin-right:10px;
	margin-botton:5px;
}

.jcap-btn-group {
	display:flex;
	gap:10px;
	flex-wrap:wrap;
}


.jcap-btn-submit-min {
    width: auto;
    padding: 14px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.jcap-btn-submit:active {
    background: #0056b3;
}

.jcap-hint-text {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
}

/* --- 隐私协议弹窗样式 --- */
.jcap-modal-overlay {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.jcap-modal-box {
    background: #fff;
    width: 85%;
    max-width: 320px;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.jcap-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.jcap-modal-content-text {
    font-size: 13px;
    color: #666;
    text-align: left;
    line-height: 1.8;
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

.jcap-modal-actions {
    display: flex;
    gap: 15px;
}

.jcap-btn-modal {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.jcap-btn-cancel {
    background: #e0e0e0;
    color: #555;
}

.jcap-btn-agree {
    background: #007bff;
    color: #fff;
}

/* ---支付画面的样式定义    start*/
/* 整体大容器 */
.payment-container {
	width: 100%;
	max-width: 900px; /* 因为有两个框并排，适当放宽最大宽度 */
	display: flex;
	flex-wrap: wrap; /* 核心：允许子元素在空间不足时自动换行 */
	gap: 20px; /* 两个框之间的间距 */
	box-sizing: border-box;
}

/* 左右两个独立框框的公共样式 */
.box {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: 25px;
	box-sizing: border-box;
	flex: 1; /* 核心：让两个框平分容器的宽度 */
	min-width: 300px; /* 核心：设置最小宽度，手机端会自动触发换行 */
}

/* --- 左侧：银行账号框样式 --- */
.bank-box {
	display: flex;
	flex-direction: column;
	justify-content: center; /* 垂直居中 */
}

.bank-box p {
	margin: 12px 0;
	font-size: 14px;
}

.bank-box .highlight {
	font-weight: bold;
}

/* --- 右侧：二维码框样式 --- */
.qr-box {
	display: flex;
	flex-direction: column;
	align-items: center; /* 水平居中 */
	justify-content: center; /* 垂直居中 */
}

.qr-box h3 {
	margin: 0 0 20px 0;
	font-size: 18px;
	color: #333;
}

/* --- 二维码图片样式 (重点) --- */
.qr-wrapper {
	margin: 10px auto;
	dispaly: inline-block;
	padding: 10px;
	border: 1px solid #eee;
	border-radius: 4px;
	background-color: #fff;
}

.qr-wrapper img {
	width: clamp(300px, 500px, 90vw);
	height: auto; /* 高度跟随宽度等比自适应 */
	max-width: 100%; 
	/* 尝试使用正片叠底，会让白色变透明，深色加深 */
	mix-blend-mode: multiply;
	display: block;
}

/* 支付画面的样式  end */