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

/* ========================================
   User Guide Markdown Content Styles
   ======================================== */

.guide-content {
  color: #e2e8f0;
  font-family: 'Padauk', 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.7;
}

.guide-content h1 {
  font-family: 'Clash Display', 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.guide-content h2 {
  font-family: 'Clash Display', 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #22d3ee;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  letter-spacing: -0.01em;
}

.guide-content h3 {
  font-family: 'Clash Display', 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.guide-content h4 {
  font-family: 'Clash Display', 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #e879f9;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.guide-content p {
  margin-bottom: 1rem;
  color: #94a3b8;
}

.guide-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.guide-content a {
  color: #22d3ee;
  text-decoration: none;
  transition: color 0.2s ease;
}

.guide-content a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.guide-content ul,
.guide-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

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

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

.guide-content li {
  margin-bottom: 0.5rem;
  color: #94a3b8;
}

.guide-content li::marker {
  color: #22d3ee;
}

.guide-content strong {
  color: #ffffff;
  font-weight: 600;
}

.guide-content em {
  color: #e879f9;
  font-style: italic;
}

.guide-content code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.guide-content pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.guide-content pre code {
  background: transparent;
  padding: 0;
  color: #e2e8f0;
}

.guide-content blockquote {
  border-left: 3px solid #22d3ee;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #94a3b8;
  font-style: italic;
}

.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.guide-content th {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  font-family: 'Clash Display', 'Space Grotesk', sans-serif;
}

.guide-content td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  vertical-align: top;
}

.guide-content tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.guide-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

/* ========================================
   Admin Guide Markdown Content Styles
   (Same structure, adapted for gray-900 bg)
   ======================================== */

.admin-guide-content {
  color: #e2e8f0;
  font-family: 'Inter', 'Padauk', system-ui, sans-serif;
  line-height: 1.7;
}

.admin-guide-content h1 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.admin-guide-content h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #a78bfa;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.2);
}

.admin-guide-content h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.admin-guide-content h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #c084fc;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.admin-guide-content p {
  margin-bottom: 1rem;
  color: #94a3b8;
}

.admin-guide-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.admin-guide-content a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-guide-content a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.admin-guide-content ul,
.admin-guide-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

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

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

.admin-guide-content li {
  margin-bottom: 0.5rem;
  color: #94a3b8;
}

.admin-guide-content li::marker {
  color: #a78bfa;
}

.admin-guide-content strong {
  color: #ffffff;
  font-weight: 600;
}

.admin-guide-content code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.admin-guide-content pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.admin-guide-content pre code {
  background: transparent;
  padding: 0;
  color: #e2e8f0;
}

.admin-guide-content blockquote {
  border-left: 3px solid #a78bfa;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #94a3b8;
  font-style: italic;
}

.admin-guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.admin-guide-content th {
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.3);
}

.admin-guide-content td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  vertical-align: top;
}

.admin-guide-content tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-guide-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}
