/* Schema viewer: stacks the endpoint explorer above the Stoplight Elements
   viewer and keeps both out of Avo's flex-row field layout, which would
   otherwise render them side by side. */

.schema-viewer {
  width: 100%;
  min-width: 0;
}

.schema-viewer elements-api {
  display: block;
  height: calc(100vh - 10rem);
  min-height: 32rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Endpoint explorer: a collapsed-by-default, filterable index of the
   document's operations. Rows are plain hash anchors into Elements. */

.endpoint-explorer {
  margin-bottom: 0.75rem;
}

.endpoint-explorer__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(100 116 139);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.endpoint-explorer__toggle::-webkit-details-marker {
  display: none;
}

.endpoint-explorer__toggle::before {
  content: '\25B8'; /* ▸ */
  font-size: 0.75rem;
  transition: transform 0.15s ease;
}

.endpoint-explorer[open] .endpoint-explorer__toggle::before {
  transform: rotate(90deg);
}

.endpoint-explorer__badge {
  padding: 0 0.375rem;
  border-radius: 9999px;
  background: rgb(241 245 249);
  font-weight: 600;
}

.endpoint-explorer__panel {
  margin-top: 0.375rem;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.5rem;
  background: #fff;
}

.endpoint-explorer__toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgb(226 232 240);
}

.endpoint-explorer__search {
  flex: 1;
  padding: 0.375rem 0.625rem;
  font-size: 0.875rem;
  border: 1px solid rgb(203 213 225);
  border-radius: 0.375rem;
  outline: none;
  background: #fff;
}

.endpoint-explorer__search:focus {
  border-color: rgb(59 130 246);
  box-shadow: 0 0 0 1px rgb(59 130 246);
}

.endpoint-explorer__count {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: rgb(100 116 139);
  white-space: nowrap;
}

.endpoint-explorer__list {
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  max-height: 19rem;
  overflow-y: auto;
}

.endpoint-explorer__row {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  padding: 0.3125rem 0.75rem;
  font-size: 0.8125rem;
  text-decoration: none;
}

.endpoint-explorer__row:hover,
.endpoint-explorer__row:focus-visible {
  background: rgb(241 245 249);
}

.endpoint-explorer__method {
  flex-shrink: 0;
  width: 3.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.625rem;
  font-weight: 700;
  text-align: center;
  padding: 0.125rem 0;
  border-radius: 0.25rem;
  color: rgb(71 85 105);
  background: rgb(241 245 249);
}

.endpoint-explorer__method--get { background: rgb(220 252 231); color: rgb(21 128 61); }
.endpoint-explorer__method--post { background: rgb(219 234 254); color: rgb(29 78 216); }
.endpoint-explorer__method--put { background: rgb(254 243 199); color: rgb(180 83 9); }
.endpoint-explorer__method--patch { background: rgb(254 249 195); color: rgb(161 98 7); }
.endpoint-explorer__method--delete { background: rgb(254 226 226); color: rgb(185 28 28); }

.endpoint-explorer__path {
  flex-shrink: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgb(15 23 42);
}

.endpoint-explorer__summary {
  overflow: hidden;
  color: rgb(100 116 139);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.endpoint-explorer__deprecated {
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgb(220 38 38);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
