/* 培训签到系统 - 商务蓝/灰 配色 · 微软雅黑 */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: #f2f4f7; color: #1f2937; font-size: 14px; line-height: 1.6;
}

/* ---------- 签到页 ---------- */
.page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.card {
  width: 100%; max-width: 420px; background: #fff; border-radius: 14px;
  border: 1px solid #e5e8ee; box-shadow: 0 6px 24px rgba(23, 52, 94, .08);
  padding: 28px 24px;
}
.hd { text-align: center; margin-bottom: 20px; }
.logo {
  display: inline-flex; width: 48px; height: 48px; border-radius: 12px;
  background: #1e4e8c; color: #fff; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; letter-spacing: 2px; margin-bottom: 12px;
}
h1 { font-size: 19px; font-weight: 500; margin: 0 0 6px; color: #17345e; }
.sub { font-size: 13px; color: #7b8698; margin: 0; }

.tip { font-size: 13px; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; }
.tip-warn { background: #fdf3e7; color: #8a5a10; border: 1px solid #f2dfbf; }

.btn {
  display: block; width: 100%; text-align: center; border: 0; border-radius: 10px;
  font-size: 15px; font-weight: 500; padding: 13px; cursor: pointer;
  text-decoration: none; transition: opacity .15s;
}
.btn:active { opacity: .82; }
.btn-wx { background: #1e4e8c; color: #fff; }
.btn-primary { background: #17345e; color: #fff; margin-top: 4px; }

.or { text-align: center; color: #a3acbb; font-size: 12px; margin: 16px 0; position: relative; }
.or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #e5e8ee; }
.or span { background: #fff; padding: 0 10px; position: relative; }

.fld { display: block; margin-bottom: 14px; }
.fld > span { display: block; font-size: 13px; color: #42506b; margin-bottom: 6px; }
.fld i { color: #d0453b; font-style: normal; }
.fld input {
  width: 100%; padding: 12px 13px; font-size: 15px; border: 1px solid #d9dee8;
  border-radius: 10px; outline: none; background: #fbfcfe; color: #1f2937;
  font-family: inherit;
}
.fld input:focus { border-color: #1e4e8c; background: #fff; }
.foot { text-align: center; font-size: 12px; color: #a3acbb; margin: 16px 0 0; }

/* ---------- 成功页 ---------- */
.card-ok { text-align: center; }
.ok-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #e8f3ea; color: #2f7d43;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; margin: 6px auto 18px;
}
.time { font-size: 13px; color: #7b8698; margin-top: 10px; }

/* ---------- 后台名单 ---------- */
.wrap { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; }
.bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.t1 { font-size: 20px; font-weight: 500; color: #17345e; margin: 0 0 4px; }
.t2 { font-size: 13px; color: #7b8698; margin: 0; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { width: auto; display: inline-block; padding: 8px 14px; font-size: 13px; background: #1e4e8c; color: #fff; }
.btn-ghost { background: #eef1f6; color: #42506b; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 14px; }
.tab {
  font-size: 13px; padding: 6px 14px; border-radius: 20px; text-decoration: none;
  background: #eef1f6; color: #56617a; border: 1px solid transparent;
}
.tab.on { background: #e3ecf8; color: #17345e; border-color: #b7cdea; font-weight: 500; }

.tb { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e5e8ee; }
.tb th, .tb td { padding: 11px 14px; text-align: left; font-size: 13px; border-bottom: 1px solid #eef1f6; }
.tb th { background: #f7f9fc; color: #56617a; font-weight: 500; white-space: nowrap; }
.tb tr:last-child td { border-bottom: 0; }
.mono { font-variant-numeric: tabular-nums; color: #56617a; }
.empty { text-align: center; color: #a3acbb; padding: 32px 0 !important; }

.tag { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 20px; }
.tag-in { background: #e3ecf8; color: #1e4e8c; }
.tag-out { background: #eef1f6; color: #6b7488; }
