/* ViewletMainEditorGroup.css */
:root {
  --EmptyGroupCloseButtonForeground: #c5c5c5;
  --EmptyGroupOpacity: 0.5;
}

.editor-groups-container {
  flex: 1;
  display: flex;
  height: 100%;
  width: 100%;
  contain: strict;
}

.EditorGroupsVertical {
  flex-direction: row;
}

.EditorGroupsHorizontal {
  flex-direction: column;
}

.EditorGroup {
  contain: strict;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  outline: none;
}

.EditorGroup:has(.EmptyGroupCloseButton) {
  opacity: var(--EmptyGroupOpacity);
}

.EditorGroup:focus {
  --EmptyGroupOpacity: 1;
}

.editor-groups-container::-webkit-scrollbar {
  height: 14px;
}

.editor-groups-container::-webkit-scrollbar-track {
  background: transparent;
}

.editor-groups-container::-webkit-scrollbar-thumb {
  background: var(--EditorScrollBarBackground);
}

.editor-groups-container::-webkit-scrollbar-thumb:hover {
}

.EmptyGroupCloseButton {
  display: flex;
  background: transparent;
  border: none;
  color: var(--EmptyGroupCloseButtonForeground);
  align-self: end;
  width: 30px;
  height: 30px;
  contain: strict;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.EditorGroupHeader {
  display: flex;
  contain: strict;
  height: 35px;
  justify-content: space-between;
}

.SplitEditorGroupButton {
  background: transparent;
  color: white;
  border: none;
}

.EmptyGroupHeader {
  display: flex;
  height: 30px;
  contain: strict;
  justify-content: end;
}
