/* Custom animations and styling polish */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-in {
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom modern scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Toast animations */
#toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Card hover glow effect */
.qr-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 24px -10px rgba(79, 70, 229, 0.15);
}
