/* trang/tai-khoan.css — kiểu riêng của màn Tài khoản (tiền tố tk-). Thành phần dùng chung: chung.css */
.tk-luoi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.tk-cot { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* hồ sơ */
.tk-ho-so { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--vien); }
.tk-toi { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tk-toi-chu { min-width: 0; }
.tk-toi-ten { font-size: 18px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; line-height: 1.3; }
.tk-toi-dn { font-size: 13.5px; color: var(--mo); overflow-wrap: anywhere; }
.tk-toi-dn b { color: var(--muc-2); font-weight: 600; }
.tk-dong { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tk-dong-nhan { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mo); }
.tk-nhom { gap: 6px; }
.tk-bm-ten .nut, .tk-bm-mk .nut { min-width: 120px; }

/* trạng thái + âm báo */
.tk-the-tt .the-dau { align-items: center; }
.tk-am { display: flex; align-items: flex-start; gap: 12px; }
.tk-am > .cong-tac { flex: 1; min-width: 0; }
.tk-chung { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--vien); display: flex; flex-direction: column; gap: 8px; }
.tk-chung-hop:empty { display: none; }

/* máy đang đăng nhập */
.tk-the-phien .the-dau { align-items: center; }
.tk-the-phien .the-than { padding: 0; }
.tk-phien .xuong-khoi { padding: 10px 18px; }
.tk-may { display: flex; align-items: flex-start; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--vien); min-width: 0; }
.tk-may-hinh { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--nen-2); color: var(--muc-2); display: inline-flex; align-items: center; justify-content: center; }
.tk-may-nay .tk-may-hinh { background: var(--tot-nen); color: var(--tot); }
.tk-may-chu { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tk-may-ten { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-weight: 600; overflow-wrap: anywhere; }
.tk-may-phu { font-size: 13px; color: var(--mo); line-height: 1.45; overflow-wrap: anywhere; }
.tk-phien-ghi { padding: 11px 18px 13px; }
.tk-dang-xuat { display: flex; justify-content: flex-end; }

@media (max-width: 900px) { .tk-luoi { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .tk-luoi, .tk-cot { gap: 12px; }
  .tk-the-tt .cong-tac, .tk-am .cong-tac { align-items: flex-start; }
  .tk-the-tt .cong-tac-ranh, .tk-am .cong-tac-ranh { margin-top: 10px; }
  .tk-am { flex-direction: column; }
  .tk-the-phien .the-dau { flex-wrap: wrap; }
  .tk-the-phien .the-dau-nut { width: 100%; justify-content: flex-start; }
  .tk-the-phien .the-dau-nut > .nut { flex: 1; }
  .tk-bm-ten .nut, .tk-bm-mk .nut { flex: 1; }
  .tk-may, .tk-phien-ghi { padding-left: 14px; padding-right: 14px; }
  .tk-dang-xuat > .nut { flex: 1; }
}
