/* ==========================================================================
   北京师范大学庆阳实验学校 · 应聘者确认系统
   设计令牌 + 基础样式 + 公共组件
   ========================================================================== */

:root {
  /* 主色 —— 取自校徽标准蓝 #184878 */
  --blue-900: #0C2038;
  --blue-800: #123152;
  --blue-700: #184878;
  --blue-600: #225C93;
  --blue-300: #A8C0DC;
  --blue-100: #DCE7F3;
  --blue-50:  #EDF3FA;
  --blue-50b: #F5F8FC;

  /* 辅助金 —— 取自校徽烫金 */
  --gold-700: #8A6D1F;
  --gold-600: #B08D2B;
  --gold-500: #C9A227;
  --gold-100: #F4E9CB;

  /* 语义色 */
  --green-700: #24503A;
  --green-600: #2F6B4A;
  --green-500: #3D8A61;
  --green-50:  #EAF5EF;
  --green-100: #CFE7DA;

  --red-700: #8C2F22;
  --red-600: #B03A2B;
  --red-500: #D1462F;
  --red-50:  #FCF0ED;

  --amber-700: #8A6300;
  --amber-600: #B07A00;
  --amber-500: #E0A800;
  --amber-50:  #FDF6E3;

  /* 中性色 —— 冷调灰蓝，与主色更协调 */
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --mist:  #EDF1F6;
  --sand:  #F0F3F8;
  --line:  #E1E7EF;
  --line-2: #CDD6E2;
  --ink-1: #0F2743;
  --ink-2: #35485F;
  --ink-3: #56687E;
  --ink-4: #7C8B9E;
  --ink-5: #97A4B5;
  --ink-6: #B4BFCD;
  --ink-7: #D3DAE3;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Inter", "SF Pro", system-ui, sans-serif;

  /* 圆角 —— 更大更圆润，现代感 */
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 26px;
  --r-pill: 999px;

  /* 阴影 —— 蓝调柔和 */
  --sh-card: 0 2px 12px rgba(15, 39, 67, .05);
  --sh-pop: 0 12px 36px rgba(15, 39, 67, .12);
  --sh-hero: 0 4px 24px rgba(24, 72, 120, .10);

  /* 布局 */
  --maxw: 1200px;
  --pad-x: 120px;
}

