/* Phần thêm cho bản web (v0.5): màn hình đăng nhập, ô người dùng ở đầu trang, trang Quản lý tài khoản. */
.bo-login{position:fixed;inset:0;z-index:200;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:20px}
.bo-login[hidden]{display:none}
.bo-login-card{width:min(420px,100%);background:var(--surf);border:1px solid var(--rule);border-radius:16px;box-shadow:var(--sh);padding:28px 26px;text-align:center;border-top:4px solid var(--accent)}
.bo-login-card img{height:36px;width:auto;margin:0 auto 6px;display:block}
.bo-login-card .dk{display:none}
:root[data-theme=dark] .bo-login-card .lt{display:none}:root[data-theme=dark] .bo-login-card .dk{display:block}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .bo-login-card .lt{display:none}:root:not([data-theme=light]) .bo-login-card .dk{display:block}}
.bo-login-card h1{font-size:20px;margin:10px 0 6px}
.bo-login-card p{color:var(--ink2);font-size:14.5px;margin:8px 0}
.bo-gbtn{width:100%;margin-top:12px;min-height:46px;font-size:15px}
.bo-login-msg{min-height:1.4em}
.bo-user{display:flex;align-items:center;gap:10px;flex:none}
.bo-ents+.bo-user{margin-left:16px}
.bo-user:empty{display:none}
.bo-user-n{display:flex;flex-direction:column;line-height:1.25;text-align:right;font-size:13px}
.bo-user-n span{font-size:11.5px;color:var(--mut);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-form{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;padding:14px 16px;margin-bottom:12px}
.tk-form b{flex:1 0 100%;font-size:15px}
.tk-form input,.tk-form select,table.tk input,table.tk select{font:inherit;font-size:15px;min-height:42px;border:1px solid var(--rule);border-radius:9px;padding:0 11px;background:var(--surf);color:var(--ink)}
.tk-form input[type=email]{flex:2 1 240px}.tk-form input[type=text]{flex:2 1 200px}
table.tk input{width:100%;min-width:160px}
@media(max-width:1100px){.bo-ents+.bo-user{margin-left:auto}}
@media(max-width:600px){.bo-user-n{display:none}.bo-user .bo-btn{min-height:38px;padding:0 10px}}

/* v0.7: ổ khoá phân quyền */
.bo-it .bo-lock{margin-left:auto;font-size:12px;opacity:.75}
.bo-locked{text-align:center;padding:36px 20px!important}.bo-locked .big{display:block;font-size:34px;margin-bottom:8px}
.tk.pq td,.tk.pq th{text-align:center}.tk.pq td:first-child,.tk.pq th:first-child{text-align:left;white-space:nowrap}
