﻿/* admin.css — 修正 header 两行布局，避免叠加 */
/* reset & base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;min-width:1280px;font-family:Arial,Helvetica,sans-serif;font-size:12px;background:#f0f7fb;color:#333}
a{color:blue;text-decoration:none}
.fl{float:left}.fr{float:right}.tc{text-align:center}

/* SITE HEADER: top-bar（左/中/右） + nav-bar（按钮型） */
.site-header{position:fixed;left:0;right:0;top:0;z-index:200}
.top-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(#3d98cf,#2f78a6);
  padding:8px 18px;
  border-bottom:3px solid rgba(0,0,0,0.06);
  color:#fff;
  min-height:58px;
}
.hb-left{display:flex;flex-direction:column;justify-content:center}
.company-name{font-family:'华文行楷',serif;color:yellow;font-size:20px;font-weight:600}
.agent{font-size:13px;margin-top:2px}

.hb-center{display:flex;flex-direction:column;align-items:center;flex:0 0 760px}
.marquee-wrap{width:760px;overflow:hidden}
.marquee-wrap marquee{color:#fff;font-size:13px}

.hb-right{display:flex;align-items:center;gap:12px}
.countdown{color:#fff;font-weight:600}
.net-test{background:#fff;color:#0b3b5c;border:none;padding:6px 10px;border-radius:6px;cursor:pointer}

/* NAV BAR: placed below top-bar to avoid overlap */
.nav-bar{
  background:transparent;
  padding:8px 18px;
  border-bottom:1px solid rgba(0,0,0,0.04);
}
.nav{display:flex;gap:8px;list-style:none;padding-left:140px;align-items:flex-end}
.nav li{list-style:none}
.nav li a{display:block;padding:6px 16px;background:linear-gradient(#f6fbff,#eaf6ff);border-radius:6px;color:#114a6f;font-weight:700;text-decoration:none}
.nav li.on a{background:#fff;color:#00345a;box-shadow:inset 0 -2px 0 rgba(0,0,0,0.06);border-bottom:1px solid #fff}

/* BREADCRUMB: push down to clear header (top-bar + nav-bar heights) */
/* top-bar ~58px + nav-bar ~48px + small gap -> margin-top:120px keeps content below header */
.breadcrumb{margin-top:120px;padding:10px 18px;background:#fff;border:1px solid #e3f0f8;display:flex;justify-content:space-between;align-items:center}
.red{color:#c00}

/* MAIN AREA */
.main{padding:12px 18px 40px}
.panel{display:none}
.panel.on{display:block}
.placeholder{background:#fff;border:1px solid #e1eef8;padding:18px;border-radius:2px}

/* draw balls */
.bg-ball{
  display:inline-block;
  width:30px;
  height:30px;
  line-height:30px;
  text-align:center;
  border-radius:50%;
  font-weight:700;
  margin:2px;
  border:1px solid #ccc;
}
.bg-ball.ball0{
  background:#f0f0f0;
  color:#999;
}
.bg-ball.ball1{
  background:#ffe9d6;
  color:#222;
  box-shadow:0 1px 0 rgba(0,0,0,0.06) inset;
}

/* t-1 表格样式保留原感 */
.t-1{width:100%;border-collapse:collapse;background:#fff;outline:1px solid #525C3D}
.t-1 thead .bg1 td{background:linear-gradient(#3b8cc6,#2f78a6);color:#fff;font-weight:bold;padding:6px 8px;height:30px}
.t-1 td, .t-1 th{border:1px solid #a4d4f9;padding:8px;vertical-align:middle}
.bg3{background:#F1F5F8}
.fn-hover tr:hover td{background:#fffeaa;color:red}

/* helpers */
.mt10{margin-top:10px}
.ml20{margin-left:20px}
.btn{border:1px solid #286699;background:#beebff;padding:6px 10px;cursor:pointer}

/* footer */
.footer{padding:12px;text-align:center;color:#666;margin-top:24px}
