/* dashboard.css — styles specific to the dashboard (index.html) */

.chart-card { padding-bottom: 12px; }
.chart-legend {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 190px;
  padding-top: 16px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}
.bar-col .bar {
  width: 100%;
  max-width: 36px;
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  border-radius: 6px 6px 0 0;
  position: relative;
  min-height: 4px;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.bar-col:hover .bar {
  background: linear-gradient(180deg, #2563EB 0%, #1E3A8A 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
/* Highlight current day in teal */
.bar-col:last-child .bar {
  background: linear-gradient(180deg, #14B8A6 0%, #0F766E 100%);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

.bar-col .bar-value {
  position: absolute;
  top: -20px; left: 50%; transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  font-family: var(--font-mono);
}
.bar-col .bar-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.activity-list { display: flex; flex-direction: column; }
.activity-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}
.activity-row:last-child { border-bottom: none; }
.activity-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: var(--radius-s);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.activity-main { flex: 1; min-width: 0; }
.activity-title { font-size: 13.5px; font-weight: 600; color: var(--text-main); }
.activity-sub { font-size: 12px; color: var(--text-muted); }
.activity-amount {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.low-stock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 13.5px;
}
.low-stock-row:last-child { border-bottom: none; }
.low-stock-row .name { font-weight: 600; color: var(--text-main); }
.low-stock-row .qty {
  font-family: var(--font-mono);
  color: var(--status-outstock);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--status-outstock-bg);
  padding: 2px 8px;
  border-radius: 12px;
}
