/* ============================================================
   StockBot — Dashboard-specific Styles
   ============================================================ */

/* --- Chart Container --- */
.chart-container {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.chart-container canvas {
  max-height: 300px;
}

/* --- Stock Edit Page --- */
.stock-edit-header {
  background: var(--color-primary);
  color: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stock-edit-header h2 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.stock-edit-header .meta {
  font-size: 0.75rem;
  opacity: 0.85;
}

.stock-edit-list {
  list-style: none;
}

.stock-edit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.stock-edit-item .name {
  flex: 3;
  font-size: 0.875rem;
  font-weight: 500;
}

.stock-edit-item input[type="number"] {
  flex: 1;
  width: 80px;
  text-align: right;
}

.stock-edit-item select {
  flex: 1;
  width: 80px;
}

.stock-edit-item .status-icon {
  flex-shrink: 0;
  font-size: 1rem;
}

.stock-edit-footer {
  padding: 1rem;
  text-align: center;
}

.stock-edit-footer .btn-primary {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
}