@media (max-width: 1280px) {
  :root { --pad-x: 48px; }
}
@media (max-width: 768px) {
  :root { --pad-x: 20px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button { cursor: pointer; }

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   应聘者端 · 顶部导航
   ========================================================================== */

.site-header {
  height: 76px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 校名组合标识：直接用官方图片，不再手写文字
   原图 1310×310（4.23:1），锁定宽度避免被 flex 拉伸变形 */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-logo {
  width: 218px;
  height: auto;
  flex-shrink: 0;
}

.site-nav { display: flex; align-items: center; gap: 6px; }

/* 窄屏导航折叠 */
.nav-toggle {
  display: flex;
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 120;
}
/* 宽屏隐藏汉堡，仅窄屏显示 */
@media (min-width: 861px) {
  .nav-toggle { display: none; }
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink-1);
  border-radius: 2px;
  transition: transform .22s, opacity .22s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.nav-toggle.is-on span { background: transparent; }
.nav-toggle.is-on span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-on span::after { transform: translateY(-6px) rotate(-45deg); }

.sub-page-bar { display: none; }

@media (max-width: 860px) {
  /* 内页在窄屏改为底部固定操作条 */
  .sub-page-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 8px var(--pad-x) calc(8px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .sub-page-bar .btn-back {
    flex: 1;
    justify-content: center;
    background: var(--blue-700);
    color: #fff;
    padding: 13px;
    border-radius: var(--r-md);
  }
  .sub-page-bar .btn-back svg { stroke: #fff; }
  body.sub-page { padding-bottom: 68px; }
}

@media (max-width: 860px) {
  .site-header { height: 68px; }
  .btn-back.hide-sm { display: none; }
  .nav-toggle.is-shown { display: flex; }
  .site-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-card);
    padding: 8px var(--pad-x) 16px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a.active::after { display: none; }
  .brand-cn { font-size: 16px; }
  .brand-en { font-size: 9px; }
  .hero { padding: 40px var(--pad-x); gap: 32px; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .hero-stat b { font-size: 28px; }
  .section { padding: 48px var(--pad-x); }
  h2.sec-title { font-size: 28px; }
  h3.blk-title { font-size: 25px; }
  .card { padding: 26px; }
  .footer-main { padding: 44px var(--pad-x); gap: 34px; }
  .footer-col, .footer-col.narrow { width: 100%; }
  .submit-bar { padding: 20px; }
  .ticket-body { flex-direction: column; }
  .photo-slot { width: 100%; height: 150px; }
}

.site-nav a {
  font-size: 15px;
  color: var(--ink-3);
  transition: background .18s, color .18s;
  padding: 9px 18px;
  border-radius: var(--r-pill);
}

.site-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.site-nav a.active { background: var(--blue-700); color: #fff; font-weight: 500; }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 500;
  transition: background .18s;
}
.btn-back:hover { background: var(--blue-100); }

/* 面包屑 */
.crumb {
  background: var(--white);
  padding: 24px var(--pad-x);
  font-size: 13px;
  color: var(--ink-5);
}
.crumb b { color: var(--ink-3); font-weight: 400; }

/* 步骤条 */
.stepper {
  background: var(--white);
  padding: 28px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  background: #F1EFE9;
  color: var(--ink-4);
  font-size: 14px;
}

.step.is-done, .step.is-active { background: var(--blue-700); color: #fff; }
.step.is-done .step-num { color: var(--gold-500); }

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #A9A397;
}
.step.is-done .step-num { color: var(--gold-500); }
.step.is-active .step-num { color: var(--gold-500); }

.step-arrow { color: var(--ink-7); font-size: 14px; }

/* ==========================================================================
   应聘者端 · 首页 Hero
   ========================================================================== */

.hero {
  background: var(--white);
  padding: 32px var(--pad-x) 44px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-left { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.hero-right { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }

@media (max-width: 1100px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-right { width: 100%; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 500;
}

.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); }

.hero h1 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-1);
  letter-spacing: .5px;
}

@media (max-width: 1400px) { .hero h1 { font-size: 33px; } }
@media (max-width: 900px)  { .hero h1 { font-size: 26px; } }

.hero-sub {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-3);
  max-width: 620px;
}

.hero-stats { display: flex; align-items: center; gap: 44px; margin-top: 6px; }

.hero-stat { display: flex; flex-direction: column; gap: 4px; }

.hero-stat b {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 600;
  color: var(--blue-700);
  line-height: 1.1;
}
.hero-stat.is-urgent b { color: var(--red-500); }

.hero-stat span { font-size: 13px; color: var(--ink-5); }

.hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-hero);
}

/* ==========================================================================
   通用区块
   ========================================================================== */

.section { padding: 80px var(--pad-x); }
.section-white { background: var(--white); }
.section-paper { background: var(--paper); }

/* 首页服务区：作为页面视觉重心，上下留白加大 */
.section-services { padding: 64px var(--pad-x) 96px; }

.section-head { margin-bottom: 40px; }

h2.sec-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-1);
}

h3.blk-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 34px;
}

/* 三项服务卡片 */
.svc-grid {
  display: grid;
  /* 首页现为两张卡片（确认笔试 / 下载准考证），用两列布局，两端与内容区对齐 */
  grid-template-columns: repeat(2, 1fr);
  gap: 96px;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .svc-grid { gap: 48px; }
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; gap: 24px; }
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 48px 46px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--sh-card);
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}

/* 顶部彩条：hover 时从左展开 */
.svc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--svc-accent, var(--blue-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-pop);
  border-color: var(--line-2);
}

.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 62px; height: 62px;
  border-radius: var(--r-lg);
  flex-shrink: 0;
}

.svc-card h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: .5px;
}

.svc-card p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-3);
  flex: 1;
}

/* 时间通告：卡片主色系强调 —— 浅色底 + 左侧主色竖条 + 加粗放大
   用 .svc-card .svc-time 提高权重，覆盖上面 .svc-card p 的字号/行距/颜色 */
.svc-card .svc-time {
  flex: 1;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--svc-tint, var(--blue-50));
  border-left: 4px solid var(--svc-accent, var(--blue-700));
  color: var(--svc-accent, var(--blue-700));
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .2px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .svc-card .svc-time { font-size: 17px; padding: 16px 18px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 500;
  transition: all .18s;
  align-self: flex-start;
}

.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-800); }

.btn-ghost {
  background: var(--white);
  border: 1px solid var(--blue-700);
  color: var(--blue-700);
}
.btn-ghost:hover { background: var(--blue-50); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; align-self: stretch; }

