[id] {
  scroll-margin-top: 80px;
}

html {
  overflow-y: scroll;
}

.card {
  opacity: 1;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.text-bg-purple {
  color: #fff !important;
  background-color: #6f42c1 !important;
}

.text-bg-orange {
  color: #111827 !important;
  background-color: #fd7e14 !important;
}

.text-bg-teal {
  color: #fff !important;
  background-color: #0f766e !important;
}

.cm-navbar-actions {
  flex: 0 0 auto;
  gap: 0.75rem;
  margin-left: auto;
}

.cm-explore-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  animation: cm-explore-hint-float 1.6s ease-in-out infinite;
}

@keyframes cm-explore-hint-float {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.75;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}
