/* GoRooba driver page: the rider page's look (rider/ride.css), plus the few things only a driver needs. */
#driverMap { position: fixed; inset: 0; background: #0e1116; }

/* Online / offline: the one control in the top bar. Light when offline (the action to take), dark when online. */
.status-toggle {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); font-size: 15px; font-weight: 600;
  background: var(--primary-bg); color: var(--primary-text);
}
.status-toggle .status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status-toggle.status-online { background: rgba(21, 24, 29, 0.92); color: var(--text); }
.status-toggle.status-online .status-dot { background: var(--accent); }

.driver-form { display: flex; flex-direction: column; gap: 10px; }
.driver-form label { font-size: 13px; color: var(--muted); font-weight: 500; }
.driver-form input { width: 100%; min-height: 52px; padding: 0 16px; background: var(--surface-2); border: 1px solid transparent; border-radius: var(--radius); font-size: 16px; }
.driver-form input:focus { border-color: var(--accent); outline: none; }

/* An offer: where to go, how far, and two buttons. */
.trip-points { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--surface-2); border-radius: var(--radius); }
.trip-point { display: flex; flex-direction: column; gap: 2px; }
.trip-point-label { font-size: 13px; color: var(--muted); }
.trip-point-value { font-size: 16px; font-weight: 600; }

.pin-field { font-size: 26px; font-weight: 700; letter-spacing: 0.4em; text-align: center; font-variant-numeric: tabular-nums; }

/* The withdraw sheet, in the dialog style. */
.withdraw-reasons { border: 0; display: grid; gap: 4px; padding: 0; }
.withdraw-reasons legend { margin-bottom: 8px; font-weight: 600; }
.withdraw-reasons label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px; border-radius: 10px; }
.withdraw-reasons input { width: 20px; height: 20px; accent-color: var(--accent); }
