/* ── CaPeer Shared Bottom Navigation ───────────────────────────────────────
   Included on: dashboard, cart, support, profile, resources
   DO NOT duplicate this CSS in individual pages.
─────────────────────────────────────────────────────────────────────────── */

.bottom-nav { display: none; }

@media (max-width: 600px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--md-sys-color-surface-container-highest, #dfe3e7);
    border-top: 1px solid var(--md-sys-color-outline-variant, #c4c7c5);
    z-index: 1001;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  }

  .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--md-sys-color-on-surface-variant, #444746);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 0 6px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
  }

  .nav-item.active {
    color: var(--md-sys-color-primary, #0b57d0);
  }

  .nav-item .material-symbols-rounded {
    font-size: 24px;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    padding: 4px 14px;
    border-radius: 100px;
    transition: background 0.2s, font-variation-settings 0.2s;
  }

  .nav-item.active .material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    background: var(--md-sys-color-primary-container, #d3e3fd);
  }
}
