html body #r40-search-supply {
  display: grid;
  justify-items: center;
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
  gap: 7px;
  width: min(310px, calc(100% - 28px));
  left: 50%;
  right: auto;
  translate: -50%;
  padding: 10px 14px;
  box-sizing: border-box;
}
#r40-search-supply .rotas-search-clock {
  display: grid;
  place-content: center;
  gap: 1px;
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid #2eac9d65;
  background: #2eac9d16;
}
.rotas-search-clock::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 3px solid transparent;
  border-top-color: #169988;
  border-radius: 50%;
  animation: rotas-search-spin 1.3s linear infinite;
}
.rotas-search-clock time {
  font: 700 15px/1.15 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
html body #r40-search-supply p {
  margin: 0;
  text-align: center;
}
#r40-search-supply button {
  pointer-events: auto;
  border: 1px solid #a62936;
  color: #fff;
  background: #a62936;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
.rotas-free-driver {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  translate: -50%;
  transform-origin: center calc(100% + 14px);
  border: 1px solid #78e5cb;
  border-radius: 20px;
  background: #123a34;
  color: white;
  white-space: nowrap;
  padding: 4px 8px;
  font: 700 11px/1.2 system-ui, sans-serif;
  pointer-events: none;
}
@keyframes rotas-search-spin { to { rotate: 1turn; } }
@media (prefers-reduced-motion: reduce) {
  .rotas-search-clock::after { animation: none; }
}
html body #r40-search-supply {
  position: absolute;
  top: max(72px, 14%);
  bottom: auto;
  z-index: 8;
  width: min(250px, calc(100% - 112px));
  min-width: 150px;
  padding: 12px;
  border: 1px solid #e9db96;
  border-radius: 18px;
  color: #172722;
  background: #fffdf3;
  box-shadow: 0 6px 22px #111e2626;
}
html body #r40-search-supply p span { display: block; }
#r40-search-supply .rotas-search-clock { width: 70px; height: 70px; }
#r40-search-supply .rotas-search-clock time { font-size: 20px; }
.rotas-search-active #rotas-trip-eta,
.rotas-search-active .ride-state > .loading { display: none !important; }
.rotas-search-active .ride-sheet button:disabled:empty { display: none !important; }
.rotas-upgrade-pin {
  position: absolute;
  z-index: 8;
  transform: translate(-50%, calc(-100% - 18px));
  pointer-events: none;
  white-space: nowrap;
  padding: 4px 8px;
  border: 1px solid #f1d166;
  border-radius: 999px;
  background: #1d211d;
  color: #ffe483;
  font: 700 11px/1.3 system-ui, sans-serif;
  box-shadow: 0 2px 8px #0004;
}

html body .ride-sheet #r40-search-supply {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  translate: none;
  transform: none;
  width: 100%;
  min-width: 0;
  margin: 0 0 12px;
  box-shadow: none;
}

html[data-app-role=passenger] .r54-trip-dock.r54-trip-dock:is([data-r54-level=half],[data-r54-level=full]) .r49-trip-body #rotas-ride-notice.r54-composed .r54-identity-grid .rotas-driver-identity {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  text-align: center !important;
}
html[data-app-role=passenger] .r54-trip-dock .r49-trip-body #rotas-ride-notice.r54-composed .r54-identity-grid .rotas-driver-identity > div {
  flex: 0 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  text-align: center !important;
}
html[data-app-role=passenger] .r54-trip-dock .r49-trip-body #rotas-ride-notice.r54-composed .r54-identity-grid .rotas-driver-identity strong {
  display: block !important;
  width: 100% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  line-height: 1.3 !important;
}

