:root {
  --brand: #0B4F8A;
  --brand-dark: #093F6E;
  --brand-light: #E6F1FB;
  --ink: #1F2937;
  --ink-2: #4B5563;
  --ink-3: #9CA3AF;
  --line: #E5E7EB;
  --bg: #FFFFFF;
  --bg-2: #F5F6F8;
  --green: #27500A;
  --green-bg: #EAF3DE;
  --orange: #D85A30;
  --orange-bg: #FEF0E6;
  --orange-deep: #B4520E;
  --danger: #DC2626;
  --radius: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--bg-2);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.page { max-width: 480px; margin: 0 auto; background: var(--bg); min-height: 100vh; }

/* ---------- 头部 ---------- */
.hero { background: var(--brand); padding: 20px 18px; color: #fff; }
.hero h1 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.4; }
.hero .meta { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 6px; }
.hero .intro {
  font-size: 13px; color: rgba(255,255,255,.92); line-height: 1.85;
  margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.16);
}

/* ---------- 福利标签 ---------- */
.welfare { padding: 13px 18px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 11.5px; padding: 4px 9px; border-radius: 11px;
  background: var(--green-bg); color: var(--green);
}

/* ---------- 区块标题 ---------- */
.sec { padding: 15px 18px 4px; display: flex; justify-content: space-between; align-items: baseline; }
.sec h2 { margin: 0; font-size: 15px; font-weight: 600; }
.sec .hint { font-size: 12px; color: var(--ink-3); }

/* ---------- 岗位卡 ---------- */
.jobs { padding: 10px 18px 18px; }
.job {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px; margin-bottom: 11px; background: #fff;
}
.job-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.job-name { font-size: 16px; font-weight: 600; }
.job-salary { font-size: 15px; font-weight: 600; color: var(--orange); }
.job-count {
  display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--orange-deep);
  background: var(--orange-bg, #FFF3E6); border-radius: 5px; padding: 3px 8px; margin-bottom: 9px;
}
.job-highlight {
  background: var(--green-bg); color: var(--green);
  border-radius: 7px; padding: 7px 10px; font-size: 12.5px; margin-bottom: 9px;
}
.job-conds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.cond {
  font-size: 11.5px; padding: 3px 8px; border-radius: 5px;
  background: var(--bg-2); color: var(--ink-2);
}
.job-cert { font-size: 12.5px; color: var(--orange-deep); margin-bottom: 10px; }
.job-foot {
  border-top: 1px solid var(--line); padding-top: 9px;
  display: flex; justify-content: space-between; align-items: center;
}
.job-detail-btn { font-size: 13px; color: var(--ink-2); background: none; border: none; padding: 0; }
.job-apply { font-size: 13.5px; font-weight: 600; color: var(--brand); background: none; border: none; padding: 0; }
.job .detail { display: none; font-size: 13px; color: var(--ink-2); line-height: 1.9;
  padding: 10px 0 4px; border-top: 1px dashed var(--line); margin-top: 9px; }
.job .detail.show { display: block; }
/* 整张卡片可点进「岗位详情页」（2026-09-23 新增）。
   只加 cursor 与一个小箭头，不动字号 / 间距 / 配色，列表观感与改造前保持一致。
   卡片里那两个按钮（查看详细要求 / 立即报名）各自先拦截点击，不会误触发跳转。 */
.job[data-goto] { cursor: pointer; }
/* 整卡可点就必须有悬停反馈：只给 cursor 的话，鼠标停在卡片上毫无变化，
 * 用户不会想到"整张卡都能点"（只会去找那个小箭头）。 */
.job[data-goto] { transition: border-color .12s ease, box-shadow .12s ease; }
.job[data-goto]:hover { border-color: var(--brand); box-shadow: 0 3px 14px rgba(11,79,138,.10); }
.job[data-goto]:hover .job-go { color: var(--brand); }
.job-go { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 14px; margin-left: 5px; }

/* ---------- 企业文化 ---------- */
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 18px 4px; }
.photo {
  aspect-ratio: 4/3; border-radius: var(--radius); background-size: cover; background-position: center;
  background-color: var(--brand-light); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--brand); overflow: hidden;
}
.culture { padding: 10px 18px 18px; }
.culture-item {
  background: var(--bg-2); border-radius: var(--radius);
  padding: 12px 13px; margin-bottom: 9px;
}
.culture-item h3 { margin: 0 0 5px; font-size: 14px; font-weight: 600; }
.culture-item p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.85; }

/* ---------- 底部信息 ---------- */
.foot {
  padding: 14px 18px 28px; background: var(--bg-2);
  font-size: 13px; color: var(--ink-2); line-height: 1.9;
}

