/* Màn tài khoản chung của 5 trang Jarvis: giống nhau ở mọi trang, chỉ khác tên trang trên đầu. Làm cho điện thoại trước. */
:root {
  --tk-nen: #f4f5f7;
  --tk-the: #ffffff;
  --tk-chu: #1d2330;
  --tk-mo: #5b6474;
  --tk-vien: #d6dbe3;
  --tk-chinh: #2b4a7e;
  --tk-chinh-nhat: #e4eaf5;
  --tk-do: #b3261e;
  --tk-do-nen: #fde3e1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --tk-nen: #12161c;
    --tk-the: #1c222b;
    --tk-chu: #e7ebf1;
    --tk-mo: #a3adbb;
    --tk-vien: #343e4c;
    --tk-chinh: #8fb5f1;
    --tk-chinh-nhat: #1f2c41;
    --tk-do: #ff8b82;
    --tk-do-nen: #43201d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tk-nen); color: var(--tk-chu); font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--tk-chinh); }
h1 { font-size: 1.35rem; margin: 10px 0 4px; }
h2 { font-size: 1.05rem; margin: 0 0 8px; }
.tk-dau { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 16px; background: #2b4a7e; color: #fff; }
@media (prefers-color-scheme: dark) { .tk-dau { background: #1d3358; } }
.tk-ten { font-weight: 700; }
.tk-mien { opacity: .8; font-size: .85rem; }
.tk-ai { margin-left: auto; color: #fff; font-size: .95rem; }
.tk-than { max-width: 560px; margin: 0 auto; padding: 12px 16px 48px; }
.tk-mo { color: var(--tk-mo); font-size: .92rem; }
.tk-the { display: block; background: var(--tk-the); border: 1px solid var(--tk-vien); border-radius: 12px; padding: 14px; margin: 12px 0; }
.tk-phu p { margin: 6px 0; }
.tk-bao { background: var(--tk-chinh-nhat); border-radius: 10px; padding: 10px 12px; }
.tk-bao-loi { background: var(--tk-do-nen); color: var(--tk-do); font-weight: 600; }
.tk-nhan { display: block; margin: 0 0 12px; font-weight: 600; }
.tk-nhan input, .tk-nhan textarea, .tk-nhan select {
  display: block; width: 100%; margin-top: 4px; padding: 11px 12px; font: inherit; font-weight: 400;
  color: var(--tk-chu); background: var(--tk-nen); border: 1px solid var(--tk-vien); border-radius: 10px;
}
.tk-hop { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 14px; font-size: .92rem; color: var(--tk-mo); }
.tk-hop input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.tk-nho { border: 1px solid var(--tk-vien); border-radius: 10px; margin: 0 0 12px; padding: 8px 12px; }
.tk-nho legend { font-weight: 600; padding: 0 4px; }
.tk-chon { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--tk-vien); }
.tk-chon:last-child { border-bottom: 0; }
.tk-chon input { width: 20px; height: 20px; flex: none; }
.tk-nut, button.tk-nut {
  display: block; width: 100%; padding: 13px 14px; margin: 8px 0 0; border: 0; border-radius: 12px; text-align: center;
  text-decoration: none; font: inherit; font-weight: 700; color: #fff; background: var(--tk-chinh); cursor: pointer;
}
@media (prefers-color-scheme: dark) { .tk-nut, button.tk-nut { color: #10213d; } }
.tk-nut-phu, button.tk-nut-phu { background: var(--tk-chinh-nhat); color: var(--tk-chinh); }
.tk-ds { padding-left: 20px; margin: 0; }
.tk-ds li { margin: 4px 0; }
/* Quản trị tài khoản (trang Nhân sự) */
.tk-muc { border-top: 1px solid var(--tk-vien); padding: 10px 0; }
.tk-muc p { margin: 2px 0; }
.tk-hang { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.tk-hang form { margin: 0; }
.tk-nut-nho, button.tk-nut-nho { padding: 7px 12px; border: 1px solid var(--tk-vien); border-radius: 10px; font: inherit; font-size: .9rem; color: var(--tk-chinh); background: var(--tk-chinh-nhat); cursor: pointer; }
.tk-nut-chinh, button.tk-nut-chinh { color: #fff; background: var(--tk-chinh); border-color: var(--tk-chinh); }
@media (prefers-color-scheme: dark) { .tk-nut-chinh, button.tk-nut-chinh { color: #10213d; } }
.tk-form-nho { margin-top: 10px; }
details summary { cursor: pointer; color: var(--tk-chinh); margin: 10px 0 4px; }
.tk-nhat-ky { font-size: .9rem; }
