.formEngine {
  height: 100%;
  overflow: hidden;
  flex-grow: 1;
}

.container {
  display: flex;
  height: 100%;
  overflow-y: hidden;
  flex-direction: column;
}

.body {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.loader {
  @extend .body;
  height: 1rem;
}

.formEngineContainer :global(.cds--label) {
  font-size: 0.875rem;
}

.content {
  height: var(--desktop-workspace-window-height);
  margin: 0;
  flex-basis: 65%;
  flex-grow: 1;
  flex-shrink: 1;
  position: relative;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contentBody {
  overflow-y: auto;
  width: inherit;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.minifiedButtons {
  button {
    height: 4rem;
    display: flex;
    align-content: flex-start;
    align-items: baseline;
    min-width: 50%;
  }
}

:global(.omrs-breakpoint-lt-desktop) {
  .content {
    height: var(--tablet-workspace-window-height);
  }

  .minifiedButtons {
    border-top: 1px solid #ededed;
    padding: 1.5rem 1rem;
    background-color: white;
  }
}

.markdownContainer {
  padding: 1rem;
}

.linearActivity {
  overflow: hidden;
  width: 100%;
  height: 4px;
  background-color: var(--brand-03);
  margin-top: 0px;
}

.determinate {
  position: relative;
  max-width: 100%;
  height: 100%;
  -webkit-transition: width 500ms ease-out 1s;
  -moz-transition: width 500ms ease-out 1s;
  -o-transition: width 500ms ease-out 1s;
  transition: width 500ms ease-out 1s;
  background-color: var(--brand-02);
}

.indeterminate {
  position: relative;
  width: 100%;
  height: 100%;
}

.indeterminate:before {
  content: '';
  position: absolute;
  height: 100%;
  background-color: var(--brand-02);
  animation: indeterminate_first 2.5s infinite ease-out;
}

.indeterminate:after {
  content: '';
  position: absolute;
  height: 100%;
  background-color: var(--brand-01);
  animation: indeterminate_second 2.5s infinite ease-in;
}

@keyframes indeterminate_first {
  0% {
    left: -100%;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 10%;
  }
}

@keyframes indeterminate_second {
  0% {
    left: -150%;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 10%;
  }
}
