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

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #css_wrapper_metadata_end */

:host {
  display: block;
  padding: 8px;
}

pre {
  white-space: pre-wrap;
}

button {
  padding: 4px;
}

div#iwa-update-manifest-version {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

div#iwa-update-manifest-dialog-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 8px;
}

dialog {
  border: 0;
  border-radius: 8px;

  > * {
    margin: 8px 0;
  }
}

dialog[open] {
  display: flex;
  flex-direction: column;
}

div .dialog-buttons {
  display: flex;
  gap: 4px;
}

.iwa-dev-mode-list-item {
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.iwa-dev-mode-list-item>* {
  margin: 4px;
}

.dev-iwa-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
  >* {
      padding: 4px;
    }
}

#app-index {
  margin: 8px 0;
  padding: 8px;
  border: 1px solid rgba(128, 128, 128, 0.5);
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
}

#app-index:empty {
  display: none;
}

#app-index a {
  display: block;
  padding: 2px 0;
}

#app-index a.active {
  font-weight: bold;
}
