/*
 * 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.
 */


/* Markdown/Prose Styling for Reader View */
.markdown-content {
  color: #d4d4d8; /* zinc-300 */
  line-height: 1.75;
}

.markdown-content h1 {
  font-size: 1.875rem; /* 30px */
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #fafafa; /* zinc-50 */
  line-height: 1.2;
}

.markdown-content h2 {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #fafafa; /* zinc-50 */
  line-height: 1.3;
}

.markdown-content h3 {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #fafafa; /* zinc-50 */
  line-height: 1.4;
}

.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fafafa;
}

.markdown-content p {
  margin-bottom: 1.5rem;
}

.markdown-content a {
  color: #7C3AED; /* primary/purple-600 */
  text-decoration: none;
}

.markdown-content a:hover {
  text-decoration: underline;
}

.markdown-content strong {
  font-weight: 600;
  color: #fafafa;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content code {
  background-color: #18181b; /* zinc-900 */
  color: #7C3AED; /* primary */
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.markdown-content pre {
  background-color: #18181b; /* zinc-900 */
  border: 1px solid #27272a; /* zinc-800 */
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.markdown-content pre code {
  background-color: transparent;
  color: #d4d4d8;
  padding: 0;
  font-size: 0.875rem;
}

.markdown-content blockquote {
  border-left: 4px solid #7C3AED; /* primary */
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #a1a1aa; /* zinc-400 */
}

.markdown-content ul,
.markdown-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.markdown-content ul {
  list-style-type: disc;
}

.markdown-content ol {
  list-style-type: decimal;
}

.markdown-content li {
  margin: 0.5rem 0;
}

.markdown-content li > ul,
.markdown-content li > ol {
  margin: 0.5rem 0;
}

.markdown-content hr {
  border: 0;
  border-top: 1px solid #27272a; /* zinc-800 */
  margin: 2rem 0;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.markdown-content th {
  background-color: #18181b; /* zinc-900 */
  border: 1px solid #27272a; /* zinc-800 */
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.markdown-content td {
  border: 1px solid #27272a; /* zinc-800 */
  padding: 0.75rem 1rem;
}

.markdown-content img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}

/* Blinking cursor animation for greeting */
.blinking-cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}
