/* HQMS navbar - thanh menu thiết kế trên ứng dụng. Kiểu chi tiết (nhóm, nhiều cột, màu) do module theme lo khi đã cài. */
.navbar .hqms-nb-img { height: 20px; width: 20px; margin-right: 2px; vertical-align: -5px; }
.navbar .hqms-nb-icon { margin-right: 2px; top: 2px; }
.navbar .hqms-nav-head:empty { display: none; }
.navbar .hqms-nav-list > li.divider { height: 1px; margin: 6px 0; overflow: hidden; background-color: #e5e5e5; }
.navbar .navbar-nav li.hqms-nb-active > a { font-weight: 600; }

/* chưa cài theme: hiển thị nhóm tối thiểu */
body:not(.hqms-theme) .navbar .hqms-nav-section { list-style: none; }
body:not(.hqms-theme) .navbar .hqms-nav-head { padding: 8px 20px 2px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #6b7280; }
body:not(.hqms-theme) .navbar .hqms-nav-list { list-style: none; margin: 0; padding: 0; }
body:not(.hqms-theme) .navbar .hqms-nav-list > li > a { display: block; padding: 4px 20px; clear: both; white-space: nowrap; color: #333; }
body:not(.hqms-theme) .navbar .hqms-nav-list > li > a:hover { background-color: #f5f5f5; text-decoration: none; }

/* ------------------------------------------------------------ tìm nhanh menu (Ctrl+P - assets/js/quick.js) */
html.hqms-qm-lock { overflow: hidden; }
.hqms-qm { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(15, 23, 42, .45); padding: 9vh 16px 16px; }
.hqms-qm.open { display: block; }
.hqms-qm-dialog { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.3); overflow: hidden; }
.hqms-qm-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e5e7eb; }
.hqms-qm-head .glyphicon { color: #6b7280; }
.hqms-qm-input { flex: 1; border: 0; outline: 0; font-size: 16px; padding: 4px 0; background: transparent; color: #111827; }
.hqms-qm kbd { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; box-shadow: none; font-size: 11px; padding: 1px 5px; border-radius: 3px; }
.hqms-qm-list { list-style: none; margin: 0; padding: 6px; max-height: 56vh; overflow-y: auto; }
.hqms-qm-list > li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 5px; cursor: pointer; }
.hqms-qm-list > li.active { background: var(--hqms-theme-primary, #1d4f91); color: #fff; }
.hqms-qm-list > li.active .hqms-qm-path { color: rgba(255,255,255,.8); }
.hqms-qm-list > li.hqms-qm-empty { color: #6b7280; cursor: default; }
.hqms-qm-ic { width: 20px; text-align: center; flex: none; }
.hqms-qm-ic img { width: 18px; height: 18px; }
.hqms-qm-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hqms-qm-path { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #6b7280; }
.hqms-qm mark { background: #fde68a; color: inherit; padding: 0; }
.hqms-qm-list > li.active mark { background: rgba(255,255,255,.3); }
.hqms-qm-foot { display: flex; flex-wrap: wrap; gap: 14px; padding: 7px 14px; border-top: 1px solid #e5e7eb; font-size: 12px; color: #6b7280; background: #f9fafb; }
.hqms-qm-list > li.hqms-qm-sec { cursor: default; padding: 8px 10px 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #6b7280; }
