/* Layout width overrides for pydata-sphinx-theme */

/* 1) Widen the article content (default is ~60em) */
.bd-main .bd-content .bd-article-container {
  max-width: clamp(70rem, 92vw, 110rem);
}

/* 2) Widen the overall page container (default is ~88rem) */
.bd-page-width {
  max-width: clamp(80rem, 96vw, 130rem);
}x

/* Copy button styling to match EEGDash surfaces */
.highlight button.copybtn {
  background-color: rgba(0, 108, 163, 0.08);
  border-color: rgba(0, 108, 163, 0.25);
  color: var(--eegdash-primary);
}

.highlight button.copybtn:hover {
  background-color: rgba(0, 108, 163, 0.15);
}

html[data-theme="dark"] .highlight button.copybtn {
  background-color: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
}

html[data-theme="dark"] .highlight button.copybtn:hover {
  background-color: rgba(30, 41, 59, 0.9);
}
