/* Biology Virtual Lab Custom Styles */
body {
  color: #213547;
  background-color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
}

h1 { 
  font-family: Arial, Helvetica, sans-serif; 
}

/* Custom animations for tree rings */
.dark-ring {
  transition: stroke 0.2s ease-in-out, stroke-width 0.2s ease-in-out;
}

.dark-ring:hover {
  stroke-width: 6px !important;
  stroke: #fb923c !important;
}

/* Smooth transitions for interactive elements */
.transition-all {
  transition: all 0.3s ease-in-out;
}

/* Custom scrollbar for protocol observations */
.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Pulse animation for loading states */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Tree ring highlighting */
.ring-highlight {
  stroke: #22c55e !important;
  stroke-width: 4px !important;
  opacity: 0.8;
}

/* Success message animation */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  animation: slideInRight 0.3s ease-out;
}

/* Modal backdrop */
.modal-backdrop {
  backdrop-filter: blur(4px);
}

/* Print styles for protocol */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
  }
  
  .bg-gradient-to-br {
    background: white !important;
  }
}