/* Keep account-service forms inside their cards at every driver breakpoint. */
#driverSectionContent .swift-driver-service-card .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
#driverSectionContent .swift-driver-service-card .form-grid label {
  min-width: 0;
}
#driverSectionContent .swift-driver-service-card .form-grid input,
#driverSectionContent .swift-driver-service-card .form-grid select,
#driverSectionContent .swift-driver-service-card .form-grid textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
#driverSectionContent .swift-driver-service-card .form-grid .check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  grid-column: 1 / -1;
}
#driverSectionContent .swift-driver-service-card .form-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 3px 0 0;
}
#driverSectionContent .swift-driver-service-card .form-grid > button {
  grid-column: 1 / -1;
  min-height: 44px;
  white-space: normal;
}
[aria-label="Required authenticator setup"] input {
  box-sizing: border-box;
  max-width: 100%;
}
[aria-label="Required authenticator setup"] pre {
  white-space: pre-wrap;
}
@media (max-width: 900px) {
  #driverSectionContent .swift-driver-service-card .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #driverSectionContent .swift-driver-service-card .form-grid > button {
    width: 100%;
  }
}