/* 招聘简介 */

.flow-box {
  background: var(--sand);
  border-radius: 16px;
  padding: 34px;
  margin-bottom: 20px;
}

.flow-box h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 22px;
}

.flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .flow-row { grid-template-columns: repeat(2, 1fr); } }

.flow-step {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-step b {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-500);
}
.flow-step.is-now b,
.flow-step.is-now strong { color: var(--red-500); }

.flow-step strong { font-size: 16px; font-weight: 500; color: var(--ink-1); }
.flow-step span { font-size: 13px; color: var(--ink-5); }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  font-size: 15px;
  line-height: 1.75;
}
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert-danger { background: var(--red-50); color: var(--red-700); }
.alert-warn { background: var(--amber-50); color: var(--amber-700); }
.alert-ok { background: var(--green-50); color: var(--green-600); }
.alert-info { background: var(--blue-50); color: var(--blue-700); }

/* ==========================================================================
   应聘者端 · 页脚
   ========================================================================== */

.site-footer {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--blue-700) 100%);
  color: #fff;
  position: relative;
}

/* 顶部金线呼应校徽烫金 */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600), var(--gold-500));
}

.footer-main {
  padding: 60px var(--pad-x) 52px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-brand { flex: 1; min-width: 320px; display: flex; flex-direction: column; gap: 16px; }

/* 页脚校名标识：深蓝底上使用白色版 logo，对比清晰
   原图 1310×310（4.23:1），锁定宽度防止变形 */
.footer-logo {
  display: block;
  width: 240px;
  height: auto;
  align-self: flex-start;
  flex-shrink: 0;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.85;
  color: #A9B7CD;
  white-space: pre-line;
}

.footer-col { width: 300px; display: flex; flex-direction: column; gap: 14px; }
.footer-col.narrow { width: 340px; }

.footer-col h5 { font-size: 15px; font-weight: 500; color: var(--gold-500); }

.footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: #DDE4EE;
}
.footer-line svg { flex-shrink: 0; }
.footer-line.tel { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: #fff; }
.footer-line small { font-size: 13px; line-height: 1.85; color: #A9B7CD; }

.footer-note { font-size: 13px; line-height: 1.85; color: #A9B7CD; }

.footer-bottom {
  padding: 20px var(--pad-x);
  background: #0B1930;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7F8FA8;
}

/* ==========================================================================
   表单与卡片
   ========================================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 40px;
  box-shadow: var(--sh-card);
}
.card-sm { padding: 28px; border-radius: var(--r-xl); box-shadow: none; }
.card-warn { border-color: var(--amber-500); }
.card-danger { background: var(--red-50); border-color: transparent; box-shadow: none; }

.card h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 10px;
}

.card > p { font-size: 15px; line-height: 1.75; color: var(--ink-3); margin-bottom: 26px; }

.form-grid { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
@media (max-width: 800px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 9px; }

.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }

.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: var(--r-md);
  background: #F7FAFD;
  border: 1px solid var(--line-2);
  transition: border-color .18s, background .18s, box-shadow .18s;
}

.input::placeholder { color: var(--ink-6); }

.input:focus {
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(24, 72, 120, .10);
}

.input-sm { height: 42px; font-size: 14px; }
.input-sm::placeholder { font-size: 13px; }

.btn-row { display: flex; gap: 12px; align-items: center; }

.captcha-wrap { display: flex; align-items: center; gap: 12px; }

.captcha-img {
  width: 120px;
  height: 52px;
  border-radius: var(--r-md);
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

/* 状态标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.tag-pill { padding: 8px 18px; border-radius: var(--r-pill); font-size: 14px; }
.tag-sm { padding: 6px 12px; font-size: 12px; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.tag-green  { background: var(--green-50);  color: var(--green-600); }
.tag-red    { background: var(--red-50);    color: var(--red-600); }
.tag-amber  { background: var(--amber-50);  color: var(--amber-700); }
.tag-blue   { background: var(--blue-50);   color: var(--blue-700); }
.tag-grey   { background: #F1EFE9;           color: var(--ink-3); }

/* ==========================================================================
   应聘信息网格
   ========================================================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
@media (max-width: 900px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .info-grid { grid-template-columns: 1fr; } }

.verify-grid { display: grid; grid-template-columns: 740px 1fr; gap: 32px; align-items: start; }
@media (max-width: 1100px) { .verify-grid { grid-template-columns: 1fr; } }

/* 侧栏卡片组 */


/* 表单提交行 */
.form-submit { margin-top: 4px; }

/* ==========================================================================
   笔试参加确认表单
   ========================================================================== */

/* ---- 顶部提示横幅：置于表单之上 ---- */
.notice-bar {
  /* 淡金底，与下方蓝调表单区形成区分 */
  background: linear-gradient(180deg, #FDF9EF, #FBF4E4);
  border-bottom: 1px solid #F0E4C8;
  padding: 19px var(--pad-x);
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.85;
  color: #6B5F49;
}
.notice-item svg { flex-shrink: 0; margin-top: 5px; width: 21px; height: 21px; }
.notice-item b { color: var(--ink-1); font-weight: 600; }

/* 句中的电话：加粗主色 + 下划线，不做成按钮以免抢主体 */
.notice-tel {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-700);
  white-space: nowrap;
  margin-left: 6px;
  border-bottom: 1px solid var(--gold-500);
  transition: color .18s, border-color .18s;
}
.notice-tel:hover {
  color: var(--gold-600);
  border-bottom-color: var(--gold-600);
}

/* ---- 表单主体：居中收窄，突出焦点 ---- */
.form-hero {
  padding: 56px var(--pad-x) 72px;
  min-height: calc(100vh - 76px - 58px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-center { width: 100%; max-width: 1280px; }

/* 表单卡片：宽而扁，内部留白收紧 */
.card-form {
  padding: 40px 48px 44px;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(24, 72, 120, .14);
  background: var(--white);
  box-shadow:
    0 1px 2px rgba(15, 39, 67, .04),
    0 12px 40px rgba(24, 72, 120, .12);
}

@media (max-width: 700px) {
  .form-hero { padding: 32px var(--pad-x) 48px; }
  .card-form { padding: 26px 22px; }
}

/* 标题左侧竖条（选择器需高于 .card h2，避免被覆盖） */
.card-form .form-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 25px;
}

.title-bar {
  width: 5px;
  height: 26px;
  border-radius: 3px;
  background: var(--blue-700);
  flex-shrink: 0;
}

.form-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 26px;
}

/* 必填星号 */
.req {
  color: var(--red-500);
  font-style: normal;
  font-weight: 500;
  margin-left: 2px;
}

/* 提交按钮：页内放大 */
.card-form .btn-lg {
  padding: 14px 34px;
  font-size: 16px;
}

/* 提交按钮组：横向排列 */
.card-form .form-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.card-form .form-submit .btn { align-self: auto; }

/* ---- 放弃原因（选「不参加」时展开） ---- */
.reason-box {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: #FBF7F0;
  border: 1px solid #EFE6D4;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: reasonIn .2s ease;
}

@keyframes reasonIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reason-box[hidden] { display: none; }

.reason-box .field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.reason-extra[hidden] { display: none; }

/* 两列字段 */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) { .form-row-2 { grid-template-columns: 1fr; } }

/* 表单区内的字段：两列铺满整行 */
.card-form .form-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .card-form .form-row-2 { grid-template-columns: 1fr; } }

.card-form .field { gap: 8px; }
.card-form .field label { font-size: 14px; }
.card-form .input { height: 48px; font-size: 15px; }

/* 字段数为奇数时，最后一个字段跨两列，避免右侧留半格空白 */
.field-wide { grid-column: 1 / -1; }

/* 下拉选择 */
.select-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6.5L8 10.5l4-4' stroke='%2397A4B5' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

/* ---- 是否参加：单选卡片 ---- */
.pick-field {
  border: none;
  margin: 6px 0 0;
  padding: 0;
}

.pick-legend {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 10px;
  padding: 0;
}

.pick-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) { .pick-row { grid-template-columns: 1fr; } }

