/* ══════════════════════════════════════════════════════════════════════
   Shared pill header — mirrors fieldvio.com's floating navy pill.

   Two variants:
     .fvpill-header                 → solid navy-dark, for app shell + most
                                       public pages (default)
     .fvpill-header.fvpill--glass   → translucent 55% bg, for pages that
                                       sit over a photographic hero (public
                                       event / artist portal)

   Works on mobile (≤640px) by default. Desktop uses `.fvpill-show-all` to
   force display (public pages want the pill on every viewport; the
   logged-in app shell keeps its left sidebar on desktop so it hides the
   pill via the base layout).
   ══════════════════════════════════════════════════════════════════════ */
.fvpill-header {
  display: none;
  position: fixed;
  left: 50%;
  top: 12px;
  z-index: 100;
  width: calc(100% - 24px);
  max-width: 1100px;
  transform: translateX(-50%);
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: box-shadow 300ms ease, background 300ms ease;
}
.fvpill-header.fvpill--glass {
  background: rgba(13, 13, 20, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.12);
}
.fvpill-header.is-scrolled {
  background: rgba(10, 14, 26, 0.85);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.fvpill-header.fvpill--glass.is-scrolled {
  background: rgba(13, 13, 20, 0.72);
}

.fvpill-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  height: 52px;
  padding: 0 18px;
  gap: 0.75rem;
}
.fvpill-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  color: inherit;
}
.fvpill-logo-img {
  height: 22px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}
.fvpill-logo-text {
  font-family: 'Epilogue', 'Bebas Neue', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}
.fvpill-logo-text .field-part { color: #fff; }
.fvpill-logo-text .vio-part { color: var(--brand-light, #14b8a6); }

.fvpill-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* Round-chip social / utility buttons (portal social icons, bell, etc.) */
.fvpill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  padding: 0;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  position: relative;
}
.fvpill-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Badge bubble for counts (notifications, cart) */
.fvpill-badge {
  display: none;
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 16px;
  padding: 0 3px;
  border: 2px solid rgba(10, 14, 26, 0.95);
}

/* Gradient CTA (Register / Contact / etc.) — picks up per-company brand */
.fvpill-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--brand-gradient, linear-gradient(135deg, #0d7377, #14b8a6));
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.fvpill-cta:hover { opacity: 0.92; transform: translateY(-1px); }

/* Text link action (sign-in, simple menu items) */
.fvpill-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  transition: color 0.15s;
}
.fvpill-link:hover { color: #fff; }

/* Hamburger (3 bars → X when .fvpill-burger.open) */
.fvpill-burger {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.fvpill-burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 300ms ease, opacity 300ms ease;
}
.fvpill-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fvpill-burger.open span:nth-child(2) { opacity: 0; }
.fvpill-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Visibility ──
   .fvpill-show-all: force the pill on every viewport (public pages).
   Default: mobile only (≤640px) — app shell uses this to keep its sidebar
   on desktop. */
@media (max-width: 640px) {
  .fvpill-header { display: block; }
}
.fvpill-header.fvpill-show-all { display: block; }

/* Reserve breathing room below the pill so page content doesn't slide
   under it. Opt-in via .fvpill-push so pages with their own hero-first
   layout aren't forced into an extra gap. */
.fvpill-push { padding-top: 76px; }
@media (min-width: 641px) {
  .fvpill-push-desktop { padding-top: 76px; }
}
