body { font-family: 'Roboto', sans-serif; background: #f3f5f9; color: #3b4351; }
a { text-decoration: none; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: #0d233e; color: #c5cfdc; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 1030; transition: transform .25s; }
.admin-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; padding: 20px; }
.admin-brand-tile { background: #fff; border-radius: 8px; padding: 4px 6px; display: inline-flex; flex-shrink: 0; }
.admin-brand-tile img { height: 30px; width: auto; }
.admin-sidebar nav { flex: 1; overflow-y: auto; padding: 6px 10px; }
.admin-sidebar nav a, .admin-sidebar-foot a { display: flex; align-items: center; gap: 10px; color: #c5cfdc; padding: 10px 12px; border-radius: 6px; font-size: 15px; }
.admin-sidebar nav a i { font-size: 19px; }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar nav a.active { background: #287dfa; color: #fff; }
.admin-sidebar-foot { padding: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-main { flex: 1; margin-left: 240px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px 24px; border-bottom: 1px solid #e5e9f0; position: sticky; top: 0; z-index: 1020; }
.admin-content { padding: 24px; }
.card { border: 0; box-shadow: 0 1px 3px rgba(16,24,40,.08); border-radius: 10px; }
.card-header { background: #fff; }
.stat-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(16,24,40,.08); color: inherit; }
.stat-card i { font-size: 30px; color: #287dfa; background: rgba(40,125,250,.1); width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.stat-card.accent i { color: #e8890c; background: rgba(232,137,12,.12); }
.stat-num { display: block; font-size: 26px; font-weight: 700; line-height: 1; color: #0d233e; }
.stat-label { font-size: 14px; color: #6b7585; }
.thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; display: inline-flex; }
.thumb-empty { background: #eef1f6; color: #9aa4b2; align-items: center; justify-content: center; border-radius: 6px; width: 56px; height: 42px; display: inline-flex; }
.gallery-item { position: relative; }
.gallery-item img, .gallery-item .thumb-empty { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; }
.gallery-item .btn { position: absolute; top: 4px; right: 4px; padding: 0 6px; }
tr[role=button] { cursor: pointer; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(135deg, #0d233e, #1d4f7a); }
.login-card { background: #fff; padding: 36px; border-radius: 12px; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.3); }
    .admin-main { margin-left: 0; }
    .admin-content { padding: 16px; }
}