.pick {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: #FAFCFE;
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
  position: relative;
}

.pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pick-inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pick-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-1);
  line-height: 1.3;
}

.pick-desc {
  font-size: 13px;
  color: var(--ink-5);
  line-height: 1.5;
}

.pick:hover { border-color: var(--ink-7); background: var(--blue-50b); }

/* 选中态：确认参加（绿） */
.pick-yes.is-picked {
  border: 2px solid var(--green-500);
  background: var(--green-50);
  padding: 17px 19px;
  box-shadow: 0 0 0 3px rgba(61, 138, 97, .10);
}
.pick-yes.is-picked .pick-name { color: var(--green-700); font-weight: 700; }
.pick-yes.is-picked .pick-desc { color: var(--green-600); }

/* 选中态：不参加（灰） */
.pick-no.is-picked {
  border: 2px solid var(--ink-5);
  background: #F2F5F8;
  padding: 17px 19px;
  box-shadow: 0 0 0 3px rgba(97, 104, 120, .10);
}
.pick-no.is-picked .pick-name { color: var(--ink-2); font-weight: 700; }
.pick-no.is-picked .pick-desc { color: var(--ink-3); }

/* 选中项左侧竖条强调 */
.pick.is-picked::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 4px;
  border-radius: 0 3px 3px 0;
}
.pick-yes.is-picked::before { background: var(--green-500); }
.pick-no.is-picked::before { background: var(--ink-5); }

