/* Reactions Detail Modal */
.reactions-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reactions-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.reactions-modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  background-color: var(--white);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  z-index: 10001;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.reactions-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 1px solid #E8ECEF;
}

.reactions-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.reactions-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.reactions-modal-close:hover {
  background-color: #F8F9FA;
}

.reactions-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-md);
}

.reaction-type-section {
  margin-bottom: var(--spacing-lg);
}

.reaction-type-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid #E8ECEF;
}

.reaction-emoji-small {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.reaction-type-name {
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
}

.reaction-type-count {
  font-size: 14px;
  color: var(--text-light);
}

.reaction-users-list {
  padding-left: var(--spacing-md);
}

.reaction-users-placeholder {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

.reaction-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #F0F0F0;
}

.reaction-user-item:last-child {
  border-bottom: none;
}

.reaction-user-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.reaction-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.reaction-user-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.follow-btn-small {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-small);
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.follow-btn-small:hover {
  background-color: var(--primary-color-dark);
}

.following-badge {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
}

