/* Modern CSS for JSON:API Explorer with professional appearance */

:root {
  --explorer-primary: #2563eb;
  --explorer-primary-light: rgba(37, 99, 235, 0.1);
  --explorer-primary-hover: #1e40af;
  --explorer-text: #1f2937;
  --explorer-text-secondary: #4b5563;
  --explorer-border: #e5e7eb;
  --explorer-background: #fff;
  --explorer-background-secondary: #f9fafb;
  --explorer-background-tertiary: #f3f4f6;
  --explorer-panel-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --explorer-panel-radius: 8px;
  --explorer-transition: all 0.2s ease;
  --explorer-font-family: system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif;
  --explorer-code-font-family: ui-monospace, sfmono-regular, menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;
  --explorer-spacing-xs: 4px;
  --explorer-spacing-sm: 8px;
  --explorer-spacing: 16px;
  --explorer-spacing-lg: 24px;
  --explorer-spacing-xl: 32px;
}

/* Dark mode theme variables */
body.gin--dark-mode {
  --explorer-primary: #3b82f6;
  --explorer-primary-light: rgba(59, 130, 246, 0.1);
  --explorer-primary-hover: #2563eb;
  --explorer-text: #e5e7eb;
  --explorer-text-secondary: #9ca3af;
  --explorer-border: #374151;
  --explorer-background: #1f2937;
  --explorer-background-secondary: #111827;
  --explorer-background-tertiary: #1e293b;
  --explorer-panel-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

/* Base container */
.jsonapi-explorer-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--explorer-text);
  font-family: var(--explorer-font-family);
}

/* Layout components */
.jsonapi-explorer-container .layout-container {
  margin: 0;
  padding: 0;
}

.jsonapi-explorer-container .layout-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.jsonapi-explorer-container .layout-column {
  flex-basis: 100%;
  max-width: 100%;
  margin-bottom: var(--explorer-spacing);
  padding: 0 8px;
}

@media (min-width: 768px) {
  .jsonapi-explorer-container .layout-column--quarter {
    flex-basis: 25%;
    max-width: 25%;
  }

  .jsonapi-explorer-container .layout-column--half {
    flex-basis: 50%;
    max-width: 50%;
  }

  .jsonapi-explorer-container .layout-column--three-quarter {
    flex-basis: 75%;
    max-width: 75%;
  }
}

/* Panel styling */
.jsonapi-explorer-container .panel {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  height: 100%;
  margin-bottom: var(--explorer-spacing);
  border-radius: var(--explorer-panel-radius);
  background-color: var(--explorer-background);
  box-shadow: var(--explorer-panel-shadow);
}

.jsonapi-explorer-container .gin-layer-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  padding: var(--explorer-spacing);
  border: 1px solid var(--explorer-border);
  border-radius: var(--explorer-panel-radius);
  background-color: var(--explorer-background);
}

/* Headings */
.jsonapi-explorer-container h3.heading {
  margin-top: 0;
  margin-bottom: var(--explorer-spacing);
  color: var(--explorer-text);
  font-size: 1.1rem;
  font-weight: 600;
}

.jsonapi-explorer-container h4 {
  margin-top: 0;
  margin-bottom: var(--explorer-spacing-sm);
  color: var(--explorer-text);
  font-size: 1rem;
  font-weight: 600;
}

/* Form elements */
.jsonapi-explorer-container input[type="text"],
.jsonapi-explorer-container select,
.jsonapi-explorer-container textarea {
  width: 100%;
  padding: 8px 12px;
  transition: var(--explorer-transition);
  color: var(--explorer-text);
  border: 1px solid var(--explorer-border);
  border-radius: 4px;
  background-color: var(--explorer-background);
  font-size: 0.9rem;
  line-height: 1.5;
}

.jsonapi-explorer-container input[type="text"]:focus,
.jsonapi-explorer-container select:focus,
.jsonapi-explorer-container textarea:focus {
  border-color: var(--explorer-primary);
  outline: none;
  box-shadow: 0 0 0 2px var(--explorer-primary-light);
}

