body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
}

.sidebar {
  width: 220px;
  background: #6d8494;
  color: white;
  padding: 1.5rem 1rem;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25px;
  margin-bottom: 2rem;
}

.logo {
  height: 40px;
  object-fit: contain;
}

.sidebar h1 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.sidebar-links {
  text-align: left;
  margin-top: 3rem;
}

.sidebar-links a {
  display: inline-block;
  color: white;
  text-decoration: none;
  padding: 14px 0;
  line-height: 1.2;
  font-weight: bold;
  font-size: 1.0rem;
  white-space: normal;
}

.sidebar-links a:hover {
  text-decoration: underline;
}

.content {
  margin-left: 250px;
  padding: 2rem 3rem 0rem 2rem;
  flex-grow: 1;
  background: white;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
}

footer {
  padding: 1rem 2rem;
  font-size: 0.9rem;
  color: #888;
  text-align: right;
  background-color: white;
}

h2 {
  color: #6d8494;
  font-size: 1.8rem;
}

h3 {
  color: black;
  font-size: 1.2rem;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border: 1px solid black;
  padding: 8px;
}

pre {
  position: relative;                  /* ✅ Required for button positioning */
  background-color: #f5f5f5;
  padding: 12px;
  border-radius: 5px;
  max-width: 100%;
  overflow-x: auto;
  display: block;
  margin-bottom: 2rem;
}

pre code {
  font-family: monospace;
  display: block;
  white-space: pre;
  padding-right: 2.5em;               /* ✅ Space for the button */
  overflow-x: auto;
}

.copy-block-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1em;
  color: #008cba;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}

pre:hover .copy-block-btn {
  opacity: 0.6;
}

.copy-block-btn:hover {
  opacity: 1;
}

.content-image {
  width: 1000px;
  max-width: 1000px;
  display: block;
  margin: 2rem 0;
  border-radius: 8px;
}

.section-label {
  font-size: 1.0rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.section-subtitle {
  font-size: 1.0rem;
  font-weight: bold;
  color: white;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.subsection {
  margin-left: 0rem;
  margin-bottom: 1rem;
}

.subsection a {
  font-size: 0.8rem;
  font-weight: normal;
  color: white;
  display: list-item;
  list-style-type: disc;
  list-style-position: inside;
  margin-left: 0rem;
  padding: 3px 0;
}
