:root { --p:#2b6cff; --navy:#0e1a36; --bg:#f4f6fb; --line:#e5eaf3; --text:#1d2740; --muted:#6b7280; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: "PingFang SC","Microsoft YaHei",sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--p); text-decoration: none; }
.login-page { background: #fff; }
.login-split { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-brand {
  position: relative; overflow: hidden; color: #fff; padding: 40px 56px 36px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(520px 280px at 88% 8%, rgba(80,140,255,.4), transparent 55%),
    linear-gradient(160deg, #071633 0%, #12357a 48%, #2b6cff 100%);
}
.login-brand:after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -140px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 28px rgba(255,255,255,.04);
}
.login-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 800; position: relative; z-index: 1; }
.login-logo img { width: 36px; height: 36px; }
.login-brand-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; max-width: 460px; }
.login-kicker {
  display: inline-block; align-self: flex-start; letter-spacing: .2em; font-size: 11px;
  padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.12); margin-bottom: 18px;
}
.login-brand h1 { margin: 0 0 14px; font-size: 36px; line-height: 1.25; }
.login-brand p { margin: 0 0 28px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; }
.login-brand ul { margin: 0; padding: 0; list-style: none; }
.login-brand li {
  position: relative; padding: 8px 0 8px 28px; color: #d7e3ff; font-size: 14px;
}
.login-brand li:before {
  content: ""; position: absolute; left: 0; top: 14px; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #9ec2ff; box-shadow: inset 0 0 0 3px rgba(43,108,255,.35);
}
.login-back { position: relative; z-index: 1; color: rgba(255,255,255,.75); font-size: 13px; }
.login-back:hover { color: #fff; }
.login-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #f5f7fb; }
.login-form-card { width: min(420px, 100%); background: #fff; border-radius: 20px; padding: 40px 36px 28px; box-shadow: 0 18px 50px rgba(15,40,90,.08); border: 1px solid #e6ebf5; }
.login-form-card h2 { margin: 0 0 6px; font-size: 26px; color: var(--navy); }
.login-form-card > p { margin: 0 0 28px; color: var(--muted); }
.login-page .form-item input { height: 48px; padding: 0 14px; font-size: 15px; }
.login-page .form-item input:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px rgba(43,108,255,.12); }
.login-pass { position: relative; }
.login-pass input { padding-right: 58px; }
.login-eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: var(--p); cursor: pointer; font-size: 13px; padding: 6px 8px;
}
.login-page .btn-block { height: 48px; border-radius: 10px; font-size: 16px; margin-top: 8px; }
.login-foot { margin-top: 22px; text-align: center; color: #98a2b3; font-size: 12px; }
@media (max-width: 900px) {
  .login-split { grid-template-columns: 1fr; }
  .login-brand { min-height: auto; padding: 28px 24px 32px; }
  .login-brand h1 { font-size: 26px; }
  .login-brand-copy { flex: none; padding: 24px 0 8px; }
  .login-form-card { padding: 28px 22px 20px; }
}
.form-item { margin-bottom: 14px; }
.form-item label { display: block; margin-bottom: 6px; font-size: 13px; color: #445; }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; border: 1px solid #d7deee; border-radius: 10px; padding: 10px 12px; font-size: 14px;
}
.form-item textarea { min-height: 120px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 600; }
.btn-primary { background: var(--p); color: #fff; }
.btn-primary:hover { background: #1a4fd6; }
.btn-line { background: #fff; border: 1px solid #d7deee; color: #334; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-block { width: 100%; }
.admin-shell { display: flex; min-height: 100vh; }
.side { width: 230px; background: var(--navy); color: #c9d4ea; padding: 18px 12px; }
.side .brand { color: #fff; font-size: 18px; font-weight: 800; padding: 8px 12px 18px; }
.side a { display: block; color: #c9d4ea; padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; }
.side a:hover, .side a.on { background: #1c3268; color: #fff; }
.side .group { font-size: 12px; color: #7f8eae; padding: 14px 12px 6px; }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.top { height: 60px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.page { padding: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.stat { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-bottom: 18px; }
.stat .card b { display: block; font-size: 28px; color: var(--p); }
.toolbar { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; font-size: 13px; }
th { background: #f8fafc; }
.iframe-page { flex: 1; border: 0; width: 100%; background: var(--bg); }
.tip { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .stat { grid-template-columns: 1fr 1fr; } .side { display: none; } }