/* Buttons - Gin Theme Styling */
.jsonapi-explorer-container .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  cursor: pointer;
  user-select: none;
  transition: var(--explorer-transition);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: var(--explorer-primary);
  border: 2px solid var(--explorer-primary);
  border-radius: 4px;
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.jsonapi-explorer-container .button:hover,
.jsonapi-explorer-container .button:focus {
  color: var(--explorer-primary-hover);
  border-color: var(--explorer-primary-hover);
  background-color: var(--explorer-primary-light);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.jsonapi-explorer-container .button--primary {
  color: white;
  background-color: var(--explorer-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jsonapi-explorer-container .button--primary:hover,
.jsonapi-explorer-container .button--primary:focus {
  color: white;
  border-color: var(--explorer-primary-hover);
  background-color: var(--explorer-primary-hover);
}

.jsonapi-explorer-container .button--small {
  padding: 4px 8px;
  border-width: 1px;
  font-size: 0.75rem;
}

/* Action buttons (like copy buttons) */
.code-example .button--small {
  color: var(--explorer-text-secondary);
  border-color: var(--explorer-border);
  background-color: var(--explorer-background);
  font-weight: 500;
}

.code-example .button--small:hover,
.code-example .button--small:focus {
  color: var(--explorer-primary);
  border-color: var(--explorer-primary);
  background-color: var(--explorer-background-secondary);
}

.jsonapi-explorer-container .button--danger {
  color: #ef4444;
  border-color: #ef4444;
  background-color: transparent;
}

.jsonapi-explorer-container .button--danger:hover,
.jsonapi-explorer-container .button--danger:focus {
  color: white;
  border-color: #ef4444;
  background-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2);
}

.jsonapi-explorer-container .button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  color: var(--explorer-text-secondary);
  border-color: var(--explorer-border);
  background-color: transparent;
}

/* URL display */
.jsonapi-explorer-container .url-display-wrapper {
  margin-bottom: var(--explorer-spacing);
}

.jsonapi-explorer-container .gin-url-display {
  position: relative;
  overflow-x: auto;
  padding: var(--explorer-spacing);
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--explorer-border);
  border-radius: 6px;
  background-color: var(--explorer-background-tertiary);
  font-family: var(--explorer-code-font-family);
  font-size: 0.875rem;
}

.jsonapi-explorer-container .gin-url-display__content {
  white-space: normal;
  word-wrap: break-word;
  word-break: break-all;
}

.jsonapi-explorer-container .gin-url-display:hover {
  background-color: var(--explorer-background-secondary);
}

.jsonapi-explorer-container .gin-url-display__base {
  color: var(--explorer-primary);
  font-weight: 500;
}

.jsonapi-explorer-container .gin-url-display__param-name {
  color: #9333ea;
  font-weight: 700;
}

.jsonapi-explorer-container .gin-url-display__param-value {
  color: #059669;
}

/* Chips for fields, filters, etc. */
.jsonapi-explorer-container .gin-chip {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  margin-bottom: 6px;
  padding: 4px 10px;
  cursor: pointer;
  user-select: none;
  transition: var(--explorer-transition);
  color: var(--explorer-primary);
  border-radius: 16px;
  background-color: var(--explorer-primary-light);
  font-size: 0.85rem;
  line-height: 1.5;
}

.jsonapi-explorer-container .gin-chip:hover {
  color: white;
  background-color: var(--explorer-primary);
}

.jsonapi-explorer-container .gin-chip--primary {
  color: white;
  background-color: var(--explorer-primary);
}

/* Relationship chips styling */
.jsonapi-explorer-container .gin-chip--relationship {
  color: #6366f1;
  border: 1px dashed #6366f1;
  background-color: rgba(99, 102, 241, 0.1);
}

.jsonapi-explorer-container .gin-chip--relationship:hover {
  color: white;
  border: 1px solid #6366f1;
  background-color: #6366f1;
}

.jsonapi-explorer-container .gin-chip--relationship.gin-chip--primary {
  color: white;
  border: 1px solid #6366f1;
  background-color: #6366f1;
}

/* X button for chips/pills */
.jsonapi-explorer-container .gin-chip--remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0;
  cursor: pointer;
  transition: var(--explorer-transition);
  opacity: 0.7;
  color: inherit;
  border: none;
  border-radius: 50%;
  background: none;
  background-color: rgba(0, 0, 0, 0.1);
  font-size: 14px;
  line-height: 1;
}

.jsonapi-explorer-container .gin-chip--remove:hover,
.jsonapi-explorer-container .gin-chip--remove:focus {
  opacity: 1;
  outline: none;
  background-color: rgba(0, 0, 0, 0.2);
}

.jsonapi-explorer-container .gin-chip--primary .gin-chip--remove {
  background-color: rgba(255, 255, 255, 0.2);
}

