/* Application access lives inside the existing V2 public navigation.
   This file must not change header height, page spacing, CTA visibility,
   brand sizing, or any non-navigation layout. */

.sbh-app-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.sbh-applications {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgb(242 238 230 / 0.12);
  border-radius: var(--sb-r-control);
  background: rgb(var(--sbh-surface) / 0.99);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  z-index: 75;
}

.sbh-app-menu:hover .sbh-applications,
.sbh-app-menu:focus-within .sbh-applications {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sbh-app-menu-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--sb-r-control);
  color: var(--sbh-ivory-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease, background-color 140ms ease;
}

.sbh-app-menu-link:hover,
.sbh-app-menu-link:focus-visible {
  color: var(--sbh-ivory);
  background: rgb(242 238 230 / 0.06);
}

@media (max-width: 1023px) {
  .sbh-applications { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sbh-applications,
  .sbh-app-menu-link { transition: none; }
}
