/* /app/css/menu.css */
/* Floating pill menu above the map (Submit / Claim truck / Account) */

/* Host positions the nav above the map */
.px-menu-host {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  padding: 0 8px;
  box-sizing: border-box;
}

/* Menu container — softer, translucent purple */
.px-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;

  /* Softer purple */
  background: rgba(65, 33, 112, 0.45); /* soft violet wash */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  /* softer shadow too */
  box-shadow: 0 12px 32px rgba(65, 33, 112, 0.35);
}

/* Base menu item */
.px-menu-item {
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;

  color: #ffffff;
  background: transparent;

  transition:
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease,
    transform 100ms ease;
}

/* Hover: bright white pill with black text */
.px-menu-item:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

/* Active page chip — also white pill with black text */
.px-menu-item--active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.45);
}

/* Click feedback */
.px-menu-item:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.35);
}

/* Small screens */
@media (max-width: 480px) {
  .px-menu-host {
    top: 10px;
  }

  .px-menu {
    gap: 4px;
    padding: 5px;
  }

  .px-menu-item {
    padding: 6px 12px;
    font-size: 12px;
  }
}