/* Shared voting controls for book and microlearning details. */
.content-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(124, 88, 253, .17);
  border-radius: 16px;
  background: #faf8ff;
  max-width: 100%;
}
.content-vote-caption {
  font-size: 14px;
  font-weight: 700;
  color: #403963;
  width: 100%;
}
.content-vote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
}
.content-vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 120px;
  min-width: 120px;
  max-width: 160px;
  white-space: nowrap;
  gap: 7px;
  min-height: 40px;
  border: 1px solid #ddd2ff;
  border-radius: 11px;
  padding: 7px 12px;
  background: #fff;
  color: #43356b;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.content-vote-button:hover, .content-vote-button:focus-visible {
  border-color: #7c58fd;
}
.content-vote-button.is-selected {
  background: #eee9ff;
  border-color: #7c58fd;
  color: #603dcc;
  font-weight: 700;
}
.content-vote-button:disabled { cursor: wait; opacity: .6; }
.content-vote-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.content-vote-public-count { font-size: 13px; font-weight: 700; }
.content-vote-actions a { color: #6544dc; font-size: 13px; }
.content-vote-message { font-size: 12px; color: #a42f39; text-align: center; }
.content-vote-message:empty { display: none; }
