/* Persistent navigation for long SkyGo pages. */
.app-shell {
  /* Keep the rounded phone mask without turning the shell into a scroll root. */
  overflow: clip;
}

.screen > .topbar,
.main-page-head,
.home-toolbar,
.home-tabs,
.orders-sticky-controls,
.trips-body > .trip-filter-row {
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

/* Every routed detail page keeps its title and back button available. */
.screen > .topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(225, 232, 241, .86);
  box-shadow: 0 8px 24px rgba(23, 53, 88, .06);
}

/* Home uses two stacked controls: location/scanner and the mode tabs. */
.home-toolbar {
  position: sticky;
  top: 0;
  z-index: 52;
  background: #fff;
}

.home-tabs {
  position: sticky;
  top: 58px;
  z-index: 51;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 55, 91, .05);
}

/* Bottom-tab pages keep their page title and tools at the top. */
.main-page-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(231, 236, 243, .88);
  box-shadow: 0 8px 24px rgba(23, 53, 88, .05);
}

.trips-body > .trip-filter-row {
  position: sticky;
  top: 92px;
  z-index: 49;
  margin: -12px -14px 0;
  padding: 12px 14px 10px;
  background: #f6f9fc;
  border-bottom: 1px solid rgba(226, 233, 242, .86);
  box-shadow: 0 7px 18px rgba(27, 55, 86, .04);
}

/* Search, filters and status tabs remain one stable block on the order list. */
.orders-sticky-controls {
  position: sticky;
  top: 70px;
  z-index: 49;
  margin: -7px -14px 0;
  padding: 7px 14px 0;
  background: #f4f7fb;
  border-bottom: 1px solid rgba(225, 232, 241, .88);
  box-shadow: 0 8px 20px rgba(26, 55, 88, .05);
}

.orders-sticky-controls .order-tabs {
  background: transparent;
}
