/* Crawler dashboard — small tweaks on top of Bootstrap */
.sidebar .nav-link {
  color: #334155;
}
.sidebar .nav-link:hover {
  background-color: #f1f5f9;
}
.sidebar .nav-link.active {
  background-color: #e0f2fe;
  color: #0369a1;
}

/* Overview stat cards that link to filtered lists */
.stat-card-link .card {
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.stat-card-link:hover .card {
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.12) !important;
}
.stat-card-link:hover {
  cursor: pointer;
}

/* Jobs page: scrollable filter lists (~5 rows visible, rest scroll) */
.location-filter-scroll,
.filter-option-scroll {
  max-height: calc(2.15rem * 5);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.location-filter-scroll .form-check,
.filter-option-scroll .form-check {
  margin-bottom: 0;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.location-filter-scroll .form-check:last-child,
.filter-option-scroll .form-check:last-child {
  border-bottom: 0 !important;
}

/* Sortable table headers (sort + dir query params) */
.table thead th a:hover {
  text-decoration: underline;
}
.table thead th .sort-col-icon {
  font-size: 0.9em;
  opacity: 0.85;
}
.table thead th a:hover .sort-col-icon {
  opacity: 1;
}