/* ---------- 表单 ---------- */
.topbar {
  background: var(--brand); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px; color: #fff;
  position: sticky; top: 0; z-index: 10;
}
.topbar .back { font-size: 19px; background: none; border: none; color: #fff; padding: 0; line-height: 1; }
.topbar h1 { margin: 0; font-size: 16px; font-weight: 600; }

.form-body { padding: 16px 18px 30px; }
.notice-card {
  background: var(--orange-bg); color: var(--orange-deep);
  border-radius: var(--radius); padding: 11px 13px; font-size: 13px; line-height: 1.8; margin-bottom: 16px;
}
.field { margin-bottom: 15px; }
.field > label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.field .req { color: var(--danger); }
.field .tip { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }

input[type=text], input[type=tel], input[type=number], select, textarea {
  width: 100%; font-size: 15px; font-family: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 12px; background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
textarea { resize: vertical; min-height: 76px; line-height: 1.7; }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  flex: 1 1 0; min-width: 68px; text-align: center; font-size: 13px;
  padding: 9px 6px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink-2);
}
.opt.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.upload {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; font-size: 13px; color: var(--ink-3); background: #fff;
}
.upload.has { border-style: solid; border-color: var(--brand); color: var(--brand); }

.agree { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0; }
.agree input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--brand); }
.agree span { font-size: 12px; color: var(--ink-2); line-height: 1.7; }

.btn-main {
  width: 100%; padding: 14px; border: none; border-radius: var(--radius);
  background: var(--brand); color: #fff; font-size: 16px; font-weight: 600;
  font-family: inherit;
}
.btn-main:disabled { opacity: .5; }
.btn-sub {
  width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink-2); font-size: 13px; font-family: inherit;
}

/* ---------- 提交成功 ---------- */
.result { padding: 30px 18px 24px; text-align: center; }
.result .icon {
  width: 62px; height: 62px; border-radius: 50%; background: var(--green-bg);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 30px; color: var(--green);
}
.result h1 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.result p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }

.follow-card {
  margin: 22px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px; text-align: center; background: #fff;
}
.follow-card h3 { margin: 0 0 7px; font-size: 15px; font-weight: 600; }
.follow-card .sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.8; margin-bottom: 14px; }
.follow-qr {
  width: 120px; height: 120px; margin: 0 auto 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-3);
}
.btn-follow {
  width: 100%; padding: 13px; border: none; border-radius: var(--radius);
  background: var(--orange); color: #fff; font-size: 15px; font-weight: 600; font-family: inherit;
  margin-bottom: 9px;
}
.btn-skip {
  width: 100%; padding: 8px; border: none; background: none;
  color: var(--ink-3); font-size: 13px; font-family: inherit; text-decoration: underline;
}
.follow-tip {
  margin: 14px 18px 0; font-size: 12px; color: var(--ink-3);
  text-align: center; line-height: 1.8;
}

/* ---------- 查进度 ---------- */
.query-box { padding: 20px 18px; }
.query-box .field { margin-bottom: 0; }
.record {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; margin-bottom: 11px; background: #fff;
}
.record-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.record-job { font-size: 15px; font-weight: 600; }
.record-meta { font-size: 12.5px; color: var(--ink-3); line-height: 1.8; }
.pill {
  font-size: 11.5px; padding: 3px 9px; border-radius: 11px; font-weight: 600;
}
.p-new { background: var(--orange-bg); color: var(--orange-deep); }
.p-view { background: #E6F1FB; color: #185FA5; }
.p-int { background: #FAEEDA; color: #854F0B; }
.p-hire { background: var(--green-bg); color: var(--green); }
.p-rej { background: #F1EFE8; color: #5F5E5A; }

.empty { text-align: center; padding: 42px 20px; color: var(--ink-3); font-size: 13.5px; }

.query-link {
  display: block; text-align: center; padding: 14px 18px 6px;
  font-size: 13.5px; color: var(--brand); text-decoration: none;
}
/* 悬停反馈：这两条都是"文字型入口"，不给 hover 的话在电脑上完全看不出能点
 * （手机上靠 :active，电脑上什么都没有）。老板 2026-09-29 报的就是这一类。 */
.query-link:hover { text-decoration: underline; color: var(--brand-dark); }

/* 「我的」入口（2026-09-23 新增）——扫码页底部的个人中心出口。
   和上面那条「查进度」并列，但做成一整块卡片，让人一眼分清是两个不同出口：
   一个给没登录的人（凭手机号 + 姓名查进度），一个给登录过的人（看简历 / 报名 / 关注）。
   放在 base.css 而不是新样式表，是因为 job.html 只加载 base.css。 */
.me-entry {
  display: block; text-align: center; margin: 16px 18px 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 13px 14px;
  font-size: 14px; color: var(--ink); text-decoration: none;
}
.me-entry .go { color: var(--ink-3); margin-left: 6px; }
.me-entry:active { background: var(--bg-2); }
/* 整块卡片是链接：悬停变色 + 描边加深 + 箭头往右轻推一下 */
.me-entry { transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease; }
.me-entry:hover { border-color: var(--brand); background: var(--brand-light); box-shadow: 0 2px 10px rgba(11,79,138,.08); }
.me-entry:hover .go { color: var(--brand); transform: translateX(2px); display: inline-block; }

.toast {
  position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%);
  background: rgba(31,41,55,.92); color: #fff; font-size: 13.5px;
  padding: 11px 20px; border-radius: 20px; z-index: 99; max-width: 82%;
  text-align: center; line-height: 1.6;
}

/* 图片全屏预览 */
.zoom-mask {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.92); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.zoom-mask img { max-width: 100%; max-height: 100%; border-radius: 8px; }
