/* ===== ADMIN / TÀI KHOẢN CHỦ ===== */
body.is-admin-route .appHeader{display:none;}
body.is-admin-route .pageShell{min-height:100dvh;padding-top:0;}
.routePage[data-route-page="adminDashboard"],
.routePage[data-route-page="adminUsers"],
.routePage[data-route-page="adminAdmins"],
.routePage[data-route-page="adminPosts"],
.routePage[data-route-page="adminVideos"],
.routePage[data-route-page="adminStats"],
.routePage[data-route-page="adminViews"]{padding-top:18px;}
.adminPage{min-height:calc(100vh - var(--header-height) - var(--bottom-nav-button-height));padding:0 8px 18px;}
.adminHero{padding:10px 4px 18px;text-align:left;}
.adminHero__title{font-size:20px;line-height:1.2;font-weight:588;color:#000;} /* SP có thể sửa cỡ chữ tiêu đề trang quản trị tại đây */
.adminHero__desc{margin-top:8px;font-size:16px;line-height:1.35;font-weight:400;color:rgba(0,0,0,.56);} /* SP có thể sửa cỡ chữ mô tả trang quản trị tại đây */
.adminHero--compact{padding-bottom:12px;}
.adminUsersCount{margin-top:8px;font-size:15px;line-height:1.35;font-weight:500;color:#ff2f86;} /* SP có thể sửa cỡ chữ dòng số lượng người dùng tại đây */
.adminSearchBox{margin:0 0 12px;} /* SP có thể sửa khoảng cách ô tìm kiếm tài khoản tại đây */
.adminSearchInput{width:100%;height:42px;border:1px solid rgba(0,0,0,.1);border-radius:16px;background:#fff;padding:0 14px;font-size:16px;line-height:1.2;font-weight:400;color:#111;outline:none;} /* SP có thể sửa cỡ chữ/chiều cao ô tìm kiếm tài khoản tại đây */
.adminSearchInput::placeholder{color:rgba(0,0,0,.42);}
.adminSearchInput:focus{border-color:rgba(255,47,134,.36);box-shadow:none;}
.adminMenu{margin-top:4px;}
.adminUsersList{display:flex;flex-direction:column;gap:10px;}
.adminUserCard{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:74px;padding:12px 14px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.04);} /* SP có thể sửa chiều cao/khoảng cách card user tại đây */
.adminUserCard__main{min-width:0;flex:1 1 auto;}
.adminUserCard__name{font-size:17px;line-height:1.25;font-weight:588;color:#000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} /* SP có thể sửa cỡ chữ tên user tại đây */
.adminUserCard__phone{margin-top:5px;font-size:15px;line-height:1.3;font-weight:400;color:rgba(0,0,0,.62);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} /* SP có thể sửa cỡ chữ số điện thoại user tại đây */
.adminUserCard__access{margin-top:5px;font-size:14px;line-height:1.35;font-weight:400;color:rgba(0,0,0,.52);overflow:visible;text-overflow:clip;white-space:normal;word-break:break-word;} /* SP có thể sửa cỡ chữ trạng thái truy cập user tại đây */
.adminUserCard__date{flex:0 0 auto;max-width:42%;font-size:13px;line-height:1.3;font-weight:400;color:rgba(0,0,0,.52);text-align:right;} /* SP có thể sửa cỡ chữ ngày tham gia user tại đây */
.adminEmpty{padding:18px 14px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;font-size:16px;line-height:1.35;color:rgba(0,0,0,.62);}
.adminPageHead{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;column-gap:12px;margin:0 0 8px;padding:0 4px;} /* SP có thể sửa khoảng cách header trang quản trị tại đây */
.adminBackBtn{appearance:none;-webkit-appearance:none;border:none;background:transparent;color:#111;font-size:26px;line-height:1;font-weight:600;padding:0;width:32px;height:32px;cursor:pointer;display:flex;align-items:center;justify-content:center;touch-action:manipulation;} /* SP có thể sửa kích thước nút quay lại trang quản trị tại đây */
.adminBackBtn svg{width:28px;height:28px;display:block;}
.adminPageHead__title{font-size:18px;line-height:1.2;font-weight:588;color:#000;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} /* SP có thể sửa cỡ chữ tiêu đề header trang quản trị tại đây */
.adminPageHead__space{width:32px;height:32px;}
.adminUserCard--button{border:none;text-align:left;font:inherit;cursor:pointer;} /* SP có thể sửa kiểu card bấm vào chi tiết tài khoản tại đây */
.adminUserCard--button:active{transform:scale(.995);}
.adminUserCard__posts{margin-top:5px;font-size:14px;line-height:1.35;font-weight:500;color:#ff2f86;} /* SP có thể sửa cỡ chữ số tin đăng user tại đây */
.routePage[data-route-page="adminUserDetail"]{padding-top:18px;}
.adminDetailCard{display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.04);overflow:hidden;} /* SP có thể sửa khung chi tiết tài khoản tại đây */
.adminDetailField{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px;border-bottom:1px solid rgba(0,0,0,.06);}
.adminDetailField:last-child{border-bottom:none;}
.adminDetailField__label{flex:0 0 auto;font-size:15px;line-height:1.35;font-weight:500;color:rgba(0,0,0,.58);} /* SP có thể sửa cỡ chữ nhãn chi tiết tài khoản tại đây */
.adminDetailField__value{min-width:0;text-align:right;font-size:15px;line-height:1.35;font-weight:500;color:#000;word-break:break-word;} /* SP có thể sửa cỡ chữ giá trị chi tiết tài khoản tại đây */
.adminDetailActions{display:flex;flex-direction:column;gap:10px;margin-top:14px;}
.adminActionBtn{width:100%;min-height:46px;border:1px solid rgba(0,0,0,.1);border-radius:16px;background:#fff;color:#111;font-size:16px;line-height:1.2;font-weight:500;cursor:pointer;} /* SP có thể sửa kích thước nút thao tác admin tại đây */
.adminActionBtn--danger{color:#d90000;border-color:rgba(217,0,0,.22);}

.adminMenu .adminMenu__item{min-height:56px;padding:0 16px;} /* SP có thể sửa chiều cao nút menu trang quản trị tại đây */
.adminMenu .accountMenu__label{font-size:16px;line-height:1.2;font-weight:588;} /* SP có thể sửa cỡ chữ nút menu trang quản trị tại đây */
.adminMenu .accountMenu__icon,.adminMenu .accountMenu__icon svg{width:22px;height:22px;} /* SP có thể sửa kích thước icon menu trang quản trị tại đây */
.adminPostCard{cursor:pointer;}
.adminPostCard__owner{margin-top:6px;font-size:13px;line-height:1.3;font-weight:400;color:rgba(0,0,0,.52);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} /* SP có thể sửa cỡ chữ người đăng trong duyệt tin tại đây */
.adminPostsList{padding-bottom:14px;}

/* ===== Duyệt & quản lí tin - chỉnh riêng trang admin posts ===== */
.adminPage--posts .adminHero--compact{padding-top:2px;} /* SP có thể sửa khoảng cách phần mô tả trang duyệt tin tại đây */
.adminPostCard .myPostsCard__top{grid-template-columns:76px minmax(0,1fr);gap:10px;} /* SP có thể sửa vị trí cụm ngày/mã/người đăng trong duyệt tin tại đây */
.adminPostCard .myPostsCard__thumb{width:76px;height:76px;} /* SP có thể sửa kích thước ảnh card duyệt tin tại đây */
.adminPostCard .myPostsCard__title{font-size:18px;line-height:1.22;font-weight:588;margin:0 0 12px;} /* SP có thể sửa cỡ chữ tiêu đề tin trong duyệt tin tại đây */
.adminPostCard .myPostsCard__price{margin-bottom:12px;}
.adminPostCard .myPostsCard__date,
.adminPostCard .myPostsCard__code,
.adminPostCard .adminPostCard__owner{white-space:normal;overflow:visible;text-overflow:clip;word-break:break-word;} /* SP có thể sửa hiển thị ngày/mã/người đăng trong duyệt tin tại đây */
.adminPostCard .myPostsCard__date{font-size:13px;line-height:1.3;}


/* ===== Thống kê hệ thống / Lượt xem hệ thống ===== */
.adminStatsPage{padding-bottom:22px;}
.adminStatsPeriod{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px;} /* SP có thể sửa khoảng cách nút lọc thời gian thống kê tại đây */
.adminStatsPeriodBtn{min-height:38px;border:1px solid rgba(0,0,0,.09);border-radius:14px;background:#fff;color:#111;font-size:14px;line-height:1.2;font-weight:500;cursor:pointer;} /* SP có thể sửa cỡ chữ nút lọc thống kê tại đây */
.adminStatsPeriodBtn.is-active{border-color:rgba(255,47,134,.42);color:#ff2f86;font-weight:588;}
.adminStatsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px;} /* SP có thể sửa số cột/khoảng cách card thống kê tại đây */
.adminStatsCard{min-height:104px;padding:13px 12px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.04);} /* SP có thể sửa chiều cao card thống kê tại đây */
.adminStatsCard__label{font-size:14px;line-height:1.3;font-weight:500;color:rgba(0,0,0,.58);} /* SP có thể sửa cỡ chữ nhãn card thống kê tại đây */
.adminStatsCard__value{margin-top:8px;font-size:26px;line-height:1.05;font-weight:588;color:#000;} /* SP có thể sửa cỡ chữ số lớn thống kê tại đây */
.adminStatsCard__note{margin-top:7px;font-size:12px;line-height:1.3;font-weight:400;color:rgba(0,0,0,.46);} /* SP có thể sửa cỡ chữ ghi chú card thống kê tại đây */
.adminStatsPanel{margin-top:12px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.04);overflow:hidden;} /* SP có thể sửa khung nhóm thống kê tại đây */
.adminStatsPanel h2{margin:0;padding:14px 14px 10px;font-size:18px;line-height:1.2;font-weight:588;color:#000;} /* SP có thể sửa cỡ chữ tiêu đề nhóm thống kê tại đây */
.adminStatsRow{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-top:1px solid rgba(0,0,0,.06);font-size:15px;line-height:1.35;font-weight:400;color:rgba(0,0,0,.62);} /* SP có thể sửa cỡ chữ dòng thống kê tại đây */
.adminStatsRow strong{font-size:15px;line-height:1.35;font-weight:588;color:#000;text-align:right;}
