.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--color-surface, #ffffff);
    border-top: 1px solid var(--color-border, #e5e7eb);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  }

  .mobile-nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0.5rem 0.25rem;
    min-height: 56px;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-text-muted, #6b7280);
    text-decoration: none;
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
  }

  .mobile-nav-tab i,
  .mobile-nav-tab svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.75;
  }

  .mobile-nav-tab.is-active {
    color: var(--color-primary, #2563eb);
  }

  .mobile-nav-tab:focus-visible {
    outline: 3px solid var(--color-primary, #2563eb);
    outline-offset: -3px;
  }

  .mobile-nav-tab-submit {
    color: var(--color-primary, #2563eb);
    font-weight: 700;
  }

  .mobile-nav-tab:active {
    opacity: 0.7;
  }

  /* Push page content above the nav bar */
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
}
