.google-site-search {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  color: inherit;
  font: inherit;
  z-index: 80;
}

.google-site-search__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.35rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(9, 9, 12, .72);
  color: inherit;
  font: inherit;
  font-size: .82rem;
  letter-spacing: .02em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.google-site-search__toggle:hover,
.google-site-search__toggle:focus-visible,
.google-site-search.is-open .google-site-search__toggle {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(20, 20, 26, .92);
  outline: none;
}

.google-site-search__toggle:active {
  transform: translateY(1px);
}

.google-site-search__toggle svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.google-site-search__panel {
  position: absolute;
  top: calc(100% + .65rem);
  right: 0;
  width: min(23rem, calc(100vw - 2rem));
  padding: .9rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(8, 8, 11, .97);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.google-site-search.is-open .google-site-search__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.google-site-search__label {
  display: block;
  margin: 0 0 .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .78;
}

.google-site-search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
}

.google-site-search__row input {
  min-width: 0;
  width: 100%;
  padding: .7rem .78rem;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  font: inherit;
  outline: none;
}

.google-site-search__row input:focus {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}

.google-site-search__row button {
  padding: .7rem .82rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.google-site-search__row button:hover,
.google-site-search__row button:focus-visible {
  background: rgba(255, 255, 255, .16);
  outline: none;
}

.google-site-search__panel small {
  display: block;
  margin-top: .55rem;
  font-size: .7rem;
  line-height: 1.35;
  opacity: .55;
}

@media (max-width: 720px) {
  .google-site-search__toggle span {
    display: none;
  }

  .google-site-search__toggle {
    width: 2.35rem;
    padding-inline: 0;
  }

  .google-site-search__panel {
    position: fixed;
    top: 4.4rem;
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}