/*
 * Copyright 2023 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  font-size: inherit;
}

.wrapper {
  padding: var(--sys-size-11);
  flex: 1;
}

h1 {
  font-size: var(--sys-typescale-headline3-size);
  line-height: var(--sys-typescale-headline3-line-height);
  letter-spacing: 0.02em;
  color: var(--sys-color-on-surface);
  margin: 0;
  font-weight: normal;
}

.row-label {
  font-weight: 500;
  font-size: var(--sys-typescale-body5-size);
  line-height: var(--sys-typescale-body5-line-height);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--sys-color-secondary);
  margin-bottom: var(--sys-size-5);
  margin-top: var(--sys-size-13);
  display: flex;
  align-items: center;
  gap: 3px;
}

.footer {
  display: flex;
  justify-content: center;
  border-top: var(--sys-size-1) solid var(--sys-color-divider);
  padding: var(--sys-size-6);
  background: var(--sys-color-cdt-base-container);
}

.controls {
  display: flex;
}

.error {
  margin: var(--sys-size-8) 0 0;
  padding: var(--sys-size-5);
  background: var(--sys-color-error-container);
  color: var(--sys-color-error);
}

.row-label .link:focus-visible {
  outline: var(--sys-color-state-focus-ring) auto var(--sys-size-1);
}

.header-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  gap: var(--sys-size-3);
  line-height: 1.1;
  padding: var(--sys-size-3);
}

.checkbox-container {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
}

input[type="checkbox"]:focus-visible {
  outline: var(--sys-color-state-focus-ring) auto var(--sys-size-1);
}

devtools-icon[name="help"] {
  width: var(--sys-size-8);
  height: var(--sys-size-8);
}
