.vlr-chatbot {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 100000;
	font-family: var(--wp--preset--font-family--inter, 'Inter', system-ui, sans-serif);
}

.vlr-chatbot__bubble {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: none;
	background: linear-gradient(160deg, var(--wp--preset--color--electric-blue-light, #4D82FF), var(--wp--preset--color--electric-blue, #2F6BFF));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.vlr-chatbot__panel[hidden] {
	display: none;
}

.vlr-chatbot__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 1rem);
	width: 340px;
	max-width: calc(100vw - 2rem);
	height: 460px;
	max-height: 70vh;
	background: linear-gradient(160deg, var(--wp--preset--color--deep-blue, #0B2037), var(--wp--preset--color--midnight-navy, #061321));
	border: 1px solid rgba(122, 164, 255, 0.25);
	border-radius: 16px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.vlr-chatbot__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9rem 1.1rem;
	border-bottom: 1px solid rgba(122, 164, 255, 0.16);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
}

.vlr-chatbot__close {
	background: none;
	border: none;
	color: #A9B8D1;
	font-size: 1.1rem;
	cursor: pointer;
	line-height: 1;
}

.vlr-chatbot__messages {
	flex-grow: 1;
	overflow-y: auto;
	padding: 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.vlr-chatbot__bubble-msg {
	max-width: 85%;
	padding: 0.6rem 0.85rem;
	border-radius: 12px;
	font-size: 0.85rem;
	line-height: 1.5;
}

.vlr-chatbot__bubble-msg--bot {
	align-self: flex-start;
	background: rgba(255, 255, 255, 0.06);
	color: #EEF8FB;
	border-bottom-left-radius: 2px;
}

.vlr-chatbot__bubble-msg--user {
	align-self: flex-end;
	background: linear-gradient(180deg, #4D82FF, #2F6BFF);
	color: #fff;
	border-bottom-right-radius: 2px;
}

.vlr-chatbot__quick-replies {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	padding: 0 1.1rem 0.75rem;
}

.vlr-chatbot__quick-replies button {
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	border: 1px solid rgba(122, 164, 255, 0.3);
	background: rgba(255, 255, 255, 0.04);
	color: #A9B8D1;
	font-size: 0.75rem;
	cursor: pointer;
	font-family: inherit;
}

.vlr-chatbot__form {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem;
	border-top: 1px solid rgba(122, 164, 255, 0.16);
}

.vlr-chatbot__form input {
	flex-grow: 1;
	min-width: 0;
	padding: 0.6rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(122, 164, 255, 0.3);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	font-size: 0.85rem;
	font-family: inherit;
}

.vlr-chatbot__form input::placeholder {
	color: #627589;
}

.vlr-chatbot__form button {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: linear-gradient(180deg, #4D82FF, #2F6BFF);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

@media (max-width: 480px) {
	.vlr-chatbot {
		right: 1rem;
		bottom: 1rem;
	}

	.vlr-chatbot__panel {
		width: calc(100vw - 2rem);
	}
}
