.aa-rating-box {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
}

.aa-rating-title {
  font-weight: 700;
  margin-bottom: 14px;
}

.aa-rating-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.aa-vote-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
  font: inherit;
}

.aa-vote-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.aa-vote-button.is-active {
  border-color: #2ea3f2;
  box-shadow: 0 0 0 3px rgba(46,163,242,.15);
  font-weight: 700;
}

.aa-vote-button.is-disabled {
  cursor: default;
  opacity: 1;
}

.aa-vote-button:disabled {
  color: inherit;
}

.aa-count {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
}

.aa-feedback-message {
  margin-top: 12px;
  font-size: 14px;
}

.aa-feedback-message.is-success {
  color: #1d7f42;
}

.aa-feedback-message.is-error {
  color: #b42318;
}

.aa-feedback-message.is-neutral {
  color: #555;
}

@media (max-width: 767px) {
  .aa-rating-buttons {
    flex-direction: column;
  }

  .aa-vote-button {
    width: 100%;
    justify-content: center;
  }
}

/* Keskitetään artikkeliarvostelut-laatikon sisältö */

.aa-rating-title {
	text-align: center;
}

.aa-rating-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}