.jsonapi-explorer-container .gin-chip--primary .gin-chip--remove:hover,
.jsonapi-explorer-container .gin-chip--primary .gin-chip--remove:focus {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Tabs styling */
.jsonapi-explorer-container .tabs-wrapper {
  position: relative;
  margin-bottom: var(--explorer-spacing);
  padding: 0;
}

.jsonapi-explorer-container .tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 var(--explorer-spacing) 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--explorer-border);
}

.jsonapi-explorer-container .tabs__tab {
  display: block;
  margin: 0;
}

.jsonapi-explorer-container .tabs__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--explorer-spacing-sm) var(--explorer-spacing);
  cursor: pointer;
  transition: var(--explorer-transition);
  text-align: center;
  text-decoration: none;
  color: var(--explorer-text-secondary);
  border: none;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 500;
}

.jsonapi-explorer-container .tabs__link:hover {
  color: var(--explorer-primary);
}

.jsonapi-explorer-container .tabs__tab.is-active .tabs__link {
  color: var(--explorer-primary);
  font-weight: 600;
}

.jsonapi-explorer-container .tabs__tab.is-active .tabs__link::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background-color: var(--explorer-primary);
}

/* Secondary tabs */
.jsonapi-explorer-container .tabs-wrapper--secondary .tabs {
  margin-bottom: var(--explorer-spacing-sm);
  border-bottom: none;
}

.jsonapi-explorer-container .tabs-wrapper--secondary .tabs__link {
  padding: 6px var(--explorer-spacing-sm);
  border-radius: 4px;
  font-size: 0.875rem;
}

.jsonapi-explorer-container .tabs-wrapper--secondary .tabs__tab.is-active .tabs__link {
  background-color: var(--explorer-primary-light);
}

.jsonapi-explorer-container .tabs-wrapper--secondary .tabs__tab.is-active .tabs__link::after {
  display: none;
}

/* Sections for fields, filters, etc. */
.jsonapi-explorer-container .fields-selector,
.jsonapi-explorer-container .filter-selector,
.jsonapi-explorer-container .include-selector,
.jsonapi-explorer-container .sort-selector {
  margin-bottom: var(--explorer-spacing);
}

.jsonapi-explorer-container .section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: var(--explorer-spacing-sm);
  font-size: 1rem;
  font-weight: 600;
}

/* Field list containers */
.jsonapi-explorer-container .fields-list {
  overflow-y: auto;
  flex-grow: 1;
  min-height: 200px;
  margin-top: var(--explorer-spacing-sm);
  padding: var(--explorer-spacing-sm);
  border: 1px solid var(--explorer-border);
  border-radius: var(--explorer-panel-radius);
  background-color: var(--explorer-background-secondary);
}

.jsonapi-explorer-container .field-chips {
  display: flex;
  flex-wrap: wrap;
}

/* Loading spinner */
.jsonapi-explorer-container .spinner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--explorer-spacing) 0;
}

.jsonapi-explorer-container .spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  animation: jsonapi-spinner 0.8s linear infinite;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--explorer-primary);
  border-radius: 50%;
}

/* Make spinner visible on blue button background */
.jsonapi-explorer-container .explorer-toolbar-button .spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

@keyframes jsonapi-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Response section */
.jsonapi-explorer-container .response-container {
  margin-top: var(--explorer-spacing);
}

.jsonapi-explorer-container .response-json {
  overflow: auto;
  max-height: 600px;
  border: 1px solid var(--explorer-border);
  border-radius: 6px;
  background-color: var(--explorer-background-tertiary);
}

/* Code blocks and syntax highlighting */
.jsonapi-explorer-container pre {
  margin: 0;
  font-family: var(--explorer-code-font-family);
  font-size: 0.875rem;
  line-height: 1.5;
}

.jsonapi-explorer-container .code-example {
  position: relative;
  overflow: hidden;
  margin: var(--explorer-spacing-sm) 0;
  border: 1px solid var(--explorer-border);
  border-radius: 6px;
  background-color: var(--explorer-background-tertiary);
}

/* Message notifications */
.jsonapi-explorer-container .messages {
  position: fixed;
  z-index: 1000;
  bottom: 20px;
  width: calc(100% - 40px);
  /* left: 50%; */
  /* transform: translateX(-50%); */
  max-width: 600px;
  margin-bottom: var(--explorer-spacing);
  padding: var(--explorer-spacing);
  border-width: 0 0 0 4px;
  border-style: solid;
  border-radius: 6px;
  background-color: var(--explorer-background);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jsonapi-explorer-container .messages__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2.5rem 0 2rem;
  gap: var(--explorer-spacing);
}

