/* ===== Commands page ===== */

/* Sticky tab bar */
.tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 10px;
  margin: 0 0 1rem 0;
  flex-wrap: wrap;
  background: rgba(18,18,18,.75);
  backdrop-filter: blur(6px);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* Tab buttons */
.tab {
  background: #333;
  color: #fff;
  border: 0;
  padding: .5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease, transform .04s ease;
}

.tab:hover {
  background: #3a3a3a;
}

.tab:active {
  transform: translateY(1px);
}

.tab.active {
  background: var(--brand);
}

/* Panels */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Command cards */
.tab-content ul {
  padding-left: 1.1rem;
}

.tab-content ul li {
  list-style: disc;
  background: var(--card);
  padding: 12px;
  border-left: 4px solid var(--brand);
  margin: 10px 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.tab-content ul li code {
  background: #000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.tab-content ul li strong {
  color: var(--brand);
}