body .centered {
  max-width: 1900px;
}

.api-demo-content {
  display: flex;
}

.api-demo-content arc-interactive-demo {
  flex: 1;
}

.api-demo-content api-navigation {
  width: 360px;
  margin-right: 24px;
}

.request-dialog {
  width: 90%;
}

.header-link {
  margin: 0 8px;
  color: var(--primary-text-color);
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

body.styled {
  --http-get-color-text: #fff;
  --http-patch-color-text: #fff;
}

.block {
  display: block;
}

@media (prefers-color-scheme: dark) {
  body.styled header {
    background-color: var(--secondary-background-color);
  }

  body.styled {
    --operation-params-title-color: var(--primary-text-color);
    --operation-subheader-color: var(--secondary-text-color);
    --operation-description-color: var(--secondary-text-color);

    --resource-subheader-color: var(--secondary-text-color);
    --security-subheader-color: var(--secondary-text-color);
    --pill-color: #000;

    --markdown-styles-code-text-shadow: none;
    --markdown-styles-h6-color: var(--secondary-text-color);
    --markdown-styles-table-row-background-color: var(--primary-background-color);
    --markdown-styles-table-even-row-background-color: var(--secondary-background-color);

    --code-color: var(--primary-text-color);
    --code-background-color: #202020;
    --code-punctuation-value-color: var(--code-color);

    --api-annotation-document-color: var(--primary-text-color);
    --api-annotation-background-color: var(--primary-background-color);
    --api-body-document-description-color: var(--primary-text-color);

    --api-endpoint-url-background-color: var(--primary-background-color);
    --api-endpoint-url-color: var(--primary-text-color);

    --http-code-snippet-code-text-shadow: var(--primary-text-color);
    --http-code-snippet-container-background-color: var(--code-background-color);
    --http-code-snippet-code-function-color: #82AAFF;
    --http-code-snippet-code-keyword-color: #C792EA;
    --http-code-snippet-code-cdata-color: #adb9c5;

    --resource-tryit-background-color: var(--code-background-color);
    --resource-tryit-panels-background-color: transparent;
    --error-message-icon-color: #cccccc;
    --error-message-code-color: var(--secondary-text-color); 

    --auth-method-oauth2-redirect-info-color: #fff;

    --inline-documentation-background-color: #3a3a3a;
  }
}

api-request-editor {
  width: 600px;
  margin: 12px;
  padding: 12px;
}

api-request-editor[invalid] {
  border: 1px var(--error-color) solid;
}

.other-section {
  padding: 4px 12px;
  color: rgba(0, 0, 0, 0.54);
  text-transform: uppercase;
  font-size: 0.8rem;
}
output {
  background-color: #FFF3E0;
  white-space: pre-wrap;
  margin-top: 40px;
}

body.styled.dark output {
  background-color: #3a3a3a;
}

.response-output {
  max-height: 300px;
  overflow: auto;
  display: block;
  width: 700px;
}

#app.layout {
  display: grid;
  grid-template:
    "header header" 72px
    "nav content" auto / minmax(320px, 2fr) 10fr;
}

#app.layout header {
  grid-area: header;
}

#app.layout [role=navigation] {
  grid-area: nav;
}

#app.layout main {
  grid-area: content;
}
