/**
 * Universal box-sizing and overflow fixes
 */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

/**
 * Mixins - Define these first before using them
 */
/**
 * Custom scrollbar styling for dark theme
 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(23, 32, 36, 0.8);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(192, 239, 254, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(192, 239, 254, 0.5);
}
::-webkit-scrollbar-thumb:active {
  background: rgba(192, 239, 254, 0.7);
}

::-webkit-scrollbar-corner {
  background: rgba(23, 32, 36, 0.8);
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(192, 239, 254, 0.3) rgba(23, 32, 36, 0.8);
}

/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  color: rgb(192, 239, 254);
  background-color: rgb(23, 32, 36);
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Definition Lists
 */
dl {
  margin-bottom: 30px;
}
dl dt {
  font-weight: bold;
  color: rgb(192, 239, 254);
  margin-top: 15px;
  margin-bottom: 7.5px;
  border-bottom: 1px solid rgba(192, 239, 254, 0.2);
  padding-bottom: 2px;
  display: inline-block;
}
dl dt:first-child {
  margin-top: 0;
}
dl dd {
  margin-left: 30px;
  margin-bottom: 7.5px;
  color: rgba(192, 239, 254, 0.9);
  padding-left: 7.5px;
  border-left: 2px solid rgba(192, 239, 254, 0.3);
}
dl dd:last-child {
  margin-bottom: 15px;
}
dl dd + dd {
  margin-top: 3.75px;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: rgb(192, 239, 254);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(192, 239, 254, 0.2);
  padding-bottom: 0.25em;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.2em;
  border-bottom-color: rgba(192, 239, 254, 0.4);
  border-bottom-width: 2px;
  color: rgb(210, 245, 255);
}

h2 {
  font-size: 1.8em;
  border-bottom-color: rgba(192, 239, 254, 0.3);
}

h3 {
  font-size: 1.5em;
  border-bottom-color: rgba(192, 239, 254, 0.2);
}

h4 {
  font-size: 1.25em;
  border-bottom-color: rgba(192, 239, 254, 0.15);
}

h5 {
  font-size: 1.1em;
  border-bottom-color: rgba(192, 239, 254, 0.1);
}

h6 {
  font-size: 1em;
  border-bottom: none;
  color: rgba(192, 239, 254, 0.9);
}

/**
 * Links
 */
a {
  color: rgb(100, 200, 255);
  text-decoration: none;
}
a:visited {
  color: #97daff;
}
a:hover {
  color: rgb(192, 239, 254);
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: rgba(192, 239, 254, 0.7);
  border-left: 4px solid rgba(192, 239, 254, 0.3);
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  font-size: 0.9375em;
  border-radius: 3px;
  color: rgb(192, 239, 254);
}

/* Inline code styling */
code {
  padding: 1px 5px;
  background-color: rgba(0, 0, 0, 0.3);
}

