/* Quiz Funnel Custom Styles */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Smooth transitions */
* {
  transition: all 0.2s ease-in-out;
}

/* Radio button styling */
.radio:checked {
  box-shadow: inset 0 0 0 6px hsl(var(--p));
}

/* Card hover effects */
.card {
  will-change: transform;
}

/* Progress bar smooth animation */
.progress {
  border-radius: 9999px;
}

/* Alert animations */
.alert {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading spinner */
.loading-spinner {
  border-color: hsl(var(--p) / 0.2);
  border-right-color: hsl(var(--p));
}
