/* ============================================================
   HX ADMIN V3 • bqt.css — trang "Ban quản trị" (12/2026)
   ============================================================ */
.bq-hb { display: flex; gap: 8px; flex-wrap: wrap; }
.bq-warn { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 197, 61, 0.09); border: 1px dashed rgba(255, 197, 61, 0.45); color: var(--goldt); font-size: 13px; line-height: 1.7; }
.bq-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.bq-kpi .card small { color: var(--muted); font-weight: 600; font-size: 12px; }
.bq-kpi .card b { display: block; font-size: 26px; font-weight: 700; margin: 6px 0 2px; }
.bq-kpi .card b.bq-sm { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-kpi .card span { font-size: 12px; color: var(--muted); }
.bq-g2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: start; }
.bq-h3 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bq-h3 .muted { font-size: 12px; font-weight: 500; }
.bq-add { display: flex; gap: 8px; margin-bottom: 14px; }
.bq-add .field { flex: 1; }
.bq-list { display: grid; gap: 10px; }
.bq-m { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--raised); transition: opacity 0.2s, border-color 0.2s; }
.bq-m:hover { border-color: var(--blue); }
.bq-m.off { opacity: 0.55; }
.bq-m.miss { border-style: dashed; border-color: rgba(255, 110, 110, 0.5); }
.bq-who { display: flex; align-items: center; gap: 12px; }
.bq-who .grow { flex: 1; min-width: 0; }
.bq-who b { display: block; font-size: 14.5px; }
.bq-who small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-who .pill { margin-top: 4px; margin-right: 6px; }
.bq-av { width: 42px !important; height: 42px !important; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.bq-act { display: flex; gap: 6px; flex-shrink: 0; }
.bq-f { display: grid; grid-template-columns: 1fr 1.2fr auto auto; gap: 10px; margin-top: 12px; align-items: end; }
.bq-f label span, .bq-l > span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 5px; }
.bq-f .field { height: 42px; }
.bq-c { display: flex; flex-direction: column; align-items: center; }
.bq-c input[type=color], .bq-r input[type=color] { width: 42px; height: 42px; border: 1px solid var(--inputb); border-radius: 12px; background: var(--input); padding: 4px; cursor: pointer; }
.bq-c .sw { margin: 8px 0; }
.bq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bq-l.w { grid-column: 1 / -1; }
.bq-sws { display: grid; gap: 4px; }
.bq-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.bq-sw small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 2px; }
.bq-rl { display: grid; gap: 8px; margin-bottom: 8px; }
.bq-r { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 8px; align-items: center; }
.bq-r .field { height: 42px; }
.bq-foot { display: flex; justify-content: flex-end; margin-top: 16px; }
.bq-pv { min-height: 200px; display: grid; place-items: center; margin: 6px 0 12px; border-radius: 14px; overflow: hidden; background: #12071f; }
.bq-img { display: block; width: 100%; height: auto; }
.bq-load { color: var(--muted); font-size: 13px; padding: 40px; }
@media (max-width: 1100px) { .bq-g2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bq-kpi { grid-template-columns: 1fr; } .bq-f { grid-template-columns: 1fr 1fr; } .bq-form { grid-template-columns: 1fr; } .bq-r { grid-template-columns: 1fr auto auto; } .bq-r .field:first-child { grid-column: 1 / -1; } }
.bq-g2 > *, .bq-form > *, .bq-f > *, .bq-r > *, .bq-form .field select, .bq-r select { min-width: 0; max-width: 100%; }