/* Remove background from code inside pre blocks to prevent double backgrounds */
pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
  border: 1px solid rgba(192, 239, 254, 0.3);
  position: relative;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  /* Custom scrollbar for regular pre blocks */
}
pre::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
pre::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
pre::-webkit-scrollbar-thumb {
  background: rgba(192, 239, 254, 0.4);
  border-radius: 3px;
}
pre::-webkit-scrollbar-thumb:hover {
  background: rgba(192, 239, 254, 0.6);
}
.highlight pre {
  padding: 0;
  border: 0;
  background-color: transparent;
  border-radius: 0;
  /* Remove scrollbar styling - handled by .highlight pre */
}
.highlight pre::-webkit-scrollbar {
  display: none;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: rgba(192, 239, 254, 0.7);
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(192, 239, 254);
  border-collapse: collapse;
  border: 1px solid rgba(192, 239, 254, 0.3);
}
table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}
table th, table td {
  padding: 10px 15px;
}
table th {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(192, 239, 254, 0.3);
  border-bottom-color: rgba(192, 239, 254, 0.4);
}
table td {
  border: 1px solid rgba(192, 239, 254, 0.3);
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgba(192, 239, 254, 0.3);
  border-bottom: 1px solid rgba(192, 239, 254, 0.3);
  min-height: 55.95px;
  background-color: rgba(0, 0, 0, 0.2);
  position: relative;
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: rgb(192, 239, 254);
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
.site-nav .page-link:hover {
  color: rgb(100, 200, 255);
}
.site-nav .page-link .github-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  fill: currentColor;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: rgb(23, 32, 36);
    border: 1px solid rgba(192, 239, 254, 0.3);
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgba(192, 239, 254, 0.7);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    padding: 5px 10px;
    margin-left: 20px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid rgba(192, 239, 254, 0.3);
  padding: 30px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.social-media-list {
  text-align: center;
}

.footer-col-wrapper {
  font-size: 15px;
  color: rgba(192, 239, 254, 0.7);
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
.github-link-container {
  text-align: right;
  margin: 0;
}

.github-profile-link {
  color: rgb(192, 239, 254);
  text-decoration: none;
}
.github-profile-link:hover {
  color: rgb(100, 200, 255);
  text-decoration: underline;
}

/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

/**
 * Table of Contents
 */
.table-of-contents {
  width: 220px;
  min-width: 220px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(192, 239, 254, 0.3);
  border-radius: 4px;
  padding: 0.75rem;
  position: fixed;
  top: 90px;
  left: 20px;
  z-index: 1000; /* Ensure it stays above other content */
}
@media screen and (max-width: 800px) {
  .table-of-contents {
    display: none;
  }
}
.table-of-contents .toc-header {
  color: rgb(192, 239, 254);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(192, 239, 254, 0.3);
}
.table-of-contents .toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.table-of-contents .toc-item {
  margin: 0;
}
.table-of-contents .toc-item.toc-h1 {
  margin: 0.5rem 0 0.25rem 0;
}
.table-of-contents .toc-item.toc-h1 .toc-link {
  font-weight: 600;
  font-size: 0.9rem;
}
.table-of-contents .toc-item.toc-h2 {
  margin: 0.25rem 0 0.125rem 1rem;
}
.table-of-contents .toc-item.toc-h2 .toc-link {
  font-weight: 500;
  font-size: 0.85rem;
}
.table-of-contents .toc-item.toc-h3 {
  margin: 0.125rem 0 0.125rem 2rem;
}
.table-of-contents .toc-item.toc-h3 .toc-link {
  font-weight: 400;
  font-size: 0.8rem;
}
.table-of-contents .toc-link {
  display: block;
  color: rgba(192, 239, 254, 0.7);
  text-decoration: none;
  padding: 0.25rem 0;
  border-radius: 3px;
  transition: all 0.2s ease;
  line-height: 1.3;
}
.table-of-contents .toc-link:hover {
  color: rgb(192, 239, 254);
  background: rgba(192, 239, 254, 0.1);
  text-decoration: none;
}
.table-of-contents .toc-link.active {
  color: rgb(100, 200, 255);
  background: rgba(100, 200, 255, 0.1);
  border-left: 3px solid rgb(100, 200, 255);
  padding-left: 0.5rem;
  margin-left: -0.5rem;
}
.table-of-contents::-webkit-scrollbar {
  width: 4px;
}
.table-of-contents::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}
.table-of-contents::-webkit-scrollbar-thumb {
  background: rgba(192, 239, 254, 0.3);
  border-radius: 2px;
}
.table-of-contents::-webkit-scrollbar-thumb:hover {
  background: rgba(192, 239, 254, 0.5);
}

@media screen and (min-width: 801px) {
  body.has-toc .page-content {
    /* TOC is at left: 20px with width: 220px, so ends at 240px. Add small gap. */
    margin-left: 250px; /* TOC left (20px) + TOC width (220px) + small gap (10px) */
    margin-right: 20px;
  }
  /* Remove both left and right padding from .wrapper when TOC is present */
  body.has-toc .wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(192, 239, 254, 0.6);
  padding-bottom: 10px;
}

.post-meta {
  font-size: 14px;
  color: rgba(192, 239, 254, 0.7);
}

.post-link {
  display: block;
  font-size: 20px;
  color: rgb(100, 200, 255);
}
.post-link:hover {
  color: rgb(192, 239, 254);
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Categories
 */
.post-categories {
  display: inline-block;
  margin-left: 0.5rem;
}
.post-categories .category-link {
  color: rgb(100, 200, 255);
  text-decoration: none;
  font-size: 14px;
}
.post-categories .category-link:hover {
  color: rgb(192, 239, 254);
  text-decoration: underline;
}

.category-tag {
  display: inline-block;
  background: rgba(100, 200, 255, 0.1);
  color: rgb(100, 200, 255);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  text-decoration: none;
  margin: 2px 4px 2px 0;
  border: 1px solid rgba(100, 200, 255, 0.3);
  transition: all 0.2s ease;
}
.category-tag:hover {
  background: rgba(100, 200, 255, 0.2);
  color: rgb(192, 239, 254);
  border-color: rgba(100, 200, 255, 0.5);
  text-decoration: none;
}

.post-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.15rem;
  flex-wrap: wrap;
}
.post-item-header .post-meta {
  margin: 0;
}
.post-item-header .post-categories {
  margin-left: 0;
  margin-top: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.category-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(192, 239, 254, 0.3);
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
}
.category-card:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(100, 200, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.category-card h3 {
  margin: 0 0 0.5rem 0;
  border-bottom: none;
}
.category-card h3 a {
  color: rgb(192, 239, 254);
  text-decoration: none;
}
.category-card h3 a:hover {
  color: rgb(100, 200, 255);
}
.category-card .category-count {
  color: rgba(192, 239, 254, 0.7);
  font-size: 14px;
  margin: 0 0 1rem 0;
}
.category-card .category-preview .preview-post {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.category-card .category-preview .preview-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.category-card .category-preview .preview-post a {
  color: rgba(192, 239, 254, 0.7);
  text-decoration: none;
  flex: 1;
  margin-right: 1rem;
}
.category-card .category-preview .preview-post a:hover {
  color: rgb(192, 239, 254);
}
.category-card .category-preview .preview-post .preview-date {
  color: rgba(192, 239, 254, 0.7);
  font-size: 0.8rem;
  white-space: nowrap;
}
.category-card .category-preview .more-posts {
  margin-top: 0.75rem;
  text-align: center;
}
.category-card .category-preview .more-posts a {
  color: rgb(100, 200, 255);
  text-decoration: none;
  font-size: 14px;
}
.category-card .category-preview .more-posts a:hover {
  color: rgb(192, 239, 254);
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  .post-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-item-header .post-categories {
    margin-top: 0.5rem;
  }
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
/**
 * Syntax highlighting styles - Custom dark theme optimized for RGB(23,32,36) background
 */
.highlight {
  margin-bottom: 1em;
  position: relative;
}
.highlighter-rouge .highlight {
  background-color: transparent;
}
.highlight pre {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 1em;
  overflow-x: auto;
  border: 1px solid rgba(192, 239, 254, 0.3);
  margin: 0;
  /* Custom scrollbar for code blocks */
}
.highlight pre::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.highlight pre::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.highlight pre::-webkit-scrollbar-thumb {
  background: rgba(192, 239, 254, 0.4);
  border-radius: 3px;
}
.highlight pre::-webkit-scrollbar-thumb:hover {
  background: rgba(192, 239, 254, 0.6);
}
.highlight .c {
  color: #75715e;
  font-style: italic;
}
.highlight .err {
  color: #960050;
  background-color: #1e0010;
}
.highlight .k {
  color: #66d9ef;
}
.highlight .l {
  color: #ae81ff;
}
.highlight .n {
  color: #c0efff;
}
.highlight .o {
  color: #f92672;
}
.highlight .p {
  color: #c0efff;
}
.highlight .cm {
  color: #75715e;
  font-style: italic;
}
.highlight .cp {
  color: #75715e;
  font-style: italic;
}
.highlight .c1 {
  color: #75715e;
  font-style: italic;
}
.highlight .cs {
  color: #75715e;
  font-style: italic;
}
.highlight .gd {
  color: #f92672;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gi {
  color: #a6e22e;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #75715e;
}
.highlight .kc {
  color: #66d9ef;
}
.highlight .kd {
  color: #66d9ef;
}
.highlight .kn {
  color: #f92672;
}
.highlight .kp {
  color: #66d9ef;
}
.highlight .kr {
  color: #66d9ef;
}
.highlight .kt {
  color: #66d9ef;
}
.highlight .ld {
  color: #e6db74;
}
.highlight .m {
  color: #ae81ff;
}
.highlight .s {
  color: #e6db74;
}
.highlight .na {
  color: #a6e22e;
}
.highlight .nb {
  color: #c0efff;
}
.highlight .nc {
  color: #a6e22e;
}
.highlight .no {
  color: #66d9ef;
}
.highlight .nd {
  color: #a6e22e;
}
.highlight .ni {
  color: #c0efff;
}
.highlight .ne {
  color: #a6e22e;
}
.highlight .nf {
  color: #a6e22e;
}
.highlight .nl {
  color: #c0efff;
}
.highlight .nn {
  color: #c0efff;
}
.highlight .nx {
  color: #a6e22e;
}
.highlight .py {
  color: #c0efff;
}
.highlight .nt {
  color: #f92672;
}
.highlight .nv {
  color: #c0efff;
}
.highlight .ow {
  color: #f92672;
}
.highlight .w {
  color: #c0efff;
}
.highlight .mf {
  color: #ae81ff;
}
.highlight .mh {
  color: #ae81ff;
}
.highlight .mi {
  color: #ae81ff;
}
.highlight .mo {
  color: #ae81ff;
}
.highlight .sb {
  color: #e6db74;
}
.highlight .sc {
  color: #e6db74;
}
.highlight .sd {
  color: #e6db74;
}
.highlight .s2 {
  color: #e6db74;
}
.highlight .se {
  color: #ae81ff;
}
.highlight .sh {
  color: #e6db74;
}
.highlight .si {
  color: #e6db74;
}
.highlight .sx {
  color: #e6db74;
}
.highlight .sr {
  color: #e6db74;
}
.highlight .s1 {
  color: #e6db74;
}
.highlight .ss {
  color: #e6db74;
}
.highlight .bp {
  color: #c0efff;
}
.highlight .vc {
  color: #c0efff;
}
.highlight .vg {
  color: #c0efff;
}
.highlight .vi {
  color: #c0efff;
}
.highlight .il {
  color: #ae81ff;
}

/**
 * Prism.js theme customization for dark theme
 */
code[class*=language-],
pre[class*=language-] {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace !important;
  color: #c0efff !important;
  background: transparent !important;
  text-shadow: none !important;
}

/* Ensure Prism containers have consistent backgrounds */
pre[class*=language-] {
  background: rgba(0, 0, 0, 0.4) !important;
}

/* Remove any background from code elements inside Prism blocks */
pre[class*=language-] code[class*=language-] {
  background: transparent !important;
}

/* Override Prism Tomorrow theme colors to match our theme */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #75715e !important;
}

.token.punctuation {
  color: #c0efff !important;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f92672 !important;
}

.token.boolean,
.token.number {
  color: #ae81ff !important;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #a6e22e !important;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
  color: #c0efff !important;
}

.token.atrule,
.token.attr-value,
.token.function {
  color: #e6db74 !important;
}

.token.keyword {
  color: #66d9ef !important;
}

.token.regex,
.token.important {
  color: #fd971f !important;
}

/* Inline code */
:not(pre) > code[class*=language-] {
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 0.1em 0.3em !important;
  border-radius: 0.3em !important;
}

/* Block code - ensure consistent background */
pre[class*=language-] > code[class*=language-] {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Code blocks with language labels */
pre[class*=language-] {
  position: relative;
}
pre[class*=language-]::before {
  content: attr(data-lang);
  position: absolute;
  top: 0.5em;
  right: 1em;
  font-size: 0.75em;
  color: #75715e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/**
 * Copy button styles for code blocks
 */
.copy-button {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace !important;
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(192, 239, 254, 0.3) !important;
  border-radius: 4px !important;
  color: rgba(192, 239, 254, 0.7) !important;
  cursor: pointer !important;
  font-size: 0.75em !important;
  padding: 0.3em 0.6em !important;
  position: absolute !important;
  right: 0.5em !important;
  top: 0.5em !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
}
.copy-button:hover {
  background: rgba(0, 0, 0, 0.8) !important;
  color: rgb(192, 239, 254) !important;
  border-color: rgb(100, 200, 255) !important;
}
.copy-button:focus {
  outline: 2px solid rgb(100, 200, 255) !important;
  outline-offset: 2px !important;
}
.copy-button.copied {
  background: rgba(166, 226, 46, 0.2) !important;
  border-color: #a6e22e !important;
  color: #a6e22e !important;
}

/*# sourceMappingURL=main.css.map */