html {
  height: 100%;
}

body {
  min-height: 100%;
}

.button {
  border-width: 2px;
}

#bookmark-list {
  counter-reset: bookmark;
}

.bookmark-vote {
  margin-top: 0.15rem !important;
}

.bookmark-counter {
  width: 50px !important;
}

.bookmark-counter::before {
  counter-increment: bookmark;
  content: counter(bookmark) ".";
  color: #4a4a4a;
}

.fade-out.htmx-swapping {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.has-solid-border {
  border: solid;
}

.is-ghost {
  opacity: 35%;
  pointer-events: none;
}

.flash {
  visibility: hidden;
  opacity: 0;
}

.fade {
  animation-timing-function: cubic-bezier(0.2, -2, 0.8, 2);
  animation-duration: 5s;
  animation-name: fade;
}

@keyframes fade {
  from {
    visibility: visible;
    opacity: 100%;
  }
}

@media screen and (max-width: 767px) {
  .bookmark-vote-tag-group {
    flex-direction: column !important;
  }

  .bookmark-vote-tag-item:first-child {
    margin-bottom: 0 !important;
  }

  #bookmark-list {
    padding-left: 0.5rem;
  }

  #reload-button {
    display: flex;
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .bookmark-item {
    margin-bottom: 0 !important;
  }
}
