#NewChat {
  height: 100%;
}

.left-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;

  height: var(--header-height);
  padding: 0.375rem 0.8125rem 0.5rem 0.8125rem;

  background-color: var(--color-background);

  transition: background-color 150ms;

  &.secondary {
    background-color: var(--color-background-secondary);
  }

  h3 {
    user-select: none;

    overflow: hidden;

    margin-right: auto;
    margin-bottom: 0;
    margin-left: 1.375rem;

    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .SearchInput {
    margin-left: 0.625rem;
  }

  .Button.smaller {
    width: 2.5rem;
    height: 2.5rem;

    + .DropdownMenu {
      margin-left: 0.25rem;
    }
  }

  body.is-tauri.is-macos #Main:not(.is-fullscreen):not(.folders-sidebar-visible) &:not(#TopicListHeader) {
    padding-left: var(--window-controls-width);
  }

  @media (max-width: 600px) {
    padding: 0.5rem;
  }
}
