/* CognitixERP Developer Guide — shared shell + developer-specific styles */
@import url("userGuid.css");

:root {
  --warn-bg: #fff7ed;
  --warn-border: #fdba74;
  --ok-bg: #ecfdf5;
  --ok-border: #6ee7b7;
  --info-bg: #eff6ff;
  --info-border: #93c5fd;
  --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-ok {
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.85rem 0;
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
}

.box-info {
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.85rem 0;
  background: var(--info-bg);
  border: 1px solid var(--info-border);
}

.dev-block {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  background: #fafbfd;
}

.dev-block h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--brand-blue);
}

.dev-block p {
  margin: 0 0 0.65rem;
  font-size: 0.93rem;
}

.dev-block ul,
.dev-block ol {
  margin: 0.35rem 0 0.75rem;
}

.dev-block li {
  margin-bottom: 0.4rem;
  font-size: 0.93rem;
}

.flow-diagram {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin: 1rem 0;
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre;
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 1rem;
}

.checklist li {
  position: relative;
  margin: 0.55rem 0;
  padding-left: 1.6rem;
  font-size: 0.93rem;
}

.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

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.84rem;
  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;
}
