/* stylelint-disable scss/at-import-no-partial-leading-underscore */
/* stylelint-disable-next-line number-max-precision */
.error-view {
  position: relative;
  color: var(--dh-color-negative-bg);
  border-radius: 4px;
  background-color: color-mix(in srgb, var(--dh-color-negative-down-bg) 28%, transparent);
  display: flex;
  flex-direction: column;
  flex-grow: 0;
  font-family: "Fira Mono", menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;
  transition: all 0.15s ease-in-out;
  max-height: 150px;
}
.error-view.expanded {
  max-height: 100%;
}
.error-view .error-view-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-wrap: nowrap;
  width: 100%;
}
.error-view .error-view-header .error-view-header-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: bold;
  flex-shrink: 1;
  overflow: hidden;
  white-space: nowrap;
}
.error-view .error-view-header .error-view-header-text span {
  flex-shrink: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-left: 0.25rem;
}
.error-view .error-view-header .error-view-buttons {
  display: flex;
  flex-direction: row;
  gap: 1px;
  overflow: hidden;
  border-radius: 0 4px 0 0;
  flex-shrink: 0;
}
.error-view .error-view-header .error-view-buttons .btn-danger {
  border-radius: 0;
  color: var(--dh-color-contrast-dark);
  opacity: 0.8;
  padding: 0.25rem;
}
.error-view .error-view-header .error-view-buttons .btn-danger:active {
  color: var(--dh-color-contrast-dark);
}
.error-view .error-view-header .error-view-buttons .error-view-copy-button {
  min-width: 3rem;
  border-radius: 0;
  color: var(--dh-color-contrast-dark);
  opacity: 0.8;
  padding: 0.25rem;
  --spectrum-actionbutton-background-color: var(--dh-color-negative-bg);
  --spectrum-actionbutton-background-color-hover: var(
    --dh-color-negative-hover-bg
  );
  --spectrum-actionbutton-border-color: transparent;
  --spectrum-actionbutton-border-color-hover: transparent;
}
.error-view .error-view-text {
  width: 100%;
  padding: 1rem;
  margin-bottom: 0;
  color: var(--dh-color-negative-bg);
  background-color: transparent;
  border: 0;
  resize: none;
  outline: none;
  white-space: pre;
  flex-grow: 1;
  overflow: auto;
}

/*# sourceMappingURL=ErrorView.css.map */
