/* ===================================================
   ANALYTICS PAGE
=================================================== */
.analytics-wrap {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:16px;
  padding:16px 24px;
  overflow-y:auto;
}
.an-card {
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:18px 20px;
}
.an-card h4 { font-size:13px; font-weight:700; margin-bottom:14px; }
.an-full { grid-column:1 / -1; }

/* Bar chart */
.bar-chart { display:flex; align-items:flex-end; gap:7px; height:130px; }
.bar-grp { flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; height:100%; }
.bar-val { font-size:9.5px; color:var(--neon); font-weight:700; }
.bar-col {
  width:100%; margin-top:auto;
  background:var(--neon-glow);
  border:1px solid rgba(200,85,255,.28);
  border-radius:4px 4px 0 0;
  cursor:pointer;
  transition:background .18s;
}
.bar-col:hover    { background:rgba(200,85,255,.35); }
.bar-col.cur-day  { background:rgba(200,85,255,.5); border-color:var(--neon); }
.bar-lbl { font-size:10px; color:var(--text-dim); }

/* Occupancy bars */
.occ-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.occ-name { font-size:12.5px; font-weight:600; flex:1; }
.occ-track { width:90px; height:6px; background:var(--border); border-radius:3px; overflow:hidden; }
.occ-fill  { height:100%; border-radius:3px; }
.occ-pct   { font-size:12.5px; font-weight:700; width:34px; text-align:right; }

/* Revenue type breakdown */
.rev-type-row { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px solid var(--border); }
.rev-type-row:last-child { border-bottom:none; }
.rev-dot { width:10px; height:10px; border-radius:3px; display:inline-block; margin-right:7px; }

/* Heatmap */
.heatmap { display:grid; grid-template-columns:46px repeat(7,1fr); gap:2px; }
.hm-lbl  { font-size:9.5px; color:var(--text-dim); display:flex; align-items:center; }
.hm-day  { font-size:9.5px; color:var(--text-dim); text-align:center; padding-bottom:2px; font-weight:600; }
.hm-cell { height:24px; border-radius:3px; cursor:pointer; transition:filter .15s; }
.hm-cell:hover { filter:brightness(1.35); }

/* Table */
.rev-table { width:100%; border-collapse:collapse; }
.rev-table th {
  font-size:10px; font-weight:700; color:var(--text-muted);
  text-transform:uppercase; letter-spacing:.5px;
  padding:7px 10px; text-align:left;
  border-bottom:1px solid var(--border);
}
.rev-table td { padding:9px 10px; font-size:12.5px; border-bottom:1px solid rgba(200,85,255,.06); }
.rev-table tr:last-child td { border-bottom:none; }
.rev-table tr:hover td { background:rgba(200,85,255,0.04); }

/* scrollbar */
.analytics-wrap::-webkit-scrollbar { width:5px; }
.analytics-wrap::-webkit-scrollbar-thumb { background:var(--border); border-radius:3px; }
