:root {
  --tw-bottom-nav-height: 72px;
  --tw-bottom-nav-bottom-gap: 16px;
  --tw-bottom-nav-clearance: 24px;
  --tw-bottom-nav-content-inset: calc(
    var(--tw-bottom-nav-height) +
    var(--tw-bottom-nav-bottom-gap) +
    env(safe-area-inset-bottom, 0px) +
    var(--tw-bottom-nav-clearance)
  );
  --tw-bottom-nav-content-offset: calc(
    var(--tw-bottom-nav-height) +
    var(--tw-bottom-nav-bottom-gap) +
    var(--tw-bottom-nav-clearance)
  );
  --tw-bottom-nav-max-width: 390px;
  --tw-bottom-nav-side-gap: 16px;
  --tw-bottom-nav-bg: #ffffff;
  --tw-bottom-nav-active: #6f4cff;
  --tw-bottom-nav-inactive: #8a8fa3;
  --tw-bottom-nav-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  --tw-bottom-nav-slot-width: 56px;
  --tw-bottom-nav-halo-size: 40px;
  --tw-bottom-nav-halo-raise: 0px;
  --tw-bottom-nav-icon-size: 24px;
  --tw-bottom-nav-stroke-width: 2;
  --tw-bottom-nav-label-size: 12px;
  --tw-bottom-nav-label-line-height: 1.2;
  --tw-bottom-nav-icon-label-gap: 6px;
  --tw-bottom-nav-transition: color 180ms ease;
}

.tw-shell--passenger-app .tw-main,
.tw-plain-app--passenger-shell {
  padding-bottom: var(--tw-bottom-nav-content-inset);
  scroll-padding-bottom: var(--tw-bottom-nav-content-inset);
}

.tw-shell--driver-app .tw-main {
  padding-top: calc(96px + env(safe-area-inset-top));
  padding-bottom: var(--tw-bottom-nav-content-inset);
  scroll-padding-bottom: var(--tw-bottom-nav-content-inset);
}

.tw-bottom-nav {
  --tw-bottom-nav-halo-raise: 0px;
  position: fixed;
  left: 50%;
  bottom: calc(var(--tw-bottom-nav-bottom-gap) + env(safe-area-inset-bottom));
  z-index: 990;
  width: min(var(--tw-bottom-nav-max-width), calc(100vw - 32px));
  height: var(--tw-bottom-nav-height);
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(52px, 1fr) minmax(52px, 1fr) var(--tw-bottom-nav-slot-width) minmax(52px, 1fr) minmax(52px, 1fr);
  column-gap: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 34px;
  background: var(--tw-bottom-nav-bg);
  box-shadow: var(--tw-bottom-nav-shadow);
  overflow: visible;
  isolation: isolate;
}

.tw-bottom-nav__item {
  position: relative;
  width: 100%;
  min-width: 0;
  height: var(--tw-bottom-nav-height);
  min-height: var(--tw-bottom-nav-height);
  display: inline-grid;
  grid-template-rows: var(--tw-bottom-nav-icon-size) auto;
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-items: center;
  gap: var(--tw-bottom-nav-icon-label-gap);
  color: var(--tw-bottom-nav-inactive);
  text-decoration: none;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
  transition: var(--tw-bottom-nav-transition);
}

.tw-bottom-nav__item--active {
  color: var(--tw-bottom-nav-active);
}

.tw-bottom-nav__item:not(.tw-bottom-nav__item--active),
.tw-bottom-nav__item:not(.tw-bottom-nav__item--active) .tw-bottom-nav__icon,
.tw-bottom-nav__item:not(.tw-bottom-nav__item--active) .tw-bottom-nav__icon svg {
  color: var(--tw-bottom-nav-inactive);
  stroke: currentColor;
}

.tw-bottom-nav__item--active,
.tw-bottom-nav__item--active .tw-bottom-nav__icon,
.tw-bottom-nav__item--active .tw-bottom-nav__icon svg {
  color: var(--tw-bottom-nav-active);
  stroke: currentColor;
}

.tw-bottom-nav__item:focus-visible {
  outline: 2px solid var(--tw-bottom-nav-active);
  outline-offset: 3px;
}

.tw-bottom-nav__icon,
.tw-bottom-nav__icon svg {
  width: var(--tw-bottom-nav-icon-size);
  height: var(--tw-bottom-nav-icon-size);
  display: block;
  flex: 0 0 auto;
}

.tw-bottom-nav__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: var(--tw-bottom-nav-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--tw-bottom-nav-transition);
}

.tw-bottom-nav__label {
  color: currentColor;
  display: block;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--tw-bottom-nav-label-size);
  font-weight: 600;
  line-height: var(--tw-bottom-nav-label-line-height);
  max-width: 100%;
  min-height: calc(var(--tw-bottom-nav-label-size) * var(--tw-bottom-nav-label-line-height));
  overflow: visible;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.tw-bottom-nav__halo-slot {
  width: var(--tw-bottom-nav-slot-width);
  height: var(--tw-bottom-nav-height);
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  margin: 0;
  pointer-events: none;
  visibility: hidden;
  z-index: 2;
}

.tw-bottom-nav__halo-slot[href] {
  display: grid;
  place-items: center;
  min-width: var(--tw-bottom-nav-slot-width);
  min-height: var(--tw-bottom-nav-height);
  pointer-events: auto;
  visibility: visible;
  text-decoration: none;
  transform: translateY(calc(var(--tw-bottom-nav-halo-raise) * -1));
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

.tw-bottom-nav__halo-slot[href]:focus-visible {
  outline: 2px solid var(--tw-bottom-nav-active);
  outline-offset: -10px;
}

.tw-bottom-nav__halo-slot .twh-asset-halo,
.tw-bottom-nav__halo-slot .twh-mini-halo {
  width: var(--tw-bottom-nav-halo-size);
  height: var(--tw-bottom-nav-halo-size);
  --twh-size: var(--tw-bottom-nav-halo-size);
  --halo-mini-size: var(--tw-bottom-nav-halo-size);
  --halo-safe-area-ratio: 0;
  --halo-safe-area: 0px;
  --halo-canvas-size: var(--tw-bottom-nav-halo-size);
  --halo-canvas-offset: 0px;
  overflow: visible;
  position: relative;
  z-index: 3;
}

.tw-bottom-nav__halo-slot .twh-asset-halo__image {
  inset: 0;
  width: var(--tw-bottom-nav-halo-size);
  height: var(--tw-bottom-nav-halo-size);
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.tw-bottom-nav__badge {
  position: absolute;
  top: 3px;
  right: 18px;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 0 2px #ffffff;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 360px) {
  :root {
    --tw-bottom-nav-side-gap: 16px;
    --tw-bottom-nav-bottom-gap: 16px;
  }

  .tw-bottom-nav {
    width: calc(100vw - 32px);
    grid-template-columns: minmax(52px, 1fr) minmax(52px, 1fr) var(--tw-bottom-nav-slot-width) minmax(52px, 1fr) minmax(52px, 1fr);
  }

  .tw-bottom-nav__item {
    width: auto;
    min-width: 52px;
  }

  .tw-bottom-nav__halo-slot {
    width: var(--tw-bottom-nav-slot-width);
  }
}
