html, body {
  height: 100%;
  font-family: 'Lato', sans-serif;
  background-color: #191a1b;
  color: #ddd;
}
body {
  display: flex;
  flex-direction: column;
}
.bg-custom {
  background-color: #191a1b !important;
}
.navbar-brand span {
  color: #aaa !important;
}
.card {
  background-color: #101011;
  border: none;
}
.list-group-item {
  background-color: #101011;
  color: #ccc;
  border: none;
}
input.form-control {
  background-color: #101011;
  color: #ddd;
  border: 1px solid #252525;
}
input.form-control::placeholder {
  color: #999;
}
footer {
  margin-top: auto;
}
.footer-links a {
  color: #bbb;
  text-decoration: none;
  margin: 0 10px;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.text-lightwhite {
  color: rgba(255, 255, 255, 0.6) !important;
}
.code-block {
  position: relative;
}
.copy-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 4px 10px;
  font-size: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #2d2d2d;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
  z-index: 2;
}
.copy-btn:hover {
  background-color: #444;
}
/* Override the default GitHub dark colors */
.hljs {
  background: #101011 !important; /* dark background */
  color: #e0e0e0 !important;      /* light text */
}
/* Change keyword color */
.hljs-keyword {
  color: #ff9d00 !important;
}
/* Strings */
.hljs-string {
  color: #9ccc65 !important;
}
/* Functions */
.hljs-function {
  color: #64b5f6 !important;
}
.page-link {
  transition: background-color 0.2s ease, color 0.2s ease;
}
.page-item.active .page-link {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: white !important;
}
.markdown-summary {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.6;
}

.markdown-summary img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 1rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.mermaid {
  color: #fff;
  background-color: transparent;
}