@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  .tabular-nums {
    font-variant-numeric: tabular-nums;
  }
}

/* Biometric scanner scan-line animation */
@keyframes scanSweep {
  0% {
    top: 0%;
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 98%;
    opacity: 0.8;
  }
}

.animate-scan-sweep {
  animation: scanSweep 2.4s ease-in-out infinite alternate;
}

/* Pulse radar for scanner HUD */
@keyframes radarRing {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.4;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.9;
  }
}

.animate-radar-ring {
  animation: radarRing 3s ease-in-out infinite;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
