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

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

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

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

.trip-panel .driver-trip-chat {
  margin-top: 14px;
  min-height: 220px;
}

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

.trip-panel--live .driver-trip-chat {
  margin-top: 0;
  min-height: 180px;
}

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