/* CognitixERP Troubleshooting & FAQ — shared shell + FAQ-specific styles */
@import url("userGuid.css");

:root {
  --warn-bg: #fff7ed;
  --warn-border: #fdba74;
  --ok-bg: #ecfdf5;
  --ok-border: #6ee7b7;
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
}

.box-warn {
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.85rem 0;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
}

.box-warn a {
  color: var(--accent);
  font-weight: 600;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0.9rem 0;
  background: #fafbfd;
}

.faq-item .faq-q {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.4;
}

.faq-item .faq-a {
  font-size: 0.93rem;
}

.faq-item .faq-a > p:first-child {
  margin-top: 0;
}

.faq-item .faq-a ul,
.faq-item .faq-a ol {
  margin: 0.35rem 0 0.75rem;
}

.faq-item .faq-a li {
  margin-bottom: 0.4rem;
}

.faq-item kbd {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.82rem;
  box-shadow: 0 1px 0 var(--border);
}

pre {
  background: var(--code-bg);
  color: var(--code-text);
  padding: 1rem 1.1rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0.75rem 0;
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.86rem;
  line-height: 1.5;
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

.muted {
  color: var(--muted);
}

.docs-content a {
  color: var(--accent);
}

.docs-content a:hover {
  text-decoration: underline;
}

.docs-footer-note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.docs-footer-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.docs-footer-note a:hover {
  text-decoration: underline;
}
