:root {
  --blue: #1a6fb0;
  --blue-dark: #145a90;
  --bg: #eef2f6;
  --card: #ffffff;
  --text: #1f2d3a;
  --gray: #7b8a99;
  --line: #e3e9ef;
  --green: #1a9e6e;
  --red: #d8504c;
  --orange: #e08a1e;
  --shadow-sm: 0 1px 4px rgba(20, 55, 95, .07);
  --shadow-md: 0 2px 12px rgba(20, 55, 95, .09);
  --shadow-lg: 0 6px 22px rgba(13, 58, 102, .16);
  --radius: 14px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #e8f0f9 0%, #f2f5f9 340px) fixed, var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

::selection { background: #bcdaf5; }

body { padding-bottom: 64px; }

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

/* 卡片入场动画（轻量，不干扰操作） */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.container > * { animation: riseIn .28s ease both; }
.container > *:nth-child(2) { animation-delay: .04s; }
.container > *:nth-child(3) { animation-delay: .08s; }
.container > *:nth-child(4) { animation-delay: .12s; }
.container > *:nth-child(5) { animation-delay: .16s; }

/* ---------------- 顶栏 / 容器 ---------------- */
.topbar {
  background: linear-gradient(120deg, #0d3a66 0%, var(--blue) 55%, #2b8fd0 100%);
  color: #fff;
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 2px 12px rgba(10, 45, 80, .28);
}
.topbar-inner {
  max-width: 720px; margin: 0 auto;
  padding: 13px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 18px; font-weight: 700; letter-spacing: 2px; }
.hello { font-size: 13px; opacity: .9; }

/* 顶栏返回按钮 */
.back-btn {
  display: inline-flex; align-items: center; gap: 2px;
  color: #fff; text-decoration: none;
  font-size: 14px; padding: 4px 10px 4px 6px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  transition: background .15s;
}
.back-btn:active { background: rgba(255,255,255,.28); }
.back-btn svg { width: 16px; height: 16px; }
.back-btn + .brand { margin-right: auto; }

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 14px 20px;
}

/* ---------------- 提示 ---------------- */
.flash-box { margin-bottom: 10px; }
.flash-item {
  background: #fff6e8;
  border: 1px solid #f3d9ae;
  color: #8a5a17;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.empty { color: var(--gray); text-align: center; padding: 18px 0; font-size: 14px; }
.empty.big { background: var(--card); border-radius: 12px; margin-top: 10px; }
.empty.small { padding: 10px 0; font-size: 13px; }

.page-head {
  position: relative;
  padding-right: 64px;
  min-height: 40px;
}
/* 页头右侧淡淡的桥吊水印元素 */
.page-head::after {
  content: '';
  position: absolute; right: 2px; top: -2px;
  width: 52px; height: 37px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 34' fill='none' stroke='%231a6fb0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 31h42'/%3E%3Cpath d='M10 31V9M38 31V9'/%3E%3Cpath d='M2 9h44'/%3E%3Cpath d='M16 9l8-6 8 6'/%3E%3Cpath d='M30 9v7'/%3E%3Crect x='25.5' y='16' width='9' height='5.5' fill='%231a6fb0' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .16;
}
.page-head h2 { margin: 4px 0 2px; font-size: 20px; }
.page-head p { margin: 0 0 10px; color: var(--gray); font-size: 13px; }

/* ---------------- 题库管理 ---------------- */
.upload-card { border-top: 3px solid var(--blue); }
.upload-formats { margin: 0 0 12px; font-size: 13px; color: var(--gray); }
.upload-formats b { color: var(--blue); }
/* 自定义文件上传按钮 */
input[type="file"] {
  padding: 0; border: none; background: none; box-shadow: none;
}
input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #2283c9, var(--blue) 60%, #15619b);
  color: #fff; border: none; border-radius: 8px;
  padding: 10px 16px; font-size: 14px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(26, 111, 176, .3);
  margin-right: 10px;
}
input[type="file"]::file-selector-button:active { transform: translateY(1px); }

.fmt-help {
  margin-top: 12px; border: 1px dashed #b9d4ec; border-radius: 10px;
  background: #f4f9fe; font-size: 13px;
}
.fmt-help > summary {
  padding: 10px 12px; cursor: pointer; color: var(--blue); font-weight: 600;
  list-style: none;
}
.fmt-help > summary::-webkit-details-marker { display: none; }
.fmt-help > summary::before { content: '▸ '; }
.fmt-help[open] > summary::before { content: '▾ '; }
.fmt-body { padding: 0 14px 12px; color: var(--text); }
.fmt-body p { margin: 8px 0; line-height: 1.6; }
.fmt-body pre {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font-size: 12.5px; overflow-x: auto; margin: 6px 0;
}
.fmt-body a { color: var(--blue); font-weight: 600; }

.bank-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(20, 55, 95, .08);
  transition: transform .1s, box-shadow .15s;
}
.bank-card:active { transform: scale(.99); }
.bank-main { flex: 1; color: inherit; text-decoration: none; }
.bank-name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.bank-ops { display: flex; gap: 8px; align-items: center; }
.bank-new {
  background: linear-gradient(135deg, #0d3a66, var(--blue) 60%, #2b8fd0);
  color: #fff; border-radius: 14px;
  padding: 18px 20px; text-align: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(13, 58, 102, .28);
}
.bank-new .btn { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.bank-new .btn:hover { background: rgba(255,255,255,.28); }

/* 发布试卷面板 */
.publish-card { border-left: 4px solid var(--blue); }
.mode-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mode-opt {
  flex: 1; min-width: 140px;
  display: flex; align-items: flex-start; gap: 8px;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; cursor: pointer;
  background: var(--card); transition: border-color .15s, box-shadow .15s;
}
.mode-opt input { margin-top: 2px; accent-color: var(--blue); }
.mode-opt:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(26,111,176,.15); }
.mode-opt span { display: flex; flex-direction: column; }
.mode-opt b { font-size: 14px; }
.mode-opt i { font-size: 12px; color: var(--gray); font-style: normal; }
.score-config {
  background: #f4f9fe; border-radius: 12px;
  padding: 14px 16px; margin: 12px 0;
}
.score-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; font-size: 14px;
}
.score-row input[type="number"] {
  width: 52px; text-align: center;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 4px; font-size: 14px;
}
.score-label { width: 64px; font-weight: 600; }
.score-avail { color: var(--gray); font-size: 12px; margin-left: auto; }
.score-total { text-align: right; font-size: 14px; padding-top: 6px; border-top: 1px dashed #cde0f2; margin-top: 4px; }
.score-total b { color: var(--blue); font-size: 18px; }

/* 手动选题 */
.manual-pick { margin-top: 8px; }
.pick-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.pick-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 12px; border-bottom: 1px solid #f0f3f7;
  cursor: pointer; font-size: 13.5px;
}
.pick-item:last-child { border-bottom: none; }
.pick-item input { margin-top: 2px; accent-color: var(--blue); }
.pick-tag { font-size: 11px; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.pick-tag.single { background: #e6f2fd; color: #15619b; }
.pick-tag.judge { background: #eef7f0; color: #2d7a3e; }
.pick-text { flex: 1; line-height: 1.45; }

/* 自动发布折叠区 */
.auto-pub { margin-top: 14px; border: 1px dashed #b9d4ec; border-radius: 10px; background: #f4f9fe; }
.auto-pub > summary { padding: 10px 14px; cursor: pointer; color: var(--blue); font-weight: 600; font-size: 13.5px; list-style: none; }
.auto-pub > summary::-webkit-details-marker { display: none; }
.auto-pub > summary::before { content: '▸ '; }
.auto-pub[open] > summary::before { content: '▾ '; }
.auto-pub form { padding: 0 14px 14px; }

/* ---------------- 底部导航 ---------------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 30;
  box-shadow: 0 -3px 14px rgba(20, 60, 100, .07);
}
.tabbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 2px 8px;
  font-size: 11.5px;
  color: var(--gray);
  position: relative;
}
.tab-ico { width: 22px; height: 22px; display: block; }
.tab-ico svg { width: 100%; height: 100%; display: block; }
.tabbar a.on { color: var(--blue); font-weight: 600; }
.tabbar a.on::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue);
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
}
.btn.block { display: block; width: 100%; margin-top: 10px; }
.btn.primary {
  background: linear-gradient(135deg, #2283c9, var(--blue) 60%, #15619b);
  border: none; color: #fff;
  box-shadow: 0 3px 10px rgba(26, 111, 176, .35);
}
.btn.primary:active { transform: translateY(1px); box-shadow: 0 1px 4px rgba(26, 111, 176, .3); }
.btn { transition: transform .08s, box-shadow .15s, background .15s; }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn.sm { padding: 6px 13px; font-size: 13.5px; border-radius: 7px; }
.btn.xs { padding: 5px 9px; font-size: 12px; border-radius: 6px; }

/* ---------------- 徽标 ---------------- */
.badge {
  display: inline-block;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 20px;
}
.badge.blue { background: #e3f0fb; color: var(--blue); }
.badge.green { background: #e2f5ee; color: var(--green); }
.badge.gray { background: #edf0f3; color: var(--gray); }
.badge.orange { background: #fdf0dd; color: var(--orange); }

/* ---------------- 下拉卡片（details） ---------------- */
.drop-card {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s;
}
.drop-card:hover { box-shadow: var(--shadow-md); }
.drop-card > summary {
  list-style: none;
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(180deg, #f7fbff, #fff);
  transition: background .15s;
}
.drop-card > summary:hover { background: linear-gradient(180deg, #eef6fd, #fff); }
.drop-card > summary::-webkit-details-marker { display: none; }
.drop-title { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.drop-title::before {
  content: ''; width: 4px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, #2b8fd0, var(--blue));
}
.drop-count {
  background: #edf3f8;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 20px;
  padding: 2px 10px;
}
.drop-body { padding: 0 14px 14px; }

/* ---------------- 考试条目 ---------------- */
.exam-item {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s;
}
.exam-item:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.exam-title { font-weight: 600; font-size: 15.5px; }
.exam-meta { color: var(--gray); font-size: 12.5px; }
.exam-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2px;
}

.exam-list-plain .exam-item {
  flex-direction: row; justify-content: space-between; align-items: center;
}

.local-entry {
  display: flex; justify-content: space-between; align-items: center;
  background: #e2f5ee; color: #147a55;
  border-radius: 10px; padding: 12px 14px;
  font-size: 14.5px; font-weight: 600;
  margin-bottom: 12px;
}
.local-entry .arrow { font-size: 20px; }

/* ---------------- 答题页 ---------------- */
.exam-head {
  background: linear-gradient(135deg, #0d3a66, var(--blue) 70%, #2b8fd0);
  color: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(13, 58, 102, .3);
}
.exam-head .exam-head-sub { color: rgba(255,255,255,.8); }
.exam-head-title { font-size: 18px; font-weight: 700; }
.exam-head-sub { color: var(--gray); font-size: 12.5px; margin-top: 4px; }
.timer {
  margin-top: 8px;
  display: inline-block;
  background: #e3f0fb;
  color: var(--blue);
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
}

.q-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s;
}
.q-card:hover { box-shadow: var(--shadow-md); }
.q-title { font-weight: 600; font-size: 15.5px; position: relative; padding-right: 22px; }
.q-no {
  display: inline-block;
  background: var(--blue); color: #fff;
  font-size: 12px; border-radius: 6px;
  padding: 1px 7px; margin-right: 6px;
}
.q-type {
  font-size: 12px; color: var(--gray); font-weight: 400;
  margin-right: 4px;
}
.mark { position: absolute; right: 0; top: 0; font-weight: 700; }
.mark.ok { color: var(--green); }
.mark.no { color: var(--red); }

.q-opts { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }

.opt {
  display: flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  cursor: pointer;
  gap: 10px;
}
.opt input { display: none; }
.opt-letter {
  width: 24px; height: 24px; flex: none;
  border: 1px solid #c4d0db;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--gray);
}
.opt-text { font-size: 14.5px; }
.opt:has(input:checked) {
  border-color: var(--blue);
  background: #eef6fc;
}
.opt:has(input:checked) .opt-letter {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

.readonly .opt { cursor: default; }
.readonly .opt.picked { border-color: var(--red); background: #fdeeEd; }
.readonly .opt.picked .opt-letter { background: var(--red); border-color: var(--red); color: #fff; }
.readonly .opt.is-correct { border-color: var(--green); background: #e8f7f1; }
.readonly .opt.is-correct .opt-letter { background: var(--green); border-color: var(--green); color: #fff; }

.tag {
  margin-left: auto; font-size: 11.5px; color: var(--green); font-weight: 600;
}
.wrong-tag { color: var(--red); }

/* 表格内状态标签 */
td .tag {
  margin-left: 0; display: inline-block;
  padding: 2px 8px; border-radius: 999px; font-size: 12px;
}
td .tag.ok { background: #e8f7f1; color: var(--green); }
td .tag.warn { background: #fdeeEd; color: var(--red); }

/* 成绩统计卡片 */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px;
}
.stat-card {
  background: #fff; border-radius: 12px; padding: 14px 6px;
  text-align: center; box-shadow: 0 1px 6px rgba(15,55,90,.07);
}
.stat-card.ok .stat-num { color: var(--green); }
.stat-card.warn .stat-num { color: var(--red); }
.stat-num { font-size: 24px; font-weight: 800; color: var(--blue); }
.stat-label { font-size: 12px; color: #7a8a9a; margin-top: 4px; }

/* 已/未答题简表 */
.mini-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 4px; border-bottom: 1px solid #f0f3f7; font-size: 14px;
}
.mini-row:last-child { border-bottom: none; }
.mini-score { color: var(--blue); font-weight: 700; }
.mini-meta { color: var(--gray); font-size: 12.5px; }

.analysis {
  margin-top: 10px;
  background: #f7f9fb;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
  color: #4a5a6a;
}

.submit-btn { margin-top: 4px; padding: 13px; font-size: 16px; }

/* ---------------- 成绩卡 ---------------- */
.score-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.18) 0 54px, transparent 55px),
    linear-gradient(135deg, #0d3a66, var(--blue) 60%, #2b8fd0);
  color: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(13, 58, 102, .32);
}
.score-num { font-size: 42px; font-weight: 700; line-height: 1; }
.score-num span { font-size: 16px; margin-left: 2px; }
.score-info { font-size: 13.5px; opacity: .95; }

/* ---------------- 表单 ---------------- */
.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.field input:focus, .field select:focus, .field textarea:focus,
.login-form input:focus, .login-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 176, .15);
}
.form-title { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.field { display: block; margin-bottom: 12px; }
.field > span {
  display: block; font-size: 13px; color: var(--gray); margin-bottom: 5px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fbfcfd;
  font-family: inherit;
  color: var(--text);
}
.field textarea { resize: vertical; }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }
.hint { color: var(--gray); font-size: 12.5px; margin: 8px 0 0; text-align: center; }
.template-link { margin-top: 10px; }

.inline-form { display: flex; gap: 10px; margin-bottom: 12px; }
.inline-form select {
  flex: 1; border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 12px; font-size: 15px; background: #fff;
}

.logout-btn { margin-top: 4px; }

/* ---------------- 试卷管理 ---------------- */
.paper-card {
  background: var(--card); border-radius: var(--radius);
  padding: 15px; margin-bottom: 12px;
  display: flex; justify-content: space-between; gap: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue);
  transition: box-shadow .18s, transform .18s;
}
.paper-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.paper-side {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  flex: none;
}

/* ---------------- 题库列表 ---------------- */
.bank-card {
  background: var(--card); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s;
}
.bank-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.bank-name { font-weight: 600; font-size: 15.5px; margin-bottom: 3px; }
.bank-ops { display: flex; gap: 8px; flex: none; }
.bank-ops form { display: inline; }

.qline {
  border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 12px; margin-bottom: 9px;
}
.qline-top { display: flex; gap: 7px; align-items: baseline; }
.qline-content { font-size: 14.5px; }
.qline-ans {
  margin-top: 7px; font-size: 12.5px; color: var(--gray);
  display: flex; gap: 12px; align-items: center;
}
.qline-ans form { display: inline; }
.link-btn {
  border: none; background: none; padding: 0; cursor: pointer;
  font-size: 12.5px; color: var(--blue);
}
.danger-text { color: var(--red); }

/* ---------------- 用户管理 ---------------- */
.center-card { }
.team-card {
  border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 10px; overflow: hidden;
}
.team-card > summary {
  list-style: none; padding: 11px 13px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.team-card > summary::-webkit-details-marker { display: none; }
.team-name { font-weight: 600; }
.team-users { padding: 0 12px 12px; }

.user-row {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.user-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.uname { font-weight: 600; }
.umeta { font-size: 12.5px; color: var(--gray); }
.user-ops { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.user-ops form { display: inline; }

/* ---------------- 表格 ---------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(30, 60, 90, .06);
}
.data-table {
  border-collapse: collapse;
  background: var(--card);
  width: 100%;
  font-size: 13px;
  min-width: 720px;
}
.data-table th {
  background: var(--blue); color: #fff;
  padding: 9px 10px; white-space: nowrap;
  font-weight: 600;
}
.data-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table tr:nth-child(even) td { background: #f7fafc; }

/* ---------------- 顶栏品牌（桥吊元素） ---------------- */
.brand { display: flex; align-items: center; gap: 8px; }
.brand svg { width: 34px; height: 24px; flex: none; }

/* ---------------- 登录 / 注册页（港口蓝 + 桥吊海浪） ---------------- */
.login-page {
  padding-bottom: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #0d3a66 0%, #14598f 55%, #1a6fb0 100%);
  position: relative;
  overflow: hidden;
}
.login-wrap {
  max-width: 380px; margin: 0 auto;
  padding: 60px 24px 30px;
  position: relative; z-index: 1;
}
.login-crane { width: 76px; margin: 0 auto 10px; color: #fff; opacity: .92; }
.login-crane svg { width: 100%; height: auto; display: block; }
.login-logo { font-size: 40px; font-weight: 700; color: #fff; letter-spacing: 6px; text-align: center; }
.login-sub { text-align: center; color: rgba(255,255,255,.78); margin: 6px 0 30px; font-size: 14px; letter-spacing: 2px; }
.login-form input, .login-form select {
  width: 100%; border: none; border-radius: 10px;
  padding: 13px 14px; font-size: 16px; margin-bottom: 13px; background: #fff;
  box-shadow: 0 2px 10px rgba(7, 40, 71, .18);
  font-family: inherit; color: var(--text);
}
.login-form .btn { padding: 13px; font-size: 17px; border: none; box-shadow: 0 4px 14px rgba(7, 40, 71, .3); }
.login-tip { text-align: center; color: rgba(255,255,255,.75); font-size: 13px; margin-top: 18px; }
.login-link { color: #fff; font-weight: 600; text-decoration: underline; }
.login-page .flash-item {
  background: rgba(255, 255, 255, .96);
  border: none; color: #b3452f;
}
.login-waves { position: absolute; bottom: 0; left: 0; width: 100%; height: 44px; display: block; }
