:root {
  --orange: #F0A41A;
  --orange-rgb: 240, 164, 26;
}

@keyframes zoomInFromRight {
  from {
    transform: scale(0.5) translateX(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateX(0);
    opacity: 1;
  }
}

@keyframes zoomOutToRight {
  from {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateX(50px) scale(0.5);
    opacity: 0;
  }
}

.animate-zoomRightIn {
  animation: zoomInFromRight 0.5s forwards;
}

.animate-zoomRightOut {
  animation: zoomOutToRight 0.5s forwards;
}

@keyframes zoomInFromCircle {
  0% {
    visibility: hidden;
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }
  50% {
    border-radius: 10px 0 0 10px;
    right: 0;
    bottom: 30px;
  }
  100% {
    visibility: visible;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    border-radius: 10px 0 0 10px;
  }
}

@keyframes zoomOutToCircle {
  0% {
    visibility: visible;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    border-radius: 10px 0 0 10px;
  }
  50% {
    border-radius: 10px 0 0 10px;
    right: 0;
    bottom: 30px;
  }
  100% {
    visibility: hidden;
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }
}

.animate-zoomInFromCircle {
  animation: zoomInFromCircle 0.8s forwards;
}

.animate-zoomOutToCircle {
  animation: zoomOutToCircle 0.8s forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.slide-in {
    animation: slideInLeft 0.3s forwards;
}

.slide-out {
    animation: slideOutLeft 0.3s forwards;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--orange-rgb), 0.7);
    transform: scale(1);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 20px 20px rgba(var(--orange-rgb), 0);
    transform: scale(1.06);
    opacity: 0.75;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--orange-rgb), 0);
    transform: scale(1);
    opacity: 1;
  }
}

.pulse-highlight {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.2, 1) 2;
  border-radius: 5px;
  transition: box-shadow 0.4s ease;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
}

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

.fade-in {
  animation: fadeIn 0.2s ease-in forwards;
}

.fade-out {
  animation: fadeOut 0.2s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
