@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');
/*...Friend list section...*/

.wbcaBodyHolder{
	clear:both;
	background-color:#ffffff;
	border-left: 1px solid #EAEAEA;
	border-right: 1px solid #EAEAEA;
	border-radius: 0px 0px 5px 5px;
}

.wpbot-saas-live-chat{
	border-radius: 0px 0px 5px 5px;
}

.wbcaBody {
	overflow-x: hidden;
	overflow-y: hidden;
	vertical-align: baseline;
	/*box-shadow: 0px 3px 1px -3px;*/
	font-size:15px;
	width: 95%;
}
.live-chat {
    width: 65px;
    box-shadow: 0px 3px 9px -6px;
    border-radius: 50%;
    height: 65px;
}
.chatbot-shortcode-row .wbcaBody, .chatbot-theme-shortcode-container .wbcaBody{
	min-height: 620px;
}
.chatbot-shortcode-row #wbca_chat_body, .chatbot-theme-shortcode-container #wbca_chat_body{
	min-height: 575px;
}
.chatbot-shortcode-row .wpbot-saas-live-chat, .chatbot-theme-shortcode-container .wpbot-saas-live-chat{
	min-width: 375px;
}

.wbcaBodyLoading{
	background: url(../images/loading.gif) center center no-repeat;
	height:50px;
}
.wbcaTitle {
	cursor:pointer;
	background-color:#1e88e5;
	border-bottom:1px solid #1565c0;
	border-radius:4px 4px 0 0;
	-moz-border-radius:4px 4px 0 0;
	-webkit-border-radius:4px 4px 0 0;
	-o-border-radius:4px 4px 0 0;
	color:#ffffff;
}

.listOpenIcon:hover, .close:hover, .minus.hover, span.chatCloseIcon:hover{
	opacity:0.7;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; 
	filter: alpha(opacity=70);
}
.wbcaTitle span{
	display:inline-block;
	font-size: 14px;
    font-weight: bold;
	line-height: 30px;
}

.wbcaTitle span.chat-member{
	padding: 0px 5px;
}
.wbcaTitle span.chatIcon{
	width:16px; 
	height:16px;
	margin: 0px 10px;
	margin-top: 10px;
	float: left;
}
.wbcaTitle span.chatIcon.wbca_email{
	margin-top: 10px;
}
.wbcaTitle span.wbca_chat{
	background:url(../images/wbca_chat.png) no-repeat center center;
}

.wbcaTitle span.chatIcon img{
	border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}
.wbcaTitle span.listOpenIcon, .wbcaTitle span.chatCloseIcon{
	width:21px; height:21px;
	display:inline-block;
	float: right;
 	margin: 5px 10px 5px 0px;
	font-size:16px;
	line-height:21px;
	text-align:center;
}
.wbcaTitle span.chatCloseIcon{
	margin-top:6px;
	font-size: 20px;
    font-weight: 400;
}
/*...chat body section...*/

.wbca_chat_wrap {
	width: 100%;
}

#wbca_chat_body {
	overflow-x: hidden;
	overflow-y: auto;
	vertical-align: baseline;
	width:95%;
    padding-left: 10px;
}
#wbca_chat_footer {
	position:relative;
	height: 34px;
}

.wbcaBody #wbca_chat_footer input[type="text"] {
	width: 100%;
	border: none;
	padding: 8px 10px;
	margin: 0;
	font-size: 13px;
	background-color:transparent;
	border:0px;
	border-top:1px solid #EBEBEB;
}
a.btn-send-message {
	width: 33px;
    position: absolute;
    height: 67px;
    left: calc(100% - 60px);
}
.wbca_float_right_footer [type=file] + label {
    margin: 0;
    padding: 0;
    line-height: 0;
}
.wbcaBody #wbca_chat_footer > input:focus {
	background-color:#ffffff;
	outline: 0
}
.wbcaUser {
	float: left;
	max-width: 200px;
	margin: 5px 10px;
	font-size: 13px;
}

.wbcaEvents {
	float: right;
	margin:5px 8px 0px 10px;
}
.wbcaEvents i.close{
	display:inline-block; 
	width:21px; height:21px;
	font-size:28px;
	line-height:21px;
	text-align:center;
}
.wbcaEvents i{
	font-size:18px;
	margin-left:10px;
}

