/* Custom styles for SHARP PrintHub Pro */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #0b1120;
  color: #f1f5f9;
}

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

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(71, 85, 105, 1);
}

/* Toast animations */
.toast-enter-active,
.toast-leave-active {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-enter-from {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

.toast-leave-to {
  opacity: 0;
  transform: translateX(100px);
}

/* Modal animation */
.modal-enter-active,
.modal-leave-active {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-enter-from,
.modal-leave-to {
  opacity: 0;
  transform: scale(0.98);
}

/* Grid background for PDF preview */
.pdf-preview-grid {
  background-color: #0f172a;
  background-image: radial-gradient(rgba(51, 65, 85, 0.35) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Hardware glow effects */
.tray-active-glow {
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.45);
  border-color: #38bdf8 !important;
}

.finisher-active-glow {
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.45);
  border-color: #818cf8 !important;
}

.punch-active-glow {
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
}

/* Stagger offset stack visualization */
.stack-offset-card {
  position: relative;
}
.stack-offset-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 6px;
  right: -6px;
  bottom: 3px;
  background: rgba(56, 189, 248, 0.25);
  border-radius: 4px;
  border: 1px dashed rgba(56, 189, 248, 0.5);
  z-index: 0;
}