/* Admin-wide chrome: the grouped navigation and the maintenance-mode banner
   (app/views/administrate/application/_navigation.html.erb). Loaded on every admin page via the _stylesheet override. */

.navigation__section-title {
  margin: 20px 0 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.navigation__debug {
  margin-top: 20px;
}

.navigation__debug > summary {
  cursor: pointer;
  list-style-position: inside;
}

.maintenance-banner {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-left: 3px solid #b23c17;
  background: rgba(178, 60, 23, 0.08);
  font-size: 13px;
  line-height: 1.4;
}

/* Drag handle for the curated-feeds sortable table (see the _collection override). */
.sortable-handle {
  width: 32px;
  cursor: grab;
  text-align: center;
  opacity: 0.45;
  user-select: none;
}

.sortable-handle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sortable tbody tr:active {
  cursor: grabbing;
  background: rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
  .maintenance-banner {
    border-left-color: #fca5a5;
    background: rgba(252, 165, 165, 0.12);
  }
}