.wbcaOnline {
	color: #94CC66;
	font-size: 14px;
	margin-right: 3px;
	opacity: 0.9;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"; 
	filter: alpha(opacity=90);
}
/*...message section...*/
.leftMessage {
	margin-right:5px;
	max-width: 78%;
}
.rightMessage{
	margin-left:5px;
}

/*...user online status...*/

i.chat_online_circle{
	background:url(../images/online.png) no-repeat;
	background-size:100%;
	-webkit-background-size: 100%;           /* Safari 3.0 */
     -moz-background-size: 100%;           /* Gecko 1.9.2 (Firefox 3.6) */
       -o-background-size: 100%; 
}
i.chat_offline_circle{
	background:url(../images/offline.png) no-repeat;
	background-size:100%;
	-webkit-background-size: 100%;           /* Safari 3.0 */
     -moz-background-size: 100%;           /* Gecko 1.9.2 (Firefox 3.6) */
       -o-background-size: 100%; 
}


/*......... register, login, message .............................*/

.wbca_message_wrap, .wbca_login_wrap, .wbca_logres_wrap, .wbca_register_wrap, .wbca_signup_wrap{
	padding:10px;
}
.wbca_register_wrap, .open-log-in, .wbca-hide{
	display:none;
}
.wbca_signup_wrap{
	    margin: 15% 0;
}
#wbca_type_suggest{
	margin: 10px;
    background: #f5f5f5;
    padding: 10px;
}
#wbca_type_suggest p{
	margin:0;
	padding:0;
}
.wbca_login_wrap .wbca_login_submit{
	display:inline-block;
}

.wbca_login_wrap .wbca_login_submit{
	text-align:right;
	width:44%;
}

.wbcaBody button:hover{
	background-color: #90a4ae;
}
.wbca_logres_wrap{
	padding:5px 0;
	text-align:center;
}
.wbcaBody textarea{
	height:80px;
}

/*..Ticker..... */

#wbca_type_suggest{
	position: relative;
}

#wbca_type_suggest .cursor{
	display: inline-block; 
	background: #565c61; 
	width: 1px; 
	height: 14px; 
	text-align: center;
}


/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
#wbcaChatWindow{
	width:100%;
}
}


/* ----------- iPhone 6 ----------- */

@media (max-width: 320px){
	#wbcaChatWindow{
		width:100%;
	}
}

span.wbca_mobile_ChatIcon.wbca_chat{
	min-width:34px;
	height:34px;
	border-radius:17px;
	-moz-border-radius:17px;
	-webkit-border-radius:17px;
	position:fixed;
	right:0px;
	bottom:34px;
	cursor:pointer;
	z-index:90000;
}
.wbca_mobile_Chat{
	display:inline-block;
	margin-left: 35px;
	margin-right: 15px;
	line-height: 34px;
	font-size: 15px;
	font-weight: bold;
	color:#ffffff;
}

span.wbca_mobile_ChatIcon.wbca_chat {
	background: #1e88e5 url(../images/wbca_chat.png) no-repeat 9px center;
}

/* ----------- iPhone 4, 4S, 5, 5s, 6, 6+ ----------- */


