/* ============================================================
   HX ADMIN V2 • hxbooster.css — trang "HXM Booster" (11/2026)
   ============================================================ */
.hb-hb { display: flex; gap: 8px; flex-wrap: wrap; }
.hb-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; }
.hb-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--raised); border: 1px solid var(--raisedb); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.hb-tabs button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hb-tabs button.on { background: var(--card-solid); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.hb-tabs button i { font-style: normal; background: var(--red); color: #fff; font-size: 10px; border-radius: 6px; padding: 0 5px; line-height: 16px; }
.hb-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.hb-kpi .card small, .hb-sk small, .hb-dk small { color: var(--muted); font-weight: 600; font-size: 12px; }
.hb-kpi .card b { display: block; font: 700 24px "Space Grotesk", sans-serif; margin: 6px 0 2px; }
.hb-kpi .card span { font-size: 12px; color: var(--muted); }
.hb-kpi .card span.gold, .hb-sk b.gold { color: var(--goldt); }
.hb-h3 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.hb-h4 { margin: 18px 0 8px; font-size: 14px; }
.hb-lh { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.hb-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.hb-t th { text-align: left; font: 600 10.5px "JetBrains Mono", monospace; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hb-t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.hb-t tr.off td { opacity: 0.5; }
.hb-t .muted { font-size: 12px; }
.hb-ra { display: flex; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.mono { font-family: "JetBrains Mono", monospace; font-size: 12.5px; }
.hb-app { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.55; flex-wrap: wrap; }
.hb-app:last-child { border-bottom: 0; }
.hb-app .grow { flex: 1; min-width: 220px; }
.hb-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #f0b232, #f23f43); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0; }
.hb-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.hb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.hb-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hb-f > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.hb-f.w, .hb-form .w { grid-column: 1 / -1; }
.hb-f .field { height: 44px; border-radius: 12px; }
.hb-f .field.area { height: auto; }
.hb-f textarea { resize: vertical; width: 100%; line-height: 1.5; font-family: inherit; font-size: 14px; }
.hb-sws { display: flex; gap: 16px; flex-wrap: wrap; }
.hb-sw { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; cursor: pointer; }
.hb-note { padding: 10px 12px; border-radius: 12px; background: rgba(52, 227, 176, 0.08); border: 1px solid rgba(52, 227, 176, 0.3); font-size: 12.5px; color: var(--mintt); line-height: 1.6; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 150px; overflow: auto; }
.hb-chip { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--inputb); font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.hb-chip:has(input:checked) { background: rgba(59, 155, 255, 0.16); border-color: var(--blue); color: var(--text); }
.hb-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.hb-dact { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.hb-dk, .hb-sk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hb-sk { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 12px; }
.hb-dk > div, .hb-sk > div { padding: 12px 14px; border-radius: 14px; background: var(--raised); border: 1px solid var(--raisedb); }
.hb-dk b, .hb-sk b { display: block; font: 700 20px "Space Grotesk", sans-serif; margin: 4px 0 2px; }
.hb-dk span { font-size: 11.5px; color: var(--muted); }
.hb-scroll { max-height: 340px; overflow: auto; }
.hb-inv { font-size: 13px; line-height: 1.9; }
.hb-inv .muted { margin-left: 8px; font-size: 12px; }
.hb-tl { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.hb-tl div { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hb-tl div.off { text-decoration: line-through; }
.hb-tl b { color: var(--text); font-weight: 600; }
@media (max-width: 1100px) { .hb-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb-g2 { grid-template-columns: 1fr; } .hb-sk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hb-form { grid-template-columns: 1fr; } .hb-dk, .hb-sk { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb-t { font-size: 12px; } .hb-t td, .hb-t th { padding: 8px 6px; } }
.hb-up { border: 1.5px dashed var(--inputb); border-radius: 16px; padding: 18px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; }
.hb-up:hover, .hb-up.drag { border-color: var(--blue); background: rgba(59, 155, 255, 0.06); color: var(--text); }
.hb-up b { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.hb-prog { height: 8px; border-radius: 6px; background: var(--raised); overflow: hidden; margin-top: 10px; }
.hb-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22d3ee, #3b82f6); transition: width .2s; }
.hb-rel { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.hb-rel:last-child { border-bottom: 0; }
.hb-rel .grow { flex: 1; min-width: 200px; }
.hb-new { background: rgba(52, 227, 176, .14); color: var(--mintt); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
