body.admin-body { background: #F1F3EF; font-family: var(--font-body); margin:0; }
.admin-wrap { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 240px; background: var(--primary-dark); color: #DDE8DF; flex-shrink: 0;
    padding: 22px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar .brand { padding: 0 20px 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 12px; }
.admin-sidebar a {
    display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-size: .92rem; font-weight: 600; color: #C7D6CB;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.08); color: #fff; border-inline-start: 3px solid var(--accent); }

.admin-main { flex: 1; min-width: 0; }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 26px; display: flex; justify-content: space-between; align-items: center; }
.admin-topbar h1 { font-size: 1.2rem; margin: 0; }
.admin-content { padding: 26px; }

.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
@media (max-width: 900px) { .admin-cards { grid-template-columns: repeat(2,1fr); } .admin-sidebar { position: fixed; z-index: 100; transform: translateX(-100%); transition: transform .2s; } .admin-sidebar.open { transform: translateX(0); } }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.stat-card .n { font-family: var(--font-display); font-size: 1.8rem; color: var(--primary); }
.stat-card .l { color: var(--muted); font-size: .85rem; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }

table.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.admin-table th, table.admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.admin-table th { color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
table.admin-table tr:hover td { background: #FAFBF8; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }

.action-links a { font-size: .82rem; font-weight: 700; margin-right: 12px; }
.action-links a.danger { color: var(--secondary); }
.action-links a.edit { color: var(--primary); }

.status-pill { padding: 3px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.status-pending { background: var(--accent-tint); color: #8a6a1f; }
.status-approved { background: #E4F3E9; color: #1F4D3A; }
.status-rejected { background: #FBEAEA; color: var(--secondary); }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--primary-tint); }
.login-card { background: #fff; padding: 40px; border-radius: 16px; box-shadow: var(--shadow); width: 92%; max-width: 380px; }
.login-card h1 { text-align: center; font-size: 1.3rem; }
