/* Nawigacja */
.nav-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e2a35;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.nav-link:hover {
  background-color: #f5fbff;
  color: #2563eb;
}

.nav-link--active {
  color: #2563eb;
  background-color: #e8f0ff;
}

.nav-link--active:hover {
  background-color: #e8f0ff;
  color: #2563eb;
}

@keyframes stat-count-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-animate {
  animation: stat-count-up 0.7s ease-out both;
}

@keyframes fade-in-soft {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-soft {
  animation: fade-in-soft 0.5s ease-out both;
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

.pulse-soft {
  animation: pulse-soft 2.4s ease-in-out infinite;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast-notification {
  animation: toast-in 0.35s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .stat-animate,
  .fade-in-soft,
  .pulse-soft,
  .toast-notification {
    animation: none;
  }
}