/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait),
  only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait),
  only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait),
  only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait),
  only screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: portrait),
  only screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: portrait) {
	#wbcaChatWindow{
		width:100%;
	}
} 
/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape),
  only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape),
  only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape),
  only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape),
  only screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: landscape),
  only screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: landscape) {
	#wbcaChatWindow{
		width:100%;
	}
}
/* Portrait and Landscape ipad mini, 1, 2 */

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
	#wbcaChatWindow{
		width:100%;
	}	  

}
/* Portrait and Landscape 3, 4 */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
	#wbcaChatWindow{
		width:100%;
	}
}
/* ----------- Non-Retina Screens ----------- */
@media screen 
  and (min-device-width: 1200px) 
  and (max-device-width: 1600px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (min-resolution: 192dpi) { 
	#wbcaChatWindow{
		width:100%;
	}
}
.wbca_header_txt{}
.wbca_header_txt p{font-size: 18px;text-align: center;}
.live-chat {
    background: #15b860 !important;
    color: #fff !important;
    border-radius: 5px 0 0 5px !important;
	font-size: 16px !important;
	height:auto !important;
	    cursor: pointer;
}
.wbcaTitle {
    display: flex;
}
.wbcaBodyHolder {
    border-bottom: 1px solid #EAEAEA;
}
.wbca_admin_message_row .wbcaMessage{

     background-color: #15b860;
    border-bottom-color: #15b860;	
	color: #fff;	
	max-width: 80%;
}
.wbca_client_message_row .wbcaMessage {
    background-color: #a4f3f6 !important;
    border-bottom-color: #a4f3f6 !important;
    color: #181818 !important;
	max-width: 75%;
}
.wbcaTitle {
    background-color: #15b860;
    border-bottom: 1px solid #15b860;
}
.wbcaContent {
    display: inline-block;
    letter-spacing: 0.5px;
    font-size: 14px;
}
.floting_live_chat {
    background: none !important;
    border: 2px solid #15b860 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
     box-shadow: #767580 0px 4px 20px;
}
.wbcaTitle {
    background-color: #1e88e5;
    border-bottom: 1px solid #1e88e5;
}
.wbca_signup_wrap {
    margin: 15% 0;
}
.wbca_message_wrap p{
    font-size: 18px;
    text-align: center;
    color: #5a5a5a;	
}
.wbcaBody {
    width: 100%;
}
.wbcaBody input[type="text"], .wbcaBody input[type="password"], .wbcaFooter textarea, .wbcaBody textarea, #wbca_add_search_form input[type="text"], #wbca_add_search_form textarea, #wbca_edit_form input[type="text"], #wbca_edit_form textarea {
    width: 100%;
    max-width: 328px;
}
.wbcaBody select.inputbox {
    width: 100%;
    padding: 9px;
    border: 1px solid #ddd;
}
.wbcaTitle {
    display: flex;
    justify-content: space-between;
}
select:focus, textarea:focus, input[type='url']:focus, input[type='tel']:focus, input[type='text']:focus, input[type='date']:focus, input[type='email']:focus, input[type='number']:focus, input[type='search']:focus, input[type='password']:focus, span.select2-container--default .select2-selection--single:focus {
    outline: none;
    border-color: #3eaf7c;
}



.wbcaBody button.button:hover {
    color: #fff;
    background-color: #33b0d9;
	transform: translate3d(0, -3px, 0);
}
.wbcaBody button.button {
    background: #1e88e5 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 10px 40px !important;
    margin: 10px 0 0 0 !important;
}
.wbcaBody input[type="text"], .wbcaBody input[type="password"], .wbcaFooter textarea, .wbcaBody textarea, #wbca_add_search_form input[type="text"], #wbca_add_search_form textarea, #wbca_edit_form input[type="text"], #wbca_edit_form textarea {
    padding: 12px 8px !important;
}

.wpbot-saas-live-chat {
	z-index: 999 !important;
}

.wpbot-saas-live-chat {
    bottom: 130px !important;
	box-shadow: 0 5px 40px rgba(0,0,0,.16)!important;
	z-index: 999 !important;
}


.wbcaBody {
    background-color: #ffffff;
    border-radius: 0px 0px 5px 5px;
}

.rightMessage span {
    font-size: 9px;
    color: #636363;
}
.leftMessage span{
    font-size: 10px;
    color: #fff;
}
.live-chat img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.wbca_client_message_row .wbcaMessage {
    background-color: #f1f1f1 !important;
    border-bottom-color: #f1f1f1 !important;
}


.wbca_float_right_footer {
    float: right;
    background: url(../images/send.png);
	width: 25px;
    height: 57px;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid #eeeeee00;
}
.wbca_float_left_footer {
    float: left;
    width: 76%;
}
.wbcaBody{
    max-height:685px !important;
}

.wpbot-saas-live-chat {
 max-height:715px !important; 
}
#wbca_chat_body{
	max-height:622px !important; 
}





