/* ============================================================
   祝福问候管理后台 — 全局样式（现代化主题 v2）
   适用范围：admin/ 全部页面 + 登录页（不含前台小程序）
   功能类名保持兼容，仅视觉层全面升级
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #c0392b;
  --primary-dark: #8e1818;
  --primary-deep: #5c1010;
  --primary-light: #e74c3c;
  --accent: #d4af37;
  --accent-soft: #f3e2ae;
  --bg: #f3f4f7;
  --bg-top: #fafbfd;
  --sidebar-bg-1: #311a1a;
  --sidebar-bg-2: #220f0f;
  --sidebar-text: #d9c6a9;
  --sidebar-muted: rgba(255, 255, 255, .42);
  --sidebar-active: #a02418;
  --card-bg: #ffffff;
  --border: #e6e8ee;
  --text: #2b2f36;
  --text-muted: #7a808c;
  --success: #1f9d55;
  --danger: #e0504a;
  --warning: #e8930c;
  --info: #3b82d6;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(23, 15, 15, .05);
  --shadow: 0 4px 16px rgba(23, 15, 15, .07);
  --shadow-lg: 0 14px 34px rgba(23, 15, 15, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 320px at 78% -8%, rgba(212, 175, 55, .08), transparent 60%),
    radial-gradient(900px 300px at 8% -4%, rgba(192, 57, 43, .05), transparent 55%),
    var(--bg);
  display: flex;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ===================== 侧边栏 ===================== */
.sidebar {
  width: 224px;
  background: linear-gradient(180deg, var(--sidebar-bg-1) 0%, var(--sidebar-bg-2) 100%);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  position: fixed; top: 0; bottom: 0; left: 0;
  overflow-y: auto; overflow-x: hidden;
  z-index: 100;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }

.sidebar-brand {
  padding: 22px 18px 20px;
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.sidebar-brand::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, .45), rgba(255, 255, 255, .05));
}
.brand-mark {
  position: relative;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #edcf79, #a97f1f);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
  flex-shrink: 0;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #7a1913, #4d0c0a);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28);
}
.brand-name {
  font-size: 15px; font-weight: 700;
  letter-spacing: .5px;
  background: linear-gradient(180deg, #f6e7bb 0%, #d4af37 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  white-space: nowrap;
}

.sidebar-menu { list-style: none; padding: 14px 10px 18px; flex: 1; }
.sidebar-menu li a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px; margin: 2px 0;
  border-radius: 9px;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 13.5px;
  position: relative;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.menu-icon {
  font-size: 15px; width: 20px; text-align: center;
  opacity: .92;
}
.sidebar-menu li a:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transform: translateX(2px);
}
.sidebar-menu li.active a {
  background: linear-gradient(90deg, rgba(192, 57, 43, .88), rgba(160, 36, 24, .55));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.sidebar-menu li.active a::before {
  content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #f3dc92, var(--accent));
  box-shadow: 0 0 8px rgba(212, 175, 55, .5);
}
.menu-group-label {
  padding: 16px 14px 5px;
  font-size: 10.5px; font-weight: 700;
  color: var(--sidebar-muted);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  display: flex; align-items: center; gap: 7px;
}
.menu-group-label::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}
.sidebar-footer {
  padding: 12px 18px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .3);
  border-top: 1px solid rgba(255, 255, 255, .06);
  letter-spacing: .4px;
}

/* ===================== 主内容区 ===================== */
.main-content { margin-left: 224px; flex: 1; padding: 28px 30px 44px; min-width: 0; }
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px;
  padding-left: 12px;
  position: relative;
}
.page-header::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}
.page-header h2 {
  font-size: 21px; font-weight: 700; color: #22262d;
  letter-spacing: .3px;
  display: flex; align-items: center; gap: 10px;
}
.page-header > span { font-size: 13px; color: var(--text-muted); }
.mt-4 { margin-top: 16px; } .mb-4 { margin-bottom: 16px; }

