.hidden{
  display: none !important;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: all;
}

.btn:disabled:hover {
  background-color: #505050;  
}

#searchInput::placeholder {
  color: #bbb;
  opacity: 1;  
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-white{
  background-color: black;
  color: white;
  border-color: white;
}

.btn-white:hover{
  background-color: white;
  color: black;
}

.btn-grey{
  background-color: black;
  color: white;
  border-color: white;
}

.btn-grey:hover{
  background-color: grey;
  color: white;
  border-color: grey;
}

.link-white-hover {
  color: white;
  text-decoration: none;
}

.link-white-hover:hover {
  color: #f39c12;
}

.tag-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 0.2rem;
}

/* #citation {
  text-decoration: none;
  color: white;
  margin: 10px;
}

#citation:hover {
  color: blue;
} */

code {
  border-radius: 5px;
}

#branch {
  padding: 2px;
}

#copy {
  background-color: rgb(201, 201, 201);
  border: white;
  border-radius: 5px;
  width: 24px;
  padding: 4px;
}

#copy:hover {
  cursor: pointer;
}

#copy-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: green;
    color: white;
    padding: 10px 32px;
    border-radius: 6px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#copy-toast.show {
    opacity: 1;
}

.tag-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  margin-right: 0.2rem;
}
