/* Menu tai khoan (chu Z) + doi / cap lai mat khau */
/* Cac nut quan ly cu nam trong menu chu Z - an hang nut tren sidebar */
.sidebar-tools { display: none !important; }
.brand-menu-trigger { cursor: pointer; }
.sidebar-brand .brand-mark.brand-menu-trigger { position: relative; transition: transform .15s var(--ease), box-shadow .15s; }
.sidebar-brand .brand-mark.brand-menu-trigger:hover { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.sidebar-brand .brand-mark.brand-menu-trigger::after {
  content: "▾"; position: absolute; right: -4px; bottom: -4px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; color: var(--primary); font-size: 9px; line-height: 14px; text-align: center; box-shadow: var(--shadow-sm);
}
.sidebar-user.brand-menu-trigger:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.pw-box { width: 400px; }
.pw-box input { width: 100%; box-sizing: border-box; }
.pw-error { min-height: 16px; font-size: 12.5px; color: var(--danger); }
.rpw-row { display: flex; gap: 6px; }
.rpw-row input { flex: 1; min-width: 0; font-family: Consolas, monospace; letter-spacing: .5px; }
/* Phim tat + Dang xuat da co trong menu chu Z -> an bot icon cho ten tai khoan rong cho */
.sidebar-header #logout-btn, .sidebar-header .icon-btn[title^="Phím tắt"] { display: none; }
.sidebar-user { min-width: 0; }
.sidebar-user strong, .sidebar-user span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
