/* Flux Energy — security.html technical/plain-English copy toggle */

.copy-mode-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1rem;
}

.copy-mode-bar__inner {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.copy-mode-bar__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.copy-mode-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.2rem;
}

.copy-mode-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.copy-mode-btn:hover {
  color: var(--text);
}

.copy-mode-btn[aria-pressed='true'] {
  background: var(--accent);
  color: #fff;
}

.copy-mode-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
