/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/markdown.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
.markdown-content {
  /* Base styles */
  color: #333333;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 18px;
  line-height: 1.6;
  
  @media (prefers-color-scheme: dark) {
    color: #f1f1f1;
  }

  /* Headings */
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 500;
  }

  h1 { font-size: 2.5em; }
  h2 { font-size: 2em; }
  h3 { font-size: 1.5em; }
  h4 { font-size: 1.2em; }
  h5 { font-size: 1.1em; }
  h6 { font-size: 1em; }

  /* Paragraphs and spacing */
  p {
    margin: 0;
    line-height: 1.6;
  }

  /* Text formatting */
  strong, b {
    font-weight: 600;
  }

  em, i {
    font-style: italic;
  }

  /* Strikethrough - GFM feature */
  del, s {
    text-decoration: line-through;
  }

  /* Lists */
  ul, ol {
    margin: 0;
    padding-left: 2em;
    line-height: 1.6;
  }

  li {
    margin: 0;
    padding-left: 0.5em;
  }

  ul li {
    list-style-type: disc;
  }

  ol li {
    list-style-type: decimal;
  }

  /* Task lists - GFM feature */
  ul.contains-task-list {
    list-style-type: none;
    padding-left: 0;
  }

  .task-list-item {
    list-style-type: none;
    padding-left: 1.5em;
    position: relative;
  }

  .task-list-item-checkbox {
    position: absolute;
    left: 0;
    top: 0.25em;
    margin-right: 0.5em;
  }

  /* Links */
  a {
    color: rgb(20, 184, 166);
    text-decoration: underline;
    font-weight: 500;
    
    @media (prefers-color-scheme: dark) {
      color: rgb(168 85 247);
    }
    
    &:hover {
      opacity: 0.8;
      color: rgb(13, 148, 136);
    }
  }

  /* Code blocks */
  pre {
    background-color: #f5f5f5;
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1em 0;
    
    @media (prefers-color-scheme: dark) {
      background-color: #1e1e1e;
    }
  }

  code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    padding: 0 0.4em;
    background-color: #f5f5f5;
    border-radius: 3px;
    color: #333;
    
    @media (prefers-color-scheme: dark) {
      background-color: #1e1e1e;
      color: #f1f1f1;
    }
  }

  /* Blockquotes */
  blockquote {
    border-left: 4px solid rgb(20, 184, 166);
    margin: 0;
    padding-left: 1em;
    font-style: italic;
    background-color: rgba(20, 184, 166, 0.1);
    border-radius: 0 4px 4px 0;
  }

  /* Tables - Theme-matching styling */
  table {
    margin: 1em 0; /* Dark background matching the site theme */
    border-radius: 4px; /* Remove this if you only want horizontal scroll */
    overflow-x: hidden; 
    border: 1x solid #4B5563; /* Slightly thicker and lighter border for better visibility */
    box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.1); /* Changed from purple to teal */
  }

  th, td {
    border: 1px solid #4B5563; /* Lighter border color for better contrast */
    padding: 0.75em;
    text-align: left;
    
    @media (prefers-color-scheme: dark) {
      border-color: #444;
    }
  }

  /* Horizontal rule */
  hr {
    border: 0;
    border-top: 1px solid #444;
    margin: 1.5em 0;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1em 0;
  }

  /* Definition Lists */
  dl {
    margin: 1em 0;
  }

  dt {
    font-weight: bold;
    margin-top: 0.5em;
  }

  dd {
    margin-left: 2em;
    margin-bottom: 0.5em;
  }
}

/* Terminal markdown style */
.markdown-terminal {
  /* Base styles */
  color: #00FF00;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  line-height: 1.5;

  /* Headings */
  h1, h2, h3, h4, h5, h6 {
    color: #00FF00;
    line-height: 1.2;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

  h1 { font-size: 1.5em; }
  h2 { font-size: 1.3em; }
  h3 { font-size: 1.2em; }
  h4 { font-size: 1.1em; }
  h5 { font-size: 1em; }
  h6 { font-size: 0.9em; }

  /* Paragraphs and spacing */
  p {
    margin: 0.75em 0;
    line-height: 1.5;
  }

  /* Text formatting */
  strong, b {
    color: #FFFFFF;
    font-weight: bold;
  }

  em, i {
    color: #AAFFAA;
  }

  /* Lists */
  ul, ol {
    margin: 0.75em 0;
    padding-left: 2em;
  }

  li {
    margin: 0.25em 0;
  }

  ul li {
    list-style-type: '> ';
  }

  ol li {
    list-style-type: decimal;
  }

  /* Links */
  a {
    color: #00FFFF;
    text-decoration: underline;
    overflow-wrap: break-word;
    
    
    &:hover {
      color: #AAFFFF;
    }
  }

  /* Code blocks */
  pre {
    background-color: #001100;
    border: 1px solid #00AA00;
    padding: 0.5em;
    margin: 0.75em 0;
    overflow-x: auto;
  }

  code {
    color: #FFFF00;
    background-color: #001100;
    padding: 0.1em 0.3em;
  }

  /* Blockquotes */
  blockquote {
    border-left: 2px solid #00AA00;
    margin: 0.75em 0;
    padding-left: 1em;
    color: #AAFFAA;
  }

  /* Tables */
  table {
    border-collapse: collapse;
    width: 100%;
    margin: 0.75em 0;
    border: 1px solid #00AA00;
  }

  th, td {
    border: 1px solid #00AA00;
    padding: 0.4em;
    text-align: left;
  }

  th {
    background-color: #001100;
    color: #FFFFFF;
  }

  /* Horizontal rule */
  hr {
    border: 0;
    border-top: 1px dashed #00AA00;
    margin: 1em 0;
  }
  
  /* Images */
  img {
    max-width: 100%;
    border: 1px solid #00AA00;
    padding: 2px;
    background-color: #000000;
  }
} 