/**************************************************************************
2. Ball Selector
**************************************************************************/
/*.floting_live_chat {
	position: relative;
	border-radius: 50%;
}
.floting_live_chat {
	opacity: 1;
	width: 100%;
	height: 100%;
	position: absolute;
	animation: spin 2s linear infinite;
	border: 3px solid transparent;
	border-top-color: #9370DB;
}*/
.floting_live_chat_animation:before {
	content: "";
	position: absolute;
	top: -9px;
	left: -9px;
	right: -9px;
	bottom: -9px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #BA55D3;
	animation: spin 3s linear infinite;
}
.floting_live_chat_animation:after {
	content: "";
	position: absolute;
	top: -15px;
	left: -15px;
	right: -15px;
	bottom: -15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #FF00FF;
	animation: spin 1.5s linear infinite;
}
 @keyframes spin {
 0% {
 -webkit-transform: rotate(0deg);
 -ms-transform: rotate(0deg);
 transform: rotate(0deg);
}
 100% {
 -webkit-transform: rotate(360deg);
 -ms-transform: rotate(360deg);
 transform: rotate(360deg);
}
}
 @keyframes spinHide {
 0% {
 opacity: 0;
}
 100% {
 opacity: 0;
}
}

.wbca_float_right_footer [type=file] {
  height: 0;
  overflow: hidden;
  width: 0;
}

.wbca_float_right_footer [type=file] + label {
  border: none;
  cursor: pointer;
  display: inline-block;
  font-family: "Rubik", sans-serif;
  font-size: inherit;
  font-weight: 500;
  outline: none;
  position: relative;
  transition: all 0.3s;
  vertical-align: middle;
}
.wbca_float_right_footer [type=file] + label.btn-upload {
  overflow: hidden;
}
.wbca_float_right_footer [type=file] + label.btn-upload:before {
  font-size: 100%;
  height: 100%;
  right: 130%;
  line-height: 3.3;
  position: absolute;
  top: 0px;
  transition: all 0.3s;
}

.wbca_float_right_footer {
    width: 90px;
    display: flex;
    align-items: center;
}
.wbca_float_left_footer {
    float: left;
    width: 70%;
}

.wbca_float_right_footer label.btn-upload img {
    max-width: 22px !important;
}
@media only screen and (max-width: 600px) {
	.wpbot-saas-live-chat {
		width: 100%;
		height: auto;
		position: fixed;
		right: 4px;
		bottom: 50px !important;
	}
}


/*19-04-2024*/
.chat-closed-text {
    text-align: center;
    margin: 20px 5px;
}

.bg-light-gray{
	background-color: #90a4ae;
	border-radius: 5px;
}

/* ==========================================================================
   MODERN PREMIUM REDESIGN (Screenshot_174.png inspired)
   ========================================================================== */

/* 1. Main Chat Window Container */
#wbcaChatWindow {
    background: linear-gradient(180deg, #dcf4f6 0%, #ffffff 100%) !important;
    border-radius: 28px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
}

/* Ensure inner structures use the gradient from the screenshot */
.wbcaBodyHolder, .wbcaBody {
    background: linear-gradient(180deg, #dcf4f6 0%, #ffffff 100%) !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
}

/* 2. Transparent Header & Circular Back Button */
.wbcaTitle {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    height: auto !important;
    align-items: center;
    align-content: center;
}

/* Hide default chat icon and clean up title text in header */
.wbcaTitle span.chatIcon {
    display: none !important;
}
.wbcaTitle span.chat-member {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0b2529 !important;
    line-height: normal !important;
}

/* Style back button as a white circular button with shadow */
.wpchat_header_left span#wpbot_back_to_home {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    background: #fff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    float: none !important;
    margin: 0 !important;
}

.wpchat_header_left span#wpbot_back_to_home i {
    color: #0b2529 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    line-height: 42px !important;
    margin: 0 !important;
}

/* 3. Header Text Section ("Hello there 👋") */
.wbca_signup_wrap {
    margin: 0 !important;
    padding: 16px 24px 24px 24px !important;
}
.wbca_header_txt {
    text-align: left !important;
    margin-bottom: 24px !important;
}
.wbca_header_txt::before {
    content: "Hello there 👋" !important;
    display: block !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0b2529 !important;
    margin-bottom: 8px !important;
}
.wbca_header_txt p {
    font-size: 14px !important;
    color: #6a7c80 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* 4. Form inputs (Full Name, Email, Department) styled with labels and SVG icons */
#wbca_signup_form > div, #wbca_message_form > div {
    margin-bottom: 20px !important;
    text-align: left !important;
}

/* Inject Input Labels */
#wbca_signup_form div:has(#wbca_signup_fullname)::before {
    content: "Full Name" !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5c60 !important;
    margin-bottom: 8px !important;
}
#wbca_signup_form div:has(#wbca_signup_email)::before {
    content: "Email Address" !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5c60 !important;
    margin-bottom: 8px !important;
}
#wbca_signup_form div:has(.livechat-select-department)::before {
    content: "Select Department" !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5c60 !important;
    margin-bottom: 8px !important;
}

