/* .chatbot-icon {
    transition: all .4s;
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    background: #2b6fa0;
    padding: 10px;

}

.chatbot-icon img {
    width: 100%;
}

.tooltipChat {
    display: none;
    position: absolute;
    right: 106%;
    background: #fff;
    padding: 7px;
    border-radius: 5px;
    width: max-content;
    box-shadow: 0px 0px 10px #00000036;
}

.chatbot-icon:hover .tooltipChat {
    display: block;
} */

   #chatbot {
	position: relative;
	width: 64px;
	height: 64px;
	position: fixed;
    z-index: 999;
	bottom: 32px;
	right: 32px;
	cursor: pointer;
	animation: bounceLight 1s alternate ease-in-out;
}

.robot-layer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(
		calc(-50% + var(--offset-x, 0px)),
		calc(-50% + var(--offset-y, 0px))
	);
	transition: transform 0.1s ease-out;
	will-change: transform; 
}

#chatbot:hover #hair {
	transform: translate(
			calc(-50% + var(--offset-x, 0px)),
			calc(-50% + var(--offset-y, 0px))
		)
		rotate(-270deg);
	transition: 0.3s ease-out;
}

.greeting-bubble {
	position: fixed;
	bottom: 33px;
	right: 105px;
	background: white;
	padding: 12px 18px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transform: translateX(10px);
	pointer-events: none;
	transition: all 0.3s ease;
	z-index: 999;
	white-space: nowrap;
	font-size: 14px;
	color: #333;
}

.greeting-bubble::after {
	content: "";
	position: absolute;
	right: -8px;
	top: 65%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid white;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
}

.chat-button:hover .greeting-bubble {
	opacity: 1;
	transform: translateX(0);
}
 
/* EYES BLINK ANIMATION */
#eye-l,
#eye-r {
	transform-origin: center;
	animation: blink 4s infinite ease-in-out;
}

/* Keyframes for blinking */
@keyframes blink {
	0%, 4% {
		transform: scaleY(1);   /* open */
	}
	5%, 10% {
		transform: scaleY(0.1); /* closed */
	}
	11%, 100% {
		transform: scaleY(1);   /* open */
	}
}

@keyframes bounceLight {
  0% { top: calc(100% - 10px);  }
  100% { top: calc(100% - 95px); }
}

.chatbot-container {
    position: fixed;
    width: 350px;
    bottom: 37px;
    right: 37px;
    border-radius: 10px;
    background-color: white;
    overflow: hidden;
    transform: scale(0);
    /* Initially hidden */
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    /* Smooth transition */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.chat-header {
    background-image: linear-gradient(to right, #2b6fa0, #3e68a2, #575d91, #6656ae, #774baa) !important;
    padding: 15px;
    color: white;
    text-align: left;
    position: relative;
}

.chat-header h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.chat-header .close-btn,
.chat-header .refresh-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    transform: translateY(-50%);
}

.chat-header .refresh-btn {
    right: 42px;
}

.chat-box {
    height: 400px;
    padding: 10px;
    overflow-y: auto;
    border-bottom: 2px solid #eee;
    /*background: #f9f9f9;*/
    background: #2b6fa026;
}

.chat-input {
    display: flex;
    padding: 10px;
    position: relative;
    height: 56px;
}

.chat-input .fa-bars {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 7px;
    background: #eee;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

.chat-input input {
    flex: 1;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    /*padding-left: 42px;*/
}

.chat-input button {
    padding: 5px 10px;
    background-color: #2b6fa0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}

.suggetions ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.suggetions ul li {
    width: max-content;
    padding: 5px;
    background: #fff;
    border: 1px solid #2b6fa0;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    color: #2b6fa0;
    font-weight: 600;

}

.chat-input button:hover {
    background-color: #0b3f64;
}

.message {
    margin-bottom: 10px;
}

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

.message.bot {
    text-align: left;
}

.message.bot table td,
.message.bot table th {
    padding: 5px;
}

.message.bot table {
    margin-bottom: 5px;
}

.message.bot h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.message span {
    display: inline-block;
    padding: 5px 7px;
    border-radius: 5px;
    max-width: 100%;
    font-size: 13px;
    word-wrap: anywhere;
}

.input-control input:focus+i {
    color: var(--blue-color) !important;
}

.message.user span {
    background-color: #2b6fa0;
    color: white;
}

.message.bot span {
    background-color: #fff;
}