/* Trang đăng nhập / tạo Admin đầu tiên (từ bản mẫu đã duyệt) */
body { min-height: 100vh; display: grid; place-items: center; overflow-x: hidden; overflow-y: auto; position: relative; padding: 16px; background: linear-gradient(180deg, var(--bg) 0, #fff 70%); }
  .card {
    position: relative; z-index: 1; width: 100%; max-width: 400px;
    background: #fff; border-radius: 24px; padding: 36px 32px 30px;
    box-shadow: 0 0 0 1px var(--line), 0 24px 64px rgba(28,27,27,.08);
  }
  .logo { width: 80px; height: 80px; padding: 12px 20px; margin: 0 auto 16px; }
  h1 { text-align: center; font-size: 24px; }
  .sub { text-align: center; color: var(--text-2); margin: 6px 0 26px; font-size: 14px; }
  .field { margin-bottom: 16px; }
  .err { color: var(--error); font-size: 13px; margin-top: 6px; display: none; }
  .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-2); margin: 4px 0 22px; }
  .row label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
  .btn.full { width: 100%; padding: 13px; font-size: 16px; }
  .note { text-align: center; font-size: 12px; color: var(--text-2); margin-top: 18px; }
  .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin: 0 3px; opacity: .8; }

/* Checklist làm quen */
.card.wide { max-width: 560px; }
.steps { list-style: none; margin: 0 0 18px; padding: 0; }
.step { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--bg); box-shadow: var(--shadow-inset); color: var(--text-2); }
.step.done .tick { background: var(--red); box-shadow: none; color: #fff; }
.step h3 { font-size: 14px; margin: 0 0 2px; }
.step p { margin: 0 0 8px; font-size: 13px; color: var(--text-2); }
.step form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.step .input { padding: 8px 10px; font-size: 13px; }
.badge-req { font-size: 11px; color: var(--creative-ink); margin-left: 6px; font-weight: 500; }
.step .btn { padding: 8px 14px; font-size: 13px; }

/* iPhone tự phóng to khi chạm ô nhập nhỏ hơn 16px (rà soát E1): trang đăng nhập/làm quen không nạp shell.css nên đặt riêng ở đây */
@media (max-width: 760px) { .input, .step .input { font-size: 16px; } }

/* anh Kha 12/11: Ghi nhớ trên máy này (30 ngày) — icon i rê chuột / chạm mới hiện, con trỏ bình thường */
.remember { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font-size: 14px; color: var(--text-2); }
.remember input { width: 18px; height: 18px; accent-color: var(--red); }
.remember-i { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: #E8DED8; color: #6B625D; font-size: 10px; font-weight: 700; font-style: normal; cursor: default; }
.remember-i:hover, .remember-i:focus { background: var(--red); color: #fff; outline: none; }
.remember-i::after { content: attr(data-tip); display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: 240px; padding: 8px 10px; border-radius: 10px; background: #2F2D3A; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.45; z-index: 10; }
.remember-i:hover::after, .remember-i:focus::after { display: block; }
/* H7 (13/11): máy chặn cookie → hộp báo cách mở lại */
.cookie-hint { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #FBECEA; box-shadow: 0 0 0 1px #F0C9C4; color: var(--red-deep); font-size: 13.5px; line-height: 1.45; }
.cookie-hint[hidden] { display: none; }
.cookie-hint b { display: block; margin-bottom: 4px; }
.cookie-hint p { margin: 2px 0 0; color: var(--text); }
