/* assets/css/dangnhap.css — trang đăng nhập (20/11/2026), cùng phong cách trang chủ: nền sáng, thẻ bo góc, màu thương hiệu #0070f4 */
:root { --dn-xanh: #0070f4; --dn-xanh-dam: #0a4fb8; --dn-chu: #0f172a; --dn-mo: #64748b; --dn-vien: #d3deea; }
html, body.dn-trang { height: 100%; }
body.dn-trang {
  margin: 0; padding: 0 !important; font-family: Roboto, "Segoe UI", Arial, sans-serif; color: var(--dn-chu);
  background: radial-gradient(1200px 600px at 10% -10%, #dbeafe 0%, rgba(219, 234, 254, 0) 60%),
              radial-gradient(900px 500px at 110% 110%, #e0f2fe 0%, rgba(224, 242, 254, 0) 60%), #eef4fb;
}
.dn-page { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px 16px; margin: 0 !important; }
.dn-khung { width: 100%; max-width: 980px; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .14), 0 2px 8px rgba(15, 23, 42, .05); overflow: hidden; border: 1px solid #e6edf5; }
/* bên trái: dải thương hiệu */
.dn-trai { position: relative; padding: 44px 40px 32px; color: #fff; display: flex; flex-direction: column;
  background: linear-gradient(150deg, var(--dn-xanh) 0%, var(--dn-xanh-dam) 100%); overflow: hidden; }
.dn-trai::before, .dn-trai::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.dn-trai::before { width: 340px; height: 340px; right: -120px; top: -110px; }
.dn-trai::after { width: 260px; height: 260px; left: -90px; bottom: -120px; }
.dn-trai > * { position: relative; z-index: 1; }
.dn-logo { width: 64px; height: 64px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.dn-logo img { width: 50px; height: 50px; }
.dn-trai h1 { color: #fff; font-size: 34px; line-height: 1.15; font-weight: 700; margin: 26px 0 10px; letter-spacing: .2px; text-shadow: none; }
.dn-mota { color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.55; margin: 0 0 24px; max-width: 340px; }
.dn-diem { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 12px; }
.dn-diem li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #fff; }
.dn-diem .icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.dn-trai-chan { margin-top: 32px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
/* bên phải: form */
.dn-phai { padding: 44px 44px 28px; display: flex; flex-direction: column; }
.dn-logo-nho { display: none; align-items: center; gap: 10px; margin-bottom: 22px; font-weight: 700; color: var(--dn-xanh); letter-spacing: .3px; }
.dn-logo-nho img { width: 40px; height: 40px; }
.dn-phai h2 { font-size: 26px; font-weight: 700; margin: 0 0 6px; color: var(--dn-chu); }
.dn-phu { color: var(--dn-mo); font-size: 14.5px; margin: 0 0 22px; }
.dn-loi { display: flex; gap: 10px; align-items: flex-start; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 16px; }
.dn-loi .icon { font-size: 16px; margin-top: 1px; }
.dn-nhan { display: block; font-size: 13px; font-weight: 600; color: #334155; margin: 0 0 6px; }
.dn-o { position: relative; margin-bottom: 16px; }
.dn-o > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 16px; pointer-events: none; transition: color .15s; }
.dn-o .form-control { height: 46px; border-radius: 10px; border: 1px solid var(--dn-vien); padding: 0 44px 0 42px; font-size: 15px; color: var(--dn-chu); background: #f8fafc; box-shadow: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.dn-o .form-control::placeholder { color: #a0aec0; }
.dn-o .form-control:hover { border-color: #b4c3d4; }
.dn-o .form-control:focus { border-color: var(--dn-xanh); background: #fff; box-shadow: 0 0 0 4px rgba(0, 112, 244, .14); outline: 0; }
.dn-o:focus-within > .icon { color: var(--dn-xanh); }
.dn-mat { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; border-radius: 8px; color: #94a3b8; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dn-mat:hover, .dn-mat.dang { color: var(--dn-xanh); background: #eff6ff; }
.dn-hang { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 18px; flex-wrap: wrap; }
.dn-hang .checkbox-custom { margin: 0; }
.dn-hang .checkbox-custom label { font-size: 14px; color: #334155; }
.dn-capslock { font-size: 12.5px; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; border-radius: 999px; padding: 2px 10px; }
.dn-nut { height: 48px; border-radius: 11px; font-size: 16px; font-weight: 600; background: var(--dn-xanh); border-color: var(--dn-xanh);
  display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 22px rgba(0, 112, 244, .28); transition: background .15s, transform .1s, box-shadow .15s; }
.dn-nut:hover, .dn-nut:focus { background: #005ccc; border-color: #005ccc; box-shadow: 0 12px 26px rgba(0, 112, 244, .34); }
.dn-nut:active { transform: translateY(1px); }
.dn-nut .icon { transition: transform .15s; }
.dn-nut:hover .icon { transform: translateX(3px); }
.dn-nut.dang-gui { opacity: .75; }
.dn-ghichu { margin: 16px 0 0; font-size: 13px; color: var(--dn-mo); display: flex; gap: 6px; align-items: center; }
.dn-chan { margin-top: auto; padding-top: 26px; font-size: 12px; color: #94a3b8; text-align: center; }
@media (max-width: 860px) {
  .dn-khung { grid-template-columns: 1fr; max-width: 440px; }
  .dn-trai { display: none; }
  .dn-logo-nho { display: flex; }
  .dn-phai { padding: 32px 26px 22px; }
}
