/* GEO 智能分站系统 - 前后台共用样式 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #1f2933;
  background: #f4f6f8;
  line-height: 1.7;
}
a { color: #2456d6; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* 头部 */
.site-header { background: #ffffff; border-bottom: 1px solid #e3e8ee; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-size: 20px; font-weight: 700; color: #16212b; }
.site-header nav a { margin-left: 18px; color: #4a5568; font-size: 14px; }

/* 卡片 */
main.container { padding-top: 20px; padding-bottom: 32px; }
.card { background: #ffffff; border: 1px solid #e3e8ee; border-radius: 10px; padding: 22px 26px; margin-bottom: 18px; }
.card h1 { font-size: 24px; margin-bottom: 10px; color: #16212b; }
.card h2 { font-size: 18px; margin-bottom: 12px; color: #16212b; }
.card p { color: #3e4c59; margin-bottom: 8px; font-size: 14.5px; }
.lead { font-size: 15px !important; }
.hero { background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 60%); }
.center { text-align: center; padding: 60px 26px; }

/* 面包屑 */
.breadcrumb { font-size: 13px; color: #7b8794; margin-bottom: 14px; }

/* 按钮与链接组 */
.btn-row { margin-top: 14px; }
.btn { display: inline-block; padding: 9px 22px; border-radius: 6px; border: 1px solid #2456d6; color: #2456d6; background: #fff; font-size: 14px; margin-right: 10px; }
.btn.primary { background: #2456d6; color: #fff; }
.btn.primary:hover { background: #1c46b6; text-decoration: none; }
.link-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.link-grid a {
  display: inline-block; padding: 6px 14px; background: #f5f8ff; border: 1px solid #dce6fb;
  border-radius: 6px; font-size: 13.5px; color: #2456d6;
}
.link-grid a:hover { background: #2456d6; color: #fff; text-decoration: none; }

/* 页脚 */
.site-footer { border-top: 1px solid #e3e8ee; background: #ffffff; padding: 22px 0 30px; font-size: 13px; color: #7b8794; }
.site-footer p { margin-bottom: 4px; }

/* ===== 后台 ===== */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-side { width: 200px; background: #16212b; color: #cbd2d9; padding: 18px 0; flex-shrink: 0; }
.admin-side .logo { color: #fff; font-weight: 700; font-size: 17px; padding: 0 20px 14px; }
.admin-side a { display: block; padding: 10px 20px; color: #cbd2d9; font-size: 14px; }
.admin-side a.active, .admin-side a:hover { background: #2456d6; color: #fff; text-decoration: none; }
.admin-main { flex: 1; padding: 24px; }
.admin-main h2 { margin-bottom: 16px; font-size: 20px; }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e3e8ee; font-size: 13.5px; }
table.tbl th, table.tbl td { border-bottom: 1px solid #eef1f4; padding: 9px 12px; text-align: left; }
table.tbl th { background: #f7f9fb; color: #3e4c59; font-weight: 600; }
table.tbl tr:hover td { background: #f7faff; }
.form-item { margin-bottom: 14px; }
.form-item label { display: block; font-size: 13px; color: #52606d; margin-bottom: 5px; }
.form-item input[type=text], .form-item input[type=password], .form-item input[type=number], .form-item select, .form-item textarea {
  width: 100%; max-width: 480px; padding: 8px 10px; border: 1px solid #cbd2d9; border-radius: 6px; font-size: 14px; background: #fff;
}
.stat-grid { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.stat-box { background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; padding: 18px 26px; min-width: 160px; }
.stat-box .num { font-size: 26px; font-weight: 700; color: #2456d6; }
.stat-box .lbl { font-size: 13px; color: #7b8794; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; background: #e6ffed; color: #1a7f37; }
.badge.off { background: #ffebe9; color: #cf222e; }
.notice { background: #fff8e1; border: 1px solid #ffe58f; padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 16px; color: #6d5300; }
.login-box { max-width: 360px; margin: 90px auto; }
