#chatbot-div {
    box-shadow: rgba(33, 33, 33, 0.12) 0px 16px 24px 2px, rgba(33, 33, 33, 0.08) 0px 6px 30px 5px, rgba(33, 33, 33, 0.04) 0px 6px 10px -5px;
    border-radius: 16px !important;
    overflow: hidden;
}

#cb-chatbot, #cb-chatbot-test {
    position: fixed;
    display: none;
    right: 20px;
    bottom:20px;
    z-index: 9999;
    width: 400px;
    height: 640px;
    background: white;
    overflow: scroll;
    /*border-radius: 0.25rem;*/
	box-shadow: rgba(33, 33, 33, 0.12) 0px 16px 24px 2px, rgba(33, 33, 33, 0.08) 0px 6px 30px 5px, rgba(33, 33, 33, 0.04) 0px 6px 10px -5px;
    border-radius: 16px !important;
    overflow: hidden;
}

#cb-chatbot.zoom-in {
    width: 756px/*740px*/;
    height: calc(100% - 70px);/*84vh720px*/;
}
#cb-chatbot.zoom-in .cb-bubble.human {width:100%; max-width:70%;}
#cb-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    line-height: 1.43;
}

#cb-chatbot-button {
    position: fixed;
    right: 10px;
    bottom: 116px;
    z-index: 10000;
    width: 60px;
    height: 60px;
    font-size: 15px;
    color: white;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    background: #71609b;
    -webkit-animation: mahmud 2s infinite;
    animation: mahmud 2s infinite;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
	overflow:hidden;
}

#cb-chatbot-button.active .cb-sc-krNlru {
    background: url("./assets/Icon-Close.png") no-repeat;
}

.cb-sc-krNlru{
    /*background: url("./assets/Icon-Logo.png") no-repeat;*/
	background: url("./assets/icn_chatbot.webp") no-repeat;
    background-position: center center !important;
    width: 60px !important;
    height: 60px !important;
    color: white !important;
}

#cb-container ::-webkit-scrollbar {
    width: 5px;
    height: 3px;
    border-left: 0;
    background: rgba(0, 0, 0, 0.1)
}

#cb-container ::-webkit-scrollbar-track {
    background: none
}

#cb-container ::-webkit-scrollbar-thumb {
    background: #6C6C6C;
    border-radius: 0
}

#cb-container *:focus {
    outline: none;
    inline: none
}

#cb-container * {
    box-sizing: border-box
}

#cb-flow {
    width: 100%;
    height:  100%;/*563px; 100vh;*/
    overflow-y: auto;
    overflow-x: hidden;
	/*padding-bottom:70px;*/
}

#cb-flow > .cb-inner {
    padding-top: 100%;
    margin: 0 20px
}

#cb-input {
    position: absolute;
    bottom: 0;
    width: 100%; padding:10px;
}

#cb-input #cb-input-container {
    display: flex; flex-wrap:wrap; align-items:center; gap:10px;
	width: 100%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius:10px;
    font-size: 1em;
    padding:8px;
    color: rgba(34, 34, 34, 0.6);
    border:1px solid #a9aabf;
    transition: box-shadow 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), transform 375ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s, opacity 375ms cubic-bezier(0.215, 0.61, 0.355, 1) 0s
}
#cb-input #cb-input-container input {width:calc(100% - 45px); height:40px; border:none;}
#cb-input #cb-input-container textarea {width:calc(100% - 45px); height:40px; border:none; resize: none;}
#cb-input .addfunciton {width:100%;}
#cb-input .addfunciton img {height:22px; cursor:pointer;}

/*#cb-input #cb-input-container {
    width: 100%;
    display: block;
    background: #f0f0f0;
    box-shadow: 0 0 0 rgba(58, 58, 58, 0);
    border-radius: 40px;
    font-size: 1em;
    padding: 8px 42px 8px 16px;
    height: 40px;
    color: rgba(34, 34, 34, 0.6);
    border-style: none;
    transition: box-shadow 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), transform 375ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s, opacity 375ms cubic-bezier(0.215, 0.61, 0.355, 1) 0s
}
*/

