/* Code block styling */

/* Target Shiki code blocks and apply our custom background */
.slidev-code,
.slidev-code-wrapper,
pre[class*='language-'] {
  background-color: var(--sp-code-background) !important;
}

/* Ensure code spans inside code blocks inherit the proper background */
.slidev-code code,
.slidev-code-wrapper code,
pre[class*='language-'] code {
  background-color: transparent !important;
}

/* Make sure the pre element has the right background color too */
pre.slidev-code {
  background-color: var(--sp-code-background) !important;
}

/* Code block wrapper styling */
.slidev-code-wrapper {
  margin: 0.5rem 0;
}

/* Adjust padding if needed */
pre[class*='language-'] {
  padding: 1rem;
}