// 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/.
//
// Copyright (c) KALEIDOS INC

@use "common/refactor/common-refactor.scss" as *;

.debug-panel {
  display: flex;
  flex-direction: column;
  background-color: var(--panel-background-color);
}

.panel-title {
  @include flexCenter;
  @include uppercaseTitleTipography;
  position: relative;
  height: $s-32;
  min-height: $s-32;
  margin: $s-8 $s-8 0 $s-8;
  border-radius: $br-8;
  background-color: var(--panel-title-background-color);

  span {
    @include flexCenter;
    flex-grow: 1;
    color: var(--title-foreground-color-hover);
  }
}

.close-button {
  @extend .button-tertiary;
  position: absolute;
  right: $s-2;
  top: $s-2;
  height: $s-28;
  width: $s-28;
  border-radius: $br-6;
  svg {
    @extend .button-icon;
    stroke: var(--icon-foreground);
  }
}

.checkbox-wrapper {
  @extend .input-checkbox;
  height: $s-32;
  padding: 0;
}

.checkbox-icon {
  @extend .checkbox-icon;
  cursor: pointer;
}

.debug-panel-inner {
  padding: $s-16 $s-8;
}
