/**
 * Comments Button Styles
 */

.CommentPlugin_ShowCommentsButton {
  position: fixed;
  top: 10px;
  right: 15px;
  background-color: var(--theme-elevation-100, #f3f3f3);
  color: white;
  border-radius: 10px;
  border: 1px solid var(--theme-elevation-200, #e0e0e0);
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.2s ease;
}

i.comments {
  background-size: contain;
  display: inline-block;
  height: 20px;
  width: 20px;
  vertical-align: -10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4.414A2 2 0 0 0 3 11.586l-2 2V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12.793a.5.5 0 0 0 .854.353l2.853-2.853A1 1 0 0 1 4.414 12H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M3 3.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zM3 6a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9A.5.5 0 0 1 3 6zm0 2.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
  opacity: 0.8;
  transition: opacity 0.2s linear;
}

@media (max-width: 1030px) {
  .CommentPlugin_ShowCommentsButton {
    top: 40px;
  }
}

.CommentPlugin_ShowCommentsButton:hover {
  background-color: var(--theme-elevation-150, #e6e6e6);
}

.CommentPlugin_ShowCommentsButton:hover i.comments {
  opacity: 1;
}

.CommentPlugin_ShowCommentsButton.active {
  background-color: var(--theme-elevation-150, #e6e6e6);
  color: var(--theme-elevation-900, #111111);
}
