/* ==========================================================================
   assets/admin-ui/admin-app.css — GIAO DIỆN APP CHO 3 KHU QUẢN TRỊ
   (/tdpy-manager, /partner, /users)

   Nạp SAU css cũ của từng khu (admin.css / partner.css / users.css).
   Phần 1: biến màu        Phần 2: khung (sidebar, thanh trên, tab dưới, bảng menu)
   Phần 3: màn đăng nhập   Phần 4: lớp áo mới cho nội dung trang con (card, bảng, form, nút, popup…)
   Phần 5: mobile          Phần 6: tiện ích

   Đổi màu chủ đạo của 1 khu: sửa --brand trong khối body.adm--<khu> ở Phần 1.
   ========================================================================== */

/* ---------- 1. BIẾN MÀU & KÍCH THƯỚC ---------- */
:root {
    --ink: #0b3142;          /* xanh biển đậm — nền sidebar */
    --ink-2: #134a62;
    --ink-3: #1d5d79;
    --surface: #f2f5f6;      /* nền trang */
    --card: #ffffff;
    --line: #e2e8eb;
    --line-2: #eef2f4;
    --text: #102a35;
    --muted: #5b6f79;
    --coral: #ff6b4a;        /* số đếm cần xử lý */
    --gold: #f2b705;
    --ok: #10a35d;
    --danger: #e5484d;
    --warn: #f59e0b;

    --brand: #0a8f8c;        /* ghi đè theo khu bên dưới */
    --brand-ink: #076e6c;
    --brand-soft: rgba(10, 143, 140, .1);

    --side-w: 272px;
    --rail-w: 78px;
    --top-h: 68px;
    --top-h-m: 60px;
    --tab-h: 62px;
    --r-lg: 18px;
    --r-md: 12px;
    --r-sm: 9px;
    --shadow-1: 0 1px 2px rgba(16, 42, 53, .06), 0 1px 1px rgba(16, 42, 53, .04);
    --shadow-2: 0 8px 24px -10px rgba(11, 49, 66, .22);
    --safe-b: env(safe-area-inset-bottom, 0px);
}
body.adm--master  { --brand: #0a8f8c; --brand-ink: #076e6c; --brand-soft: rgba(10, 143, 140, .11); }
body.adm--partner { --brand: #109a5c; --brand-ink: #0b7a48; --brand-soft: rgba(16, 154, 92, .11); }
body.adm--member  { --brand: #6a4cff; --brand-ink: #5236e0; --brand-soft: rgba(106, 76, 255, .1); }

/* ---------- 2. KHUNG APP ---------- */
html { -webkit-text-size-adjust: 100%; }
body.adm {
    margin: 0;
    background: var(--surface) !important;
    color: var(--text);
    font-family: var(--app-font, 'Be Vietnam Pro', system-ui, sans-serif) !important;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.adm-skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.adm-skip:focus { left: 8px; }
body.adm :focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }

.adm-app { display: flex; min-height: 100vh; min-height: 100dvh; }

/* Sidebar (nằm dưới thanh trên) */
.adm-side {
    position: fixed; top: var(--top-h); bottom: 0; left: 0; z-index: 1030;
    width: var(--side-w);
    display: flex; flex-direction: column;
    background: var(--ink);
    background-image: linear-gradient(180deg, var(--ink) 0%, #0a2a39 100%);
    color: #d6e4ea;
    transition: width .22s ease;
}
.adm-nav { flex: 1; overflow-y: auto; padding: 10px 12px 12px; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.adm-nav__group + .adm-nav__group { margin-top: 10px; }
.adm-nav__label { margin: 12px 10px 6px; color: #7fa1af; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.adm-nav__item {
    position: relative; display: flex; align-items: center; gap: 12px;
    min-height: 42px; padding: 9px 12px; margin: 2px 0;
    border-radius: 11px; color: #d6e4ea; text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: background-color .15s, color .15s;
}
.adm-nav__item i { flex: 0 0 22px; font-size: 17px; text-align: center; color: #9fbfcc; }
.adm-nav__item span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-nav__item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.adm-nav__item:hover i { color: #fff; }
.adm-nav__item.is-active { background: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 6px 16px -8px var(--brand); }
.adm-nav__item.is-active i { color: #fff; }
.adm-nav__item.tone-success:not(.is-active), .adm-nav__item.tone-success:not(.is-active) i { color: #5fe0a5; }
.adm-nav__item.tone-danger:not(.is-active) i { color: #ff9a8a; }

.adm-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; line-height: 1;
    background: var(--coral); color: #fff;
}
.adm-badge--warn { background: var(--gold); color: #3a2a00; }
.adm-badge--hot { background: rgba(255, 107, 74, .18); color: #ffb4a3; font-size: 10px; letter-spacing: .03em; }
.adm-badge--brand { background: rgba(255, 255, 255, .16); color: #fff; }

.adm-side__foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.adm-logout {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 44px; border-radius: 12px; text-decoration: none;
    background: rgba(255, 255, 255, .06); color: #ffb4a3; font-weight: 600; font-size: 14px;
}
.adm-logout:hover { background: rgba(229, 72, 77, .9); color: #fff; }

.adm-overlay { display: none; }

/* Thu gọn sidebar thành thanh icon (PC) */
.adm-iconbtn {
    display: inline-grid; place-items: center; flex: 0 0 auto;
    width: 40px; height: 40px; border: 0; border-radius: 12px;
    background: transparent; color: inherit; font-size: 18px; cursor: pointer;
}
.adm-iconbtn:hover { background: rgba(127, 161, 175, .16); }
html.adm-rail .adm-side { width: var(--rail-w); }
html.adm-rail .adm-nav__label, html.adm-rail .adm-nav__item span,
html.adm-rail .adm-logout span, html.adm-rail .adm-side__foot > :not(.adm-logout) { display: none; }
html.adm-rail .adm-nav { padding: 10px 10px; }
html.adm-rail .adm-nav__item { justify-content: center; padding: 10px 0; }
html.adm-rail .adm-nav__item .adm-badge { position: absolute; top: 2px; right: 4px; min-width: 16px; height: 16px; font-size: 9.5px; padding: 0 4px; }
html.adm-rail .adm-main { margin-left: var(--rail-w); }
html.adm-rail .adm-top__brand { width: auto; }
html.adm-rail .adm-top__id { display: none; }

/* Vùng chính */
.adm-main { flex: 1; min-width: 0; margin-left: var(--side-w); padding-top: var(--top-h); display: flex; flex-direction: column; transition: margin-left .22s ease; }

/* THANH TRÊN — trắng, cố định, có logo chính. Không dùng backdrop-filter (gây giật khi cuộn trên máy yếu). */
.adm-top {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1040;
    display: flex; align-items: center;
    height: var(--top-h);
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.adm-top::before { /* vạch màu thương hiệu mảnh trên cùng */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 40%, #f2b705) 100%);
}
.adm-top.is-scrolled { box-shadow: 0 6px 20px -12px rgba(11, 49, 66, .35); }
.adm-top__brand {
    flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
    width: var(--side-w); height: 100%; padding: 0 14px 0 12px;
    border-right: 1px solid var(--line-2);
}
.adm-top__rail { color: var(--muted); }
.adm-top__rail:hover { color: var(--text); }
.adm-top__logo {
    flex: 0 0 auto; display: block; width: 42px; height: 42px; border-radius: 13px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(11, 49, 66, .08), 0 4px 10px -4px rgba(11, 49, 66, .35);
    background: #fff;
}
.adm-top__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.adm-top__id { min-width: 0; flex: 1; line-height: 1.2; }
.adm-top__id strong { display: block; color: var(--text); font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-top__id small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-top__title { min-width: 0; flex: 1; padding: 0 24px; line-height: 1.2; }
.adm-top__crumb { display: block; color: var(--brand-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-top__crumb:empty { display: none; }
.adm-top__title h1 { margin: 2px 0 0; color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-top__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; padding-right: 20px; }
.adm-top__actions .dropdown-menu { z-index: 1060; }

.adm-content { flex: 1; padding: 24px; min-width: 0; }
.adm-content:focus { outline: none; }
.adm-foot { padding: 0 24px 24px; color: var(--muted); font-size: 12.5px; }

/* Ô tìm nhanh trong menu (thanh trên) */
.adm-search { position: relative; display: flex; align-items: center; width: 260px; }
.adm-search > i { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.adm-search input {
    width: 100%; height: 40px; padding: 0 12px 0 36px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
    font: inherit; font-size: 14px; color: var(--text);
}
.adm-search input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
.adm-search__list {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 1070;
    max-height: 360px; overflow: auto; padding: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2);
}
.adm-search__list[hidden] { display: none; }
.adm-search__list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14px; }
.adm-search__list a i { position: static; flex: 0 0 20px; width: 20px; text-align: center; font-size: 15px; color: var(--muted); }
.adm-search__list a.is-on i, .adm-search__list a:hover i { color: var(--brand-ink); }
.adm-search__list a:hover, .adm-search__list a.is-on { background: var(--brand-soft); color: var(--brand-ink); }
.adm-search__list p { margin: 0; padding: 10px; color: var(--muted); font-size: 13px; }

/* Nút tròn trên thanh trên (chuông…) + viên thông tin người dùng */
.adm-chip {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    height: 42px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px;
    background: #fff; color: var(--text); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.adm-chip:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.adm-chip__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; overflow: hidden; }
.adm-chip__tx { display: flex; flex-direction: column; line-height: 1.15; max-width: 180px; }
.adm-chip__tx small { color: var(--muted); font-size: 10.5px; font-weight: 600; }
.adm-chip__tx b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-chip.dropdown-toggle::after { margin-left: 2px; }
.adm-round {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 0; line-height: 1; border: 1px solid var(--line); border-radius: 50%;
    background: #fff; color: var(--text); font-size: 18px; cursor: pointer;
}
/* Biểu tượng nằm chính giữa vòng tròn (Safari trên iPhone từng lệch sang phải) */
.adm-round > .bi { display: block; line-height: 1; margin: 0; padding: 0; text-indent: 0; letter-spacing: 0; }
.adm-round > .bi::before { display: block; vertical-align: 0; line-height: 1; }
.adm-round:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--brand-ink); }
.adm-round .adm-dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px #fff; }
.adm-round .adm-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.adm-round .adm-count.d-none { display: none !important; }

/* Thanh tab dưới (chỉ mobile) */
.adm-tabbar { display: none; }

/* Bảng menu trượt */
.adm-sheet { position: fixed; inset: 0; z-index: 1080; }
.adm-sheet[hidden] { display: none; }
.adm-sheet__backdrop { position: absolute; inset: 0; background: rgba(8, 28, 38, .48); opacity: 0; transition: opacity .2s; }
.adm-sheet__panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column;
    background: #fff; border-radius: 24px 24px 0 0;
    padding-bottom: var(--safe-b);
    transform: translateY(102%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 -10px 40px -12px rgba(8, 28, 38, .35);
}
.adm-sheet.is-open .adm-sheet__backdrop { opacity: 1; }
.adm-sheet.is-open .adm-sheet__panel { transform: none; }
.adm-sheet__grip { width: 44px; height: 5px; margin: 10px auto 2px; border-radius: 3px; background: #d5dee2; cursor: pointer; }
.adm-sheet__head { display: flex; align-items: center; gap: 12px; padding: 8px 16px 12px; border-bottom: 1px solid var(--line-2); }
.adm-sheet__head img { width: 40px; height: 40px; object-fit: contain; }
.adm-sheet__head div { flex: 1; min-width: 0; line-height: 1.25; }
.adm-sheet__head strong { display: block; font-size: 15px; }
.adm-sheet__head small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-sheet__body { overflow-y: auto; padding: 6px 14px 18px; overscroll-behavior: contain; }
.adm-sheet__label { margin: 14px 4px 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.adm-sheet__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.adm-tile {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 8px 2px 6px; border-radius: 14px; text-align: center;
    color: var(--text); text-decoration: none; font-size: 11.5px; font-weight: 500; line-height: 1.25;
}
.adm-tile:active { background: var(--surface); }
.adm-tile__ic {
    position: relative; display: grid; place-items: center;
    width: 50px; height: 50px; border-radius: 16px;
    background: var(--brand-soft); color: var(--brand-ink); font-size: 21px;
}
.adm-tile.is-active .adm-tile__ic { background: var(--brand); color: #fff; }
.adm-tile.tone-success .adm-tile__ic { background: rgba(16, 163, 93, .12); color: var(--ok); }
.adm-tile .adm-badge { position: absolute; top: -4px; right: -6px; box-shadow: 0 0 0 2px #fff; }
.adm-tile .adm-badge--brand, .adm-tile .adm-badge--hot { background: var(--coral); color: #fff; }
.adm-tile__tx { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adm-logout--sheet { margin-top: 18px; background: #fff1ef; color: var(--danger); }

/* ---------- 3. MÀN ĐĂNG NHẬP / ĐĂNG KÝ / KHÓA TÀI KHOẢN ----------
   PC: chia đôi — cột thương hiệu (nền tối) bên trái + thẻ form bên phải.
   Mobile: dải thương hiệu gọn ở trên, thẻ form trồi lên như bảng app (bottom sheet).
   Không có cột thương hiệu (has-hero vắng) → 1 thẻ giữa màn nền tối (màn khóa). */
body.adm-auth {
    margin: 0; min-height: 100vh; min-height: 100dvh;
    background: var(--ink) !important;
    background-image:
        radial-gradient(1200px 600px at 110% -10%, color-mix(in srgb, var(--brand) 55%, transparent) 0%, transparent 60%),
        radial-gradient(900px 500px at -20% 120%, rgba(255, 255, 255, .08) 0%, transparent 60%) !important;
    font-family: var(--app-font, 'Be Vietnam Pro', system-ui, sans-serif) !important;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}
/* Gỡ kiểu cũ của users.css (.auth-page/.auth-wrapper/.auth-card) để không đè khung mới */
body.adm-auth.auth-page { overflow: auto !important; overflow-x: hidden !important; }
body.adm-auth .auth-shell.auth-wrapper { position: relative !important; inset: auto; width: auto !important; height: auto !important; min-height: 100vh; min-height: 100dvh; z-index: auto; background: none; overflow: visible !important; }
body.adm-auth.has-hero { background: #eef3f4 !important; background-image: none !important; }
.auth-shell { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px calc(24px + var(--safe-b)); }
body.has-hero .auth-shell { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; align-items: stretch; padding: 0; }
.auth-pane { width: 100%; display: flex; align-items: center; justify-content: center; }
body.has-hero .auth-pane { padding: 40px 24px; }

/* Cột thương hiệu */
.auth-hero {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; gap: 32px;
    padding: 40px clamp(32px, 5vw, 72px);
    background: linear-gradient(155deg, var(--ink) 0%, var(--ink-2) 58%, color-mix(in srgb, var(--brand) 70%, var(--ink)) 100%);
    color: #e7f1f4;
}
.auth-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.auth-hero__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.auth-hero__orb--1 { width: 420px; height: 420px; right: -160px; bottom: -140px; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 60%, transparent) 0%, transparent 70%); }
.auth-hero__orb--2 { width: 260px; height: 260px; left: -90px; top: 38%; background: radial-gradient(circle, rgba(242, 183, 5, .22) 0%, transparent 70%); }
.auth-hero__brand { display: flex; align-items: center; gap: 12px; }
.auth-hero__logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); flex: none; }
.auth-hero__logo img { max-width: 40px; max-height: 40px; object-fit: contain; }
.auth-hero__name { display: flex; flex-direction: column; line-height: 1.2; }
.auth-hero__name b { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.auth-hero__name small { color: rgba(231, 241, 244, .65); font-size: 12.5px; font-weight: 600; }
.auth-hero__main { margin: auto 0; max-width: 520px; }
.auth-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.auth-hero__eyebrow i { color: var(--gold); }
.auth-hero__title { margin: 18px 0 28px; color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.18; font-weight: 800; letter-spacing: -.025em; }
.auth-hero__title em { font-style: normal; background: linear-gradient(90deg, #7ef0d2, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-hero__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-hero__feats li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.auth-hero__feats li > span { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; }
.auth-hero__feats b { display: block; color: #fff; font-size: 14.5px; font-weight: 700; }
.auth-hero__feats small { display: block; margin-top: 1px; color: rgba(231, 241, 244, .7); font-size: 12.5px; }
.auth-hero__note { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(242, 183, 5, .12); border: 1px solid rgba(242, 183, 5, .28); color: #fdf3d0; font-size: 13px; line-height: 1.55; }
.auth-hero__note i { color: var(--gold); margin-right: 4px; }
.auth-hero__foot { margin: 0; color: rgba(231, 241, 244, .5); font-size: 12px; }

/* Thẻ form */
.adm-authcard {
    position: relative; width: 100%; max-width: 420px;
    padding: 34px 28px 24px; border-radius: 26px;
    background: #fff; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5);
}
body.has-hero .adm-authcard { max-width: 440px; padding: 40px 36px 28px; border-radius: 28px; border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(16, 42, 53, .04), 0 24px 60px -28px rgba(11, 49, 66, .28); }
.adm-authcard.shake { animation: admShake .45s ease; }
@keyframes admShake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.adm-auth__logo { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 22px; background: var(--brand-soft); position: relative; }
.adm-auth__logo img { max-width: 56px; max-height: 56px; object-fit: contain; }
.adm-auth__logo::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #fff; }
.adm-auth__title { margin: 0 0 4px; text-align: center; font-size: 22px; font-weight: 800; letter-spacing: -.015em; color: var(--text); }
.adm-auth__sub { margin: 0 0 24px; text-align: center; color: var(--muted); font-size: 14px; }
/* Có cột thương hiệu: tiêu đề canh trái kiểu app, logo nhỏ cạnh tiêu đề */
body.has-hero .adm-auth__logo { width: 52px; height: 52px; margin: 0 0 18px; border-radius: 16px; }
body.has-hero .adm-auth__logo img { max-width: 38px; max-height: 38px; }
body.has-hero .adm-auth__logo::after { right: 3px; bottom: 3px; width: 10px; height: 10px; }
body.has-hero .adm-auth__title { text-align: left; font-size: 26px; letter-spacing: -.02em; }
body.has-hero .adm-auth__sub { text-align: left; margin-bottom: 26px; }

.adm-auth__alert { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; background: #fff1f0; border: 1px solid #ffd9d4; color: #b42318; font-size: 13.5px; font-weight: 500; text-align: left; }
.adm-auth__alert i { margin-top: 1px; }
.adm-field { position: relative; margin-bottom: 14px; }
.adm-field > i:first-child { position: absolute; left: 16px; top: 27px; transform: translateY(-50%); color: #8aa0aa; font-size: 17px; pointer-events: none; transition: color .15s; }
.adm-field:focus-within > i:first-child { color: var(--brand); }
.adm-field input {
    width: 100%; height: 54px; padding: 0 48px 0 46px;
    border: 1.5px solid var(--line); border-radius: 16px; background: #f7fafb;
    font: inherit; font-size: 15.5px; color: var(--text);
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.adm-field input::placeholder { color: #93a5ad; }
.adm-field input:hover { border-color: #cfdbe0; }
.adm-field input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.adm-field input.is-invalid { border-color: var(--danger); background: #fffafa; }
.adm-field__eye { position: absolute; right: 6px; top: 27px; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 18px; }
.adm-field__eye:hover { background: var(--line-2); color: var(--text); }
.adm-field__label { display: block; margin: 0 0 7px 2px; font-size: 13px; font-weight: 700; color: var(--text); }
.adm-field__hint { margin: 7px 2px 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.adm-field__err { display: block; margin: 6px 2px 0; font-size: 12.5px; color: var(--danger); font-weight: 600; }
.adm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 54px; border: 0; border-radius: 16px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, #fff) 0%, var(--brand) 100%); color: #fff;
    font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .01em;
    box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--brand) 80%, #000), inset 0 1px 0 rgba(255, 255, 255, .18);
    text-decoration: none; cursor: pointer; transition: background-color .15s, transform .1s, box-shadow .15s;
}
.adm-btn:hover { background: var(--brand-ink); color: #fff; }
.adm-btn:active { transform: scale(.985); }
.adm-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.adm-btn[disabled] { opacity: .7; cursor: progress; }
.adm-btn i { font-size: 1.05em; }
.adm-btn--ghost { background: #fff; color: var(--brand-ink); border: 1.5px solid var(--line); box-shadow: none; }
.adm-btn--ghost:hover { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 40%, transparent); color: var(--brand-ink); }
.adm-auth__or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #93a5ad; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.adm-auth__or::before, .adm-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.adm-auth__note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.adm-auth__note a { color: var(--brand-ink); }
.adm-auth__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 13.5px; }
.adm-auth__links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.adm-auth__links a:hover { color: var(--brand-ink); }
.adm-auth__links a.is-strong { color: var(--brand-ink); }
.adm-auth__side { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 12px; border-radius: 20px; background: var(--brand-soft); }
.adm-auth__side .adm-auth__title { font-size: 20px; }
.adm-auth__box { margin-top: 18px; padding: 14px; border-radius: 14px; background: #fff; text-align: left; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.adm-pinbox { margin-bottom: 18px; padding: 14px; border-radius: 18px; background: var(--brand-soft); border: 1px dashed color-mix(in srgb, var(--brand) 35%, transparent); }
.adm-pinbox .adm-field { margin-bottom: 0; }
.adm-pinbox .adm-field input { background: #fff; }
.adm-pinbox .adm-field__label { color: var(--brand-ink); }

/* Popup Quên mã PIN trên màn đăng nhập */
.adm-auth .modal-content { border: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(11, 49, 66, .4); }
.adm-auth .modal-header { padding: 18px 22px; border-bottom: 1px solid var(--line-2); }
.adm-auth .modal-title { font-size: 17px; font-weight: 800; color: var(--text); }
.adm-auth .modal-title i { color: var(--brand); }
.adm-auth .modal-body .form-label { font-size: 13px; font-weight: 700; color: var(--text); }
.adm-auth .modal-body .form-control { height: 50px; border: 1.5px solid var(--line); border-radius: 14px; background: #f7fafb; font-size: 15px; }
.adm-auth .modal-body .form-control:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }

/* Màn khóa tạm thời */
.adm-lock__ic { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #fdecec; color: var(--danger); font-size: 32px; }
.adm-lock__count { margin: 0 0 20px; padding: 14px; border-radius: 14px; background: #fff4f3; border: 1px solid #ffd2cc; color: #b42318; font-weight: 700; font-size: 17px; text-align: center; }

/* Mobile / máy tính bảng: dải thương hiệu gọn + thẻ trồi lên kiểu app */
@media (max-width: 991.98px) {
    body.has-hero { background: var(--ink) !important; }
    body.has-hero .auth-shell { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
    .auth-hero { gap: 0; padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 52px; }
    .auth-hero__main { margin: 18px 0 0; }
    .auth-hero__eyebrow, .auth-hero__feats, .auth-hero__note, .auth-hero__foot { display: none; }
    .auth-hero__title { margin: 0; font-size: 24px; }
    .auth-hero__title br { display: none; }
    .auth-hero__logo { width: 44px; height: 44px; border-radius: 14px; }
    .auth-hero__logo img { max-width: 34px; max-height: 34px; }
    body.has-hero .auth-pane { flex: 1; align-items: stretch; margin-top: -28px; padding: 0; background: #fff; border-radius: 28px 28px 0 0; position: relative; z-index: 1; }
    body.has-hero .adm-authcard { max-width: 520px; margin: 0 auto; padding: 28px 20px calc(28px + var(--safe-b)); border: 0; border-radius: 28px 28px 0 0; box-shadow: none; }
    body.has-hero .adm-auth__logo { display: none; }
    body.has-hero .adm-auth__title { font-size: 22px; }
    body.has-hero .adm-auth__sub { margin-bottom: 20px; }
}

/* ---------- 4. LỚP ÁO MỚI CHO NỘI DUNG TRANG CON ---------- */
.adm-content { font-size: 14.5px; }
/* Chỉ chỉnh những thứ trung tính (bo góc, khoảng cách, ô nhập, bảng, popup).
   KHÔNG ép màu chữ/nền của trang con — nhiều trang có thẻ nền tối / gradient riêng. */
.adm-content .container-fluid { padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; }

/* Thẻ */
.adm-content .card, .adm-content .glass-card, .adm-content .stat-card, .adm-content .stats-card {
    border-radius: var(--r-lg);
}
.adm-content .card:not([class*="bg-"]):not([style*="background"]) { border-color: var(--line); box-shadow: var(--shadow-1); }
.adm-content .card-header { background: transparent; border-bottom: 1px solid var(--line-2); padding: 14px 18px; }
.adm-content .card-body { padding: 18px; }
.adm-content .card-footer { background: transparent; border-top: 1px solid var(--line-2); }

/* Bảng */
.adm-content .table-responsive { border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.adm-content .table { --bs-table-bg: transparent; margin-bottom: 0; color: var(--text); font-size: 14px; }
.adm-content .table > thead th {
    background: #f6f9fa; color: var(--muted);
    font-size: 12.5px; font-weight: 600; text-transform: none; letter-spacing: 0;
    border-bottom: 1px solid var(--line) !important; padding: 12px 14px; white-space: nowrap;
}
.adm-content .table > tbody td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.adm-content .table-hover > tbody > tr:hover > * { --bs-table-accent-bg: #f6fafb; background-color: #f6fafb; }
.adm-content .table > tbody tr:last-child td { border-bottom: 0; }
.adm-tablewrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Form */
.adm-content .form-control, .adm-content .form-select, .modal .form-control, .modal .form-select {
    min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-md);
    background-color: #fff; font-size: 14.5px; color: var(--text);
}
.adm-content textarea.form-control, .modal textarea.form-control { min-height: 90px; }
.adm-content .form-control-sm, .adm-content .form-select-sm { min-height: 36px; font-size: 13.5px; border-radius: var(--r-sm); }
.adm-content .form-control:focus, .adm-content .form-select:focus, .modal .form-control:focus, .modal .form-select:focus {
    border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.adm-content .form-control.bg-light, .adm-content .form-select.bg-light { background-color: var(--surface) !important; }
.adm-content .input-group-text { border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-md); color: var(--muted); }
.adm-content .input-group > :not(:first-child) { margin-left: -1.5px; }
.adm-content .form-label, .modal .form-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.adm-content .form-check-input:checked, .modal .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.adm-content .form-switch .form-check-input { width: 2.6em; height: 1.4em; }

/* Nút */
.adm-content .btn, .modal .btn { border-radius: var(--r-md); font-weight: 600; font-size: 14px; padding: .5rem 1rem; }
.adm-content .btn-sm, .modal .btn-sm { border-radius: var(--r-sm); font-size: 13px; padding: .35rem .7rem; }
.adm-content .btn-lg, .modal .btn-lg { border-radius: 14px; }
.adm-content .btn.rounded-pill, .modal .btn.rounded-pill { border-radius: 999px; }
.adm-content .btn-primary, .modal .btn-primary { background-color: var(--brand); border-color: var(--brand); }
.adm-content .btn-primary:hover, .modal .btn-primary:hover, .adm-content .btn-primary:focus { background-color: var(--brand-ink); border-color: var(--brand-ink); }
.adm-content .btn-outline-primary { color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand) 50%, transparent); }
.adm-content .btn-outline-primary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.adm-content .btn-light { background: var(--surface); border-color: var(--line); }

/* Nhãn, thông báo, phân trang */
.adm-content .badge { font-weight: 600; border-radius: 8px; padding: .38em .62em; letter-spacing: 0; }
.adm-content .badge.rounded-pill { border-radius: 999px; }
.adm-content .alert { border-radius: 14px; border-width: 1px; font-size: 14px; }
.adm-content .pagination { gap: 4px; flex-wrap: wrap; }
.adm-content .page-link { border: 1px solid var(--line); border-radius: 10px !important; color: var(--text); min-width: 38px; text-align: center; }
.adm-content .page-item.active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.adm-content .nav-tabs, .adm-content .nav-pills { gap: 6px; border-bottom: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.adm-content .nav-tabs::-webkit-scrollbar, .adm-content .nav-pills::-webkit-scrollbar { display: none; }
.adm-content .nav-tabs .nav-link, .adm-content .nav-pills .nav-link { border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 13.5px; white-space: nowrap; background: #fff; }
.adm-content .nav-tabs .nav-link.active, .adm-content .nav-pills .nav-link.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Popup (Bootstrap modal + SweetAlert) */
.modal-content { border: 0; border-radius: 22px !important; box-shadow: 0 30px 60px -24px rgba(8, 28, 38, .45); }
.modal-header { border-bottom: 1px solid var(--line-2); padding: 16px 20px; }
.modal-footer { border-top: 1px solid var(--line-2); }
.modal-title { font-weight: 700; font-size: 17px; }
.modal-backdrop.show { opacity: .5; }
.swal2-popup { border-radius: 22px !important; font-family: var(--app-font, 'Be Vietnam Pro', system-ui, sans-serif) !important; }
.swal2-styled.swal2-confirm { background-color: var(--brand) !important; border-radius: 12px !important; }
.swal2-styled.swal2-cancel { border-radius: 12px !important; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); padding: 6px; }
.dropdown-item { border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.dropdown-item:active { background: var(--brand); }

/* ---------- 5. MOBILE & MÁY TÍNH BẢNG ---------- */
@media (max-width: 1199.98px) {
    .adm-search { width: 200px; }
}
@media (max-width: 991.98px) {
    html.adm-rail .adm-main, .adm-main { margin-left: 0; }
    .adm-side { display: none; }
    .adm-main { padding-top: calc(var(--top-h-m) + env(safe-area-inset-top, 0px)); }
    .adm-top { height: calc(var(--top-h-m) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 10px 0 12px; gap: 10px; }
    .adm-top::before { top: auto; bottom: -1px; height: 2px; opacity: .9; }
    .adm-top__brand { width: auto; padding: 0; border: 0; gap: 0; }
    .adm-top__rail, .adm-top__id, .adm-top__grid { display: none; }
    .adm-top__logo { width: 40px; height: 40px; border-radius: 12px; }
    .adm-top__title { padding: 0; }
    .adm-top__title h1 { font-size: 17px; margin-top: 1px; }
    .adm-top__crumb { font-size: 10.5px; }
    .adm-top__actions { gap: 8px; padding-right: 0; }
    .adm-round { width: 40px; height: 40px; font-size: 17px; }
    .adm-chip { height: 40px; }
    .adm-search { display: none; }
    .adm-chip { padding-right: 4px; }
    .adm-chip__tx { display: none; }
    .adm-chip.dropdown-toggle::after { display: none; }
    .adm-content { padding: 14px 12px calc(var(--tab-h) + 22px + var(--safe-b)); }
    .adm-foot { padding: 0 12px calc(var(--tab-h) + 18px + var(--safe-b)); }

    .adm-tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
        display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
        height: calc(var(--tab-h) + var(--safe-b)); padding: 0 4px var(--safe-b);
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -6px 18px -14px rgba(11, 49, 66, .4);
    }
    .adm-tab {
        position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        border: 0; background: transparent; color: var(--muted); text-decoration: none;
        font-size: 10.5px; font-weight: 600; line-height: 1.15; min-width: 0; padding: 0 2px;
    }
    .adm-tab__ic { position: relative; display: grid; place-items: center; width: 46px; height: 28px; border-radius: 14px; font-size: 19px; transition: background-color .15s; }
    .adm-tab__tx { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .adm-tab.is-active { color: var(--brand-ink); }
    .adm-tab.is-active .adm-tab__ic { background: var(--brand-soft); }
    .adm-tab .adm-badge { position: absolute; top: -5px; right: 2px; min-width: 17px; height: 17px; font-size: 10px; box-shadow: 0 0 0 2px #fff; }
    .adm-tab .adm-badge--brand, .adm-tab .adm-badge--hot { display: none; }

    /* Nút chat nổi (Facebook/Zalo) của trang cũ: nâng lên trên thanh tab, thu nhỏ, dưới lớp popup */
    body.adm .chat-wrapper { bottom: calc(var(--tab-h) + var(--safe-b) + 14px) !important; right: 14px !important; z-index: 1045 !important; }
    body.adm .chat-main-btn { width: 48px !important; height: 48px !important; font-size: 20px !important; }

    /* Bảng: không làm vỡ khung, cuộn ngang trong thẻ */
    .adm-content .table > thead th, .adm-content .table > tbody td { padding: 11px 10px; }
    .adm-content .card-body { padding: 14px; }
    .adm-content .modal-dialog { margin: .5rem; }
    .modal-dialog { margin: .6rem; }
    .modal-dialog-scrollable .modal-content { max-height: calc(100dvh - 1.2rem); }

}
@media (max-width: 380px) {
    .adm-sheet__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body:not(.has-hero) .adm-authcard { padding: 28px 18px 20px; border-radius: 22px; }
}
@media (min-width: 992px) {
    .adm-sheet__panel { left: 50%; right: auto; bottom: auto; top: 50%; width: 640px; max-height: 80vh; border-radius: 24px; transform: translate(-50%, -46%) scale(.98); opacity: 0; transition: transform .2s, opacity .2s; }
    .adm-sheet.is-open .adm-sheet__panel { transform: translate(-50%, -50%); opacity: 1; }
    .adm-sheet__grip { display: none; }
    .adm-sheet__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Thông báo trong popup Quên mã PIN (script cũ thêm các class này) */
#forgotAlert { display: none; margin: 14px 0 0; border: 0; border-radius: 14px; font-size: 13.5px; }
.alert-modern-success { background-color: #dcfce7 !important; color: #166534 !important; border-left: 4px solid #22c55e !important; }
.alert-modern-error { background-color: #fee2e2 !important; color: #991b1b !important; border-left: 4px solid #ef4444 !important; }
.alert-animate { animation: admUp .3s ease forwards; }
@keyframes admUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.auth-hidden { opacity: 0; transform: scale(.97); transition: opacity .3s, transform .3s; }
.page-exit-active { opacity: 0; transition: opacity .25s; }
.premium-swal-title { font-weight: 800 !important; letter-spacing: -.01em; }

/* Popup "XÁC THỰC QUẢN TRỊ" (nút Quản trị hệ thống ở màn đăng nhập — assets/scriptsone.js) */
.admin-swal-popup { border-radius: 24px !important; padding: 1.5rem 1.2rem !important; width: 360px !important; }
.admin-swal-title { font-size: 1.2rem !important; font-weight: 800 !important; color: var(--text) !important; }
.admin-swal-input { background: var(--surface) !important; border: 1.5px solid var(--line) !important; border-radius: 14px !important; height: 50px !important; font-size: 1.1rem !important; text-align: center !important; letter-spacing: 4px !important; box-shadow: none !important; }
.admin-swal-input:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 4px var(--brand-soft) !important; }
.admin-swal-confirm { background: var(--brand) !important; color: #fff !important; border: 0 !important; border-radius: 14px !important; padding: 12px 22px !important; font-weight: 700 !important; margin: 8px 4px !important; }
.admin-swal-cancel { background: var(--surface) !important; color: var(--muted) !important; border: 0 !important; border-radius: 14px !important; padding: 12px 18px !important; font-weight: 600 !important; margin: 8px 4px !important; }

/* Màn tài khoản bị khóa (users/views/banned.php) */
.adm-ban__reason { margin: 0 0 20px; padding: 14px 16px; border-radius: 14px; background: #fff5f5; border: 1px solid #ffe3e3; text-align: left; }
.adm-ban__reason span { display: block; margin-bottom: 4px; color: #e11d48; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.adm-ban__reason div { color: #475569; font-size: 13.5px; line-height: 1.5; word-break: break-word; }
.adm-ban__actions { display: flex; gap: 10px; }
.adm-ban__actions .adm-btn { height: 48px; font-size: 14px; }
.adm-btn--zalo { background: #0068ff; }
.adm-btn--zalo:hover { background: #0056d6; }

/* Menu tài khoản thành viên (thanh trên) */
.adm-usermenu { min-width: 270px; padding: 10px; }
.adm-usermenu__head { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.adm-usermenu__id { padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 10.5px; letter-spacing: 0; }
.adm-usermenu__card { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; padding: 12px; border-radius: 12px; background: var(--surface); font-size: 13px; color: var(--muted); }
.adm-usermenu__card b { color: var(--text); font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-usermenu__card span { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-usermenu .dropdown-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13.5px; color: var(--text); }
.adm-usermenu .dropdown-item i { color: var(--muted); }
.adm-usermenu .dropdown-item.text-danger, .adm-usermenu .dropdown-item.text-danger i { color: var(--danger) !important; }

/* ---------- 6. TIỆN ÍCH ---------- */
/* CHỐNG GIẬT: các hiệu ứng trang trí lặp vô hạn của giao diện cũ (phoneBounce, pulse, shimmer, trophy-float,
   chat-shake, glow…) chỉ chạy 1 lần rồi đứng yên. Vòng xoay "đang tải" vẫn quay bình thường. */
body.adm *, body.adm *::before, body.adm *::after { animation-iteration-count: 1 !important; }
body.adm .spinner-border, body.adm .spinner-grow, body.adm .fa-spin, body.adm .fa-spinner, body.adm .fa-circle-notch,
body.adm .fa-pulse, body.adm .bi-arrow-repeat.spin, body.adm [class*="skeleton"], body.adm [class*="Skeleton"],
body.adm .loading-shimmer, body.adm .shimmer-anim, body.adm .btn-spinner, body.adm .is-loading, body.adm .ui-spin, body.adm .ui-skel,
body.adm .swal2-loader, body.adm .swal2-loading .swal2-loader { animation-iteration-count: infinite !important; }

@media (prefers-reduced-motion: reduce) {
    .adm *, .adm *::before, .adm *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
    .adm-side, .adm-top, .adm-tabbar, .adm-sheet { display: none !important; }
    .adm-main { margin: 0 !important; }
}

/* Nhãn HOT màu đỏ (menu chủ địa điểm: Tạo / Chỉnh sửa trang giới thiệu riêng) */
.adm-badge.adm-badge--hot, .adm-tile .adm-badge--hot { background: #e11d1d; color: #fff; font-weight: 800; font-size: 10px; letter-spacing: .04em; box-shadow: 0 0 0 2px #fff; }
.adm-nav__item .adm-badge--hot { box-shadow: none; }
