:root {
  --navy: #292A68;
  --cam: #F15A22;
  --kem: #FFFBF2;
  --xam: #6b6b7b;
  --vien: #e5e1d8;
}
* { box-sizing: border-box; margin: 0; }
body { font-family: 'Be Vietnam Pro', system-ui, sans-serif; background: var(--kem); color: #222; }
.an { display: none !important; }

.logo-chu { font-weight: 800; font-size: 22px; color: var(--navy); }
.logo-chu span { color: var(--cam); margin: 0 6px; }
.logo-chu.nho { font-size: 16px; }

/* Đăng nhập */
#man-dang-nhap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--navy) 0%, #1c1d4d 100%); }
.the-dang-nhap { background: var(--kem); border-radius: 16px; padding: 40px 36px; max-width: 430px; width: 92%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.the-dang-nhap .mo-ta { color: var(--xam); font-size: 14px; margin: 14px 0 24px; line-height: 1.6; }
.ghi-chu { color: var(--xam); font-size: 12px; margin-top: 16px; }
.hop-loi { background: #fdeaea; color: #8B0000; border: 1px solid #f3c1c1; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.hop-canh-bao { background: #fff4e5; color: #8a4b00; border: 1px solid #f5d5a8; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 10px 0; line-height: 1.5; }

/* Nút */
.nut { display: inline-block; border: none; border-radius: 8px; padding: 10px 18px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.nut-chinh { background: var(--cam); color: #fff; }
.nut-chinh:hover { filter: brightness(1.06); }
.nut-navy { background: var(--navy); color: #fff; }
.nut-nhat { background: #efece3; color: var(--navy); }
.nut:disabled { opacity: .5; cursor: not-allowed; }

/* Bố cục chính */
.thanh-tren { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: #fff; border-bottom: 2px solid var(--vien); }
.nguoi-dung { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nhan-vai { background: var(--navy); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 20px; font-weight: 600; }
.bo-cuc { display: flex; min-height: calc(100vh - 55px); }
.thanh-ben { width: 210px; background: #fff; border-right: 1px solid var(--vien); padding: 18px 10px; }
.thanh-ben a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.thanh-ben a.chon { background: var(--navy); color: #fff; }
main { flex: 1; padding: 26px 30px; max-width: 1000px; }

h1 { font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.phu-de { color: var(--xam); font-size: 13px; margin-bottom: 20px; }

/* Bảng */
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; font-size: 14px; }
th { background: var(--navy); color: #fff; text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 600; }
td { padding: 10px 12px; border-bottom: 1px solid var(--vien); vertical-align: top; }
tr:hover td { background: #fdf8ec; }

.nhan-tt { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.tt-TT-01 { background: #eee; color: #555; }
.tt-TT-02 { background: #e3ecfb; color: #1d4e9e; }
.nhan-g1 { font-size: 11px; font-weight: 600; }
.g1-dat { color: #1a7f37; }
.g1-thieu { color: var(--cam); }

/* Form */
.the { background: #fff; border: 1px solid var(--vien); border-radius: 12px; padding: 22px; margin-bottom: 18px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin: 14px 0 5px; }
input, textarea, select { width: 100%; font-family: inherit; font-size: 14px; padding: 9px 11px; border: 1px solid #d8d4c8; border-radius: 8px; background: #fffefb; }
textarea { min-height: 66px; resize: vertical; }
.hang-chi-so { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; margin-bottom: 8px; }
.hang-ngang { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.chu-nho { font-size: 12px; color: var(--xam); }
