/**
 * Sentry Sentinel Dark Theme for Prism.js
 * Beautiful, accessible dark theme inspired by Sentry's brand colors
 * 
 * @author Sentry
 * @version 1.0.0
 */

code[class*="language-"],
pre[class*="language-"] {
  color: #f9f8f9;
  background: none;
  text-shadow: none;
  font-family: "JetBrains Mono", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 1em;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  tab-size: 4;
  hyphens: none;
}

/* Remove any default backgrounds from all tokens */
.token {
  background: transparent;
}

/* Code blocks */
pre[class*="language-"] {
  padding: 1em;
  margin: .5em 0;
  overflow: auto;
  background: #181225;
  border-radius: 0.3em;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
  padding: .1em .3em;
  border-radius: .3em;
  background: #24202b;
  white-space: normal;
}

/* Comments */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #898294;
  font-style: italic;
}

/* Punctuation */
.token.punctuation {
  color: #D5D2DA;
}

/* Namespace */
.token.namespace {
  opacity: .7;
}

/* Properties */
.token.property {
  color: #FF70BC;
}

/* Tags, booleans, numbers */
.token.tag,
.token.boolean,
.token.number,
.token.symbol,
.token.deleted {
  color: #FDB81B;
}

/* Constants */
.token.constant {
  color: #7553FF;
}

/* Selectors, attributes, names */
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #83da90;
}

/* Operators */
.token.operator {
  color: #FF45A8;
  background: transparent;
}

/* Entities, URLs */
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #3EDCFF;
  background: transparent;
}

/* Keywords */
.token.atrule,
.token.attr-value,
.token.keyword {
  color: #9E86FF;
  font-weight: bold;
}

/* Functions */
.token.function {
  color: #226DFC;
}

/* Class names */
.token.class-name {
  color: #FF45A8;
}

/* Regex, important, variables */
.token.regex,
.token.important,
.token.variable {
  color: #FF9838;
}

/* Important, bold */
.token.important,
.token.bold {
  font-weight: bold;
}

/* Italic */
.token.italic {
  font-style: italic;
}

/* Entity */
.token.entity {
  cursor: help;
}

/* Inserted */
.token.inserted {
  background: rgba(94, 206, 115, 0.15);
  color: #5ece73;
}

/* Deleted */
.token.deleted {
  background: rgba(254, 65, 68, 0.15);
  color: #fe4144;
}

/* Selection */
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
  background: rgba(117, 83, 255, 0.4);
}

/* Line highlighting */
.line-highlight {
  position: absolute;
  left: 0;
  right: 0;
  padding: inherit 0;
  margin-top: 1em;
  background: rgba(117, 83, 255, 0.1);
  pointer-events: none;
  line-height: inherit;
  white-space: pre;
}

/* Line numbers */
.line-numbers .line-numbers-rows {
  border-right: 1px solid #2e2936;
}

.line-numbers-rows > span:before {
  color: #898294;
}

/* Match braces */
.token.match-braces {
  outline: 1px solid #FF45A8;
  background-color: rgba(255, 69, 168, 0.1);
}