.jsonapi-explorer-container .messages__close {
  cursor: pointer;
  opacity: 0.7;
  color: inherit;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
}

.jsonapi-explorer-container .messages--error {
  color: #e11d48;
  border-color: #f43f5e;
}

.jsonapi-explorer-container .messages--success {
  color: #059669;
  border-color: #10b981;
}

.jsonapi-explorer-container .messages--info {
  color: var(--explorer-primary);
  border-color: var(--explorer-primary);
}

/* Request history section */
.jsonapi-explorer-container .request-history-section {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 200px;
  margin-top: var(--explorer-spacing);
}

.jsonapi-explorer-container .item-list {
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--explorer-border);
  border-radius: 6px;
}

.jsonapi-explorer-container .item-list__item {
  padding: var(--explorer-spacing-sm) var(--explorer-spacing);
  cursor: pointer;
  transition: var(--explorer-transition);
  border-bottom: 1px solid var(--explorer-border);
}

.jsonapi-explorer-container .item-list__item:last-child {
  border-bottom: none;
}

.jsonapi-explorer-container .item-list__item:hover {
  background-color: var(--explorer-background-secondary);
}

/* Filter items */
.jsonapi-explorer-container .filter-item {
  margin-bottom: var(--explorer-spacing-sm);
  padding: var(--explorer-spacing-sm) var(--explorer-spacing);
  border: 1px solid var(--explorer-border);
  border-radius: 6px;
  background-color: var(--explorer-background-secondary);
}

.jsonapi-explorer-container .filter-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--explorer-spacing-sm);
}

.jsonapi-explorer-container .filter-item__label {
  font-weight: 500;
}

/* Input groups */
.jsonapi-explorer-container .input-group {
  display: flex;
  gap: var(--explorer-spacing-sm);
  margin-bottom: var(--explorer-spacing-sm);
}

.jsonapi-explorer-container .input-group .form-item {
  flex-grow: 1;
  margin-bottom: 0;
}

/* Details/Collapsible elements */
.jsonapi-explorer-container .claro-details {
  margin-bottom: var(--explorer-spacing-sm);
  border: 1px solid var(--explorer-border);
  border-radius: 6px;
  background-color: var(--explorer-background);
}

.jsonapi-explorer-container .claro-details__summary {
  padding: var(--explorer-spacing-sm) var(--explorer-spacing) var(--explorer-spacing-sm) calc(var(--explorer-spacing) * 2);
  cursor: pointer;
  user-select: none;
}

.jsonapi-explorer-container .claro-details__summary-text {
  font-weight: 500;
}

