/*
 * Estilos estruturais da navegação móvel criada por assets/vp-ui.js.
 * Este ficheiro é independente do tema visual de cada página.
 */
.vpx-tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9990;
  display: flex;
  align-items: stretch;
  padding: 6px max(10px, env(safe-area-inset-right))
    calc(8px + env(safe-area-inset-bottom))
    max(10px, env(safe-area-inset-left));
  border-top: 1px solid #e4e7ec;
  background: rgba(255, 255, 255, .97);
}

.vpx-tab {
  display: flex;
  min-width: 0;
  min-height: 54px;
  padding: 4px 2px;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #667085;
  text-decoration: none;
}

.vpx-tab-ico {
  display: flex;
  width: 48px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.vpx-tab svg {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  stroke-width: 1.9;
}

.vpx-tab-label {
  max-width: 100%;
  padding: 0 2px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vpx-tab.active {
  color: #315cf4;
}

.vpx-tab.active .vpx-tab-ico {
  background: #eef2ff;
}

.vpx-scrim {
  position: fixed;
  inset: 0;
  z-index: 9991;
  background: rgba(17, 24, 39, .48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.vpx-scrim.open {
  opacity: 1;
  pointer-events: auto;
}

.vpx-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9992;
  display: flex;
  max-height: 78vh;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  flex-direction: column;
  border: 1px solid #e4e7ec;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  transform: translateY(105%);
  transition: transform .25s ease;
}

.vpx-sheet.open {
  transform: translateY(0);
}

.vpx-sheet-handle {
  width: 38px;
  height: 3px;
  margin: 10px auto 4px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: #cbd1dc;
}

.vpx-sheet-title {
  padding: 8px 20px 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vpx-sheet-list {
  padding: 2px 12px 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.vpx-sheet-item {
  display: flex;
  min-height: 52px;
  padding: 7px 10px;
  align-items: center;
  gap: 12px;
  border-radius: 4px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.vpx-sheet-item:hover,
.vpx-sheet-item:active,
.vpx-sheet-item.current {
  background: #f7f8fa;
}

.vpx-sheet-item.current {
  color: #315cf4;
}

.vpx-item-ico {
  display: flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #eef2ff;
  color: #315cf4;
}

.vpx-item-ico svg {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  stroke-width: 2;
}

.vpx-sheet-item.vpx-danger {
  color: #dc2626;
}

.vpx-sheet-item.vpx-danger .vpx-item-ico {
  background: #fef2f2;
  color: #dc2626;
}

.vpx-sheet-sep {
  height: 1px;
  margin: 6px 12px;
  background: #e4e7ec;
}

body.vpx-no-tabbar .vpx-tabbar,
body.vpx-no-tabbar .vpx-sheet,
body.vpx-no-tabbar .vpx-scrim {
  display: none;
}

body.vpx-no-tabbar {
  padding-bottom: 0;
}

@media (max-width: 767.98px) {
  body.vpx-has-tabbar {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  body.vpx-has-tabbar .top-menu,
  body.vpx-has-tabbar .app-menu {
    display: none;
  }
}

@media (min-width: 1001px) {
  .vpx-tabbar,
  .vpx-sheet,
  .vpx-scrim {
    display: none;
  }
}

@media print {
  .vpx-tabbar,
  .vpx-sheet,
  .vpx-scrim {
    display: none;
  }

  body.vpx-has-tabbar {
    padding-bottom: 0;
  }
}

.vpx-sheet-group{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#6c7d94;margin:14px 8px 5px}
