/* cremebrulee.se – Theme: Rating, Actions, Print */

/* --- Rating stars --- */
.recipe-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.rating-stars {
  display: flex;
  gap: 2px;
  cursor: pointer;
}
.rating-stars .star {
  width: 28px;
  height: 28px;
  fill: #e8e0d8;
  transition: fill 0.15s, transform 0.15s;
  cursor: pointer;
}
.rating-stars .star:hover,
.rating-stars .star.hovered {
  transform: scale(1.15);
}
.rating-stars .star.filled {
  fill: #3d2f2a;
}
.rating-stars .star.hovered {
  fill: #a89585;
}
.rating-stars.rated .star {
  cursor: default;
}
.rating-stars.rated .star:hover,
.rating-stars.rated .star.hovered {
  transform: none;
}
.rating-info {
  font-size: 0.85rem;
  color: #7a6b5d;
}
.rating-info strong {
  color: #3d2f2a;
}
.rating-thankyou {
  font-size: 0.85rem;
  color: #3d2f2a;
  font-weight: 500;
}

/* --- Recipe action buttons --- */
.recipe-actions {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  flex-wrap: wrap;
}
.recipe-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e8e0d8;
  border-radius: 6px;
  background: #fffdf7;
  color: #3d2f2a;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}
.recipe-action-btn:hover {
  background: #e8e0d8;
  border-color: #a89585;
}
.recipe-action-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.copy-feedback {
  font-size: 0.8rem;
  color: #3d2f2a;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}
.copy-feedback.visible {
  opacity: 1;
}
