:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #1a1a2e;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

#root {
  width: 100%;
  height: 100%;
}

/* Utility animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 120, 212, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.8), 0 0 30px rgba(0, 120, 212, 0.4);
  }
}

/* Capture button attention-grabbing pulse */
@keyframes captureButtonPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(46, 125, 50, 0.4), 0 2px 8px rgba(0,0,0,0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(46, 125, 50, 0.7), 0 0 40px rgba(46, 125, 50, 0.3), 0 2px 8px rgba(0,0,0,0.3);
    transform: scale(1.02);
  }
}

/* Instant tooltip for recycle tabs */
.recycle-tab:hover .recycle-tooltip {
  opacity: 1 !important;
}
