.content {
    max-width: 100% !important;
}

.page-header {
    margin-left: auto;
    margin-right: auto;
}

.page-header,
.page-node {
    max-width: 900px !important;
}

.footer > .page-node {
    max-width: unset !important;
}

.show-api-client-button {
    display: none !important;
}

.request-card-footer {
    display: none !important;
}

.scalar-card-header.scalar-card-header-tabs > div:nth-of-type(2) {
  display: none !important;
}

.light-mode .t-doc__sidebar,
.dark-mode .t-doc__sidebar {
    --scalar-sidebar-background-1: #212438;
    --scalar-sidebar-color-1: rgb(255, 255, 255);
    --scalar-sidebar-color-2: rgb(255, 255, 255);
    --scalar-sidebar-border-color: var(--scalar-border-color);

    --scalar-sidebar-item-hover-background: #2e324b;
    --scalar-sidebar-item-hover-color: white;

    --scalar-sidebar-item-active-background: #313655;
    --scalar-sidebar-color-active: white;

    --scalar-sidebar-indent-border: rgba(255, 255, 255, 0.31);
    --scalar-sidebar-indent-border-hover: rgb(228, 228, 228);
    --scalar-sidebar-indent-border-active: #ffffff;

    --scalar-sidebar-search-background: transparent;
    --scalar-sidebar-search-color: rgb(212, 212, 212);
    --scalar-sidebar-search-border-color: rgb(103, 103, 103);
}

.t-editor__page-link {
  box-shadow: var(--scalar-shadow-1);
  border-radius: var(--scalar-radius);
  background: var(--scalar-background-2);
  padding: 16px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t-editor__anchor {
  --font-color: var(--scalar-color-accent);
  --font-visited: var(--scalar-color-2);
  --font-hover: var(--scalar-color-accent);
  --text-decoration: none;
  --text-decoration-hover: underline;
}

.section-column table {
  table-layout: auto !important;
}

.layout-footer {
    padding: 100px 50px;
}

.layout-footer .page-node {
    max-width: unset !important;
}

@media screen and (max-width: 1000px) {
    .layout-footer {
        padding: 10px;
    }
}

/* Larger header logo */
.t-doc__header img,
.scalar-app header img {
  height: 30px !important;
  max-height: none !important;
  width: auto !important;
}

/* Header background: same dark blue as the sidebar */
.t-doc__header,
.scalar-app header {
  background: #212438 !important;
  border-color: #212438 !important;
  --scalar-border-color: #212438;
}

/* Header link colors (white on the dark header) */
.t-doc__header .t-header__item,
.t-doc__header .t-header__item--active,
.light-mode .t-header__item,
.light-mode .t-header__item--active {
  color: #FFFFFF !important;
}

/* Dropdown menu links stay dark */
[role="menu"],
[role="menu"] *,
[role="menuitem"],
[role="menuitem"] * {
  color: #000000 !important;
}

/* Header search bar: centered, longer, rounded */
.search-group {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  width: 560px;
  min-width: 560px;
  max-width: 100%;
}
.search-group .search-wrapper {
  width: 100% !important;
  min-width: 560px !important;
  max-width: none !important;
}
.search-group button.search {
  width: 100% !important;
  border-radius: 999px !important;
}
/* Keyboard shortcut badge inside the search bar (the bordered span wrapping the <kbd>) */
.search-group button.search > span:has(kbd) {
  border-radius: 999px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
