/* ==========================================================================
   footer Component Styles
   ========================================================================== */

.pinned-footer {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: calc(var(--mobile-max-width, 480px) - 20px);
  height: var(--footer-height, 58px);
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.pinned-footer-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.pinned-footer-item {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Subtle white gradient overlay above & below pinned footer to soften scrolling content edges */
.pinned-footer-backdrop {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile-max-width, 480px);
  height: calc(110px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    to top,
    #ffffff 0%,
    rgba(255, 255, 255, 0.96) 50%,
    rgba(255, 255, 255, 0.75) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 990;
}
