@keyframes dm-rail-slide-in {
  0% {
    opacity: 0;
    transform: translateX(-0.5rem) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes dm-rail-slide-out {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-0.5rem) scale(0.94);
  }
}

.dm-rail-slide-in {
  animation: dm-rail-slide-in 140ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dm-rail-slide-out {
  animation: dm-rail-slide-out 140ms cubic-bezier(0.4, 0, 1, 1) both;
}