/* Message form labels */
#wbca_message_form div:has(#wbca_message_fullname)::before {
    content: "Full Name" !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5c60 !important;
    margin-bottom: 8px !important;
}
#wbca_message_form div:has(#wbca_message_email)::before {
    content: "Email Address" !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5c60 !important;
    margin-bottom: 8px !important;
}
#wbca_message_form div:has(#wbca_message)::before {
    content: "Message" !important;
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4a5c60 !important;
    margin-bottom: 8px !important;
}

/* Styling the inputs to look like premium pills with SVG icons */
.wbcaBody input[type="text"], 
.wbcaBody input[type="password"],
.wbcaBody textarea,
.livechat-select-department {
    background-color: #ffffff !important;
    border: 1px solid #e6f0f2 !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
    color: #0b2529 !important;
    display: block !important;
    font-size: 14px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 12px 50px 12px 24px !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Textarea specific overrides */
.wbcaBody textarea {
    border-radius: 18px !important;
    height: 110px !important;
    padding: 16px 20px !important;
    resize: none !important;
}

/* User Profile Icon for Full Name */
#wbca_signup_fullname, #wbca_message_fullname {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238fa0a3' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z' /%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 20px !important;
}

/* Mail Envelope Icon for Email */
#wbca_signup_email, #wbca_message_email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300b4d8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z' /%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 20px !important;
}

/* Department dropdown custom styling */
.livechat-select-department {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238fa0a3' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 16px !important;
}

/* Focus effects */
.wbcaBody input:focus, .wbcaBody textarea:focus, .livechat-select-department:focus {
    border-color: #00b4d8 !important;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.12) !important;
    outline: none !important;
}

/* 5. Start Chat Button & Offline Send Button */
.wbcaBody button.button {
    background: linear-gradient(90deg, #00b4d8 0%, #0077b6 100%) !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    height: 52px !important;
    line-height: normal !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.25) !important;
    cursor: pointer !important;
    margin: 24px 0 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}
.wbcaBody button.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35) !important;
    background: linear-gradient(90deg, #00c4e8 0%, #008cc5 100%) !important;
}
.wbcaBody button.button::before {
    display: none !important; /* Remove older layout hover effect */
}

/* Offline message specific margins */
.wbca_message_wrap {
    padding: 24px !important;
}
.wbca_message_wrap p {
    font-size: 15px !important;
    color: #4a5c60 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    line-height: 1.5 !important;
}

/* 6. Styled Conversation Interface (Message Bubbles & Footer) */
.wbca_chat_wrap {
    background: #ffffff !important;
}
#wbca_chat_body {
    padding: 20px 10px !important;
    background: linear-gradient(180deg, #dcf4f6 0%, #ffffff 100%) !important;
}

/* User Message Speech Bubble (Right) */
.wbca_client_message_row .wbcaMessage {
    background: #b2ebf2 !important;
    border: none !important;
    border-radius: 8px 8px 0 8px !important;
    color: #0b2529 !important;
    padding: 8px 16px !important;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.08) !important;
}

