:root {
  color-scheme: dark;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #070b14;
  color: #e5ecf6;
}

.glass-panel {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(12px);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.12));
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.45);
}

.pulse-red-border {
  animation: pulseRed 1.1s infinite ease-in-out;
}

@keyframes pulseRed {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65), 0 0 36px rgba(239, 68, 68, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0), 0 0 60px rgba(239, 68, 68, 0.55);
  }
}

.receipt-scroll::-webkit-scrollbar {
  width: 6px;
}
.receipt-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 9999px;
}

.cam-feed-wrap img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
