/* DimanaMurah Custom App Styles */

:root {
  --primary-emerald: #059669;
  --primary-dark: #064e3b;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Scanner Animation */
.scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, #34d399, #10b981, transparent);
  box-shadow: 0 0 12px 3px rgba(16, 185, 129, 0.7);
  animation: scanLaser 2s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes scanLaser {
  0% {
    top: 5%;
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 95%;
    opacity: 0.8;
  }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism accents */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Photo Proof Lightbox */
.proof-lightbox-img {
  max-height: 65vh;
  max-width: 100%;
  object-fit: contain;
}

/* Animated Pulse Dot */
.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseDot {
  to {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

/* Mobile Safe Areas for iOS notch/home indicator */
.safe-bottom {
  padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
}

/* Prevent text zoom on iPhone inputs */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Smooth Touch Scrolling */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
