/* Stoke Testimonials Custom Styles */

/* Video recording interface enhancements */
#camera-preview, #recorded-video {
  max-height: 400px;
  object-fit: cover;
}

/* Smooth transitions for interface changes */
.hidden {
  display: none !important;
}

/* Recording timer pulsing effect */
#recording-timer {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Star rating hover effects */
.star {
  cursor: pointer;
  transition: all 0.2s ease;
}

.star:hover {
  transform: scale(1.1);
}

/* Custom scrollbar for testimonials list */
#testimonials-list {
  max-height: 600px;
  overflow-y: auto;
}

#testimonials-list::-webkit-scrollbar {
  width: 8px;
}

#testimonials-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#testimonials-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

#testimonials-list::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Button loading states */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive video containers */
@media (max-width: 768px) {
  #camera-preview, #recorded-video {
    max-height: 280px;
  }
}

/* Focus states for accessibility */
input:focus, button:focus, video:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Success message animation */
#success-message {
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}