.ghit-code-line.is-highlight,
.ghit-line-number-cell.is-highlight,
.ghit-diff-code-line.is-highlight,
.ghit-diff-line-number-cell.is-highlight {
  background-color: rgba(255, 193, 7, 0.2);
}

.ghit-code-line,
.ghit-diff-code-line {
  white-space: pre;
}

.ghit-code-line-content,
.ghit-diff-code-line-content {
  display: block;
  line-height: 1;
}

.ghit-line-number-cell,
.ghit-line-number,
.ghit-diff-line-number-cell,
.ghit-diff-line-number {
  line-height: 1;
}

.ghit-code-block .ghit-line-number-cell,
.ghit-code-block .ghit-code-line,
#commit-diffs .ghit-diff-line-number-cell,
#commit-diffs .ghit-diff-code-line {
  padding-top: 0.125rem !important;
  padding-bottom: 0.125rem !important;
}

.ghit-code-block .ghit-line-number-cell,
#commit-diffs .ghit-diff-line-number-cell {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.ghit-code-block {
  position: relative;
  font-size: 0.85rem;
}

.ghit-diff-block {
  font-size: 0.85rem;
}

.ghit-line-number-cell,
.ghit-line-number {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.ghit-diff-line-number-cell,
.ghit-diff-line-number {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.ghit-line-number-cell {
  width: 1%;
  white-space: nowrap;
}

.ghit-line-number-cell * {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.ghit-diff-line-number-cell * {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.ghit-copy-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  color: var(--bs-link-color, #0f766e);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 2px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  gap: 0.25rem;
  position: absolute;
  top: 6px;
  right: 8px;
}

.ghit-copy-link:hover,
.ghit-copy-link:focus {
  color: var(--bs-link-hover-color, #0c5c57);
  background: rgba(255, 255, 255, 0.95);
}

.ghit-copy-link.is-copied {
  color: var(--bs-success, #2b8a3e);
}

.ghit-btn-static {
  pointer-events: none;
  user-select: none;
  cursor: default;
}

.ghit-btn-static:hover,
.ghit-btn-static:focus {
  filter: none;
  box-shadow: none;
}

.ghit-whitespace-dot {
  color: var(--bs-secondary-color, #6c757d);
}

.ghit-pre-wrap {
  white-space: pre-wrap;
}

.ghit-pre-wrap .ghit-code-line,
.ghit-pre-wrap .ghit-diff-code-line {
  white-space: pre-wrap;
}

.ghit-pre-wrap .ghit-code-line-content,
.ghit-pre-wrap .ghit-diff-code-line-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ghit-code-block.ghit-font-small {
  font-size: 0.72rem;
}

.ghit-code-block.ghit-font-large {
  font-size: 1rem;
}

.ghit-diff-title-selectable {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

#commit-diffs .ghit-diff-toggle,
#commit-diffs .ghit-diff-toggle * {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

#commit-diffs .ghit-diff-card-header {
  border-bottom: 0;
  text-transform: none;
}

#commit-diffs .ghit-diff-toggle {
  text-transform: none;
}

.ghit-breadcrumb-case,
.ghit-breadcrumb-case .breadcrumb-item,
.ghit-breadcrumb-case .breadcrumb-item a {
  text-transform: none;
}
