/* ================================
   DIARY REACTIONS STYLES
   ================================ */

/* Reactions Container */
.diary-post-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
  margin: 0.5rem 0;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.diary-no-reactions {
  color: #666666;
  font-size: 0.85rem;
  font-style: italic;
  margin: 0;
}

/* Individual Reaction */
.diary-reaction {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.75rem;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.diary-reaction:hover {
  background: #1a1a1a;
  border-color: #3a3a3a;
  transform: scale(1.05);
}

.diary-reaction.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.diary-reaction.active .reaction-emoji {
  filter: none;
}

.diary-reaction .reaction-emoji {
  font-size: 1.1rem;
  line-height: 1;
}

.diary-reaction .reaction-count {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 1rem;
  text-align: center;
}

/* Reaction Picker */
.diary-reaction-picker {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  margin: 0.5rem 0;
  flex-wrap: wrap;
  animation: slideDown 0.2s ease-out;
}

.reaction-emoji {
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.reaction-emoji:hover {
  background: #1a1a1a;
  border-color: #ffffff;
  transform: scale(1.2);
}

.reaction-emoji:active {
  transform: scale(1.1);
}

/* Comment Login Message */
.diary-comment-login {
  text-align: center;
  padding: 1.5rem;
  background: #0a0a0a;
  border-radius: 6px;
  margin-top: 1rem;
}

.diary-comment-login p {
  color: #999999;
  margin: 0;
  font-size: 0.9rem;
}

.diary-comment-login a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

.diary-comment-login a:hover {
  color: #cccccc;
}

/* Loading State */
.diary-comments-loading {
  text-align: center;
  padding: 1.5rem;
  color: #666666;
  font-style: italic;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .diary-post-reactions {
    gap: 0.4rem;
  }

  .diary-reaction {
    padding: 0.35rem 0.6rem;
    font-size: 0.9rem;
  }

  .reaction-emoji {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .diary-reaction-picker {
    gap: 0.4rem;
    padding: 0.6rem;
  }
}
