

@keyframes cfFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cfFadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cfScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cfModalPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(14px);
  }
  60% {
    opacity: 1;
    transform: scale(1.01) translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes cfRadarPing {
  0% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(0, 168, 89, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 7px rgba(0, 168, 89, 0);
  }
  100% {
    transform: scale(0.85);
    box-shadow: 0 0 0 0 rgba(0, 168, 89, 0);
  }
}

@keyframes cfColdChainGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(20, 155, 143, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(20, 155, 143, 0);
  }
}

@keyframes cfAlertPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}

@keyframes cfFloatSubtle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes cfShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes cfTabGlideIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cfTabGlideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.cf-animate-fade-in-up {
  animation: cfFadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cf-animate-scale-in {
  animation: cfScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cf-modal-pop {
  animation: cfModalPop 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cf-radar-dot {
  animation: cfRadarPing 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.cf-cold-chain-pulse {
  animation: cfColdChainGlow 2.5s infinite ease-in-out;
}

.cf-alert-pulse {
  animation: cfAlertPulse 1.8s infinite ease-in-out;
}

.cf-float-subtle {
  animation: cfFloatSubtle 4s ease-in-out infinite;
}

.tab-pane.tab-pane-enter {
  animation: cfTabGlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.tab-pane.tab-pane-exit {
  animation: cfTabGlideOut 0.12s cubic-bezier(0.4, 0, 1, 1) forwards !important;
}

.cf-card-hover {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.cf-card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(10, 77, 60, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.cf-btn-press {
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.16s ease,
              box-shadow 0.16s ease;
}

.cf-btn-press:active {
  transform: scale(0.96);
}

.cf-table-row {
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.cf-table-row:hover {
  background-color: rgba(240, 253, 244, 0.6);
}

.cf-stagger-1 { animation-delay: 50ms; }
.cf-stagger-2 { animation-delay: 100ms; }
.cf-stagger-3 { animation-delay: 150ms; }
.cf-stagger-4 { animation-delay: 200ms; }
.cf-stagger-5 { animation-delay: 250ms; }
.cf-stagger-6 { animation-delay: 300ms; }

.cf-cold-chain-shimmer {
  background: linear-gradient(90deg, #149B8F 0%, #00A859 50%, #0D5C75 100%);
  background-size: 200% 100%;
  animation: cfShimmer 4s infinite linear;
}
