* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif; background:#f4f6f8; color:#223; }
.login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; }
.card { background:#fff; border-radius:12px; box-shadow:0 4px 20px rgba(0,0,0,.07); padding:28px; width:100%; max-width:420px; }
.card h1 { font-size:20px; margin-bottom:4px; }
.card .sub { color:#777; font-size:13px; margin-bottom:18px; }
.login-foot { text-align:center; margin-top:12px; font-size:13px; }
.login-foot a { color:#2f8f7f; text-decoration:none; }
.login-foot a:hover { text-decoration:underline; }
.field { margin-bottom:14px; }
.field label { display:block; font-size:13px; color:#555; margin-bottom:5px; }
.field input, .field select, .field textarea { width:100%; padding:9px 11px; border:1px solid #d5dbe1; border-radius:8px; font-size:14px; }
.btn { display:inline-block; border:0; border-radius:8px; padding:9px 18px; font-size:14px; cursor:pointer; background:#2f8f7f; color:#fff; }
.btn:hover { opacity:.9; }
.btn.ghost { background:#eef1f4; color:#333; }
.btn.danger { background:#d93a3a; }
.btn.sm { padding:5px 12px; font-size:13px; }
.msg { font-size:13px; min-height:18px; margin-bottom:8px; }
.msg.error { color:#c00; }
.msg.ok { color:#1d8c5e; }
.topbar { background:#fff; border-bottom:1px solid #e6e9ed; display:flex; align-items:center; justify-content:space-between; padding:10px 22px; flex-wrap:wrap; gap:8px; }
.brand { font-weight:700; font-size:16px; }
.nav a { color:#333; text-decoration:none; margin-right:16px; font-size:14px; padding-bottom:4px; }
.nav a.active { color:#2f8f7f; border-bottom:2px solid #2f8f7f; }
.userbox { font-size:13px; color:#666; }
.content { max-width:1080px; margin:22px auto; padding:0 16px; }
.panel { background:#fff; border-radius:10px; padding:20px; margin-bottom:18px; box-shadow:0 2px 10px rgba(0,0,0,.05); }
.panel h2 { font-size:16px; margin-bottom:14px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; }
.stat { background:#fff; border-radius:10px; padding:16px; box-shadow:0 2px 10px rgba(0,0,0,.05); }
.stat .num { font-size:22px; font-weight:700; margin-top:4px; }
.stat .lbl { font-size:12px; color:#888; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { text-align:left; padding:9px 8px; border-bottom:1px solid #eef1f4; }
th { color:#777; font-weight:600; font-size:13px; }
.badge { display:inline-block; padding:2px 9px; border-radius:99px; font-size:12px; }
.badge.pending { background:#fff4e0; color:#b26a00; }
.badge.confirmed { background:#e7f6ee; color:#1d8c5e; }
.badge.rejected { background:#fdecec; color:#c0392b; }
.tabs { display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap; }
.tab { border:1px solid #d5dbe1; background:#fff; border-radius:99px; padding:5px 16px; font-size:13px; cursor:pointer; color:#555; }
.tab.active { background:#2f8f7f; border-color:#2f8f7f; color:#fff; }
.toolbar input, .toolbar select { padding:8px 10px; border:1px solid #d5dbe1; border-radius:8px; font-size:13px; min-width:130px; }
.row { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.muted { color:#888; font-size:13px; }
@media (max-width:640px){ .nav a { margin-right:10px; } }
