/* Custom Styles & Mobile Optimizations for Pizza Cono Launchpad */

:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Touch friendly tap targets */
@media (max-width: 768px) {
  button, input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }
  .kanban-col {
    min-width: 82vw;
  }
}

/* Subtle Glassmorphism */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Smooth modal animations */
.modal-enter {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
}
.modal-enter-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pulse badge for live sync */
@keyframes syncPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}
.syncing-dot {
  animation: syncPulse 1.4s ease-in-out infinite;
}

/* Safe area paddings for bottom mobile navigation */
.pb-safe {
  padding-bottom: calc(4.5rem + var(--safe-bottom));
}
