/*
 * hash-generator.css — per-tool styles for the case toggle and hash rows.
 * Tokens only; no inline styles (CSP: style-src 'self').
 */

.hg-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-4);
}

/* Output case radios — inline, wraps on narrow screens. */
.hg-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}
.hg-radio {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font: 500 14px/1.4 var(--font-sans);
  color: var(--text-primary);
}
.hg-radio input {
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--blue-600);
  cursor: pointer;
}

/* Hash result rows. */
.hg-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.hg-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--surface-sunken);
}
.hg-row-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.hg-algo {
  font: 600 13px/1.2 var(--font-sans);
  color: var(--text-primary);
}
.hg-bits {
  font: 500 11px/1.2 var(--font-sans);
  color: var(--text-muted);
}
/* Push the copy button to the right edge of the row header. */
.hg-row-head .hg-copy {
  margin-left: auto;
}
.hg-value {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
  word-break: break-all;
  user-select: all;
}
