/* Filecrawl page style classes */

/* Sidebar elements customisation */

/* Sidebar container style class */
.sidebar {
  font-size: 0.875rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  padding-top: 0.7rem;
  height: auto;
  align-self: flex-start;
}

/* Hidden sidebar style class */
.sidebar.hidden {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  display: none;
}

/* Hidden sidebar style class */
.sidebar.hidden {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  display: none;
}

/* Form toggle button style class */
#formToggle {
  position: static;
  border: 1px solid #007bff;
  background-color: #ffffff;
  color: #007bff;
  height: 2.2rem;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 15px;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1rem;
}

/* Form toggle button style class during hovering */
#formToggle:hover {
  background-color: #007bff;
  color: #ffffff;
}


/* Table elements customisation */

/* Annotation item style class */
.annotation-item {
  margin-right: 8px;
  white-space: nowrap;
}

/* Annotation indicator style class */
.annotation-indicator {
  color: #28a745;
  font-size: 0.8em;
  font-weight: 500;
  margin-left: 8px;
}

/* Download link style class */
.download-link {
  color: #007bff;
  text-decoration: none;
  margin-left: 4px;
  font-size: 0.9em;
  padding: 2px 4px;
  border-radius: 3px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  display: inline-block;
  line-height: 1;
}

/* Download link style class during hovering */
.download-link:hover {
  color: #0056b3;
  background: #e9ecef;
  text-decoration: none;
}

/* Buttons inside button group style class */
.btn-group .btn {
  margin-right: 5px;
}

/* Truncated text style class */
.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Badge style class */
.badge {
  font-size: 0.75em;
}

/* Primary ¨badge style class */
.bg-primary {
  background-color: #0066cc !important;
  font-weight: 500;
}


/* Buttons customisation */

/* Primary button style class */
.btn-primary {
  background: #0066cc;
  color: white;
  border-radius: 6px;
}

/* Primary button style class during hovering */
.btn-primary:hover {
  background: #0052a3;
}

/* Secondary button style class */
.btn-outline-primary {
  background: transparent;
  color: #0066cc;
  border-radius: 6px;
  border-color: #0066cc;
}

/* Secondary button style class during hovering */
.btn-outline-primary:hover {
  color: #0066cc;
  background: #f0f7ff;
}
