/* MySVT Bot — themed for SVT INDIA */
.mysvt-bot {
	position: fixed;
	right: 22px;
	bottom: 100px;
	z-index: 99998;
	font-family: inherit;
}

.mysvt-bot-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	color: #fff;
	background: linear-gradient(135deg, #EE8933 0%, #ffd012 100%);
	box-shadow: 0 8px 28px rgba(238, 137, 51, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mysvt-bot-toggle:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(238, 137, 51, 0.55);
}

.mysvt-bot-toggle-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0, 13, 112, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.mysvt-bot-toggle-label {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
}

.mysvt-bot-panel {
	position: absolute;
	right: 0;
	bottom: 72px;
	width: 360px;
	max-width: calc(100vw - 32px);
	height: 520px;
	max-height: calc(100vh - 140px);
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, #001a5c 0%, #000d70 100%);
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
	overflow: hidden;
	animation: mysvtBotIn 0.25s ease;
}

.mysvt-bot-panel[hidden] {
	display: none !important;
}

@keyframes mysvtBotIn {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.mysvt-bot-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: rgba(0, 0, 0, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mysvt-bot-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
}

.mysvt-bot-brand strong {
	display: block;
	font-size: 15px;
}

.mysvt-bot-brand span {
	font-size: 11px;
	opacity: 0.75;
}

.mysvt-bot-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(to right, #EE8933, #ffd012);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #fff;
}

.mysvt-bot-close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.8;
	padding: 0 4px;
}

.mysvt-bot-close:hover {
	opacity: 1;
}

.mysvt-bot-messages {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: #ffffff;
}

.mysvt-bot-msg {
	max-width: 88%;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.5;
	word-break: break-word;
}

.mysvt-bot-msg.bot {
	max-width: 92%;
	align-self: flex-start;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border-bottom-left-radius: 4px;
}

.mysvt-bot-msg.bot,
.mysvt-bot-msg.bot p,
.mysvt-bot-msg.bot li,
.mysvt-bot-msg.typing {
	color: #ffffff;
}

.mysvt-bot-msg a {
	color: #ffd012;
	text-decoration: underline;
	font-weight: 600;
}

.mysvt-bot-msg a:hover {
	color: #fff;
}

.mysvt-bot-msg.bot p {
	margin: 0 0 8px;
}

.mysvt-bot-msg.bot p:last-child {
	margin-bottom: 0;
}

.mysvt-bot-msg.bot strong {
	color: #ffd012;
	font-weight: 600;
}

.mysvt-bot-msg.bot .mysvt-bot-list {
	margin: 6px 0 4px;
	padding-left: 0;
	list-style: none;
}

.mysvt-bot-msg.bot .mysvt-bot-list li {
	position: relative;
	padding-left: 14px;
	margin-bottom: 8px;
	line-height: 1.45;
}

.mysvt-bot-msg.bot .mysvt-bot-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: linear-gradient(to right, #EE8933, #ffd012);
}

.mysvt-bot-msg.bot .mysvt-bot-list li:last-child {
	margin-bottom: 0;
}

.mysvt-bot-msg.user {
	align-self: flex-end;
	background: linear-gradient(135deg, #EE8933, #f5a623);
	color: #fff;
	border-bottom-right-radius: 4px;
}

.mysvt-bot-msg.typing {
	opacity: 0.7;
	font-style: italic;
}

.mysvt-bot-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 12px 8px;
	max-height: 72px;
	overflow-y: auto;
}

.mysvt-bot-quick button {
	font-size: 11px;
	padding: 6px 10px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.mysvt-bot-quick button:hover {
	background: rgba(238, 137, 51, 0.35);
	border-color: #EE8933;
}

.mysvt-bot-actions {
	display: flex;
	gap: 8px;
	padding: 0 12px 10px;
}

.mysvt-bot-actions a {
	flex: 1;
	text-align: center;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.2s;
}

.mysvt-bot-action-call {
	background: linear-gradient(to right, #EE8933, #ffd012);
}

.mysvt-bot-action-wa {
	background: #25d366;
}

.mysvt-bot-actions a:hover {
	opacity: 0.9;
	color: #fff;
}

.mysvt-bot-form {
	display: flex;
	gap: 8px;
	padding: 12px;
	background: rgba(0, 0, 0, 0.25);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mysvt-bot-form input {
	flex: 1;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 24px;
	padding: 10px 16px;
	font-size: 14px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	outline: none;
}

.mysvt-bot-form input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.mysvt-bot-form input:focus {
	border-color: #EE8933;
}

.mysvt-bot-form button {
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: linear-gradient(to right, #EE8933, #ffd012);
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	flex-shrink: 0;
}

.mysvt-bot-form button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.mysvt-bot {
		right: 12px;
		bottom: 88px;
	}
	.mysvt-bot-panel {
		width: calc(100vw - 24px);
		height: 70vh;
	}
	.mysvt-bot-toggle-label {
		display: none;
	}
}
