@import url('https://unpkg.com/@primer/css@^20.0.0/dist/primer.css');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Raleway:wght@400;600;700&display=swap');

/* Define ĀYŌDÈ base colors */
:root {
  --ayode-primary: #4f20bd;
  --ayode-white: #ffffff;
  --ayode-bg-white: #fbfafb;
  --ayode-black: #1b1a17;
  --ayode-link: #6077cd;
  --ayode-border: #e4e4e7;
}

/* Base page settings */
body {
  font-family: 'Lato', sans-serif;
  background-color: #fbfafb; /* ĀYŌDÈ Background White */
  color: #1b1a17;            /* ĀYŌDÈ Black */
  line-height: 1.6;
  margin: 0;
  padding: 0 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  color: #4f20bd; /* ĀYŌDÈ Primary Purple */
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Links */
a {
  color: #6077cd; /* ĀYŌDÈ Link Blue */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

th, td {
  border: 1px solid #e4e4e7; /* ĀYŌDÈ Border */
  padding: 0.75rem;
  text-align: left;
}

/* Sections and layout */
section, div, article {
  margin-bottom: 2rem;
}

/* Code blocks and Mermaid */
pre, code {
  font-family: 'Courier New', Courier, monospace;
  background-color: #ffffff;
  padding: 0.5rem;
  border-radius: 4px;
}

.footer-text {
  color: #6c757d; /* Light gray */
  font-size: 0.9rem;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e4e4e7; /* Subtle divider */
}

.mermaid {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  /* Mermaid custom colors */
  --mermaid-theme: default;
  --mermaid-node-bg-color: #fbfafb;
  --mermaid-node-border-color: #4f20bd;
  --mermaid-node-text-color: #1b1a17;
  --mermaid-edge-stroke-color: #6077cd;
  --mermaid-edge-hover-color: #e4e4e7;
  --mermaid-line-stroke: #4f20bd;
}

.process-diagram {
  overflow-x: auto;
  padding-bottom: 1rem;
}

.process-diagram svg {
  display: block;
  max-width: none !important;
  height: auto;
}
