*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:Inter,system-ui,sans-serif;background:#0f172a;color:#e2e8f0;min-height:100vh}
a{color:#22d3ee}
.demo-banner{background:rgba(234,179,8,.12);border-bottom:1px solid rgba(234,179,8,.25);color:#fbbf24;text-align:center;padding:.6rem 1rem;font-size:.8rem}
.demo-banner a{margin-left:1rem;color:#22d3ee}
.demo-layout{display:flex;min-height:calc(100vh - 40px)}
.demo-sidebar{width:240px;background:#0a0f1a;border-right:1px solid rgba(255,255,255,.08);padding:1.25rem;display:flex;flex-direction:column;flex-shrink:0}
.demo-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.08)}
.demo-logo{width:40px;height:40px;background:#06b6d4;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.75rem;color:#0a0f1a}
.demo-brand-name{font-weight:700;color:#fff;font-size:.9rem}
.demo-brand-sub{font-size:.7rem;color:#64748b}
.demo-nav{display:flex;flex-direction:column;gap:.25rem;flex:1}
.demo-nav-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.65rem .75rem;border:none;border-radius:8px;background:none;color:#94a3b8;font:inherit;font-size:.85rem;text-align:left;cursor:pointer;transition:.15s}
.demo-nav-item:hover{background:rgba(255,255,255,.05);color:#fff}
.demo-nav-item.active{background:rgba(6,182,212,.15);color:#22d3ee}
.demo-cta{display:block;text-align:center;margin-top:1rem;padding:.75rem;border-radius:10px;background:#06b6d4;color:#0a0f1a;font-size:.8rem;font-weight:600;text-decoration:none}
.demo-cta:hover{background:#22d3ee}
.demo-main{flex:1;padding:1.5rem;overflow:auto}
.demo-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}
.demo-topbar h1{font-size:1.35rem;font-weight:700;color:#fff}
.demo-user{font-size:.8rem;color:#64748b;padding:.35rem .75rem;background:rgba(255,255,255,.05);border-radius:8px}
.demo-view{display:none}
.demo-view.active{display:block}
.demo-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-bottom:1.5rem}
.demo-stat{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:1.25rem;text-align:center}
.demo-stat-val{display:block;font-size:1.75rem;font-weight:800;color:#22d3ee}
.demo-stat-label{font-size:.75rem;color:#64748b;margin-top:.25rem}
.demo-panel{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:1.25rem;margin-bottom:1rem}
.demo-panel h2{font-size:1rem;font-weight:600;color:#fff;margin-bottom:1rem}
.demo-empty{text-align:center;padding:2.5rem 1rem;color:#64748b;font-size:.875rem;border:1px dashed rgba(255,255,255,.1);border-radius:8px}
.demo-toolbar{display:flex;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}
.demo-toolbar input{flex:1;min-width:180px;padding:.6rem 1rem;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:rgba(10,15,26,.8);color:#64748b;font:inherit}
.demo-btn{padding:.6rem 1rem;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.05);color:#64748b;font:inherit;font-size:.85rem;cursor:not-allowed}
.demo-table{width:100%;border-collapse:collapse;font-size:.85rem}
.demo-table th{text-align:left;padding:.75rem;color:#94a3b8;font-weight:500;border-bottom:1px solid rgba(255,255,255,.08)}
.demo-table td{padding:.75rem;border-bottom:1px solid rgba(255,255,255,.05)}
.demo-empty-cell{text-align:center!important;color:#64748b;padding:2rem!important}
.demo-features{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}
.demo-features li{font-size:.875rem;color:#94a3b8}
.demo-note{font-size:.8rem;color:#64748b;margin-bottom:1rem}
.demo-btn-primary{display:inline-block;padding:.75rem 1.5rem;border-radius:10px;background:#06b6d4;color:#0a0f1a;font-weight:600;font-size:.875rem;text-decoration:none}
.demo-btn-primary:hover{background:#22d3ee}
@media(max-width:768px){
  .demo-layout{flex-direction:column}
  .demo-sidebar{width:100%;border-right:none;border-bottom:1px solid rgba(255,255,255,.08)}
  .demo-nav{flex-direction:row;flex-wrap:wrap}
}
