.admin-body { background: #f3efe7; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: #2b2420; color: #d9cdbb; flex-shrink: 0;
  display: flex; flex-direction: column; padding: 20px 0;
}
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 20px 20px; border-bottom: 1px solid #423a32; margin-bottom: 12px; font-weight: 700; color: #fff; }
.admin-brand img { width: 40px; height: 40px; border-radius: 6px; object-fit: contain; background: #fff; }
.admin-brand small { color: #a9998a; font-weight: 400; }
.admin-nav { display: flex; flex-direction: column; }
.admin-nav a { padding: 12px 20px; font-size: .9rem; border-left: 3px solid transparent; }
.admin-nav a:hover { background: #3a322b; }
.admin-nav a.active { background: #3a322b; border-left-color: var(--brique); color: #fff; font-weight: 600; }
.admin-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar { background: #fff; padding: 14px 30px; box-shadow: 0 2px 6px rgba(0,0,0,.05); font-size: .88rem; }
.admin-main { padding: 30px; flex: 1; }
.admin-main h1 { font-size: 1.5rem; margin-bottom: 20px; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
@media (max-width: 1000px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
.stat-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: var(--ombre); border-left: 4px solid var(--brique); }
.stat-card .val { font-size: 1.8rem; font-weight: 700; color: var(--brique-dark); }
.stat-card .lbl { color: var(--texte-clair); font-size: .82rem; }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.action-icons a { margin-right: 10px; font-size: .95rem; }
.thumb-sm { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, var(--brique), var(--brun)); }
.login-box { background: #fff; padding: 40px; border-radius: 12px; width: 100%; max-width: 380px; box-shadow: 0 10px 40px rgba(0,0,0,.2); text-align: center; }
.login-box img { width: 70px; margin: 0 auto 14px; }
