/* mkdocs-gitsvg — bundled styling for rendered diagrams and error boxes.
 *
 * Auto-registered by the plugin (copied into the site and linked via
 * extra_css), so authors get sensible defaults with no manual setup.
 * Class names track the plugin's css_class option and the fixed
 * gitsvg-error box. */

.gitsvg-diagram {
  display: block;
  margin: 1rem auto;
  text-align: center;
}

.gitsvg-diagram svg {
  max-width: 100%;
  height: auto;
}

.gitsvg-error {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid #d33;
  border-left-width: 4px;
  border-radius: 3px;
  background: #fff5f5;
  color: #900;
  font-size: 0.85em;
  white-space: pre-wrap;
  overflow-x: auto;
}