/* 区块标题（内页） */
.sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.sec-title-sm {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-1);
}
@media (max-width: 700px) { .sec-title-sm { font-size: 21px; } }

/* 状态回显（放弃态） */
.done-card.is-declined { background: var(--red-50); }
.done-card.is-declined .done-txt h4 { color: var(--red-600); }
.done-card.is-declined .done-txt p { color: #8C6E68; }

.btn-ghost.is-green { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.btn-ghost.is-green:hover { background: var(--green-600); }
.btn-ghost.is-red { background: var(--white); border-color: var(--red-500); color: var(--red-600); }
.btn-ghost.is-red:hover { background: var(--red-50); }

.info-cell dd.accent { color: var(--blue-700); }

.info-cell {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-cell:nth-child(4n) { border-right: none; }
.info-cell.is-alert { background: var(--red-50); }
@media (max-width: 900px) { .info-cell:nth-child(4n) { border-right: 1px solid var(--line); } }

.info-cell dt { font-size: 13px; color: var(--ink-5); }

.info-cell dd {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-1);
  line-height: 1.35;
}
.info-cell dd.serif { font-family: var(--font-serif); font-weight: 600; }
.info-cell dd.mono { font-family: var(--font-mono); font-size: 17px; font-weight: 500; }
.info-cell.is-alert dt { color: #A85244; }
.info-cell.is-alert dd { color: var(--red-500); font-family: var(--font-mono); font-weight: 600; }

/* 双选卡片 */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .choice-grid { grid-template-columns: 1fr; } }

.choice {
  border-radius: var(--r-xl);
  border: 2px solid var(--line);
  background: var(--white);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.choice:hover { border-color: var(--ink-7); }

.choice.is-on {
  border-color: var(--blue-700);
  background: var(--blue-50b);
  box-shadow: 0 0 0 4px rgba(26, 68, 128, .07);
}

.choice.is-off.is-on {
  border-color: var(--red-500);
  background: #FEFAF9;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, .07);
}

.choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.choice-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-1);
}
.choice.is-off .choice-name { color: var(--ink-2); }

.radio { width: 26px; height: 26px; flex-shrink: 0; }

.choice p { font-size: 15px; line-height: 1.75; color: var(--ink-3); flex: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  padding: 7px 13px;
  border-radius: var(--r-sm);
  background: var(--sand);
  font-size: 13px;
  color: var(--ink-3);
}

.submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  flex-wrap: wrap;
}
.submit-bar p { font-size: 16px; font-weight: 500; color: var(--ink-2); }
.submit-bar small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-5); }

.done-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--green-50);
  flex-wrap: wrap;
}
.done-icon { width: 44px; height: 44px; flex-shrink: 0; }
.done-txt { flex: 1; min-width: 260px; }

.done-txt h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 7px;
}

.done-txt p { font-size: 14px; line-height: 1.85; color: #4A6B56; }

/* ==========================================================================
   查询结果 / 平面图 / 须知
   ========================================================================== */

/* ==========================================================================
   学校平面图 + 学校简介（左图右文）
   ========================================================================== */
.campus-grid {
  display: grid;
  /* 左图右文：左 5/12 → 加宽到 6/12 */
  grid-template-columns: 6fr 6fr;
  gap: 26px;
  align-items: stretch;
}

@media (max-width: 1000px) {
  .campus-grid { grid-template-columns: 1fr; }
}

/* 左栏：仅平面图，高度由内容决定 */
.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--sh-card);
}

.map-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}

