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

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

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

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

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

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

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

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

#jobs-view .status-card .account-strip {
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border: none;
}

#jobs-view .status-card .account-strip strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

#jobs-view .status-card .account-strip small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

#jobs-view .status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

#jobs-view .status-row span {
  font-weight: 600;
  font-size: 15px;
}

#jobs-view .status-card .primary-btn, #jobs-view .status-card .secondary-btn {
  width: 100%;
}
