/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
    --background-color: #ffffff;
    --text-color: #333333;
    --accent-color: #1c7800;
    --accent-secondary: #8fce3a;
    --secondary-background: #F2F6F7;
    --secondary-text-color: #6b7280;
    --border-color: #d1d5db;
}

/* Markdown */
#markdown-content li:has(> p > strong), .markdown-content li:has(> p > strong) {
    list-style-type: square;
    margin-left: 36px;
}
  
#markdown-content li:has(> strong), .markdown-content li:has(> strong) {
    list-style-type: disc;
    margin-left: 28px;
}
  
#markdown-content li, .markdown-content li {
    list-style-type: circle;
    margin-left: 42px;
}
  
#markdown-content h1, .markdown-content h1 {
    margin-bottom: 10px;
    font-size: 1.6em;
    font-weight: 800;
}
  
#markdown-content h2, .markdown-content h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.4em;
    font-weight: 800;
}
  
#markdown-content h3, .markdown-content h3, #markdown-content h4, .markdown-content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
}
  
#markdown-content p, .markdown-content p {
    margin-bottom: 6px;
    margin-top: 6px;
}
  
#markdown-content table, .markdown-content table {
    width: 100%;
    border-collapse: collapse; 
    margin: 20px 0;
}
  
#markdown-content tbody, .markdown-content tbody {
    border-radius: 10px;  
}
  
#markdown-content th, #markdown-content td, .markdown-content th, .markdown-content td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}
  
#markdown-content tr th, .markdown-content tr th {
    background-color: var(--secondary-background);
    font-weight: bold;
}
  
#markdown-content tr, .markdown-content tr {
    background-color: var(--background-color); 
}
  
#markdown-content tr:hover, .markdown-content tr:hover {
    background-color: var(--secondary-background); 
    cursor: pointer;
}
  
#markdown-content blockquote, .markdown-content blockquote {
    margin-left: 20px;
    border-left: 4px solid var(--accent-color);
    background-color: var(--secondary-background);
    padding: 10px;
}
  
#markdown-content hr, .markdown-content hr {
    border: 1px solid var(--accent-color);
    margin: 20px 0;
    opacity: 0.5;
    width: 100%;
}
  
.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
  
.loader span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: gray;
    display: inline-block;
    animation: bounce 1.5s infinite ease-in-out;
}
  
.loader span:nth-child(1) {
    animation-delay: 0s;
}
.loader span:nth-child(2) {
    animation-delay: 0.2s;
}
.loader span:nth-child(3) {
    animation-delay: 0.4s;
}
  
@keyframes bounce {
    0%, 100% {
      transform: translateY(0);
      opacity: 0.3;
    }
    50% {
      transform: translateY(-3px);
      opacity: 1;
    }
}
  
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
  
.typing-cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}
  