/* =====================================================
   stats.css — Statistics Page
   Expense Tracker v0.2.0
   ===================================================== */

/* Category bar chart */
.cat-row { margin-bottom: 13px; }
.cat-row-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.cat-row-name { font-weight: 600; }
.cat-row-val  { font-family: var(--font-mono); font-size: 12px; }
.bar-bg   { height: 7px; background: var(--c-surface2); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width .6s cubic-bezier(.22,1,.36,1); }

/* Day bar chart */
.day-chart-wrap { overflow-x: auto; padding-bottom: 4px; }
.day-chart {
  display: flex; align-items: flex-end; gap: 4px;
  height: 110px; padding-bottom: 4px;
}
.day-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 26px; justify-content: flex-end; }
.day-bar {
  width: 100%; background: linear-gradient(180deg, var(--c-primary), var(--c-secondary));
  border-radius: 3px 3px 0 0; min-height: 4px;
  transition: height .4s cubic-bezier(.22,1,.36,1);
  cursor: default;
}
.day-bar:hover { filter: brightness(1.15); }
.day-label { font-size: 8px; color: var(--c-text3); transform: rotate(-40deg); white-space: nowrap; }

/* Type donut (simple) */
.type-legend { display: flex; flex-direction: column; gap: 8px; }
.type-legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.type-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.type-legend-lbl { flex: 1; }
.type-legend-val { font-family: var(--font-mono); font-size: 12px; color: var(--c-text2); }

/* No data */
.no-data { text-align: center; color: var(--c-text3); padding: 24px; font-size: 13px; }
