:root {
  --docsearch-primary-color: var(--ifm-color-primary);
  --docsearch-text-color: var(--ifm-font-color-base);
}

.DocSearch-Button {
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem; /* 150% */
  border-radius: 0.5rem;
  border: 1px solid var(--general-light-line-3-webapp, #DDD);
  background: #FFF;
  margin: 0;
  width: 13rem;
  height: 2rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 16px 30px 10px rgba(70, 53, 43, 0.02);
  transition: all var(--ifm-transition-fast)
    var(--ifm-transition-timing-default);
}

/** In mobile view, reduce the padding */
@media screen and (max-width: 996px) {
  .DocSearch-Button {
    width: auto;
    padding: 0.5rem;
  }
}

.DocSearch-Button:hover {
  background: white;
  color: #25282D;
}

.DocSearch-Button .DocSearch-Search-Icon {
  color: #25282D;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.DocSearch-Button-Key {
  background: linear-gradient(-225deg,#d5dbe4,#f8f8f8);
  box-shadow: inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,0.4)
}

.DocSearch-Container {
  z-index: calc(var(--ifm-z-index-fixed) + 1);
}