/* Operator Message Speech Bubble (Left) */
.wbca_admin_message_row .wbcaMessage {
    background: #ffffff !important;
    border: 1px solid #eef3f5 !important;
    border-radius: 18px 18px 18px 0 !important;
    color: #2b393b !important;
    padding: 10px 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Remove pointers/arrows for speech bubbles (clean minimalist look) */
.wbcaMessage::after, .wbcaMessage::before {
    display: none !important;
}

/* Modern Chat Input Footer */
#wbca_chat_footer {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 30px !important;
    border: 1px solid #eef3f5 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    padding: 6px 12px !important;
    margin: 16px 20px 20px 20px !important;
    height: auto !important;
}
.wbca_float_left_footer {
    flex-grow: 1 !important;
    width: auto !important;
    float: none !important;
}
.wbcaBody #wbca_chat_footer input[type="text"] {
    border: none !important;
    background: transparent !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    width: 100% !important;
    height: auto !important;
    color: #0b2529 !important;
}
.wbcaBody #wbca_chat_footer input[type="text"]:focus {
    box-shadow: none !important;
}
.wbca_float_right_footer {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    float: none !important;
    width: auto !important;
    background: transparent !important;
    height: auto !important;
}
/* File upload button */
.wbca_float_right_footer label.btn-upload {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #f4f7f8 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}
.wbca_float_right_footer label.btn-upload:hover {
    background: #e8ecee !important;
}
.wbca_float_right_footer label.btn-upload img {
    width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
}
/* Send button */
.wbca_float_right_footer a.btn-send-message {
    position: static !important;
    width: 36px !important;
    height: 36px !important;
    background: #00b4d8 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s, transform 0.2s !important;
}
.wbca_float_right_footer a.btn-send-message:hover {
    background: #0077b6 !important;
    transform: scale(1.05);
}
.wbca_float_right_footer a.btn-send-message span.chatIcon.wbca_chat {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E") no-repeat center center / 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    float: none !important;
}

#wbca_chat_footer {
       margin: -8px 20px 20px 20px !important;
}
#wbca_chat_body {
    height: 470px !important;
}
#wbca_type_suggest {

    background: linear-gradient(90deg, #00b4d8 0%, #0077b6 100%) !important;
    color: #ffffff !important;
    border-radius: 6px;
}



.wbcaMessage {
    border-radius: 6px;
    box-shadow: none !important;
    margin: 4px 12px;
    max-width: 120px;
}

.wbcaMessage {
    background-color: #f1f1f1;
    border-bottom-color: #919191;
    background: linear-gradient(90deg, #00b4d8 0%, #0077b6 100%) !important;
    color: #fff !important;
    padding: 8px 15px;
    border: none;
}

.wbcaContent {
    font-size: 14px;
    font-family: "Figtree", sans-serif;
}
.wbca_client_message_row .wbcaMessage {

    position: relative;
}
.wbcaMessage.rightMessage .ui.list.right.aligned {
    position: absolute;
    bottom: auto;
    width: 100%;
    width: 105px;
    right: 0;
    text-align: right;
    margin: 10px 0 0 0;
}
.wbcaMessage.rightMessage .wbcaMessage span {
    font-size: 11px !important;
    font-style: normal !important;
    color: #353535 !important;
    font-family: "Figtree", sans-serif !important;
}

/* ==========================================================================
   MODERN CUSTOM SCROLLBAR OVERRIDES
   ========================================================================== */
#wbca_chat_body {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(11, 37, 41, 0.15) transparent !important;
}

#wbca_chat_body::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

#wbca_chat_body::-webkit-scrollbar-track {
    background: transparent !important;
}

#wbca_chat_body::-webkit-scrollbar-thumb {
    background-color: rgba(11, 37, 41, 0.15) !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    transition: background-color 0.2s ease !important;
}

#wbca_chat_body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(11, 37, 41, 0.3) !important;
}

.chat-closed-text p b {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    padding: 4px 6px;
    font-size: 13px;
    border-radius: .25rem;
    margin: 0 0 0 0;
}
.chat-closed-text {
    margin: 35px 5px;
}

.chat-closed-text p {
    font-size: 14px;
    color: #000000;
}

.chat-closed-text p.qcld-livechat-reload {
    color: #055160;
    background-color: #cff4fc;
    border: 1px solid #b6effb;
    padding: 4px 6px;
    font-size: 13px;
    border-radius: .25rem;    
}
.chat-closed-text p.qcld-livechat-reload i {
    padding: 0 8px 0 0;
}
.chat-closed-text p.qcld-livechat-reload {
    display: inline;
}

.wbcaBody #wbca_chat_footer #input_wbca_editor:disabled {
    cursor: no-drop;
}
.wbcaBody #wbca_chat_footer #input_wbca_editor[disabled]{
    cursor: no-drop;
}



@media screen and (max-width: 480px) {
div#wp-chatbot-chat-container .wpbot-saas-live-chat {
    width: 96% !important;
    height: 100vh;
    margin: 0 auto;
    left: 0;
    right: 0 !important;
}
div#wp-chatbot-chat-container .wpbot-saas-live-chat .wbcaBody input[type="text"]{
    width: 100%;
    max-width: inherit;
}

div#wp-chatbot-chat-container #wbca_chat_body {
    height: 580px !important;
}
div#wp-chatbot-chat-container .wbca_float_right_footer {
        width: max-content !important;
        padding-right: 0;
    }
}