/* =============================================================================
   XGateway Docs - Custom Styles
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Custom Tags for KYC Callbacks Page
   ----------------------------------------------------------------------------- */

.md-tag.md-tag--blue {
    background-color: #007bff;
    color: white;
    font-family: monospace;
    letter-spacing: 0.05em;
}

.md-tag.md-tag--green {
    background-color: #28a745;
    color: white;
    font-family: monospace;
    letter-spacing: 0.05em;
}

.md-tag.md-tag--orange {
    background-color: #fc943f;
    color: white;
    font-family: monospace;
    letter-spacing: 0.05em;
}

.md-tag.md-tag--red {
    background-color: #dc3545;
    color: white;
    font-family: monospace;
    letter-spacing: 0.05em;
}

.md-tag.md-tag--grey {
    background-color: #afafaf;
    color: white;
    font-family: monospace;
    letter-spacing: 0.05em;
}

.md-tag.md-tag--chart-orange {
    background-color: #ff9a53;
    color: #22150d;
    font-family: monospace;
    letter-spacing: 0.05em;
    border-radius: 3px;
    padding: 0 0.3em;
}

/* -----------------------------------------------------------------------------
   Custom Admonitions - normalize font weight
   ----------------------------------------------------------------------------- */

.admonition > .admonition-title {
  font-weight: normal !important;
}

.admonition.note-normal > .admonition-title {
  font-weight: normal !important;
}

/* -----------------------------------------------------------------------------
   TOC Method Tags
   ----------------------------------------------------------------------------- */

.toc-method {
  display: inline-block;
  font-size: 0.6em;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: middle;
  font-family: monospace;
  line-height: 1.6;
}

.toc-method--post   { background: #f59e0b; color: #1a1a00; }
.toc-method--get    { background: #00a67d; color: #ffffff; }
.toc-method--put    { background: #d97706; color: #ffffff; }
.toc-method--patch  { background: #d97706; color: #ffffff; }
.toc-method--delete { background: #ef4444; color: #ffffff; }

/* -----------------------------------------------------------------------------
   Compact Tables
   ----------------------------------------------------------------------------- */

.md-typeset table.compact {
  font-size: 0.7em;
}

.md-typeset table.compact th,
.md-typeset table.compact td {
  padding: 8px 16px;
}

.md-typeset table.compact a {
  white-space: nowrap;
}