/* ===================== 卡片 ===================== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(230, 232, 238, .9);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.card:hover { box-shadow: var(--shadow); }
.card-header {
  padding: 15px 20px;
  font-weight: 600; font-size: 15px;
  color: #33373f;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fcfcfd, #f7f8fa);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  position: relative;
}
.card-header::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  opacity: .75;
}
.card-body { padding: 20px; }

/* ===================== 统计卡片 ===================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  border: 1px solid rgba(230, 232, 238, .9);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card::after {
  content: ""; position: absolute; right: -28px; top: -28px;
  width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .10), transparent 70%);
  pointer-events: none;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(40, 30, 30, .16), inset 0 1px 0 rgba(255, 255, 255, .28);
  position: relative;
}
.stat-info { min-width: 0; }
.stat-num {
  font-size: 30px; font-weight: 800;
  line-height: 1.05; color: #23272e;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.3px;
}
.stat-label { font-size: 12.5px; color: var(--text-muted); margin-top: 5px; }

/* ===================== 表格 ===================== */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 15px; text-align: left; font-size: 13px; }
.table thead th {
  background: #f6f7f9;
  color: #6b7280;
  font-weight: 600; font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  border-bottom: 1px solid #e7e9ee;
  position: sticky; top: 0;
}
.table tbody td { border-bottom: 1px solid #eef0f3; color: #3b404a; vertical-align: middle; }
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover { background: #faf6ee; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:nth-child(even) { background: rgba(244, 245, 248, .55); }
.table tbody tr:nth-child(even):hover { background: #faf6ee; }

.text-ellipsis { max-width: 200px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.text-center { text-align: center; padding: 30px; color: var(--text-muted); }

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 500; font-family: inherit;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  line-height: 1.45;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .12s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(192, 57, 43, .24);
}
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 6px 16px rgba(192, 57, 43, .32); transform: translateY(-1px); }
.btn-default { background: #fff; color: #4a4f58; border-color: #d9dce2; }
.btn-default:hover { background: #f4f5f7; border-color: #c4c8d1; color: #262a30; }
.btn-danger { background: linear-gradient(135deg, #f26a63, #d6453d); color: #fff; box-shadow: 0 4px 12px rgba(224, 80, 74, .22); }
.btn-danger:hover { filter: brightness(1.06); box-shadow: 0 6px 16px rgba(224, 80, 74, .3); transform: translateY(-1px); }
.btn-success { background: linear-gradient(135deg, #2fbf71, #1f9d55); color: #fff; }
.btn-success:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-link { background: transparent; color: var(--primary); border-color: transparent; }
.btn-link:hover { background: rgba(192, 57, 43, .07); }
.btn-block { width: 100%; }
.btn-sm { padding: 4px 10px; font-size: 12px; border-radius: 6px; }

/* ===================== 徽章 ===================== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2.5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  line-height: 1.55; cursor: pointer; border: none;
  vertical-align: middle;
}
.badge-success { background: #d9f2e3; color: #177a44; }
.badge-danger  { background: #fde5e3; color: #b0322c; }
.badge-warning { background: #fdf0d4; color: #94600a; }
.badge-info    { background: #dceafb; color: #1d5aa8; }
.badge-gold    { background: linear-gradient(135deg, #f9ecc0, #e7c86a); color: #59450f; }
.badge-default { background: #eceef2; color: #5b616b; }

/* ===================== 表单 ===================== */
.form-compact .form-group { margin-bottom: 18px; }
.form-compact label {
  display: block; margin-bottom: 7px;
  font-size: 13px; font-weight: 600; color: #3a3f47;
}
.form-compact input[type=text],
.form-compact input[type=url],
.form-compact input[type=password],
.form-compact input[type=number],
.form-compact input[type=email],
.form-compact input[type=date],
.form-compact select,
.form-compact textarea {
  width: 100%;
  padding: 9px 13px;
  border: 1px solid #d8dbe1;
  border-radius: 8px;
  font-size: 14px; font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-compact input:hover, .form-compact select:hover, .form-compact textarea:hover { border-color: #b9bec9; }
.form-compact input:focus, .form-compact select:focus, .form-compact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(192, 57, 43, .10);
  background: #fff;
}
.form-compact textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.form-compact select { appearance: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 400; }
.form-check input[type=checkbox], .form-check input[type=radio] { accent-color: var(--primary); width: 15px; height: 15px; cursor: pointer; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; display: block; line-height: 1.5; }
.required { color: var(--danger); font-weight: 600; }
.form-actions { display: flex; gap: 10px; margin-top: 14px; }

/* ===================== 提示 ===================== */
.alert {
  padding: 12px 16px; border-radius: 10px;
  margin-bottom: 16px; font-size: 13px; line-height: 1.6;
  border: 1px solid transparent; border-left-width: 4px;
  position: relative;
}
.alert-success { background: #eaf7f0; color: #12693c; border-color: #bce4cd; border-left-color: #2faf6e; }
.alert-error   { background: #fdf0ef; color: #a62d27; border-color: #f2c6c2; border-left-color: #e0504a; }
.alert-warning { background: #fdf7e7; color: #7d6206; border-color: #f1dfa6; border-left-color: #e0a622; }
.alert-info    { background: #edf4fd; color: #1e4f8e; border-color: #c7daf3; border-left-color: #3f83d8; }

/* ===================== 过滤栏 ===================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-btn {
  padding: 6px 15px; border-radius: 999px;
  font-size: 13px; text-decoration: none;
  color: #6a7078; background: #fff;
  border: 1px solid #dde0e6;
  transition: all .18s ease;
  box-shadow: var(--shadow-sm);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); background: #fdf6f5; transform: translateY(-1px); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 10px rgba(192, 57, 43, .26);
}

/* ===================== 分页 ===================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; font-size: 13px; color: var(--text-muted); }
.page-btn {
  padding: 6px 14px; background: #fff;
  border: 1px solid #dde0e6; border-radius: 8px;
  text-decoration: none; color: #4a4f58; font-size: 13px;
  transition: all .18s ease;
  box-shadow: var(--shadow-sm);
}
.page-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-1px); }

/* ===================== 快速操作 ===================== */
.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-btn {
  padding: 11px 20px;
  background: #fff;
  border: 1px solid #dde0e6; border-radius: 10px;
  text-decoration: none; color: #454a53; font-size: 13.5px; font-weight: 500;
  transition: all .2s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quick-btn:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(192, 57, 43, .24);
}

/* ===================== API 说明 ===================== */
.code-block {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #2d2b33, #26242b);
  padding: 12px 16px; border-radius: 10px; margin: 12px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.code-block code { flex: 1; font-size: 13px; color: #f0e6c8; overflow-wrap: anywhere; }
.code-block .btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .18); }
.code-block .btn:hover { background: rgba(255, 255, 255, .2); box-shadow: none; transform: none; }
.api-list { list-style: none; padding: 0; margin-top: 12px; }
.api-list li {
  margin-bottom: 8px; font-size: 13px; line-height: 1.7;
  color: #4a4f58;
  padding: 8px 12px; background: #f7f8fa;
  border-radius: 8px; border: 1px solid #eef0f3;
  font-family: "SF Mono", Consolas, "Courier New", monospace;
}
.api-list code { background: transparent; padding: 0; border-radius: 0; font-size: 12.5px; color: #a02418; }
.code-inline { background: #f0f1f4; padding: 2px 7px; border-radius: 5px; font-size: 12.5px; color: #a02418; }

/* ===================== 图片字段（_img_field） ===================== */
.img-field { margin-bottom: 4px; }
.img-field .img-file-input {
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.img-field .img-file-input::file-selector-button {
  padding: 8px 16px; margin-right: 12px;
  border-radius: 8px; border: 1px solid #d8dbe1;
  background: linear-gradient(180deg, #fff, #f1f2f5);
  color: #4a4f58; font-size: 13px; font-weight: 500; font-family: inherit;
  cursor: pointer;
  transition: all .18s ease;
}
.img-field .img-file-input::file-selector-button:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff; border-color: transparent;
}
.img-preview-box {
  margin-top: 14px;
  border: 1.5px dashed #d4d7dd;
  border-radius: 12px;
  background: #fafbfc;
  min-height: 120px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 12px;
  transition: border-color .2s ease, background .2s ease;
}
.img-preview-box:hover { border-color: #b6bbc5; background: #f8f9fb; }
.img-preview-empty { color: #a4a9b3; font-size: 13px; letter-spacing: 1px; }
.img-preview { max-height: 160px; max-width: 100%; border-radius: 8px; box-shadow: 0 4px 12px rgba(23, 15, 15, .12); }
.img-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid #e6e8ee; box-shadow: var(--shadow-sm); }
.img-thumb-none { color: var(--text-muted); font-size: 12px; }

/* ===================== 弱提示 / 说明面板 ===================== */
.dim-text { font-size: 12px; color: #9aa0a8; line-height: 1.6; }
.hint-panel {
  background: linear-gradient(180deg, #fdfbf4, #faf7ec);
  border: 1px solid #eadfb8; border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 14px 18px;
  color: #77683f; font-size: 13px; line-height: 1.8;
  margin-bottom: 16px;
}
.hint-panel strong { color: #5c4d22; }

/* ===================== 登录页（与后台同源主题） ===================== */
.login-page {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 175, 55, .20), transparent 44%),
    radial-gradient(circle at 88% 82%, rgba(231, 76, 60, .32), transparent 48%),
    linear-gradient(135deg, #5a0f0f 0%, #8e1818 46%, #2c1a1a 100%);
}
.login-page::before, .login-page::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.login-page::before { width: 360px; height: 360px; left: -110px; top: -130px; background: radial-gradient(circle, rgba(212, 175, 55, .16), transparent 70%); }
.login-page::after  { width: 420px; height: 420px; right: -140px; bottom: -160px; background: radial-gradient(circle, rgba(231, 76, 60, .20), transparent 70%); }

.login-container {
  position: relative; z-index: 1;
  width: 400px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 16px;
  padding: 42px 40px 34px;
  box-shadow: 0 20px 50px rgba(25, 6, 6, .35), 0 3px 12px rgba(25, 6, 6, .22);
  animation: loginFadeUp .5s ease both;
}
@keyframes loginFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.login-head { text-align: center; margin-bottom: 26px; }
.login-brand {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%;
  background: linear-gradient(135deg, #e8c766, #a97f1f);
  box-shadow: 0 8px 20px rgba(212, 175, 55, .38);
}
.login-brand::after {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  background: #5c1010; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25);
}
.login-title { font-size: 24px; font-weight: 700; color: #2c1a1a; letter-spacing: 2px; }
.login-subtitle { margin-top: 8px; font-size: 13px; color: #9a8a8a; letter-spacing: .5px; }
.login-form .form-group { margin-bottom: 18px; }
.login-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #4a3333; }
.login-form input {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid #e5dddd; border-radius: 10px;
  background: #faf8f7; font-size: 14px; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.login-form input::placeholder { color: #bfb3b3; }
.login-form input:hover { border-color: #d6c3c3; }
.login-form input:focus {
  outline: none; border-color: var(--primary);
  background: #fff; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12);
}
.login-form .btn-primary {
  height: 48px; margin-top: 6px; border-radius: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 6px; text-indent: 6px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  box-shadow: 0 8px 18px rgba(192, 57, 43, .28);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.login-form .btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 22px rgba(192, 57, 43, .38); }
.login-form .btn-primary:active { transform: translateY(1px) scale(.98); box-shadow: 0 4px 10px rgba(192, 57, 43, .22); }
.login-alert { border-radius: 10px; padding: 11px 16px; margin-bottom: 14px; font-size: 13px; line-height: 1.5; text-align: center; }
.login-alert.alert-warning { background: #fff7e6; border-color: #f4d78c; color: #8a6a08; }
.login-alert.alert-error { background: #fdefee; border-color: #f1c0bc; color: #a93226; }

/* ===================== 响应式 ===================== */
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sidebar { width: 0; overflow: hidden; }
  .main-content { margin-left: 0; padding: 18px 16px 36px; }
  .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-header { padding-left: 12px; }
}
