/* Drive page — shell/cards/CTAs from body.onboarding; keep list/QR extras here. */

.drive-page .ttms-onboarding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8em;
}

@media (min-width: 760px) {
  .drive-page .ttms-onboarding-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.9em 1em;
  }
}

.drive-page .ttms-onboarding-field {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.drive-page .ttms-onboarding-field input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.78em 0.9em;
  box-shadow: 0 10px 22px rgba(31, 41, 51, 0.045);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.drive-page .ttms-onboarding-field input:focus {
  outline: none;
  border-color: rgba(248, 175, 24, 0.7);
  box-shadow: 0 0 0 4px rgba(248, 175, 24, 0.18), 0 14px 30px rgba(31, 41, 51, 0.06);
  background: rgba(255, 255, 255, 0.72);
}

/* Match onboarding Step 1 CTA row + form action footers */
.drive-page .ttms-onboarding-auth__actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.6em;
}

.drive-page .ttms-onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  width: -webkit-fill-available;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 0.6em;
  gap: 0.7rem;
}

.drive-page .client-pricing-sales__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.drive-page .client-pricing-sales__cta--primary {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: #fff;
  border: none;
}

.drive-page .client-pricing-sales__cta--secondary {
  background: rgba(255, 255, 255, 0.45);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.drive-page button.client-pricing-sales__cta {
  -webkit-appearance: none;
  appearance: none;
}

.drive-page .ttms-onboarding-actions button.client-pricing-sales__cta {
  width: -webkit-fill-available;
  width: 100%;
  max-width: 22rem;
}

.drive-page #ttmsDriverOnlineStatus {
  pointer-events: none;
  cursor: default;
}

.ttms-driver-list {
  list-style: none;
  padding: 0;
  margin: 0.85em 0 0;
}

.ttms-driver-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .ttms-driver-list li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ttms-driver-qr {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.45);
}

.ttms-driver-qr__token {
  margin: 0.65rem 0;
  padding: 0.75rem;
  overflow-x: auto;
  word-break: break-all;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

[data-theme="dark"] .ttms-driver-qr__token {
  background: rgba(255, 255, 255, 0.06);
}

.ttms-live-map {
  margin: 1rem 0;
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

#ttmsTrackOfferList {
  list-style: none;
  padding: 0;
}

#ttmsTrackOfferList li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
