/* ============================================
   評価とお気に入り表示スタイル
============================================ */

/* 評価とお気に入りコンテナ */
.post-rating-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 182, 193, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 182, 193, 0.2);
}

/* 評価コンテナのスタイル調整 */
.post-ratings {
  display: inline-block !important;
  padding: 10px !important;
  background: rgba(255, 182, 193, 0.1) !important;
  border-radius: 8px !important;
  margin: 10px 0 !important;
  box-shadow: 0 2px 5px rgba(240, 155, 195, 0.2) !important;
  width: 100%;
  text-align: center;
}

/* お気に入りボタンのコンテナ */
.favorite-button-container {
  margin-top: 15px;
  width: 100%;
  text-align: center;
}

/* お気に入りボタンのスタイル */
.simplefavorite-button {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 160px;
}

/* お気に入りボタンの説明文 */
.favorite-description {
  margin-top: 8px;
  font-size: 13px;
  color: #777;
  text-align: center;
}

/* お気に入り一覧へのリンク */
.favorite-description a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.favorite-description a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* 評価完了後にお気に入りボタンに注目を促すスタイル */
.simplefavorite-button.rating-completed {
  animation: pulse 1s ease-in-out infinite;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(240, 155, 195, 0.7);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(240, 155, 195, 0.7);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 5px rgba(240, 155, 195, 0.5);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(240, 155, 195, 0.7);
  }
}

/* メディアクエリ削除 - 常に縦並びに維持 */