/* React JSON Viewer custom styling */
.jsonapi-explorer-container .react-json-view,
.jsonapi-explorer-container .react-json-view-lite {
  padding: var(--explorer-spacing);
  font-family: var(--explorer-code-font-family);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* JSON Path display */
.jsonapi-explorer-container .json-path-display {
  overflow-x: auto;
  margin-bottom: var(--explorer-spacing-sm);
  padding: var(--explorer-spacing-sm) var(--explorer-spacing);
  white-space: nowrap;
  border: 1px solid var(--explorer-border);
  border-radius: 4px;
  background-color: var(--explorer-background-tertiary);
  font-family: var(--explorer-code-font-family);
  font-size: 0.875rem;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .jsonapi-explorer-container .layout-row {
    flex-direction: column;
  }

  .jsonapi-explorer-container .input-group {
    flex-direction: column;
  }

  .jsonapi-explorer-container .tabs__link {
    padding: 8px 12px;
    font-size: 0.875rem;
  }
}

/* Dark mode compatibility */
body.gin--dark-mode .jsonapi-explorer-container .gin-url-display,
body.gin--dark-mode .jsonapi-explorer-container pre,
body.gin--dark-mode .jsonapi-explorer-container .fields-list,
body.gin--dark-mode .jsonapi-explorer-container .json-path-display,
body.gin--dark-mode .jsonapi-explorer-container .response-json,
body.gin--dark-mode .jsonapi-explorer-container .code-example {
  border-color: var(--explorer-border);
  background-color: var(--explorer-background-tertiary);
}

body.gin--dark-mode .jsonapi-explorer-container .spinner {
  border-color: rgba(255, 255, 255, 0.1);
  border-top-color: var(--explorer-primary);
}

body.gin--dark-mode .jsonapi-explorer-container .explorer-toolbar-button .spinner {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

/* Dark mode button states */
body.gin--dark-mode .jsonapi-explorer-container .button:hover,
body.gin--dark-mode .jsonapi-explorer-container .button:focus {
  background-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.gin--dark-mode .code-example .button--small {
  color: var(--explorer-text-secondary);
  background-color: var(--explorer-background-tertiary);
}

body.gin--dark-mode .code-example .button--small:hover,
body.gin--dark-mode .code-example .button--small:focus {
  color: var(--explorer-primary);
  background-color: var(--explorer-background);
}

/* Active/Selected Field Styles */
.jsonapi-explorer-container .field-checkbox {
  position: relative;
  display: block;
  margin-bottom: 8px;
  padding-left: 28px;
  cursor: pointer;
  user-select: none;
}

.jsonapi-explorer-container .field-checkbox input {
  position: absolute;
  width: 0;
  height: 0;
  cursor: pointer;
  opacity: 0;
}

.jsonapi-explorer-container .checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  transition: var(--explorer-transition);
  border: 1px solid var(--explorer-border);
  border-radius: 3px;
  background-color: var(--explorer-background);
}

.jsonapi-explorer-container .field-checkbox:hover input ~ .checkmark {
  border-color: var(--explorer-primary);
}

.jsonapi-explorer-container .field-checkbox input:checked ~ .checkmark {
  border-color: var(--explorer-primary);
  background-color: var(--explorer-primary);
}

.jsonapi-explorer-container .checkmark::after {
  position: absolute;
  display: none;
  content: "";
}

.jsonapi-explorer-container .field-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.jsonapi-explorer-container .field-checkbox .checkmark::after {
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  transform: rotate(45deg);
  border: solid white;
  border-width: 0 2px 2px 0;
}

/* Search field styling */
.jsonapi-explorer-container .search-field {
  position: relative;
  margin-bottom: var(--explorer-spacing-sm);
}

.jsonapi-explorer-container .search-field input {
  width: 100%;
  padding-left: 32px;
}

.jsonapi-explorer-container .search-field::before {
  position: absolute;
  top: 50%;
  left: 10px;
  content: "🔍";
  transform: translateY(-50%);
  opacity: 0.6;
  font-size: 14px;
}

/* Include fields section */
.jsonapi-explorer-container .include-fields-title {
  display: flex;
  align-items: center;
  margin-top: var(--explorer-spacing);
  color: #6366f1;
  font-size: 0.9rem;
  font-weight: 500;
}

.jsonapi-explorer-container .include-fields-title::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  content: "";
  border-radius: 50%;
  background-color: #6366f1;
}

/* Loading related fields indicator */
.jsonapi-explorer-container .loading-related-fields {
  display: flex;
  align-items: center;
  margin: 8px 0;
  padding: 8px;
  color: #6366f1;
  border-left: 3px solid #6366f1;
  border-radius: 4px;
  background-color: rgba(99, 102, 241, 0.05);
  font-size: 0.9rem;
  font-style: italic;
}

/* GraphiQL-like query builder layout */
.jsonapi-explorer-container .graphiql-layout {
  display: flex;
  overflow: hidden;
  height: 600px;
  border: 1px solid var(--explorer-border);
  border-radius: var(--explorer-panel-radius);
  background-color: var(--explorer-background);
}

.jsonapi-explorer-container .graphiql-sidebar {
  overflow-y: auto;
  width: 250px;
  padding: var(--explorer-spacing);
  border-right: 1px solid var(--explorer-border);
  background-color: var(--explorer-background-secondary);
}

.jsonapi-explorer-container .graphiql-main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.jsonapi-explorer-container .graphiql-query-editor {
  overflow-y: auto;
  flex: 1;
  padding: var(--explorer-spacing);
  border-bottom: 1px solid var(--explorer-border);
}

.jsonapi-explorer-container .graphiql-response-viewer {
  overflow-y: auto;
  flex: 1;
  padding: var(--explorer-spacing);
  background-color: var(--explorer-background-tertiary);
}

.jsonapi-explorer-container .graphiql-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--explorer-spacing-sm) var(--explorer-spacing);
  border-bottom: 1px solid var(--explorer-border);
  background-color: var(--explorer-background-secondary);
}

.jsonapi-explorer-container .graphiql-execute-button {
  padding: 6px 12px;
  cursor: pointer;
  transition: var(--explorer-transition);
  color: white;
  border: none;
  border-radius: 4px;
  background-color: var(--explorer-primary);
  font-weight: 500;
}

.jsonapi-explorer-container .graphiql-execute-button:hover {
  background-color: var(--explorer-primary-hover);
}
