body.admin-shell { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f1f5f9; }

.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px;
  background: #0f172a;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar-brand { padding: 1.25rem 1.25rem 1rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-nav { flex-grow: 1; padding: .75rem; overflow-y: auto; }
.admin-nav-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem; border-radius: 10px;
  color: #cbd5e1; text-decoration: none; font-size: .92rem; font-weight: 500;
  margin-bottom: .15rem;
}
.admin-nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav-link.active { background: #2563eb; color: #fff; }
.admin-nav-icon { width: 20px; text-align: center; }
.admin-sidebar-footer { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-footer a.small { color: #94a3b8; text-decoration: none; }

.admin-main { flex-grow: 1; min-width: 0; }
.admin-topbar { background: #fff; padding: 1rem 1.75rem; border-bottom: 1px solid #e2e8f0; }
.admin-content { padding: 1.75rem; }

.stat-card { background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; padding: 1.25rem; }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; color: #0f172a; }
.stat-card .stat-label { color: #64748b; font-size: .85rem; }

.table-card { background: #fff; border-radius: 14px; border: 1px solid #e2e8f0; overflow: hidden; }
.table-card table { margin-bottom: 0; }
.status-badge { font-size: .72rem; padding: .3em .6em; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-paid { background: #dbeafe; color: #1e40af; }
.status-validated { background: #dcfce7; color: #166534; }
.status-provisioned { background: #ede9fe; color: #5b21b6; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.status-new { background: #fef3c7; color: #92400e; }
.status-contacted { background: #dbeafe; color: #1e40af; }
.status-quoted { background: #ede9fe; color: #5b21b6; }
.status-closed { background: #e2e8f0; color: #334155; }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#0f172a,#1e293b); }
.login-card { background: #fff; border-radius: 18px; padding: 2.5rem; width: 100%; max-width: 400px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }

@media (max-width: 900px) {
  .admin-sidebar { position: fixed; z-index: 1030; transform: translateX(-100%); transition: transform .2s; }
  .admin-sidebar.open { transform: translateX(0); }
}
