/* ===== 移车网站演示样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #f4f6f9;
  color: #2d3436;
  line-height: 1.6;
}

a { text-decoration: none; color: #0a7dea; }
a:hover { color: #0865bb; }

/* 顶部导航 */
.topbar {
  background: #fff;
  border-bottom: 1px solid #e8ecf1;
  position: sticky; top: 0; z-index: 100;
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 20px; font-weight: 700; color: #0a7dea; display: flex; align-items: center; gap: 8px; }
.logo .mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg,#0a7dea,#17b978); color:#fff; display:flex; align-items:center; justify-content:center; font-size:17px; }
.topbar-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.topbar-nav a { color: #57606f; }
.topbar-nav a:hover { color: #0a7dea; }

/* 主容器 */
.page { max-width: 1080px; margin: 0 auto; padding: 28px 20px 60px; }
.page-narrow { max-width: 480px; margin: 0 auto; padding: 40px 20px 60px; }

/* 按钮 */
.btn {
  display: inline-block; padding: 11px 26px; border: none; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; text-align: center; transition: all .15s;
}
.btn-primary { background: #0a7dea; color: #fff; }
.btn-primary:hover { background: #0865bb; color: #fff; }
.btn-success { background: #17b978; color: #fff; }
.btn-success:hover { background: #129a63; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-outline { background: #fff; color: #0a7dea; border: 1.5px solid #0a7dea; }
.btn-outline:hover { background: #f0f7ff; color: #0865bb; }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* 表单 */
.form-item { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: #444; }
.form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d8dee6; border-radius: 8px;
  font-size: 15px; background: #fff; transition: border-color .15s;
}
.form-input:focus { outline: none; border-color: #0a7dea; box-shadow: 0 0 0 3px rgba(10,125,234,.12); }
textarea.form-input { resize: vertical; min-height: 90px; }
.form-hint { font-size: 12px; color: #98a1ad; margin-top: 5px; }

/* 卡片 */
.card {
  background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
  border: 1px solid #eef1f5;
}
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }

/* 首页 hero */
.hero {
  background: linear-gradient(135deg,#0a7dea 0%,#1aa5c9 60%,#17b978 100%);
  border-radius: 20px; color: #fff; padding: 46px 36px; margin-bottom: 28px;
  box-shadow: 0 8px 26px rgba(10,125,234,.22);
}
.hero h1 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.hero p { font-size: 15px; opacity: .92; max-width: 560px; }
.hero .plate-input-row { display: flex; gap: 10px; margin-top: 24px; max-width: 520px; }
.hero .plate-input {
  flex: 1; padding: 13px 16px; border: none; border-radius: 10px; font-size: 16px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.hero .plate-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.hero .btn-plate { background: #fff; color: #0a7dea; padding: 13px 26px; border-radius: 10px; font-weight: 700; }

/* 双入口区块 */
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.entry-card {
  background: #fff; border: 1px solid #eef1f5; border-radius: 16px; padding: 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s;
}
.entry-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.entry-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.entry-icon.blue { background: #e6f2fe; }
.entry-icon.green { background: #e2f7ee; }
.entry-card h3 { font-size: 18px; margin-bottom: 6px; }
.entry-card p { font-size: 13.5px; color: #6b7682; margin-bottom: 18px; }

/* 车牌展示 */
.plate-show {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 2px solid #0a7dea; border-radius: 8px; padding: 8px 18px; font-size: 30px;
  font-weight: 800; color: #0a7dea; letter-spacing: 4px;
}
.plate-show .plate-prov { background: #0a7dea; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 18px; }

/* 扫码页 */
.scan-head { text-align: center; margin-bottom: 26px; }
.scan-head .plate-wrap { margin: 8px 0 4px; }
.scan-head .tip { color: #6b7682; font-size: 14px; }
.notice-box {
  background: #fff8e6; border: 1px solid #ffd97a; color: #8a6d1a;
  border-radius: 10px; padding: 12px 16px; font-size: 13px; margin-bottom: 20px;
}

/* 后台 */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card { background: #fff; border-radius: 12px; padding: 18px; border: 1px solid #eef1f5; }
.stat-card .num { font-size: 26px; font-weight: 800; color: #0a7dea; }
.stat-card .label { font-size: 13px; color: #6b7682; }
.vehicle-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border: 1px solid #eef1f5; border-radius: 12px; margin-bottom: 12px; background: #fff;
}
.vehicle-item .plate-mini { font-size: 18px; font-weight: 700; letter-spacing: 2px; color: #0a7dea; }
.req-item {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 14px 18px; border: 1px solid #eef1f5; border-radius: 12px; margin-bottom: 10px; background: #fff;
}
.req-item.unread { border-left: 4px solid #ff9f43; }
.req-item .meta { font-size: 12.5px; color: #98a1ad; }
.badge { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.badge-new { background: #ffeaea; color: #e55039; }
.badge-read { background: #eef1f5; color: #6b7682; }
.badge-green { background: #e2f7ee; color: #17b978; }

/* 挪车牌打印 */
.plate-card-page { background: #f0f3f7; min-height: 100vh; padding: 30px 16px 60px; text-align: center; }
.plate-card {
  width: 340px; margin: 0 auto 24px; background: #fff; border-radius: 18px; padding: 26px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,.10); border: 1px solid #e3e9f0;
}
.plate-card .brand-line { font-size: 13px; color: #98a1ad; margin-bottom: 12px; letter-spacing: 1px; }
.plate-card .qr-box { background: #fff; width: 200px; height: 200px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border: 1px dashed #d8dee6; border-radius: 10px; }
.plate-card .qr-box .qr-ph { width: 180px; height: 180px; background: repeating-linear-gradient(45deg,#0a7dea,#0a7dea 6px,#fff 6px,#fff 12px); opacity:.15; border-radius: 6px; }
.plate-card .plate-big { font-size: 34px; font-weight: 800; letter-spacing: 4px; color: #0a7dea; margin-bottom: 6px; }
.plate-card .tip-line { font-size: 13px; color: #6b7682; }
.plate-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 页脚 */
.footer { text-align: center; padding: 24px 0 40px; color: #98a1ad; font-size: 13px; }

/* 提示条 */
.alert { border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }
.alert-success { background: #e2f7ee; color: #129a63; border: 1px solid #b7ecd7; }
.alert-error { background: #ffeaea; color: #c0392b; border: 1px solid #ffc9c9; }

/* 微信绑定提示 */
.wechat-tip { display: flex; align-items: center; gap: 14px; background: #e6f2fe; border: 1px solid #bcdbfc; border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; }
.wechat-tip .wx-icon { width: 44px; height: 44px; border-radius: 50%; background: #17b978; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.wechat-tip .wx-text { flex: 1; font-size: 13.5px; color: #1e4d8f; }
.wechat-tip .wx-text strong { font-size: 15px; display: block; margin-bottom: 2px; }

@media (max-width: 720px) {
  .entry-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 34px 22px; }
  .hero h1 { font-size: 24px; }
  .hero .plate-input-row { flex-direction: column; }
}

@media print {
  body { background: #fff; }
  .topbar, .plate-actions, .plate-card-page .hint { display: none !important; }
  .plate-card-page { background: #fff; padding: 0; }
  .plate-card { box-shadow: none; border: 1px solid #ccc; }
}
