/**
 * Driver CSS · history
 * 
 * Purpose:
 *   Styles for this dashboard piece.
 * 
 * Dashboard:
 *   Driver · data-view="history"
 * 
 * This file:
 *   driver/dashboard/history-app/history-app.css
 * 
 * Depends on:
 *   - driver/dashboard/shell/shell.css
 *   - scripts/assemble-dashboards.js
 * 
 * Used by:
 *   - scripts/assemble-dashboards.js → driver/dashboard/styles.css
 */

#history-view .main .status-card, #history-view .main .card-list, #history-view .main .trip-panel {
  width: 100%;
  max-width: 720px;
}

#history-view .status-card, #history-view .job-card, #history-view .trip-panel, #history-view .empty-state, #history-view .account-card, #history-view .verification-form, #history-view .table-wrap, #history-view .verification-banner, #history-view .verification-gaps, #history-view .verification-ready {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

#history-view .status-card, #history-view .job-card, #history-view .trip-panel, #history-view .account-card, #history-view .verification-form {
  padding: var(--space-md);
}

#history-view .job-card h3, #history-view .trip-panel h3, #history-view .account-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

#history-view body.driver-portal-shell .account-card, #history-view body.driver-portal-shell .settings-card, #history-view body.driver-portal-shell .job-card, #history-view body.driver-portal-shell .trip-panel, #history-view body.driver-portal-shell .table-wrap, #history-view body.driver-portal-shell .status-card {
  background: var(--panel) !important;
  border-color: var(--border) !important;
  box-shadow: var(--shadow) !important;
  color: var(--text);
}

#history-view /* ── Cards / lists (matches Card.tsx) ── */

.card-list {
  display: grid;
  gap: var(--space-md);
}
