/* Content-specific styles for the keyboard shortcuts viewer.
 * The modal scaffold (backdrop / card / header / body / animations)
 * lives in `Modal.module.css` and is reached via the shared `<Modal>`
 * component with `wide` + `bodyScroll` props. */

.search {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 12px;
  background: var(--input-bg);
  color: var(--text-primary);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.search:focus {
  outline: none;
  border-color: var(--accent);
}

.empty {
  padding: 24px 0;
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
}

.group {
  padding: 8px 0 12px;
  border-bottom: 1px solid var(--divider);
}

.group:last-child {
  border-bottom: none;
}

.groupLabel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--text-dim);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.label {
  color: var(--text-primary);
  font-size: 13px;
}

.binding {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  background: var(--selected-bg);
  box-shadow: inset 0 -1px 0 var(--hover-bg);
  font-size: 12px;
  color: var(--text-primary);
}

.unbound {
  color: var(--text-dim);
  font-size: 12px;
  font-style: italic;
}
