/* Custom styles for Smart HIS MVP */

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

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Card hover and focus states */
.sample-card {
  transition: all 0.2s ease;
}

.sample-card:hover {
  transform: translateY(-1px);
  border-color: #10b981;
}

/* Persian typography styling */
.font-persian {
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  text-align: right;
}

/* Toast transitions */
#toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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