/**
 * Go CSS · request
 * 
 * Purpose:
 *   Styles for this dashboard piece.
 * 
 * Dashboard:
 *   Go · App Store / data-view · deliveries
 * 
 * This file:
 *   business/dashboard/deliveries-app/request/request.css
 * 
 * Depends on:
 *   - business/dashboard/shell/shell.html
 *   - scripts/assemble-dashboards.js
 * 
 * Used by:
 *   - scripts/assemble-dashboards.js → business/dashboard/styles.css
 */

.trip-form {
  max-width: 640px;
  padding: 18px;
}

.trip-form .account-type-tabs {
  margin-bottom: 18px;
}

.trip-form .address-block {
  margin-bottom: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.trip-form .address-block:last-of-type {
  border-bottom: 0;
  padding-bottom: 4px;
}

.trip-form .address-map-picker {
  margin-bottom: 10px;
}

.trip-form .address-map-picker-status:empty {
  display: none;
  min-height: 0;
  margin: 0;
}

.trip-form .address-map-picker-canvas {
  height: min(280px, 42vh);
}

.trip-form .address-map-selected {
  margin-top: 0;
  margin-bottom: 10px;
}

.trip-form .address-map-selected input {
  margin-top: 0;
}

.trip-form #notes-label {
  margin-top: 8px;
}

.trip-form #create-submit-btn {
  margin-top: 14px;
  width: 100%;
}

.deliveries-new-wrap {
  margin-top: 0.25rem;
}

.deliveries-new-wrap .trip-form {
  max-width: 720px;
  margin-inline: auto;
}
