.monaco-editor .margin-view-overlays .line-numbers,
.monaco-editor .margin-view-overlays .myLineDecoration + .line-numbers {
  color: var(--primary-color);
}

.monaco-scrollable-element {
  overflow: visible !important;
}

.monaco-editor-background {
  overflow: visible !important;
  contain: none !important;
}

.vs .monaco-scrollable-element > .scrollbar > .slider {
  z-index: 11;
}

/* NVDA skips the textarea in browse mode if there is no size */
textarea.inputarea {
  width: 1px !important;
  height: 1px !important;
}

.editor-container {
  background: var(--editor-background);
}

.breadcrumbs-demo {
  font-size: 16px;
  margin: 0;
  padding: 10px;
}

.editor-upper-jaw,
.editor-lower-jaw {
  padding-inline: 0 15px;
  padding-block: 15px;
}

.editor-upper-jaw {
  max-width: unset !important;
}

.action-row-container,
.description-container {
  background-color: var(--secondary-background);
  padding: 1rem;
  border: 2px solid var(--quaternary-background);
  /* the max-width is set to keep the characters in a line at below ~70 to help
  with readability */
  max-width: 600px;
}

.challenge-description-header {
  display: flex;
  gap: 7px;
}

.description-container h1 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0.1em 0 0.6rem;
}

.description-highlighter {
  background-color: var(--secondary-background);
  opacity: 1;
  animation-name: example;
  animation-duration: 2s;
  animation-delay: 0.5s;
}

.action-row-container button[aria-hidden='true'] {
  display: none;
}

@keyframes example {
  from {
    background-color: var(--highlight-background);
  }
  to {
    background-color: var(--secondary-background);
  }
}

#description p:last-child {
  margin: 0px;
}

.myEditableLineDecoration {
  background-color: var(--gray-45);
  width: 15px !important;
  margin-inline: 5px !important;
}

.myEditableLineDecoration.tests-passed {
  background-color: #4caf50;
}

.editable-region {
  background-color: var(--primary-background);
  z-index: -1;
}

/* Unless we increase the z-index the help widget gets obscured by the jaws */
.accessibilityHelpWidget {
  z-index: 1;
}

.test-feedback {
  display: flex;
  padding: 0;
  flex-direction: column;
}

.test-feedback p {
  margin: 0.45rem 0 0;
}

.test-feedback svg {
  height: 1.5rem;
  width: auto;
  margin-top: 0.5rem;
}

.test-feedback .test-status,
.test-feedback .hint-status {
  display: flex;
  gap: 0.5rem;
  flex-direction: row;
  margin-top: 1rem;
}

#lowerjaw-qoute,
.test-status-description,
.hint-description {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.fade-in {
  animation-name: FadeIn;
  animation-duration: 0.5s;
  transition-timing-function: linear;
}

@keyframes FadeIn {
  0% {
    opacity: 0;
  }
  /* keep test feedback contents initially hidden for 200ms*/
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.utility-bar {
  display: grid;
  /* 8rem is a safe default for all currently supported languages. Will need to be increased if a new language has longer words for Reset/Help. */
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 0.75rem;
}

.utility-bar > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 6px 0;
}

.progress-bar-container {
  text-align: center;
}

.editor-lower-jaw .progress-bar-wrap-container {
  width: 100% !important;
  margin: 32px 0px;
}

.editor-lower-jaw .progress-bar-background-container {
  width: 100% !important;
}

.hint-status {
  margin-bottom: 18px;
}
