/* Custom Styles for ReviewByTap CRM */

/* Safe area insets for mobile devices (iPhone notch & home indicator) */
:root {
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: var(--sab);
}

/* Touch-optimized ergonomics */
.tap-target {
  min-height: 44px;
  min-width: 44px;
}

/* Slide-up bottom sheet animation */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Smooth fade in */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.2s ease-out forwards;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Kanban column min-width on desktop */
.kanban-col {
  min-width: 280px;
}

/* Standee 3D Glow card effect */
.standee-card-glow {
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1), 0 8px 10px -6px rgba(59, 130, 246, 0.1);
}

/* Pulse animation for follow-up reminders */
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.badge-pulse {
  animation: pulseDot 2s infinite;
}

/* Concentric NFC electromagnetic radio waves */
@keyframes nfcWave {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.nfc-ring-1 {
  animation: nfcWave 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.nfc-ring-2 {
  animation: nfcWave 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: 0.6s;
}

.nfc-ring-3 {
  animation: nfcWave 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: 1.2s;
}

/* Subtle glowing logo badge */
.nfc-badge-glow {
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.45);
}

