/* Page bar (resources/views/partials/pageBar.php): game year, data version, All / Men / Women on the left,
   breadcrumb on the right. Same row on the players list, player pages and teams page.
   Plain CSS served as-is (not part of the gulp site.min.css bundle). */

.pb {
  position: relative;
  z-index: 30; /* menus open above the glass panels below (backdrop-filter makes new stacking contexts) */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  color: #fff;
}
.pb-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pb-crumbs .breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
}

/* menus (same component as the players list toolbar) */
.pb .pl-menu {
  position: relative;
}
.pb .pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  cursor: pointer;
}
.pb .pl-btn:hover,
.pb .pl-btn:focus-visible,
.pb .pl-menu.open .pl-btn {
  color: #fff;
  border-color: #5cf8db;
  outline: none;
}
.pb .pl-btn > i:first-child {
  color: #5cf8db;
}
.pb .pl-btn strong {
  font-weight: 700;
  color: #fff;
}
.pb .pl-caret {
  font-size: 9px;
  opacity: 0.6;
  transition: transform 0.15s;
}
.pb .pl-menu.open .pl-caret {
  transform: rotate(180deg);
}
.pb .pl-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 170px;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  background: #1a1a40;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
.site-dark-skin .pb .pl-pop {
  background: #1c1c1c;
}
.pb .pl-menu.open .pl-pop {
  display: block;
}
.pb .pl-pop-title {
  padding: 4px 10px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.pb .pl-opt {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: #fff;
  border-radius: 6px;
}
.pb .pl-opt:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
.pb .pl-opt.active {
  font-weight: 700;
  background: rgba(92, 248, 219, 0.12);
  box-shadow: inset 3px 0 0 #5cf8db;
}

/* All / Men / Women */
.pb-seg {
  display: inline-flex;
  gap: 2px;
  height: 34px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
}
.pb-seg button {
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  background: none;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.pb-seg button:hover {
  color: #fff;
}
.pb-seg button[aria-pressed="true"] {
  color: #0b1d1a;
  background: #5cf8db;
}
.pb-seg button:focus-visible {
  outline: 2px solid #5cf8db;
  outline-offset: 1px;
}

@media (max-width: 575.98px) {
  .pb-crumbs {
    width: 100%;
  }
}
