/* ViewletIframeInspector.css */
:root {
  --IframeInspectorColor: #e1e2de;
  --KeyForeground: white;
}

.IframeInspector {
  display: flex;
  z-index: 1;
  flex-direction: column;
  position: absolute;
  color: var(--IframeInspectorColor);
}

.IframeInspectorHeader {
  display: flex;
  justify-content: space-around;
  contain: content;
  height: 20px;
  contain: strict;
}

.IframeInspectorGrid {
  outline: none;
  contain: content;
}

.IframeInspectorMessages {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.IframeInspectorMessage {
  display: grid;
  color: var(--WorkbenchForeground);
  grid-template-columns: 1fr 1fr;
  height: 24px;
  contain: strict;
}

.IframeInspectorMessageSelected {
  color: var(--ListActiveSelectionForeground);
  background: var(--ListActiveSelectionBackground);
}

.InspectorMessageData {
  contain: strict;
  margin: 0;
  padding-right: 20px;
}

.InspectorMessageLength {
  text-align: right;
  padding-right: 10px;
}

.IframeInspectorSelectedContent {
  height: 220px;
  contain: strict;
  display: flex;
  flex-grow: 0;
  justify-content: center;
  align-items: center;
}

.IframeInspectorResizer {
  height: 2px;
  background: var(--SashHoverBorder, #3d5252);
  width: 100%;
  contain: size;
  cursor: ns-resize;
}

.IframeInspectorSelectedContentPre {
  contain: strict;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  margin: 0;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.IframeInspectorSelectedContentList {
  padding: 0;
  margin: 0;
  list-style: none;
  flex: 1;
  height: 100%;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  contain: strict;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  margin: 0;
  flex-direction: column;
}

.IframeInspectorSelectedContentItem {
  height: 20px;
  contain: strict;
}

.IframeInspectorSelectedContentKey {
  color: var(--KeyForeground);
}

.FilterSection {
  padding: 8px;
  border-bottom: 1px solid var(--vscode-panel-border);
  height: 50px;
  contain: strict;
}

.FilterInput {
  width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--vscode-input-border);
  background: var(--vscode-input-background);
  color: var(--vscode-input-foreground);
  font-size: 13px;
  line-height: 1.4;
}

.FilterInput:focus {
  outline: none;
  border-color: var(--vscode-focusBorder);
}

.IframeInspectorNoMessagesFound {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0;
  padding-bottom: 10px;
}
