/* EstágiosPro — busca da Central de Ajuda alinhada ao padrão AprendizPro. */
.docs-top-actions > .docs-search-button {
  display: none !important;
}

.docs-system-link,
.docs-system-link:visited,
.docs-system-link:hover,
.docs-system-link:focus-visible {
  color: #fff !important;
}

.docs-hero::after {
  content: none !important;
  display: none !important;
}

.docs-sidebar-search > button {
  min-height: 42px !important;
  gap: 9px !important;
  border-color: #dbe3ef !important;
  border-radius: 13px !important;
  padding: 0 11px !important;
  color: #53627b !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgb(15 23 42 / .03);
}

.docs-sidebar-search > button:hover {
  border-color: #bdc8ff !important;
  color: #2f4cff !important;
  background: #f8f9ff !important;
}

.docs-sidebar-search kbd {
  min-width: 36px;
  margin-left: auto;
  border: 1px solid #d7ddec !important;
  border-bottom-width: 2px !important;
  border-radius: 6px !important;
  padding: 1px 6px !important;
  color: #60708d !important;
  background: #f8faff !important;
  font-family: inherit;
  font-size: 10px !important;
  font-weight: 650;
  line-height: 17px;
  text-align: center;
  white-space: nowrap;
}

.docs-search-dialog {
  place-items: start center !important;
  padding: min(10vh, 84px) 20px 24px !important;
}

.docs-search-backdrop {
  background: rgb(15 23 42 / .42) !important;
  backdrop-filter: blur(7px) !important;
}

.docs-search-dialog > section {
  width: min(720px, 100%) !important;
  max-height: min(78vh, 650px) !important;
  overflow: hidden !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 20px !important;
  padding: 0 !important;
  background: #fff !important;
  box-shadow: 0 30px 90px rgb(15 23 42 / .24) !important;
}

.docs-search-dialog header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid #e3e8f1 !important;
  padding: 12px !important;
  background: #f8faff !important;
}

.docs-search-dialog header > div {
  min-height: 48px;
  display: flex !important;
  flex: 1;
  align-items: center !important;
  gap: 10px !important;
  border: 1px solid #dbe3ef;
  border-radius: 13px;
  padding: 0 13px;
  color: #2f4cff;
  background: #fff;
  box-shadow: 0 1px 2px rgb(15 23 42 / .03);
}

.docs-search-dialog header > div:focus-within {
  border-color: #aebaff;
  box-shadow: 0 0 0 3px rgb(47 76 255 / .1);
}

.docs-search-dialog header svg {
  width: 18px !important;
  height: 18px !important;
}

.docs-search-dialog input {
  min-width: 0;
  padding: 13px 0 !important;
  color: #182135 !important;
  font-size: 14px !important;
}

.docs-search-dialog header > button {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px;
  border: 1px solid #dbe3ef !important;
  border-radius: 12px !important;
  color: #60708d !important;
  background: #fff !important;
}

.docs-search-dialog header > button:hover {
  border-color: #bdc8ff !important;
  color: #2f4cff !important;
  background: #f4f6ff !important;
}

.docs-search-results {
  max-height: calc(min(78vh, 650px) - 73px) !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 8px !important;
  background: #fff;
}

.docs-search-results > button {
  width: 100%;
  min-height: 58px;
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) 16px !important;
  align-items: center !important;
  gap: 11px !important;
  margin: 2px 0;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  padding: 10px !important;
  color: #182135 !important;
  background: #fff !important;
  text-align: left;
}

.docs-search-results > button:hover,
.docs-search-results > button:focus-visible {
  border-color: #d8dfff !important;
  background: #f7f8ff !important;
}

.docs-search-results > button > span:first-child {
  width: 36px !important;
  height: 36px !important;
  border: 1px solid #dde4ff;
  border-radius: 11px !important;
  color: #2f4cff !important;
  background: #f0f3ff !important;
}

.docs-search-results strong {
  color: #182135 !important;
  font-size: 12px !important;
  font-weight: 650;
}

.docs-search-results small {
  margin-top: 3px !important;
  color: #71819c !important;
  font-size: 10px !important;
  line-height: 1.4;
}

.docs-search-results > button > svg {
  color: #2f4cff !important;
}

.docs-search-empty {
  gap: 8px !important;
  padding: 52px 24px !important;
  color: #7f90ad !important;
}

.docs-search-empty svg {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid #dde4ff;
  border-radius: 14px;
  padding: 11px;
  color: #2f4cff;
  background: #f0f3ff;
}

@media (max-width: 640px) {
  .docs-search-dialog {
    padding: 16px !important;
  }

  .docs-search-dialog > section {
    max-height: calc(100vh - 32px) !important;
    border-radius: 17px !important;
  }

  .docs-search-results {
    max-height: calc(100vh - 105px) !important;
  }
}
