/* ---- Centralized Version Navigation ---- */
.book-navi {
  font-size: 9pt;
  font-weight: bold;
  color: #003172;
  text-transform: uppercase;
  text-align: right;
  padding: 8px 16px;
  background: #f5f5f5;
  line-height: 1.8;
  border-bottom: 2px solid #c00;
}
.book-navi a {
  color: #800;
  font-weight: bold;
  text-decoration: none;
}
.book-navi a:hover { 
  text-decoration: underline; 
}

/* ---- GitHub Fork Ribbon ---- */
.github-fork-ribbon {
  position: sticky !important;
  top: 0 !important;
  float: right;
  z-index: 1000;
  color: #fff !important;
  text-decoration: none;
  margin-bottom: -150px;
}
.github-fork-ribbon:hover {
  text-decoration: none;
}


/* ---- Content Centering & Layout Typography ---- */
.book-content {
  padding: 24px 16px 48px;
}

/* ---- Release Notes Definitions Log Alignment (Scoped Safely) ---- */
.release-notes-body dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  row-gap: 6px;
  column-gap: 10px;
}
.release-notes-body dt {
  font-weight: bold;
}
.release-notes-body dd {
  margin: 0;
}

.release-notes-body .book-content dl dt {
  margin-top: 4px;
  font-style: normal;
  font-weight: normal;
}
.release-notes-body .book-content dl dd {
  margin-bottom: 0;
}

h5 {
  font-size: 15px;
  font-style: italic;
  margin-top: 20px;
}

/* Centralized highlight badge that ensures line-wrapping stays uniform */
.book-navi .active-version-badge {
  color: #000;
  background: #e2e8f0;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: bold;
  display: inline-block;
  line-height: 1.2;
}

.doc-page-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

.main {
  flex: 1 0 auto;
}
