.global-component-search {
  position: relative;
  display: flex;
  flex: 0 1 360px;
  align-items: center;
  width: clamp(220px, 30vw, 360px);
  min-width: 180px;
  height: 40px;
  margin: 0 12px 0 24px;
  color: var(--topbar-muted);
}

.global-component-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.global-component-search-icon {
  position: absolute;
  left: 11px;
  z-index: 1;
  width: 17px;
  height: 17px;
  pointer-events: none;
}

.global-component-search input {
  width: 100%;
  height: 40px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-sm);
  outline: 0;
  background: rgba(255, 255, 255, 0.09);
  color: var(--topbar-ink);
  padding: 0 12px 0 36px;
}

.global-component-search input::placeholder {
  color: var(--topbar-muted);
  opacity: 0.9;
}

.global-component-search input:hover {
  border-color: rgba(255, 255, 255, 0.36);
}

.global-component-search input:focus-visible {
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(47, 191, 164, 0.24);
}

.side-subitem .search-all-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

@media (max-width: 760px) {
  .global-component-search {
    order: 2;
    flex: 1 1 calc(100% - 24px);
    width: calc(100% - 24px);
    max-width: none;
    margin: 0 12px 8px;
  }
}