.shot {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
  background: var(--white);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.shot:hover img { transform: scale(1.04); }

.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 14px 11px;
  background: linear-gradient(transparent, rgba(12, 32, 56, .78));
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .5px;
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .shot { aspect-ratio: 16 / 10; }
}

/* 右侧简介：与图片等高 */
.campus-side {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 32px;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
}

/* 标题 */
.campus-side .side-title {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* 正文区：内容自适应 */
.intro-scroll {
  flex-shrink: 0;
}

.intro-p {
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.intro-p:last-child { margin-bottom: 0; }

/* 校园实景：填充右栏剩余高度，与左侧平面图对齐 */
.gallery {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}



/* 亮点条目 */



/* 底部说明：自动贴到卡片底部，与图片等高 */
.side-note {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-5);
}

@media (max-width: 1000px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .res-grid { grid-template-columns: 1fr; } }



.res-card dt { font-size: 13px; color: var(--ink-5); }
.res-card .v {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-1);
  line-height: 1.35;
}
.res-card .v.sm { font-size: 18px; }
.res-card .s { font-size: 14px; color: var(--ink-3); }

@media (max-width: 1000px) { .plan-grid { grid-template-columns: 1fr; } }

.blk-title-sm {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 18px;
}

.alert-link { text-decoration: underline; font-weight: 500; }



.room-mine {
  background: #E3EBF7;
  border: 2px solid var(--blue-700);
  color: var(--blue-700);
  font-weight: 500;
  width: 210px; height: 150px;
  left: 24px; top: 30px;
}

