:root {
	--cc-accent: #D9A441;
}

.wp-menu-image img {
    padding: 5px 0 0 !important;
    padding-top: 5px !important;
}

.chat-toggle {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 80px;
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	z-index: 999;
	font-size: 32px;
	color: #fff;
	perspective: 800px;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	animation: ccChatFlip 2s ease-in-out infinite;
}

@keyframes ccChatFlip {
	0%, 20%, 100% { transform: rotateY(0deg); }
	10% { transform: rotateY(90deg); }
	20% { transform: rotateY(0deg); }
}

.chat-toggle:hover {
	transform: scale(1.08);
}

.chatbot {
	position: fixed;
	bottom: 100px;
	right: 25px;
	width: 360px;
	max-width: 95%;
	height: 520px;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 15px 40px rgba(0,0,0,.2);
	display: none;
	flex-direction: column;
	z-index: 9999;
	font-family: Arial, sans-serif;
}

.chatbot.cc-open {
	display: flex;
}

.chat-header {
	background: #000;
	color: #fff;
	padding: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header-left img {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--cc-accent);
}

.header-title {
	font-size: 16px;
	font-weight: bold;
}

.close-chat {
	font-size: 22px;
	cursor: pointer;
}

.chat-box {
	flex: 1;
	overflow: auto;
	padding: 15px;
	background: #F4F4F4;
}

.message {
	margin-bottom: 15px;
}

.message.user {
	text-align: right;
}

.message.user span {
	display: inline-block;
	background: var(--cc-accent);
	padding: 10px 14px;
	border-radius: 15px 15px 0 15px;
	max-width: 80%;
	color: #000;
	font-weight: 500;
	font-size: 13px;
}

.message.bot span {
	display: inline-block;
	background: #fff;
	padding: 10px 14px;
	border-radius: 15px 15px 15px 0;
	max-width: 80%;
	color: #000;
	font-size: 13px;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.chat-input {
	display: flex;
	background: #fff;
	flex-direction: column;
}

.chat-input input {
	flex: 1;
	border: none !important;
	padding: 15px !important;
	outline: none !important;
	font-size: 15px;
	border-top: 1px solid #eee !important;
}

.chat-input button.submit-chatbot {
	background: var(--cc-accent);
	border: none;
	padding: 9px 22px;
	cursor: pointer;
	font-weight: bold;
	font-size: 16px;
	text-transform: uppercase;
	color: #fff;
	border-radius: 0px;
}

.chat-input button.submit-chatbot:hover {
	filter: brightness(0.92);
}

.quick-replies {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px;
	background: #F4F4F4;
	justify-content: flex-start;
}

.quick-replies button {
    padding: 6px 12px !important;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #d9d9d9;
    border-radius: 20px !important;
    background: #f8f8f8 !important;
    color: #333 !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s ease;
}

.quick-replies button:hover {
	background: var(--cc-accent) !important;
	border-color: var(--cc-accent);
	color: #fff !important;
}


@media (max-width: 600px) {
	.chatbot {
		width: 95%;
		right: 2.5%;
		height: 75vh;
		bottom: 90px;
	}
	.chat-toggle {
		right: 15px;
		bottom: 15px;
	}
}

.cc-lead-gate {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px;
	background: #F4F4F4;
	overflow: auto;
}

.cc-lead-title {
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 6px;
	color: #000;
}

.cc-lead-subtitle {
	font-size: 13px;
	color: #555;
	margin: 0 0 16px;
}

.cc-lead-gate input[type="text"],
.cc-lead-gate input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	outline: none;
}

.cc-lead-gate input:focus {
	border-color: var(--cc-accent);
}

.cc-lead-gate button {
	width: 100%;
	background: var(--cc-accent);
	border: none;
	padding: 11px;
	border-radius: 8px;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
}

.cc-lead-gate button:hover {
	filter: brightness(0.92);
}

.cc-lead-gate button:disabled {
	opacity: 0.6;
	cursor: default;
}

.cc-lead-error {
	color: #c0392b;
	font-size: 12px;
	margin: -4px 0 10px;
}

.cc-lead-skip {
	display: block;
	text-align: center;
	margin-top: 12px;
	font-size: 12px;
	color: #888;
	text-decoration: underline;
	cursor: pointer;
}

.cc-credit {
	text-align: center;
	font-size: 10px;
	color: #aaa;
	padding: 4px 0 6px;
	background: #fff;
	letter-spacing: .2px;
}

.wave-left {
	position: fixed;
	width: 70px;
	height: 70px;
	right: 72px;
	bottom: 22px;
	z-index: 9998;
	pointer-events: none;
}

.wave-left .dot {
	position: absolute;
	left: 50px;
	top: 50%;
	transform: translateY(-50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	z-index: 2;
}

.wave-left .wave {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	border: 3px solid var(--cc-accent);
	border-color: transparent transparent transparent var(--cc-accent);
	border-radius: 50%;
	opacity: 0;
	animation: ccWaveLeft 1.8s infinite;
}

.wave-left .w1 { width: 20px; height: 20px; animation-delay: 0s; }
.wave-left .w2 { width: 36px; height: 36px; animation-delay: .3s; }
.wave-left .w3 { width: 52px; height: 52px; animation-delay: .6s; }

@keyframes ccWaveLeft {
	0% { transform: translateY(-50%) scale(.7); opacity: 0; }
	40% { opacity: 1; }
	100% { transform: translateY(-50%) scale(1.3); opacity: 0; }
}
