/* 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/. */

@import "chrome://browser/skin/customizableui/panelUI-shared.css";

#downloadsPanel,
#widget-overflow,
#appMenu-popup,
#customizationui-widget-panel,
#identity-popup,
#permission-popup,
#translations-panel,
#protections-popup,
#appMenu-notification-popup,
#BMB_bookmarksPopup,
#editBookmarkPanel {
  margin-top: -1px;
}

.panel-subview-body {
  scrollbar-color: color-mix(in srgb, currentColor 26%, transparent) transparent;
}

#appMenu-mainView > .panel-subview-body > .panel-banner-item {
  padding-inline-start: 18px;
}

.subviewbutton:not([image],[targetURI],.bookmark-item) > .menu-iconic-left {
  display: none;
}

.PanelUI-remotetabs-clientcontainer > label[itemtype="client"] {
  padding-inline-start: 6px;
}

.PanelUI-remotetabs-notabsforclient-label {
  margin-inline-start: 19px;
  font-size: 13px;
}

#PanelUI-remotetabs[mainview] .PanelUI-remotetabs-notabsforclient-label {
  margin-inline-start: 23px;
}

#PanelUI-remotetabs-tabslist {
  padding-bottom: 4px;
}

.panel-button {
  appearance: none;
  border-radius: 2px;
  background-color: var(--arrowpanel-dimmed);
  color: inherit;
  padding: 2px 6px;
}

.panel-button:not([disabled]):hover {
  background-color: var(--panel-item-hover-bgcolor);
}

.panel-button:not([disabled]):hover:active {
  background-color: var(--panel-item-active-bgcolor);
}

.panel-button:focus-visible {
  outline: var(--focus-outline);
}