.room-plain { background: #EDEAE1; color: var(--ink-4); }
.room-a { width: 96px;  height: 60px;  left: 254px; top: 30px; }
.room-b { width: 130px; height: 60px;  left: 370px; top: 30px; }
.room-c { width: 246px; height: 74px;  left: 254px; top: 106px; }

.room-entry {
  background: var(--red-500);
  color: #fff;
  font-weight: 500;
  width: 100px; height: 44px;
  left: 24px; top: 206px;
}

.map-hint {
  position: absolute;
  left: 140px; top: 214px;
  font-size: 12px;
  color: var(--ink-4);
}


.notice-item { display: flex; gap: 10px; align-items: flex-start; }

.notice-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-item p { font-size: 14px; line-height: 1.8; color: #5C5548; }

/* ==========================================================================
   准考证
   ========================================================================== */


@media (max-width: 1000px) { .ticket-grid { grid-template-columns: 1fr; } }

.tip-inline { font-size: 13px; color: var(--ink-5); }


.qr-wrap .qr-cap { margin-top: 8px; }

.ticket-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: var(--blue-700);
}

.ticket-head .logo { width: 46px; height: 46px; flex-shrink: 0; }
.ticket-head .txt { flex: 1; }

.ticket-head h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.ticket-head p { font-size: 13px; color: #BCCBDE; }

.ticket-no { text-align: right; }
.ticket-no span { display: block; font-size: 11px; color: #BCCBDE; }
.ticket-no b { font-family: var(--font-mono); font-size: 18px; font-weight: 700; color: #fff; }

.ticket-body { display: flex; gap: 24px; padding: 26px; }

.photo-slot {
  width: 130px; height: 168px;
  border-radius: var(--r-sm);
  background: #F2EFE7;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-6);
  flex-shrink: 0;
  white-space: pre-line;
}

.ticket-fields {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  align-content: start;
}
@media (max-width: 700px) { .ticket-fields { grid-template-columns: 1fr; } }

.tf { display: flex; flex-direction: column; gap: 6px; }
.tf span { font-size: 12px; color: var(--ink-4); }
.tf b { font-size: 18px; font-weight: 500; color: var(--ink-1); line-height: 1.35; }
.tf b.serif { font-family: var(--font-serif); font-size: 24px; font-weight: 600; }
.tf b.mono { font-family: var(--font-mono); font-size: 17px; }
.tf b.hot { color: var(--red-500); }
.tf.wide { grid-column: 1 / -1; }

.ticket-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: var(--paper);
}

.ticket-foot .txt { flex: 1; font-size: 12px; line-height: 1.85; color: #6B6455; white-space: pre-line; }

.seal {
  padding: 10px 16px;
  border: 1px solid var(--red-500);
  border-radius: var(--r-sm);
  color: var(--red-500);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
  white-space: pre-line;
  flex-shrink: 0;
}

.qr { width: 88px; height: 88px; flex-shrink: 0; }
.qr-cap { font-size: 11px; color: var(--ink-6); text-align: center; margin-top: 8px; }

/* ==========================================================================
   Toast / Modal
   ========================================================================== */

.toast-wrap {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  background: var(--ink-1);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--sh-pop);
  animation: toastIn .26s ease;
}
.toast.ok  { background: var(--green-600); }
.toast.err { background: var(--red-600); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

[hidden] { display: none !important; }

@media print {
  /* 这里原有一条 `body > *:not(.print-area) { display: none !important; }`，
     但 .print-area 这个类全站并不存在，导致打印时 <body> 的直接子元素被全部隐藏，
     打印预览一片空白。已移除。
     各页面该隐藏什么，交给各自的样式表处理：
       · print.html（打印凭证页）→ print.css 的 @media print
       · 管理端准考证         → admin.css 的 @media print */
  .ticket { border: none; box-shadow: none; }
}
/* ==========================================================================
   表单错误提示与Toast（对接后端后新增）
   ========================================================================== */

/* 字段错误态 */
.field.has-error .input {
  border-color: var(--red-500);
  background: var(--red-50);
}

.field-err {
  font-size: 12.5px;
  color: var(--red-600);
  line-height: 1.5;
  margin-top: -2px;
}

/* 提交按钮禁用 */
.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Toast：顶部滑入的轻提示，替代弹窗 */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  color: #fff;
  font-size: 14.5px;
  box-shadow: 0 8px 28px rgba(15, 39, 67, .22);
  animation: toastDrop .28s cubic-bezier(.2, .8, .3, 1);
  max-width: min(90vw, 520px);
}

.toast svg { flex-shrink: 0; }

.toast.is-out {
  animation: toastUp .28s ease forwards;
}

@keyframes toastDrop {
  from { opacity: 0; transform: translate(-50%, -18px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes toastUp {
  from { opacity: 1; transform: translate(-50%, 0); }
  to   { opacity: 0; transform: translate(-50%, -18px); }
}

/* ============================================================
   笔试资格查询与确认 —— 两步页
   ============================================================ */

/* 查询通过后，四要素收起为这一行脱敏摘要 */
.verified-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}
.verified-bar .vb-text { font-size: 13.5px; color: var(--ink-2); }
.verified-bar .vb-text b { color: var(--ink-1); font-weight: 600; }
.verified-bar .vb-sep { color: var(--ink-6); }
.verified-bar .vb-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 13px;
  color: #184878;
  text-decoration: underline;
  white-space: nowrap;
}

/* 查询结果卡片 */
.res-card {
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.res-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.res-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.res-title { font-size: 15px; font-weight: 600; }
.res-body { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.res-meta { font-size: 13px; color: var(--ink-3); margin: 8px 0 0; }
.res-actions { margin-top: 12px; }

.res-pass { background: var(--green-50); border-color: var(--green-100); }
.res-pass .res-dot { background: var(--green-100); }
.res-pass .res-title { color: var(--green-700); }

.res-fail { background: var(--red-50); border-color: #F3D9D3; }
.res-fail .res-dot { background: #F7DAD4; }
.res-fail .res-title { color: var(--red-700); }

.res-done { background: #E4EDF7; border-color: #CFDCEC; }
.res-done .res-dot { background: #CFDCEC; }
.res-done .res-title { color: #184878; }

/* 未开放下载时的笔试安排提示 */
.exam-notice {
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 16px;
  background: var(--amber-50, #FDF6E3);
  border: 1px solid #F0E4C0;
}
.exam-notice h3 {
  font-size: 16px; font-weight: 600; color: var(--amber-700, #8A6300);
  margin: 0 0 12px;
}
.exam-notice dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.exam-notice dt { font-size: 13.5px; color: var(--ink-3); }
.exam-notice dd { margin: 0; font-size: 14px; color: var(--ink-1); font-weight: 500; }
.exam-notice .en-foot { font-size: 13px; color: var(--ink-4); margin: 12px 0 0; }

/* 首页办理流程指引 */
.flow-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 13px;
}
.flow-step { font-weight: 600; color: var(--ink-1); }
.flow-arrow { color: var(--ink-5); }

/* 流程条：步骤下方的办理时间备注
   .flow-step 本身已是 flex 纵向（gap 8px），直接塞子元素即可上下排布 */
.flow-bar .flow-step-time {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--step-accent, var(--blue-700));
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.flow-note {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ink-4);
}
