/* Custom admonitions for mathematical content - Traditional mathematical style */

:root {
  --math-theorem-indent: 0.25rem;
}

/* Mathematical theorem environments - Clean style with colored left border only */

/* Theorem - Deep indigo/purple, very prominent */
.md-typeset .admonition.theorem,
.md-typeset details.theorem {
  border-color: rgb(103, 58, 183);
  border-left-width: 4px;
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  background: transparent;
}
.md-typeset .theorem > .admonition-title,
.md-typeset .theorem > summary {
  background-color: transparent;
  font-weight: bold;
  border-bottom: none;
  padding-left: var(--math-theorem-indent);
  margin: 0;
}
.md-typeset .theorem > .admonition-title::before,
.md-typeset .theorem > summary::before {
  display: none;
}

/* Proposition - Blue, moderate prominence */
.md-typeset .admonition.proposition,
.md-typeset details.proposition {
  border-color: rgb(33, 150, 243);
  border-left-width: 4px;
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  background: transparent;
}
.md-typeset .proposition > .admonition-title,
.md-typeset .proposition > summary {
  background-color: transparent;
  font-weight: bold;
  border-bottom: none;
  padding-left: var(--math-theorem-indent);
  margin: 0;
}
.md-typeset .proposition > .admonition-title::before,
.md-typeset .proposition > summary::before {
  display: none;
}

/* Lemma - Teal */
.md-typeset .admonition.lemma,
.md-typeset details.lemma {
  border-color: rgb(0, 150, 136);
  border-left-width: 4px;
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  background: transparent;
}
.md-typeset .lemma > .admonition-title,
.md-typeset .lemma > summary {
  background-color: transparent;
  font-weight: bold;
  border-bottom: none;
  padding-left: var(--math-theorem-indent);
  margin: 0;
}
.md-typeset .lemma > .admonition-title::before,
.md-typeset .lemma > summary::before {
  display: none;
}

/* Proof - Muted gray, less prominent */
.md-typeset .admonition.proof,
.md-typeset details.proof {
  border-color: rgb(96, 125, 139);
  border-left-width: 3px;
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  background: transparent;
}
.md-typeset .proof > .admonition-title,
.md-typeset .proof > summary {
  background-color: transparent;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.7);
  border-bottom: none;
  padding-left: var(--math-theorem-indent);
  margin: 0;
}
.md-typeset .proof > .admonition-title::before,
.md-typeset .proof > summary::before {
  display: none;
}

/* Definition - Orange/amber */
.md-typeset .admonition.definition,
.md-typeset details.definition {
  border-color: rgb(255, 152, 0);
  border-left-width: 4px;
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  background: transparent;
}
.md-typeset .definition > .admonition-title,
.md-typeset .definition > summary {
  background-color: transparent;
  font-weight: bold;
  border-bottom: none;
  padding-left: var(--math-theorem-indent);
  margin: 0;
}
.md-typeset .definition > .admonition-title::before,
.md-typeset .definition > summary::before {
  display: none;
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] .md-typeset .proof > .admonition-title,
[data-md-color-scheme="slate"] .md-typeset .proof > summary {
  color: rgba(255, 255, 255, 0.7);
}
