.chat_aiwrap {
	position: fixed;
	right: 0;
	bottom: 0;
	max-width: 370px;
	padding-top: 30px;
	padding-left: 40px;
	z-index: 9999999999;
/*	overflow-y: scroll;*/
    max-height: 100%;
    padding-right: 0px !important;
    overflow-x: hidden;
}

.chat_aiwrap::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.chat_aiwrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chat_aiwrap::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.chat_aiwrap::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.chat_mainbox {
	position: relative;
	right: -100%;
	padding-bottom: 25px;
    transition: right 0.3s ease;
}

.chat_aiwrap .chat_box 
{
	background: #fff;
    padding: 15px 15px;
    border-radius: 10px;
    margin: 0px 10px 10px;
    margin-right: 0px;
    box-shadow: 0px 0px 10px 2px #0000001a;
    font-size: 15px;
}

.chat_box ul {
    margin: 0;
}

.chat_aiwrap .chat_box ul li {
    font-size: 14px;
 }

.chat_aiwrap .chat_open {
	position: fixed;
	bottom: 0;
	right: 0px;
	font-size: 30px;
	color: #ff8484;
	cursor: pointer;
	z-index: 1;
}

.chat_open {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    border-radius: 10px;
}

.chat_open a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}

.chat_open a i {
    margin-right: 10px;
}

.chat_open a.call-us i
{
    transform: rotate(324deg);
}

.chat_open a.call-us {
    background-color: #e0f7fa;
}

.chat_open a.requ-appointment {
    background-color: #e8f5e9;
}

.chat_open a.web-chat {
    background-color: #f3e5f5;
}

.chat_open a:hover {
    background-color: #304C78!important;
    color: #fff;
}

.chat_aiwrap .chat_open img {
	max-width: 60px;
}

.chat_aiwrap .chat_close {
    position: sticky;
    top: 30px;
    font-size: 16px;
    background: #0f71d3;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999999999;
    right: 0;
    left: 100%;
}

.chat_aiwrap .chat_close:hover {
	background: #000;
}

.chat_aiwrap .chat_options ul {
	padding: 0;
	list-style: none;
	margin: 0;
}

.chat_aiwrap .chat_options ul.listbox li {
    padding: 13px 10px;
    background: rgb(255 255 255);
    border-bottom: 1px solid #eaedfb;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin: 10px 0;
    padding-top: 4px;
}

.chat_aiwrap .chat_options ul li:hover {
	color: #0f71d3;
}

.chat_aiwrap .chat_answer {
/*	display: none;*/
}

.chat_aiwrap .answerbox {
	width: 100%;
/*	display: none;*/
}

.chat_aiwrap .answerbox p {
	font-weight: bold;
	margin-bottom: 15px;
}

.chat_aiwrap .answerbox input[type="text"],
.chat_aiwrap .answerbox textarea {
	padding: 12px 10px;
	width: 94%;
	display: block;
	border-radius: 4px;
	border: 1px solid #f1f1f1;
	box-shadow: 0 10px 10px -10px #c5c5c5;
	min-height: 70px;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 13px;
}
.chat_aiwrap .answerbox input[type="submit"], button.reset, #submit_question {
	margin-top: 15px;
	display: block;
	border-radius: 4px;
	border: 0;
	background: #0f71d3;
	padding: 12px 30px;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	width: 100%;
}

.chat_aiwrap .answerbox input[type="submit"]:hover, button.reset:hover, #submit_question {
	background: #000;
}

.appointment-options {
    display: flex;
    gap: 10px;
    margin-top: 13px;
}
.appointment-options a {
    border: 1px solid gray;
    color: gray;
    border-radius: 50px;
    display: block;
    width: 100%;
    text-align: center;
    padding: 5px 10px;
}


.typing-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100px;
    padding: 10px 17px !important;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 25px;
    border-radius: 50%;
    background-color: #333;
    margin: 0 2px;
    animation: typing 1.4s infinite both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}


/*form css start*/
.success_msg
{
	color: green;
}
/* Basic styling for the form */
.appointment-form {
    margin-bottom: 20px;
    margin-top: 20px;
}
.appointment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}
.appointment-form input[type="text"],
.appointment-form input[type="email"],
.appointment-form select, .appointment-form textarea {
    width: 94%;
    padding: 8px;
    margin-bottom: 10px;
}
.appointment-form select
{
    width: 100%;
}
.appointment-form input[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
.appointment-form input[type="submit"]:hover {
    background-color: #005580;
}
fieldset#available_days {
    padding: 0;
    border: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 10px 0;
}
input#submit-appointment {
    background: #209dfd;
    color: #ffffff;
    padding: 7px 21px;
    border: none;
    cursor: pointer;
}
/*form css ends*/

@keyframes typing {
    0%, 100% {
        transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1);
    }
}
