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

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb {
	background: #334155;
}

::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

.dark ::-webkit-scrollbar-thumb:hover {
	background: #475569;
}

/* Card hover animation */
.kcd-card {
	transition: all 0.15s ease-in-out;
}

.kcd-card:hover {
	transform: translateY(-2px);
}

/* Flash animation on code copy */
@keyframes copyFlash {
	0% {
		background-color: rgba(20, 184, 166, 0.25);
	}
	100% {
		background-color: transparent;
	}
}

.flash-copied {
	animation: copyFlash 0.6s ease-out;
}

/* Hide scrollbar utility */
.scrollbar-none::-webkit-scrollbar {
	display: none;
}
.scrollbar-none {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
