.trace-summary {
  border: 1px solid $gray-8;
  border-radius: 2px;
}

.trace-summary__trace-id {
  font-size: 14px;
  padding-left: 4px;
  background-color: $gray-11;
}

.trace-summary__upper-container {
  display: flex;
  border-top: 1px solid $gray-9;
}

.trace-summary__bars {
  width: 100%;
}

.trace-summary__buttons {
  width: 58px;
  border-left: 1px solid $gray-9;
  padding: 0 2px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  & a {
    color: $gray-2;
    text-decoration: none;
  }
}

.trace-summary__button {
  cursor: pointer;
}

.trace-summary__lower-container {
  border-top: 1px solid $gray-9;
  background-color: $gray-11;
  display: flex;
  flex-wrap: wrap;
  padding: 4px;
}

.trace-summary__badge-wrapper {
  padding: 4px 4px;
}

.trace-summary__bar-container {
  position: relative;
  cursor: pointer;
}

.trace-summary__bar-wrapper {
  padding: 1px;
  box-sizing: border-box;
  position: relative;
}

.trace-summary__upper-bar-label {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.trace-summary__bar-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 4px;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
}

.trace-summary__bar {
  height: 24px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.trace-summary__timeline-wrapper {
  padding: 8px;
  background-color: $gray-11;
}