#cb-input button {display:flex; align-items:center; justify-content:center;
	width: 30px;
    height: 30px;
    border-width: 0;
    border-color: #D9D9D9;
    border-style: solid;
    border-image: none;
    background-color: #71609b;
    color: #D9D9D9;
    border-radius: 100px;
    transition: background-color 0.75s cubic-bezier(0.215, 0.61, 0.355, 1);
    cursor: pointer; font-size:24px;
}

#cb-input button img {height:16px;}

.cb-segment {
    clear: both
}

.cb-segment.cb-bot .cb-icon, .cb-segment.cb-bot .cb-bubble {
    float: left
}

.cb-segment.cb-human .cb-icon, .cb-segment.cb-human .cb-bubble-input, .cb-segment.cb-human .bubble-ctn-human {
    float: right
}

.cb-icon {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 100px
}

.cb-bubble.human {width:100%; max-width:90%;
    float: right
}

.cb-bot .cb-icon, #cb-header .cb-icon {
    background: url("./assets/Icon-Robot.svg") no-repeat;
    background-position: center center;
    background-color: #71609b;
    margin-right: 10px
}

#cb-header .cb-icon {
    margin-right: 0;
}

.cb-human .cb-icon {
    background: url("./assets/Icon-Human.svg") no-repeat;
    background-position: center;
    background-color: #75FABF;
    margin-left: 10px
}

.cb-bubble {
    font-family: Helvetica, Arial, sans-serif;
    color: #3A3A3A;
    border-radius: 100px
}

.cb-bubble.bot {width:100%;
    background-color: #E6E6E6;
    color: #3A3A3A;
    border-radius:10px
}

.cb-bubble-type-select .cb-bubble.bot, .cb-bubble-type-select .cb-bubble.human {
    background-color: transparent
}

.cb-bubble > .cb-inner {
    margin: 0;
    padding: 10px 0;
}

.cb-bubble > div {white-space: pre-wrap;}

.cb-bubble p {
    margin: 0;
    opacity: 0;
    display: inline;
}

.cb-segment hr {
    clear: both;
    display: blocK;
    visibility: hidden;
    width: 100%;
    margin-top: 10px
}

.cb-bot .cb-bubble {
}

.cb-bubble .bubble-ctn-human {
    background-color: #fff;
    border-bottom-right-radius: 0px;
    text-align: left;
    transform: translateX(0px);
    border: 2px solid #75FABF;
    border-radius:10px;
    padding: 6px 12px;
}

.cb-bubble .bubble-ctn-bot {
    padding: 8px 12px;
    /*max-width: 314px;*/
}

.cb-waiting {
    width: 70px;
    padding: 5px
}

@keyframes wave {
    0%, 60%, 100% {
        transform: initial
    }
    30% {
        transform: translateY(-5px);
        background: #98979C
    }
}

.cb-waiting .circle {
    display: inline-block;
    width: 11px;
    height: 11px;
    background-color: #AFAFB2;
    border-radius: 100px;
    padding: 5px;
    animation: wave 1.3s ease-in-out infinite
}

.cb-waiting .circle:nth-child(1) {
    margin-left: 8px
}

.cb-waiting .circle:nth-child(2) {
    animation-delay: -1.1s;
    margin-left: 5px
}

.cb-waiting .circle:nth-child(3) {
    animation-delay: -0.9s;
    margin-left: 5px
}

.cb-choice {
    flex: 1;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: 2px solid #75FABF;
    border-radius: 2em;
    padding: 6px 12px;
    margin-left: 10px;
    font-family: Helvetica, Arial, sans-serif;
    transition: all 0.75s cubic-bezier(0.215, 0.61, 0.355, 1)
}

.cb-choice:hover, .cb-choice.cb-active {
    background-color: #75FABF;
    color: #000;
    transform: translateY(3px)
}

.cb-choice:before {
    content: '';
    display: inline-block;
    height: 0.75em;
    width: 0.7em;
    background-color: #75FABF;
    border-radius: 100px;
    margin-right: 7px;
    transition: all 0.75s cubic-bezier(0.215, 0.61, 0.355, 1)
}

.cb-choice:hover:before, .cb-choice.cb-active:before {
    background-color: #fff
}

