.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  color: #333;
  background: #f8f8f8;
  -webkit-text-size-adjust: none;
}
.highlight {
  color: rgb(0, 90, 23) !important;
  position: relative;
}
.border-red {
  border-radius: 10px !important;
  border-color: rgb(229, 34, 34) !important;
  border-style: solid !important;
  border-width: 2px !important;
}

.border-red-radio {
  border-radius: 10px !important;
  border-color: rgb(229, 34, 34) !important;
  border-style: solid !important;
  border-width: 2px !important;
  padding: 10px;
  padding-top: 1px !important;
}

.highlight::before {
  content: '';
  height: 0.8px;
  width: 0%;
  position: absolute;
  left: 0;
  top: 24px;
  background-color: rgb(0, 90, 23);
  transition: width 0.3s; /* Smooth transition for width /
  z-index: -1; / Ensure the pseudo-element is behind the text */
}

.highlight:hover:before {
  width: 100%;
}
.highlight-bg{
  transition: 0.3s;
}
.highlight-bg:hover {
  background-color: #ffffff !important; 
}
.highlight-footer {
  color: white !important;
  position: relative;
}

.highlight-footer::before {
  content: '';
  height: 0.8px;
  width: 0%;
  position: absolute;
  top: 22px;
  left: 0;
  background-color: white;
  transition: width 0.3s; 
}

.highlight-footer:hover:before {
  width: 100%;
}
.hljs-comment,
.diff .hljs-header {
  color: #998;
  font-style: italic;
}
.hljs-keyword,
.css .rule .hljs-keyword,
.hljs-winutils,
.nginx .hljs-title,
.hljs-subst,
.hljs-request,
.hljs-status {
  color: #333;
  font-weight: bold;
}
.hljs-number,
.hljs-hexcolor,
.ruby .hljs-constant {
  color: #008080;
}
.hljs-string,
.hljs-tag .hljs-value,
.hljs-doctag,
.tex .hljs-formula {
  color: #d14;
}
.hljs-title,
.hljs-id,
.scss .hljs-preprocessor {
  color: #900;
  font-weight: bold;
}
.hljs-list .hljs-keyword,
.hljs-subst {
  font-weight: normal;
}
.hljs-class .hljs-title,
.hljs-type,
.vhdl .hljs-literal,
.tex .hljs-command {
  color: #458;
  font-weight: bold;
}
.hljs-tag,
.hljs-tag .hljs-title,
.hljs-rule .hljs-property,
.django .hljs-tag .hljs-keyword {
  color: #000080;
  font-weight: normal;
}
.hljs-attribute,
.hljs-variable,
.lisp .hljs-body,
.hljs-name {
  color: #008080;
}
.hljs-regexp {
  color: #009926;
}
.hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.lisp .hljs-keyword,
.clojure .hljs-keyword,
.scheme .hljs-keyword,
.tex .hljs-special,
.hljs-prompt {
  color: #990073;
}
.hljs-built_in {
  color: #0086b3;
}
.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-doctype,
.hljs-shebang,
.hljs-cdata {
  color: #999;
  font-weight: bold;
}
.hljs-deletion {
  background: #fdd;
}
.hljs-addition {
  background: #dfd;
}
.diff .hljs-change {
  background: #0086b3;
}
.hljs-chunk {
  color: #aaa;
}
