/* ================= Toast transitions ================= */
#toast-wrap > div {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ================= Animations (mirror referensi) ================= */
@keyframes scale-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.animate-scale-in { animation: scale-in 0.2s ease-out; }

@keyframes slide-up {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.animate-slide-up { animation: slide-up 0.4s ease-out; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-in { animation: fade-in 0.2s ease-out; }
.fade-in { animation: fade-in 0.2s ease-out; }

@keyframes slide-in-right {
  from { transform: translateX(2rem); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.slide-in-from-right-8 { animation: slide-in-right 0.3s ease-out; }

@keyframes slide-in-bottom {
  from { transform: translateY(1rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.slide-in-from-bottom-4 { animation: slide-in-bottom 0.4s ease-out; }

/* ================= Utils ================= */
.no-tap { -webkit-tap-highlight-color: transparent; }

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= Scrollbar ================= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

select option {
  background: #ffffff;
  color: #0f172a;
}