.cb-bubble-input {
    width: 590px;
    background-color: #fbfbfb;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px
}

.cb-bubble-input input {
    cursor: pointer;
    font-family: Helvetica, Arial, sans-serif;
    padding: 10px 10px;
    color: #3A3A3A;
    margin: 3px 0;
    border-style: none;
    border-radius: 4px;
    transition: box-shadow 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.75s cubic-bezier(0.215, 0.61, 0.355, 1), transform 375ms cubic-bezier(0.175, 0.885, 0.32, 1.275) 0s, opacity 375ms cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
    background-color: #eee;
    width: 100%
}

.cb-bubble-input input:focus {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2)
}

.cb-bubble-input input::placeholder {
    font-family: Helvetica, Arial, sans-serif;
    color: #9a9a9a
}

.disabled {
    background-color: #fff;
    color: #9a9a9a;
    border: 3px solid #D8D8D8
}

.disabled:before {
    background-color: #9a9a9a
}

.disabled:hover {
    transform: translateY(0);
    background-color: #fff;
    color: #9a9a9a
}

.disabled:hover:before {
    background-color: #9a9a9a
}

#cb-header {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    font-style: normal;
    border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 11px 12px;
}

#cb-header #cb-title {
    display: flex;
    gap: 8px;
    -webkit-box-align: center;
    align-items: center;
}

#cb-header #cb-text {
    font-size: 18px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -.2px;
    color: black;
}
#cb-header .cb-topicn {display:flex; align-items:cetner; justify-content:flex-end; margin-left:auto; }
#cb-header .cb-topicn button {width:20px; margin:0 8px;}
#cb-header .cb-topicn img {width:100%;  filter: grayscale(1);}
#cb-header button img:hover,
#cb-header button img:active,
#cb-header button img:focus {filter: none;}

.cb-top {display:flex; align-items:center; justify-content:flex-end; height:50px; padding:0 10px; background: linear-gradient(40deg, #50319e, 70%, #2863d1);}
.cb-top button {width:14px; margin:0 8px;}
.cb-top button img {width:100%;}

.cb-dropdown {position:relative;}
.cb-dropmenu {position: absolute; top: 100%; right:0; z-index: 1000; float: left; width:230px; margin: 2px  0 0;  font-size:13px;  color: #333;  text-align: left;   list-style: none;  background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, .15); border-radius:3px; box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,.1); overflow:hidden;}
.cb-dropmenu li {display:flex; padding:10px; border-bottom:1px solid #ededed; cursor: pointer;}
.cb-dropmenu li:hover,
.cb-dropmenu li.active {background:#f6f6f6;}
.cb-dropmenu li:last-child {border-bottom:none;}
.cb-dropmenu .cb-avatar {width:30px; height:30px; margin-right:10px; background:#9ad4a1; border-radius:50px; overflow:hidden;}
.cb-dropmenu .cb-avatar img {width:100%;}
.cb-dropmenu .cb-conts {width:calc(100% - 64px); margin-right:20px; word-break:break-all;}
.cb-dropmenu .cb-conts a.cb-tit,
.cb-dropmenu .cb-conts .cb-tit {display:block; color:#11338c; font-weight:700;}
.cb-dropmenu .cb-conts a.cb-tit:hover,
.cb-dropmenu .cb-conts .cb-tit:hover {color:#0056b3;}
.cb-dropmenu .cb-badge {display:flex; align-items:center; margin-left:auto; width:10px; }
.cb-dropmenu .cb-success {display:block; width:10px; height:10px; border:3px solid #4caf50; border-radius:50px;}

@media (max-width:768px) {
	#cb-chatbot,
	#cb-chatbot-test,
	#cb-chatbot.zoom-in {bottom:20px; width:80%; height:calc(100% - 64px);}
	#cb-chatbot.zoom-in {width:calc(100% - 40px);}
	#cb-chatbot-button {bottom:92px;}
}

@media (max-width:576px) {
	#cb-chatbot-button {bottom:140px;}
	#cb-chatbot-button,
	.cb-sc-krNlru {width:48px!important; height:48px!important;}
	.cb-sc-krNlru {background-size: cover;}
}