:root {
  --scalar-custom-header-height: 50px;
  --scalar-font: "Inter", sans-serif;
  --scalar-font-size-regular: 18px;
  --scalar-mini: 16px;
}
.custom-header {
  height: var(--scalar-custom-header-height);
  background-color: var(--scalar-background-1);
  box-shadow: inset 0 -1px 0 var(--scalar-border-color);
  color: var(--scalar-color-1);
  font-size: var(--scalar-font-size-3);
  padding: 0 18px;
  position: sticky;
  justify-content: space-between;
  top: 0;
  z-index: 100;
}
.custom-header,
.custom-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.custom-header a {
  color: var(--scalar-color-1);
  text-decoration: none;
  font-size: var(--scalar-font-size-regular);
  font-weight: 500;
}
.custom-header a:hover {
  color: var(--scalar-color-2);
}

/* Loader styles */
#svg-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--scalar-background-1, #fff);
  z-index: 9999;
  transition: opacity 0.5s;
}
#svg-loader[hidden] {
  display: none !important;
}

/* Hide loader and header when JavaScript is disabled */
body:not(.js-enabled) #svg-loader,
body:not(.js-enabled) header {
  display: none !important;
}

/* SVG styles */
.sproof-logo {
  fill-rule: evenodd;
  clip-rule: evenodd;
  stroke-linejoin: round;
  stroke-miterlimit: 2;
  fill: var(--scalar-color-1);
}
.sproof-logo.header {
  width: 160px;
  height: 39px;
  max-width: 100%;
  max-height: 50px;
  display: block;
}
.sproof-logo.loader {
  width: 320px;
  height: 77px;
}
#documentation img[alt*="screen"],
#documentation img[alt*="Screen"],
#documentation img[alt*="SCREEN"] {
  max-width: 260px;
  display: block;
  margin: 2rem auto;
  height: auto;
}

header {
  font-family: var(--scalar-font);
}

footer {
  text-align: center;
  font-family: var(--scalar-font);
  font-size: var(--scalar-font-size-3);
  color: var(--scalar-color-1);
  border-top: 1px solid var(--scalar-border-color);
  padding-top: 2rem;
}

/* Footer 3-column layout */
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
}

.footer-content h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--scalar-color-1);
}

.footer-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-content li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-content a {
  color: var(--scalar-color-2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-content a:hover {
  color: var(--scalar-color-1);
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }
}

/* Copyright section */
.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--scalar-border-color);
}

/* NoScript fallback styles */
.noscript-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-align: center;
  background: #f8f9fa;
  color: #333;
}

.noscript-fallback .sproof-logo {
  margin-bottom: 2rem;
}

.noscript-fallback h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.noscript-fallback p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
}

.noscript-fallback a {
  display: inline-block;
  padding: 12px 24px;
  background: #333;
  color: #f8f9fa;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.noscript-fallback a:hover {
  opacity: 0.8;
}