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

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
}

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

/* 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;
}

/* Status colors */
.status-badge-instock {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.status-badge-reserved {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.status-badge-transit {
  background-color: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.status-badge-delivered {
  background-color: #f5f3ff;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}
.status-badge-sold {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Modal styling */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

/* Responsive bottom bar padding on mobile */
@media (max-width: 768px) {
  .pb-mobile-nav {
    padding-bottom: 5.5rem;
  }
}

/* PRINT STYLESHEET FOR DELIVERY DISPATCH NOTE */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  header, nav, #mobile-bottom-nav, .no-print, button, .btn {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .printable-delivery-sheet {
    display: block !important;
    page-break-after: always;
    padding: 20px;
    border: 2px solid #333;
    margin: 10px;
  }
}
.print-only {
  display: none;
}
