body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #c9d1d9;
  max-width: 75vw;
  margin: 0 auto;
  padding: 20px;
  background-color: #0d1117;
}

h1,
h2,
h3 {
  color: #c9d1d9;
}

code {
  background-color: rgba(110, 118, 129, 0.4);
  padding: 2px 4px;
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 0.9em;
}

pre {
  background-color: #161b22;
  padding: 16px;
  border-radius: 6px;
  overflow-x: auto;
}

pre code {
  background-color: transparent;
  padding: 0;
  font-size: 0.9em;
}

a {
  color: #58a6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.code-block {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
}

.filename {
  font-size: 14px;
  font-weight: 600;
  color: #c9d1d9;
  font-family: 'SFMono-Regular', Consolas, monospace;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 6px;
  color: #c9d1d9;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.action-btn:hover {
  background: #30363d;
  border-color: #8b949e;
}

.action-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Prism customization */
div.code-toolbar {
  margin: 0;
}

div.code-toolbar>.toolbar {
  display: none !important;
}

pre[class*="language-"] {
  margin: 0;
  padding: 16px;
  background: #161b22;
  border-radius: 0;
  font-size: 13px;
}

code[class*="language-"] {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  text-shadow: none !important;
}

.line-numbers .line-numbers-rows {
  border-right: 0px solid #30363d;
  padding-right: 8px;
  margin-right: 12px;
}

.line-numbers-rows>span:before {
  color: #6e7681;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 16px;
  background: #1f883d;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #c9d1d9;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: #808080;
    border-top: 2px solid #ff6b6b;
    margin-top: 60px;
}

footer p {
    font-size: 0.9rem;
}
