.code-diff-block-space {
  display: grid;
  grid-auto-flow: row;
  justify-items: end;
  background-color: #2c353a;
  color: #dae3e3;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;

  [class~="cm-lineNumbers"] {
    width: 29px;
  }

  [class~="cm-gutters"] {
    background-color: transparent;
    color: #dae3e3;
  }

  [class~="cm-deletedChunk"] {
    background-color: #df736533;
  }

  [class~="cm-changedLine"] {
    padding-left: 6px;
    background-color: #0ca1a633 !important;
  }

  [class~="cm-scroller"] {
    font-size: 14px;
    line-height: 19px;
  }
}

.code-diff-block-container {
  width: 100%;
}

.code-diff-block-copy-button {
  padding: 10px;
  width: fit-content;

  [role="tooltip"] {
    top: 8px;
  }

  button {
    align-items: center;

    &:focus-visible {
      outline: none;
    }
  }

  svg {
    color: #dae3e3 !important;
  }
}

.code-diff-block-copy-button-text {
  color: #dae3e3;
}

.summary-node {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: space-between;

  .title {
    word-break: break-word;
  }

  .buttons {
    display: flex;
    gap: 11px;
    position: relative;

    button {
      color: #008184;
      flex-direction: row-reverse;

      & > svg {
        height: 18px;
        width: 18px;

        & > path {
          fill: #008184;
        }
      }
    }

    [role="tooltip"] {
      top: 20px;
    }

    .apply-tooltip {
      pointer-events: none;
    }
  }
}

.code-block-copy-button {
  padding: 10px;
  width: fit-content;

  [role="tooltip"] {
    top: 8px;
  }

  button {
    align-items: center;

    &:focus-visible {
      outline: none;
    }
  }

  svg {
    color: #dae3e3 !important;
  }
}

.code-block-copy-button-text {
  color: #dae3e3;
}
