/* SnapSplit Custom Styles for Mobile Responsiveness & Touch Controls */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Image Viewer Pan Zoom styles */
.receipt-container {
  overflow: hidden;
  position: relative;
  touch-action: none;
  user-select: none;
  background-color: #0f172a;
  border-radius: 0.75rem;
}

.receipt-img {
  transform-origin: center center;
  transition: transform 0.15s ease-out, filter 0.2s ease;
  max-height: 60vh;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.receipt-img.fullscreen {
  max-height: 85vh;
}

/* Touch chip styles */
.person-chip {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.person-chip.active {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.dark .glass-panel {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.8);
}

/* Smooth pulse for live indicator */
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}

.live-dot {
  animation: livePulse 2s infinite ease-in-out;
}

/* Hide scrollbars for clean mobile view */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Receipt filter presets */
.receipt-contrast {
  filter: contrast(130%) brightness(110%) grayscale(20%);
}
