/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.history-sort-options:not([hidden]) {
  display: flex;
  gap: 24px;
}

.history-sort-option {
  display: flex;
  align-items: center;
  gap: 8px;

  & label {
    white-space: nowrap;
  }
}

.show-all-history-footer {
  text-align: center;
  margin-block-end: 24px;
}

.import-history-banner .banner-text {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  gap: 6px;
}

.import-history-banner .banner-text span:first-child {
  font-weight: 600;
}

.import-history-banner [slot="main"] {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 8px;
}

.import-history-banner .buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.choose-browser {
  font-size: 0.87em;
  cursor: pointer;
}

moz-button.close::part(button) {
  background-image: url("chrome://global/skin/icons/close-12.svg");
}

dialog {
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.3);
  padding: 24px;
}

@media (prefers-color-scheme: dark) {
  dialog {
    --in-content-page-background: #42414d;
  }
}
