@keyframes pulse-scale {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
}
.animate-pulse-scale {
	animation: pulse-scale 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
	animation: fade-in 0.5s ease-out forwards;
}
/* Ocultar scrollbar para Tailwind */
.no-scrollbar::-webkit-scrollbar {
	display: none;
}
.no-scrollbar {
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}
/* Estilos para el carrusel de sugerencias */
.suggestion-carousel-container {
	position: relative;
}
.suggestion-carousel {
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
}
.suggestion-carousel-item {
	scroll-snap-align: center;
}
.carousel-progress-bar {
	position: absolute;
	bottom: -12px;
	left: 0;
	height: 4px;
	background-color: #f59e0b; /* yellow-500 */
	width: 0%;
	transition: width 0.2s linear;
}
/* Estilos para la conversación de sugerencias */
@keyframes chat-bubble-pop-in {
	from {
		opacity: 0;
		transform: scale(0.8) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}
.animate-chat-bubble {
	animation: chat-bubble-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
	opacity: 0; /* Inicia invisible */
}
.chat-turn {
	width: 100%;
}
.chat-message-left {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	justify-content: flex-start;
}
.chat-message-right {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.5rem;
	justify-content: flex-end;
}
.chat-avatar {
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	flex-shrink: 0;
}
.chat-avatar-user {
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	flex-shrink: 0;
	background-color: #E5E7EB; /* gray-200 */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239CA3AF'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
	background-size: 70%;
	background-position: center;
	background-repeat: no-repeat;
}
.chat-bubble-assistant {
	background-color: #F3F4F6;
	color: #1F2937;
	padding: 0.75rem;
	border-radius: 1rem;
	border-bottom-left-radius: 0;
	max-width: 20rem;
}
.chat-bubble-assistant.thinking {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.75rem 1rem;
}
.chat-bubble-assistant.thinking span {
	width: 0.5rem;
	height: 0.5rem;
	background-color: #9CA3AF; /* gray-400 */
	border-radius: 9999px;
	animation: thinking-dots 1.4s infinite;
}
.chat-bubble-assistant.thinking span:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble-assistant.thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes thinking-dots {
	0%, 80%, 100% { transform: scale(0); }
	40% { transform: scale(1.0); }
}
.chat-bubble-assistant p {
	max-width: 20rem;
}
.chat-option-user {
	background-color: #3B82F6;
	color: white;
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	cursor: pointer;
	transition: background-color 0.2s;
}
.chat-option-user:hover {
	background-color: #2563EB;
}
.chat-option-user.selected {
	background-color: #1D4ED8; /* blue-800 */
	cursor: default;
	box-shadow: none;
}
.chat-option-user:disabled {
	cursor: not-allowed;
}
.chat-option-surprise {
	margin-top: 1rem;
	width: 100%;
	padding: 1rem;
	background-color: #FBBF24;
	border-radius: 0.5rem;
	color: #1F2937;
	font-weight: 700;
	text-align: center;
	transition: background-color 0.2s;
}
.chat-option-surprise:hover {
	background-color: #F59E0B;
}