/* ============================================================
   筛选页（jobs.html）独立样式
   rem 基准：720px 设计稿（与 js/rem.js、home.css 完全统一）
   ============================================================ */

body { background: #f4f6fb; }

.jl_app {
	max-width: 7.2rem;
	margin: 0 auto;
	background: #f4f6fb;
	position: relative;
	min-height: 100vh;
}

.jl_content {
	padding: 1.08rem 0 0.48rem;   /* top 0.88rem 避让顶栏 + 0.2rem 额外留白，bottom 正常间距（无 tabbar） */
}

/* ============================================================
   上半部统一白卡容器：搜索框 + 筛选面板融合成一块，
   和顶栏白色背景自然衔接，不再"断开"
   ============================================================ */
.jl_top_section {
	margin: 0.24rem 0.24rem 0.2rem;
	background: #fff;
	border-radius: 0.2rem;       /* 比 .hm_card 的 0.16rem 略大一点 */
	box-shadow: 0 0.04rem 0.2rem rgba(20, 60, 140, 0.07);
	padding: 0.24rem 0.28rem 0.16rem;
}

/* ---------- 搜索框（直接放在 .jl_top_section 里，无额外 wrap） ---------- */
.jl_search_box {
	display: flex;
	align-items: center;
	height: 0.8rem;              /* 参考 .hm_btn height */
	padding: 0 0.24rem;
	background: #f4f6fb;         /* 搜索框内部是浅灰，和外面白卡形成层次 */
	border-radius: 0.4rem;
	border: 1px solid #e4ebf9;
	margin-bottom: 0.2rem;
}
.jl_search_box svg { flex-shrink: 0; color: #7a8ca8; }
.jl_search_box input {
	flex: 1;
	margin-left: 0.14rem;
	font-size: 0.28rem;
	color: #1a3b7a;
	background: transparent;
	border: none;
	outline: none;
	padding: 0;
	height: 100%;
	min-width: 0;
}
.jl_search_box input::placeholder { color: #a4aec4; }

/* ---------- 筛选面板：边框/圆角/阴影由 .jl_top_section 提供，自身不再重复 ---------- */
.jl_filter_panel {
	border-top: 1px solid #eef1f7;   /* 一条细线分隔搜索和筛选，整体还在一个卡里 */
	padding-top: 0.2rem;
}

/* 标题栏：点击可收起/展开 */
.jl_fp_head {
	display: flex;
	flex-direction: column;
	gap: 0.06rem;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.jl_fp_head:active { background: #f8faff; border-radius: 0.08rem; }

.jl_fp_head .jl_fp_title {
	font-size: 0.32rem;          /* 参考 .hm_job_card .jc_title / .jb_topbar .jb_t_title */
	font-weight: 700;
	color: #0f2a5c;
	display: flex;
	align-items: center;
	justify-content: space-between;
	user-select: none;
}
.jl_fp_head .jl_fp_arrow {
	color: #8a94a8;
	transition: transform .2s ease;
	flex-shrink: 0;
}

/* 收起时箭头朝上 */
.jl_filter_panel.collapsed .jl_fp_arrow {
	transform: rotate(180deg);
}

.jl_fp_counts {
	font-size: 0.22rem;
	color: #6b7a96;
	line-height: 1.4;
}
.jl_fp_counts b { color: #0a56d0; font-weight: 700; margin: 0 0.04rem; }

/* 可收起的筛选主体：默认展开 */
.jl_fp_body {
	overflow: hidden;
	transition: max-height .28s ease, opacity .2s ease, margin-top .2s ease;
	max-height: 10rem;   /* 足够容纳 4 行筛选 */
	opacity: 1;
	margin-top: 0.2rem;
}
/* 收起状态 */
.jl_filter_panel.collapsed .jl_fp_body {
	max-height: 0;
	opacity: 0;
	margin-top: 0;
}

.jl_fp_block { margin-top: 0.24rem; }
.jl_fp_block:first-child { margin-top: 0; }

.jl_fp_label {
	font-size: 0.24rem;
	font-weight: 600;
	color: #51617e;
	margin-bottom: 0.16rem;
	display: flex;
	align-items: center;
}
.jl_fp_label::before {
	content: '';
	display: inline-block;
	width: 0.06rem;
	height: 0.24rem;
	margin-right: 0.12rem;
	border-radius: 0.04rem;
	background: linear-gradient(180deg, #2b86f5, #0a56d0);
	flex-shrink: 0;
}
.jl_fp_tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.1rem 0.08rem;
}
.jl_fp_tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.1rem 0.2rem;
	font-size: 0.24rem;
	color: #475877;
	background: #f2f4fb;
	border: 1px solid #e4eaf8;
	border-radius: 0.24rem;
	transition: all .15s ease;
	white-space: nowrap;
}
.jl_fp_tag:active { transform: scale(0.97); }
.jl_fp_tag.on {
	background: #0a56d0;
	color: #fff;
	border-color: #0a56d0;
	box-shadow: 0 0.04rem 0.12rem rgba(10, 86, 208, 0.3);
}

.jl_fp_actions {
	margin-top: 0.28rem;
	display: flex;
	gap: 0.16rem;
}
.jl_fp_actions .hm_btn {
	flex: 1;
	height: 0.72rem;
	padding: 0;
	font-size: 0.26rem;
	min-width: 0;
}

/* ============================================================
   结果信息条 + 岗位列表（白卡外，灰底，用 home.css 全局背景）
   ============================================================ */
.jl_summary {
	padding: 0 0.24rem 0.16rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.12rem;
}
.jl_summary .jl_sum_l {
	font-size: 0.28rem;
	font-weight: 700;
	color: #1c315c;
	flex-shrink: 0;
}
.jl_summary .jl_sum_l b { color: #0a56d0; margin: 0 0.06rem; }
.jl_summary .jl_sum_r {
	font-size: 0.2rem;
	color: #7a8ca8;
	display: flex;
	align-items: center;
	text-align: right;
	line-height: 1.3;
}
.jl_summary .jl_sum_r .jl_dot {
	width: 0.08rem;
	height: 0.08rem;
	border-radius: 50%;
	background: #4cd086;
	margin-right: 0.08rem;
	display: inline-block;
	flex-shrink: 0;
}

.jl_job_list {
	padding: 0 0.24rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.jl_job_card {
	background: #fff;
	border-radius: 0.16rem;
	padding: 0.28rem 0.28rem 0.24rem;
	box-shadow: 0 0.04rem 0.2rem rgba(20, 60, 140, 0.07);
	transition: transform .12s ease, box-shadow .12s ease;
	border: 1px solid #eef2fb;
	display: block;
}
.jl_job_card:active {
	transform: scale(0.99);
	box-shadow: 0 0.02rem 0.08rem rgba(20, 60, 140, 0.05);
}
.jl_jc_title {
	font-size: 0.32rem;
	font-weight: 700;
	color: #1a2b55;
	line-height: 1.35;
	margin-bottom: 0.08rem;
	word-break: break-all;
}
.jl_jc_meta {
	font-size: 0.22rem;
	color: #6c7c9a;
	margin-bottom: 0.1rem;
	line-height: 1.5;
	display: flex;
	flex-wrap: wrap;
	gap: 0.04rem 0.12rem;
}
.jl_jc_meta span {
	display: inline-flex;
	align-items: center;
}
.jl_jc_meta .jl_sep {
	width: 0.06rem;
	height: 0.06rem;
	border-radius: 50%;
	background: #c9d1e0;
	align-self: center;
	flex-shrink: 0;
}
.jl_jc_loc {
	font-size: 0.24rem;
	color: #446090;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	line-height: 1.5;
}
.jl_jc_loc svg {
	flex-shrink: 0;
	margin-right: 0.06rem;
	color: #0a56d0;
}
.jl_jc_loc .jl_loc_list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.08rem 0.18rem;
}
.jl_jc_loc .jl_loc_item {
	display: inline-flex;
	align-items: center;
}
.jl_jc_loc .jl_loc_item + .jl_loc_item::before {
	content: '·';
	color: #a4aec4;
	margin-right: 0.18rem;
}

.jl_empty {
	padding: 1.4rem 0.4rem 2rem;
	text-align: center;
	color: #8a94a8;
	font-size: 0.26rem;
	line-height: 1.8;
}
.jl_empty svg { color: #bfccdf; margin-bottom: 0.16rem; }
.jl_empty .hl { color: #0a56d0; }

/* ============================================================
   底部按钮栏
   ============================================================ */
.jl_tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	justify-content: center;
	background: transparent;
}
.jl_tabbar > .jl_tabbar_inner {
	width: 100%;
	max-width: 7.2rem;
	padding: 0.16rem 0.24rem calc(0.16rem + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 -0.02rem 0.16rem rgba(20, 60, 140, 0.08);
	display: flex;
	gap: 0.2rem;
	box-sizing: border-box;
}
.jl_tabbar .hm_btn {
	flex: 1;
	height: 0.8rem;
	font-size: 0.28rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0 0.2rem;
	min-width: 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
}
.jl_tabbar .hm_btn svg {
	width: 16px;
	height: 16px;
	margin-right: 0.1rem;
	flex-shrink: 0;
}

/* ============================================================
   个人隐私声明弹层（jobs.html 进入岗位列表前必读确认）
   rem 基准与 jobs.css 一致（720px 设计稿）
   ============================================================ */
.privacy-mask {
	position: fixed;
	left: 0; right: 0; top: 0; bottom: 0;
	max-width: 7.2rem;               /* 与 .jl_app 同宽，PC 预览时也居中对齐 */
	margin: 0 auto;
	background: rgba(15, 42, 92, 0.55);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	z-index: 9999;
	display: none;
	flex-direction: column;
	align-items: stretch;
	-webkit-tap-highlight-color: transparent;
}
.privacy-mask[aria-hidden="false"] { display: flex; }

.privacy-sheet {
	flex: 1;
	margin: 0.4rem 0.2rem calc(0.2rem + env(safe-area-inset-bottom));
	background: #fff;
	border-radius: 0.2rem;
	box-shadow: 0 0.08rem 0.4rem rgba(10, 30, 80, 0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 0;                   /* 让内部 .privacy-body 可滚动 */
}

/* 顶部标题栏 */
.privacy-header {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.16rem;
	padding: 0.32rem 0.28rem 0.24rem;
	background: linear-gradient(180deg, #0f2a5c 0%, #0a56d0 100%);
	color: #fff;
}
.privacy-ico {
	width: 0.56rem; height: 0.56rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	flex-shrink: 0;
}
.privacy-title {
	font-size: 0.34rem;
	font-weight: 700;
	letter-spacing: 0.02rem;
	line-height: 1.2;
	text-align: center;
}

/* 中部声明正文：可滚动区 */
.privacy-body {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0.28rem 0.32rem 0.36rem;
	font-size: 0.26rem;
	line-height: 1.7;
	color: #2b3a55;
	background: #fbfcfe;
	min-height: 0;                   /* flex 子项滚动必需 */
}
.privacy-body h3 {
	font-size: 0.3rem;
	font-weight: 700;
	color: #0f2a5c;
	margin: 0.32rem 0 0.12rem;
	padding-left: 0.16rem;
	border-left: 0.06rem solid #0a56d0;
	line-height: 1.4;
}
.privacy-body h3:first-child { margin-top: 0; }
.privacy-body p { margin: 0 0 0.16rem; word-break: break-word; }
.privacy-body .pb_lead {
	font-size: 0.26rem;
	color: #324a6e;
	background: #f2f6ff;
	border-radius: 0.12rem;
	padding: 0.2rem 0.24rem;
	margin-bottom: 0.24rem;
	line-height: 1.7;
}
.privacy-body .pb_lead b { color: #0a56d0; }
.privacy-body .pb_sub {
	font-size: 0.28rem;
	font-weight: 700;
	color: #1a3b7a;
	margin: 0.2rem 0 0.08rem;
}
.privacy-body ul {
	margin: 0.04rem 0 0.18rem;
	padding-left: 0.4rem;
	list-style: disc;
}
.privacy-body li {
	margin-bottom: 0.08rem;
	line-height: 1.65;
	color: #3a4c6b;
}
.privacy-body .pb_contact {
	background: #f2f6ff;
	border-radius: 0.12rem;
	padding: 0.18rem 0.24rem;
	line-height: 1.9;
	color: #1a3b7a;
}
.privacy-body .pb_tip {
	margin-top: 0.24rem;
	padding-top: 0.2rem;
	border-top: 1px dashed #cfdbeb;
	text-align: center;
	color: #6c7c9a;
	font-size: 0.24rem;
}

/* 底部固定区：勾选项 + 按钮 */
.privacy-footer {
	flex-shrink: 0;
	padding: 0.24rem 0.28rem calc(0.2rem + env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid #eef1f7;
	box-shadow: 0 -0.02rem 0.12rem rgba(20, 60, 140, 0.06);
}
.privacy-checks {
	display: flex;
	flex-direction: column;
	gap: 0.16rem;
	margin-bottom: 0.24rem;
}
.pc_item {
	position: relative;             /* 承载内部隐藏 input 的 absolute 定位 */
	display: flex;
	align-items: flex-start;
	gap: 0.14rem;
	font-size: 0.24rem;
	line-height: 1.55;
	color: #475877;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.pc_item input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.pc_box {
	flex-shrink: 0;
	width: 0.34rem; height: 0.34rem;
	border: 1.5px solid #c5cfde;
	border-radius: 0.08rem;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: all .15s ease;
	margin-top: 0.02rem;
}
.pc_box svg {
	opacity: 0;
	transform: scale(0.6);
	transition: all .15s ease;
}
.pc_item input:checked + .pc_box {
	background: #0a56d0;
	border-color: #0a56d0;
}
.pc_item input:checked + .pc_box svg {
	opacity: 1;
	transform: scale(1);
}
.pc_txt { flex: 1; }
.pc_item input:checked ~ .pc_txt { color: #1a3b7a; }

.privacy-actions {
	display: flex;
	gap: 0.18rem;
	margin-bottom: 0.16rem;
}
.privacy-actions .hm_btn {
	flex: 1;
	height: 0.84rem;
	font-size: 0.28rem;
	padding: 0;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.privacy-actions .hm_btn_primary:disabled,
.privacy-actions .hm_btn_primary[disabled] {
	background: #c5cfde !important;
	color: #fff !important;
	box-shadow: none !important;
	cursor: not-allowed;
}
.privacy-actions .hm_btn_primary:not(:disabled) {
	box-shadow: 0 0.06rem 0.16rem rgba(10, 86, 208, 0.3);
}

.privacy-hint {
	font-size: 0.22rem;
	color: #7a8ca8;
	text-align: center;
	line-height: 1.5;
	padding: 0.04rem 0.08rem;
	min-height: 0.34rem;
	word-break: break-word;
}
.privacy-hint.warn { color: #d97706; }
.privacy-hint.err  { color: #d33; }
