/* style.css —— 月度薪酬自动化（参考工资表自动化.html 的绯红主题） */
:root {
  --bg: #f2f3f5;
  --panel: #ffffff;
  --border: #e2e6ec;
  --border-soft: #eef1f5;
  --text: #1f2733;
  --muted: #7a8699;
  --primary: #c62828;
  --primary-dark: #b71c1c;
  --success: #188038;
  --danger: #c62828;
  --warn: #b26a00;
  --calc-bg: #f3f6fb;
  --changed-bg: #fff4b3;
  --sticky-bg: #fbfcfe;
  --zone-jul-bg: #eef1f5;
  --zone-jul-fg: #4a5568;
  --zone-aug-bg: #fff4e0;
  --zone-aug-fg: #b26a00;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow-md: 0 4px 16px rgba(16,24,40,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); font-size: 13px;
  -webkit-font-smoothing: antialiased;
}

/* 头部（绯红渐变顶栏） */
#app-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px;
  background: linear-gradient(135deg, #b71c1c, #c62828);
  color: #fff;
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 2px 8px rgba(183,28,28,.25);
}
#app-header .brand {
  font-size: 18px; font-weight: 500; letter-spacing: .4px;
  display: flex; flex-direction: column; gap: 3px;
}
#app-header .brand .brand-title { display: flex; align-items: center; gap: 10px; }
#app-header .brand .sub { font-size: 11.5px; opacity: .85; font-weight: 300; letter-spacing: 0; }
.role-badge {
  font-size: 12px; font-weight: 500; color: #fff;
  background: rgba(255,255,255,.16); padding: 2px 10px; border-radius: 999px; margin-left: 10px;
}
.header-actions select {
  padding: 7px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; font-size: 13px;
  background: rgba(255,255,255,.12); color: #fff;
}
.header-actions select option { color: var(--text); }
.header-actions select:focus { outline: none; border-color: #fff; }

/* 页签 */
#tabs {
  display: flex; gap: 6px; padding: 12px 24px 0; background: #fff; border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: none; background: transparent; cursor: pointer;
  font-size: 14px; color: var(--muted); border-radius: 10px 10px 0 0; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.tab:hover { color: var(--text); background: #f6f8fb; }
.tab.active { color: var(--primary); font-weight: 600; background: var(--bg); border-bottom: 2px solid var(--primary); }
.tab-status { font-size: 11px; padding: 1px 8px; border-radius: 999px; }

/* 状态徽标 */
.badge { font-size: 11px; padding: 2px 9px; border-radius: 999px; font-weight: 500; }
.s-working   { background: #fdecea; color: #c62828; }
.s-submitted { background: #fff4e0; color: #b26a00; }
.s-approved  { background: #e8f0fe; color: #1a56c4; }
.s-confirmed { background: #e6f4ea; color: #188038; }
.s-rejected  { background: #fee2e2; color: #b91c1c; }

/* 标签（差异/状态用） */
.tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 500; display: inline-block; }
.tag-gray  { background: #f1f3f7; color: #6b7280; }
.tag-amber { background: #fff4e0; color: #b26a00; }
.tag-green { background: #e6f4ea; color: #188038; }
.tag-red   { background: #fdecea; color: #c62828; }

/* 主内容 */
#view { padding: 18px 24px 60px; }

/* 工具栏 */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-bottom: 14px;
}
.tb-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tb-count { font-size: 12px; color: var(--muted); font-weight: 400; }
.tb-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tb-search { width: 200px; }

/* 按钮 */
.btn {
  padding: 8px 14px; border: 1px solid var(--border); background: #fff; border-radius: 8px;
  cursor: pointer; font-size: 13px; color: var(--text); box-shadow: var(--shadow-sm); transition: all .12s;
}
.btn:hover { border-color: #c8d0dc; background: #fafbfd; }
.btn:active { transform: translateY(.5px); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(198,40,40,.25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-sm { padding: 5px 11px; font-size: 12px; border-radius: 7px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* 名单导入按钮（红描边） */
button.roster-btn {
  padding: 7px 14px; border: 1px solid var(--primary); background: #fff; color: var(--primary);
  border-radius: 6px; cursor: pointer; font-size: 13px;
}
button.roster-btn:hover { background: var(--primary); color: #fff; }

/* 确认无变动按钮（绿描边） */
button.confirm-btn {
  padding: 7px 14px; border: 1px solid var(--success); background: #fff; color: var(--success);
  border-radius: 6px; cursor: pointer; font-size: 13px;
}
button.confirm-btn:hover { background: var(--success); color: #fff; }

.input {
  padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; min-width: 0; background: #fff;
}
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(198,40,40,.12); }

/* 面板 */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.panel-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.panel.approval-panel { padding: 12px 14px; margin-bottom: 12px; }
.panel.approval-panel .panel-title { margin-bottom: 8px; }

/* 审批流程 */
.approval-steps { display: flex; align-items: stretch; gap: 4px; flex-wrap: wrap; }
.step { flex: 1; min-width: 100px; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; background: #fafbfc; }
.step.ok { border-color: #bbf7d0; background: #f0fdf4; }
.step.no { border-color: #fecaca; background: #fef2f2; }
.step.wait { border-color: #fde68a; background: #fffbeb; }
.step-role { font-weight: 600; font-size: 12px; }
.step-status { font-size: 11px; color: var(--muted); margin-top: 2px; }
.step-comment { font-size: 11px; color: var(--warn); margin-top: 2px; }
.step-arrow { align-self: center; color: var(--muted); font-size: 14px; }
.approval-actions { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.approval-actions .input { flex: 1; min-width: 200px; }
.approval-hint { margin-top: 8px; font-size: 12px; color: var(--muted); }
.approval-hint.ok { color: var(--success); }
.approval-hint.no { color: var(--danger); }

/* 表格通用 */
.table-wrap { overflow: auto; max-height: calc(100vh - 240px); border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.payroll-table, .review-table { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.payroll-table th, .payroll-table td, .review-table th, .review-table td {
  border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 5px 7px; text-align: left; white-space: nowrap; font-size: 12px;
}
.payroll-table thead th { position: sticky; z-index: 3; }
.payroll-table thead th.gh { font-size: 12px; font-weight: 700; padding: 7px; text-align: center; height: 34px; top: 0; z-index: 8; }
.payroll-table thead th.ch { font-weight: 600; background: var(--sticky-bg); height: 30px; top: 34px; z-index: 7; }
.payroll-table th.sticky, .payroll-table td.sticky { position: sticky; z-index: 4; background: var(--sticky-bg); }
.payroll-table thead th.gh.sticky { top: 0; z-index: 9; }
.payroll-table thead th.ch.sticky { top: 34px; z-index: 8; }
.payroll-table td.sticky { background: #fff; }
.payroll-table tbody tr:hover td { background: #f8fafd; }
.payroll-table tbody tr:hover td.sticky { background: #f8fafd; }
.payroll-table td.calc { background: var(--calc-bg); color: #3b4a63; font-variant-numeric: tabular-nums; }
.payroll-table td.editable { cursor: text; }
.payroll-table td.editable:focus { outline: 2px solid var(--primary); outline-offset: -2px; background: #fff; }
.payroll-table td.changed { background: var(--changed-bg) !important; }
.calc-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); margin-left: 4px; vertical-align: middle; opacity: .6; }

/* ============ 变动审核表（7月基线 | 8月待审核 并排 + 右侧差异/确认） ============ */
.review-table { min-width: 100%; }
.review-table thead th { position: sticky; z-index: 3; background: #fff; }

/* 冻结表头：三行分别固定（固定行高 + 逐行 top 偏移） */
.review-table th.rz-zone { font-size: 13px; font-weight: 700; padding: 8px; text-align: center; height: 36px; top: 0; z-index: 8; }
.review-table th.rz-zone.rz-jul-zone { background: var(--zone-jul-bg); color: var(--zone-jul-fg); }
.review-table th.rz-zone.rz-aug-zone { background: var(--zone-aug-bg); color: var(--zone-aug-fg); }
/* 分组行 */
.review-table th.rz-g { font-size: 12px; font-weight: 700; padding: 7px; text-align: center; height: 32px; top: 36px; z-index: 7; }

/* 左冻结（身份列） */
.review-table th.rz-l, .review-table td.rz-l { position: sticky; z-index: 4; background: var(--sticky-bg); font-weight: 600; }
.review-table th.rz-l0, .review-table td.rz-l0 { left: 0; min-width: 96px; width: 96px; }
.review-table th.rz-l1, .review-table td.rz-l1 { left: 96px; min-width: 150px; width: 150px; border-left: 1px solid var(--border); }
.review-table thead th.rz-l { top: 0; z-index: 9; }

/* 7月基线列（只读，灰色调） */
.review-table th.rz-jul { background: #eef1f5; color: #4a5568; font-weight: 600; padding: 6px 7px; text-align: right; height: 70px; top: 68px; z-index: 6; }
.review-table td.rz-jul { background: #f7f8fa; color: #6b7280; text-align: right; font-variant-numeric: tabular-nums; }
.review-table td.rz-jul.calc { background: var(--calc-bg); color: #5b6472; }

/* 8月待审核列（可编辑，含导入/撤销按钮；公式列只读） */
.review-table th.rz-aug { background: #fff8ec; color: #8a6d3b; font-weight: 500; vertical-align: top; padding: 6px 4px; height: 70px; top: 68px; z-index: 6; }
.review-table th.rz-aug.rz-calc-h { background: #f0f2f6; color: #6b7280; }
.review-table td.rz-aug { background: #fffdf6; text-align: right; font-variant-numeric: tabular-nums; cursor: text; }
.review-table td.rz-aug:focus { outline: 2px solid var(--primary); background: #fffde7; }
.review-table td.rz-aug.changed { background: var(--changed-bg) !important; box-shadow: inset 0 0 0 1px #e6c700; }
.review-table td.rz-aug.rz-calc { background: var(--calc-bg); color: #3b4a63; cursor: default; }

.imp-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 400; }
.imp-label { font-weight: 500; font-size: 12px; color: var(--text); padding: 0 2px; white-space: nowrap; }
.imp-actions { display: flex; gap: 2px; align-items: center; }
.c-imp, .c-undo {
  font-size: 11px; padding: 2px 5px; border-radius: 5px; border: 1px solid var(--border); cursor: pointer;
  background: #fff; color: var(--text);
}
.c-imp { color: var(--primary); border-color: #f0b9b9; background: #fdf3f3; }
.c-imp:hover { background: #fbe9e9; }
.c-undo { color: var(--muted); }
.c-undo:hover { background: #f1f3f7; }
.c-undo:disabled { opacity: .4; cursor: not-allowed; }
.col-import-meta { font-size: 10px; color: var(--success); font-weight: 500; white-space: nowrap; min-height: 12px; }

/* 右冻结（变化标记 + 确认） */
.review-table th.rz-r, .review-table td.rz-r { position: sticky; z-index: 4; background: #fff; text-align: center; border-left: 1px solid var(--border); }
.review-table th.rz-r1, .review-table td.rz-r1 { right: 64px; min-width: 112px; width: 112px; }
.review-table th.rz-r0, .review-table td.rz-r0 { right: 0; min-width: 64px; width: 64px; }
.review-table thead th.rz-r { top: 0; z-index: 9; background: var(--sticky-bg); }
.review-table td.rz-badge { font-size: 11px; font-weight: 500; }

.review-table tbody tr:nth-child(even) td.rz-l { background: #fafbfc; }
.review-table tbody tr:hover td { background: #f6f9ff; }
.review-table tbody tr:hover td.rz-l { background: #f6f9ff; }
.review-table tbody tr:hover td.rz-jul { background: #eef3fd; }

/* 离职行整体变灰 */
.review-table tr.tr-departed td.rz-l,
.review-table tr.tr-departed td.rz-jul,
.review-table tr.tr-departed td.rz-aug { background: #f0f1f3; color: #a8adb3; }
.review-table tr.tr-departed td.rz-aug { cursor: default; }

/* 逐行确认按钮 */
button.row-confirm {
  font-size: 11px; padding: 3px 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: #fff; color: var(--muted);
}
button.row-confirm:hover { border-color: #c8d0dc; }
button.row-confirm.on { background: var(--success); border-color: var(--success); color: #fff; }

/* 名单导入预览 */
.roster-preview { margin-top: 10px; padding: 10px 12px; background: #f7f8fa; border: 1px solid #e5e6e8; border-radius: 6px; line-height: 2; font-size: 13px; }
.roster-preview .tag { margin-right: 5px; }

/* 历史存档 */
.archive-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px;
  transition: box-shadow .12s;
}
.archive-item:hover { box-shadow: var(--shadow-md); }
.archive-item.confirmed { border-left: 3px solid var(--success); }
.archive-item.open { border-left: 3px solid var(--warn); }
.ai-name { font-weight: 600; font-size: 14px; }
.ai-meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; flex: 1; }
.ai-actions { display: flex; gap: 6px; }

/* 统计 */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat-card { border: 1px solid var(--border); border-radius: 10px; padding: 12px; background: #fafbfc; }
.sc-label { font-size: 12px; color: var(--muted); }
.sc-value { font-size: 18px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat-month-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.stat-m.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.stat-table h4 { margin: 16px 0 8px; font-size: 13px; }
.mini-table { border-collapse: collapse; width: 100%; font-size: 12px; }
.mini-table th, .mini-table td { border: 1px solid var(--border); padding: 5px 8px; text-align: left; }
.mini-table th { background: #f7f9fc; }
.mini-table td.num, .mini-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* 抽屉 */
#drawer-mask { position: fixed; inset: 0; background: rgba(16,24,40,.4); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
#drawer-mask.show { opacity: 1; pointer-events: auto; }
#drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 470px; max-width: 92vw;
  background: #fff; box-shadow: -12px 0 40px rgba(16,24,40,.16); transform: translateX(100%);
  transition: transform .25s; z-index: 51; overflow-y: auto; padding: 20px;
}
#drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-head h3 { margin: 0; }
.drawer-section { margin-bottom: 22px; }
.drawer-section h4 { font-size: 13px; color: var(--muted); margin: 0 0 10px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.drawer-row { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.audit-list { max-height: 260px; overflow-y: auto; font-size: 12px; }
.audit-item { padding: 5px 0; border-bottom: 1px dashed var(--border); }
.audit-item .ai-at { color: var(--muted); margin-right: 8px; }
.audit-item .ai-act { font-weight: 600; margin-right: 8px; }
.audit-item .ai-detail { color: var(--muted); }

/* 模态 */
.modal-mask { position: fixed; inset: 0; background: rgba(16,24,40,.45); display: flex; align-items: center; justify-content: center; z-index: 60; }
.modal { background: #fff; border-radius: 14px; width: 460px; max-width: 92vw; padding: 22px; box-shadow: 0 24px 70px rgba(16,24,40,.28); }
.modal-body { font-size: 14px; line-height: 1.6; }
.modal-title { margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.modal-input { width: 100%; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; margin-top: 4px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.muted { color: var(--muted); font-size: 12px; }
.imp-preview { font-size: 12px; color: var(--text); }

/* toast */
#toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: #1f2733; color: #fff; padding: 11px 22px; border-radius: 10px; font-size: 13px;
  opacity: 0; pointer-events: none; transition: all .25s; z-index: 70; max-width: 80vw; box-shadow: var(--shadow-md);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--danger); }
#toast.warn { background: var(--warn); }
#toast.ok { background: var(--success); }

/* ============ 工作台摘要条 ============ */
.summary-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.sb-chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 5px 12px; border-radius: 8px; background: #f6f8fb; border: 1px solid var(--border-soft);
  font-size: 12px; color: var(--muted);
}
.sb-chip b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.sb-chip span { font-size: 11px; }
.sb-chip.sb-warn { background: #fff8ec; border-color: #fde2b8; }
.sb-chip.sb-warn b { color: var(--warn); }
.sb-chip.sb-ok { background: #eefaf1; border-color: #c8ecd3; }
.sb-chip.sb-ok b { color: var(--success); }
.sb-todo { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.sb-todo.sb-warn { color: var(--warn); }
.sb-todo.sb-ok { color: var(--success); }

/* ============ 审批进度条 / 时间线 ============ */
.ap-progress { display: flex; align-items: stretch; margin-bottom: 8px; }
.ap-step {
  flex: 1; padding: 6px 10px; border: 1px solid var(--border); border-right: none;
  background: #fafbfc; min-width: 88px;
}
.ap-step:first-child { border-radius: 8px 0 0 8px; }
.ap-step:last-child { border-radius: 0 8px 8px 0; border-right: 1px solid var(--border); }
.ap-step-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.ap-step-sub { font-size: 10px; color: var(--muted); margin-top: 1px; }
.ap-step.done { background: #eefaf1; border-color: #c8ecd3; }
.ap-step.done .ap-step-label { color: var(--success); }
.ap-step.active { background: #fff4e0; border-color: #fde2b8; box-shadow: inset 0 0 0 1px #f5c97a; }
.ap-step.active .ap-step-label { color: var(--warn); }
.ap-step.rejected { background: #fef2f2; border-color: #fecaca; }
.ap-step.rejected .ap-step-label { color: var(--danger); }
.ap-timeline { margin-top: 10px; padding: 8px 12px; background: #fafbfc; border: 1px solid var(--border-soft); border-radius: 8px; }
.ap-tl-item { font-size: 12px; color: var(--muted); padding: 3px 0; }
.ap-tl-item::before { content: '•'; color: var(--primary); margin-right: 6px; }

/* ============ 逐行确认占位 ============ */
.row-confirm-dot { font-size: 13px; color: #c8cdd5; }
.row-confirm-dot.on { color: var(--success); font-weight: 700; }

/* ============ 导入列状态角标 ============ */
.col-import-meta.imported { color: var(--success); }
.col-import-meta.pending-owner { color: var(--danger); }
.col-import-meta.pending { color: #c8cdd5; }
.review-table th.rz-aug.not-imported .imp-label { color: var(--danger); }

/* ============ 工具栏筛选 / 只看差异 ============ */
.tb-filter { width: auto; }
.tb-diff {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted);
  cursor: pointer; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff;
}
.tb-diff input { cursor: pointer; margin: 0; }

/* ============ 顶栏系统管理按钮 ============ */
.header-actions { display: flex; align-items: center; gap: 10px; }
#btn-admin.header-admin {
  padding: 7px 14px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12);
  color: #fff; border-radius: 7px; cursor: pointer; font-size: 13px;
}
#btn-admin.header-admin:hover { background: rgba(255,255,255,.22); }

/* ============ 抽屉：列分工配置 ============ */
.assign-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.assign-item { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.assign-item .ai-col { color: var(--text); font-weight: 500; }
.assign-sel { width: 100%; padding: 6px 8px; font-size: 12px; }

/* ============ 批量导入预览 ============ */
.imp-fields { margin: 6px 0; padding-left: 20px; font-size: 12px; }

.empty { color: var(--muted); padding: 20px; text-align: center; }

/* ============ 顶栏当前用户 / 退出 ============ */
.auth-user { color: #fff; font-size: 13px; font-weight: 500; }
#btn-logout { border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; }

/* ============ 登录遮罩 ============ */
#auth-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #b71c1c 0%, #c62828 55%, #8e0000 100%);
}
.auth-box {
  width: 360px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 14px; padding: 34px 30px 28px;
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
}
.auth-title { font-size: 22px; font-weight: 700; color: #c62828; text-align: center; }
.auth-sub { font-size: 13px; color: #888; text-align: center; margin: 6px 0 22px; }
.auth-box input {
  display: block; width: 100%; box-sizing: border-box;
  margin: 0 0 14px; padding: 11px 12px; font-size: 14px;
  border: 1px solid #d8dce3; border-radius: 8px;
}
.auth-box input:focus { outline: none; border-color: #c62828; }
.btn-block { width: 100%; margin-top: 4px; }
.auth-error { color: #c62828; font-size: 13px; min-height: 18px; margin-top: 12px; text-align: center; }
.auth-loading { text-align: center; color: #888; font-size: 14px; padding: 40px 0; }
