html { scroll-behavior: smooth; }
body { background-color: #f7faf8; color: #233129; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f5f2; }
::-webkit-scrollbar-thumb { background: #398b5e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1e432f; }

/* Infinite Marquee */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

/* Modal Fade Animation */
.fade-in {
  animation: fadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Printable Slip */
@media print {
  body * { visibility: hidden; }
  #printableSlip, #printableSlip * { visibility: visible; }
  #printableSlip {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 24px;
    box-shadow: none !important;
    border: 2px dashed #246b46 !important;
  }
}