/* Dashboard skin */
:root{
  --bg:#f6f9fb; --card:#ffffff; --text:#1f2937; --muted:#6b7280;
  --primary:#2563eb; --primary-600:#1d4ed8; --green:#10b981;
  --purple:#8b5cf6; --warn:#f59e0b; --border:#e5e7eb;
}
.dash-body{display:grid;grid-template-columns:280px 1fr;min-height:100vh;background:var(--bg);color:var(--text)}
.sidebar{background:#fff;border-right:1px solid var(--border);padding:20px;display:flex;flex-direction:column;gap:20px}
.brand{display:flex;gap:12px;align-items:center}
.brand-icon{width:44px;height:44px;border-radius:12px;background:#e9f5f1;display:grid;place-items:center;font-size:22px}
.brand-title{font-weight:700}
.brand-sub{color:var(--muted);font-size:12px;line-height:1.2}
.menu{display:flex;flex-direction:column;gap:6px}
.menu-item{padding:12px;border-radius:10px;text-decoration:none;color:var(--text);display:flex;align-items:center;gap:10px}
.menu-item.active{background:#ecfdf5;color:#065f46;border:1px solid #d1fae5}
.menu-item:hover{background:#f3f4f6}
.mi{width:22px;text-align:center}
.side-info{margin-top:10px;border-top:1px dashed var(--border);padding-top:14px}
.info-title{font-size:12px;color:var(--muted);margin-bottom:6px;text-transform:uppercase;letter-spacing:.05em}
.info-row{display:flex;justify-content:space-between;background:#f9fafb;border:1px solid var(--border);border-radius:10px;padding:10px}
.user-card{margin-top:auto;display:flex;gap:10px;align-items:center;background:#0ea47a;color:white;border-radius:12px;padding:12px}
.avatar{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.2);display:grid;place-items:center;font-weight:700}
.user-name{font-weight:600}.user-sub{font-size:12px;opacity:.9}

.main{padding:24px 28px;display:flex;flex-direction:column;gap:18px}
.main-head{display:flex;align-items:center;justify-content:space-between}
h1{margin:0;font-size:32px;color:#1e3a8a}.subtitle{color:var(--muted);font-size:14px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;border:1px solid var(--border);text-decoration:none;color:var(--text);background:#fff}
.btn.primary{background:var(--primary);color:white;border-color:transparent}.btn.primary:hover{background:var(--primary-600)}
.btn.secondary{background:#eef2ff;color:#1e3a8a;border-color:#c7d2fe}
.btn.danger{background:#fee2e2;color:#991b1b;border-color:#fecaca}.btn.sm{padding:8px 10px}
.shadow{box-shadow:0 10px 18px rgba(37,99,235,.18)}

.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.stat-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px}
.stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.stat-title{font-weight:600}
.stat-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:20px}
.stat-blue{background:#e0f2fe}.stat-purple{background:#efe9fe}.stat-green{background:#dcfce7}
.stat-value{font-size:28px;font-weight:800}.stat-sub{color:var(--muted);font-size:12px}

.list-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:0}
.list-head{padding:18px 18px 0 18px} h2{margin:0 0 4px 0}
.table-responsive{padding:0 18px 18px 18px}
.table.clean{border-collapse:separate;border-spacing:0;width:100%}
.table.clean thead th{position:sticky;top:0;background:#f9fafb;border-bottom:1px solid var(--border);padding:12px;text-align:left}
.table.clean tbody td{border-bottom:1px solid var(--border);padding:14px 12px;vertical-align:top}
.keg-title{font-weight:600}.keg-sub{color:var(--muted);font-size:12px;margin-top:2px}
.chip.icon{background:#f3f4f6;border:1px solid var(--border);border-radius:999px;padding:2px 8px;font-size:12px;margin-right:6px}
.badge{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;display:inline-block}
.badge.success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}
.badge.info{background:#e0f2fe;color:#075985;border:1px solid #bae6fd}
.badge.warn{background:#fef3c7;color:#92400e;border:1px solid #fde68a}

.foot{color:var(--muted);font-size:12px;margin-top:6px}

@media (max-width: 1024px){ .dash-body{grid-template-columns: 240px 1fr} .stats-grid{grid-template-columns:1fr} .table-responsive{overflow:auto} }
@media (max-width: 640px){ .dash-body{grid-template-columns:1fr} .sidebar{display:none} }
