/* Intense Voltage Chat & Lead Widget — yellow/black, mobile-friendly. */
.ivc-chat {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #111;
}

.ivc-chat-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #ffc800;
	color: #111;
	border: 2px solid #111;
	border-radius: 999px;
	padding: 10px 16px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.ivc-chat-toggle-icon {
	font-size: 18px;
}

.ivc-chat-panel {
	position: absolute;
	right: 0;
	bottom: 62px;
	width: 340px;
	max-width: calc(100vw - 40px);
	max-height: 70vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 2px solid #111;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.ivc-chat-panel[hidden] {
	display: none;
}

.ivc-chat-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
	background: #111;
	color: #fff;
	padding: 12px 14px;
}

.ivc-chat-header strong {
	display: block;
	font-size: 15px;
}

.ivc-chat-header span {
	display: block;
	font-size: 12px;
	color: #ffc800;
}

.ivc-chat-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
}

.ivc-chat-messages {
	padding: 12px;
	overflow-y: auto;
	max-height: 260px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ivc-chat-msg {
	padding: 8px 11px;
	border-radius: 12px;
	max-width: 88%;
}

.ivc-chat-msg-bot {
	background: #f2f2f2;
	align-self: flex-start;
	border-bottom-left-radius: 4px;
}

.ivc-chat-msg-user {
	background: #ffc800;
	align-self: flex-end;
	border-bottom-right-radius: 4px;
}

.ivc-chat-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 12px 10px;
}

.ivc-chat-quick button {
	background: #fff;
	border: 1px solid #111;
	border-radius: 999px;
	padding: 5px 11px;
	font-size: 13px;
	cursor: pointer;
}

.ivc-chat-quick button:hover {
	background: #ffc800;
}

.ivc-chat-form {
	padding: 0 12px 10px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ivc-chat-form[hidden] {
	display: none;
}

.ivc-chat-form-intro {
	margin: 0;
	font-weight: 600;
}

.ivc-chat-form label {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 13px;
}

.ivc-chat-form input,
.ivc-chat-form select,
.ivc-chat-form textarea {
	border: 1px solid #999;
	border-radius: 6px;
	padding: 7px 9px;
	font-size: 14px;
	width: 100%;
	box-sizing: border-box;
}

.ivc-chat-submit {
	background: #ffc800;
	border: 2px solid #111;
	border-radius: 8px;
	padding: 9px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}

.ivc-chat-form-status {
	margin: 0;
	font-size: 13px;
	min-height: 18px;
}

.ivc-chat-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	background: #f2f2f2;
	padding: 9px 12px;
	font-size: 12px;
}

.ivc-chat-call {
	color: #111;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 480px) {
	.ivc-chat {
		right: 12px;
		bottom: 12px;
	}

	.ivc-chat-toggle-label {
		display: none;
	}

	.ivc-chat-panel {
		bottom: 58px;
		width: calc(100vw - 24px);
	}
}
