/* Modern Custom Styles for Accounting Dashboard */

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scaleIn {
  animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Card Glow Effect */
.kpi-card-glow {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.08), 0 8px 10px -6px rgba(99, 102, 241, 0.04);
}

/* Mobile Slip Pan & Zoom Container */
#slipImgContainer {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

#modalSlipImg {
  -webkit-user-drag: none;
  user-select: none;
}

/* Mobile responsive fixes */
@media (max-width: 640px) {
  table {
    font-size: 11px;
  }
  th, td {
    padding: 8px 10px !important;
  }
}
