/* 
 * styles.css   
 */

/* CSS Variables for theming */
:root {
    --background-color: #ffffff;
    --text-color: #ffffff;
    --link-color: #0d6efd;
    --chatbox-background: #ffffff;
    --chatbox-border: #ccc;
    --input-background: #f7f7f7;
    --input-text-color: #000000;
    --input-border: #ccc;
    --button-background: #0d6efd;
    --button-border: #0d6efd;
    --button-color: #ffffff;
    --placeholder-color: #cccccc;
    --overlay-background: rgba(0, 0, 0, 0.85);

    --primary-color: #03b7e4;
    --secondary-color: #7950ee;
    --green-color: #33cc00;
    --green-light-color: #45dd12;
}

/* Base styles */
body {
    font-family: Arial, sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: transparent;
}

/* Bootstrap */

h5{line-height:2rem;
}
.text-center{text-align: center!important;}

.mb-2{margin-bottom:.5rem!important;}
.mb-3{margin-bottom:1rem!important;}

.my-3{margin-top: 1rem!important;margin-bottom: 1rem!important;}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    /*--bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);*/
    width: 100%;
    padding-right: 0!important;
    padding-left: 0!important;
    margin-right: auto;
    margin-left: auto;
}
/* End Bootstrap */



/* Bot Launcher */
.bot-launcher-wrap{
    display: flex;
    z-index: 100000;
}

.bot-minimizer-wrap{
    display: flex;
    z-index: 100000;
}

.notification {
  /* Styling for your notification box */
  font-size: small;
  background: #333333;
  width: 200px;
  color: white;
  padding: 15px;
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: block; /* Initially visible */
}

/* This bridges the gap so you can mouse into the tooltip without it disappearing */
.notification:before {
bottom: -20px;
content: " ";
display: block;
height: 20px;
left: 0;
position: absolute;
width: 100%;
}

/* CSS Triangles */
.notification:after {
border-left: solid transparent 10px;
border-right: solid transparent 10px;
border-top: solid #333 10px;
bottom: -10px;
content: " ";
height: 0;
right: 17px;
margin-left: -13px;
position: absolute;
width: 0;
}

.notification p {width: 145px;}

.notification.hidden {
  display: none; /* Hide when the "hidden" class is applied */
}

#closeNotification {
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  position:absolute;
  top:0;
  right:0;
  margin:10px;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

#closeNotification:hover {
    transform: scale(1.2) rotate(360deg);
}

.notification button{
    border: 0;
    padding: 0;
    background: none;
}

.bot-minimizer,
.bot-launcher{
 position: absolute;
 right: 20px;
 bottom: 20px;
}

.bot-minimizer button{
    border: 0;
    padding: 0;

}

.bot-launcher button{
    border: 0;
    padding: 0;
    background: none;
}


.csbot-btn{
    background-color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 25px;
    border:none;
    color: #fff;
    transition: all 0.3s ease;
}

.csbot-btn:hover{
    transform: scale(1.2);
    transform: scale(1.1) rotate(360deg);
}

.female-cs-btn{
    width: 50px;
    height: 50px;
    border:0;
    padding: 0;
    transition: all 0.3s ease;
}

.female-cs-btn:hover{
    transform: scale(1.2);
}


/* Session timer */
#session-timer-container {
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.30);
    display: block;
    margin: 10px auto;
    white-space: nowrap;
    width: auto;
    text-align: center;
}

#session-timer-container.text-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Username overlay */
.username-overlay {
    text-align: center;
    color: white;
    z-index: 999;
    min-height: 75dvh;
    min-height: 75vh;
    max-width: 90%;
    margin: auto;
}

.minimize-login{
 position: absolute;
 right: 20px;
 top: 20px;
}
.minimize-login button{
    border: 0;
    padding: 0;
    background: none;
}

.icon-close{
    cursor:pointer;
    position:relative;
    height: 30px;
    width: 30px;
    transition: all 0.3s ease;
}
.icon-close:hover{
    transform: scale(1.4);
    transform: scale(1.4) rotate(360deg);
}

.max-width300{
    max-width: 300px;
    margin: 0 auto;
}

#page-subheader{
  color: #666666;
  text-align: center;
  font-size: 11px;
}
/* Chat container */
#chat-container { 
    display: block;
    opacity: 1;
    visibility: visible;
}

.chatbox-wrap {
    background-color: var(--chatbox-background);
    width: 100%;
    height: calc(100dvh - 318px);
    height: calc(100vh - 318px);
    padding: 15px;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    position: relative;
}


/* Chatbox */
#chatbox {
    width: 100%;
    height: calc(100dvh - 500px);
    height: calc(100vh - 500px);
    overflow-y: auto;
    text-align: left;
    position: relative;
}

/* For Webkit-based browsers (Chrome, Safari, Opera) */
.hide-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

/* For Firefox */
.hide-scrollbar {
  scrollbar-width: none;
}

/* For Internet Explorer and Edge */
.hide-scrollbar {
  -ms-overflow-style: none;
}

/* Message styles */
.message {
    margin-bottom: 15px;
    width: 100%;
    word-wrap: break-word;
}

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

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

.message.user .message-content {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px;
    border-radius: 10px 10px 0 10px;
    max-width: 80%;
    word-wrap: break-word;
}

.message.assistant .message-content {
    display: inline-block;
    background-color: #e7e7e7;
    color: #666666;
    padding: 10px;
    border-radius: 10px 10px 10px 0;
    max-width: 90%;
    word-wrap: break-word;
}

.message.assistant.typing .message-content {
    background-color: #e2e3e5;
    color: #41464b;
    font-style: italic;
    animation: pulse 2s infinite;
}

.message.system.timeout .message-content {
    /*background-color: #f8d7da;
    color: #842029;
    padding: .25rem;
    border-radius: .25rem;*/
    font-size: small;
    color: #666666;
}

/* Typing indicator */
.typing-dots {
    display: inline-block;
    min-width: 20px;
    text-align: left;
    margin-left: 4px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Input and buttons */
#message {
    background-color: transparent;
    color: var(--input-text-color);
    border: 1px solid var(--input-border);
}

#message::placeholder {
    color: var(--placeholder-color);
}

.send-button {
    background-color: var(--button-background);
    border-color: var(--button-border);
    color: var(--button-color);
}

.send-button:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #ffffff;
}




/* Responsive design */
@media (max-width: 576px) {
    .message.user .message-content,
    .message.assistant .message-content {
        max-width: 100%;
    }
}

/* Special styling for summary messages */
.message.assistant.summary .message-content {
    /*background-color: #cfe2ff;
    color: #084298;
    font-style: italic;*/
    font-size: small;
    color: #666666;
}

/* System messages */
.message.system .message-content {
    /*background-color: #f8d7da;
    color: #842029;
    font-style: italic;
    text-align: center;
    margin: 0 auto;
    font-size: small;
    padding: .25rem;
    border-radius: .25rem;*/
    font-size: small;
    color: #666666;
}

/* Connected system message - higher specificity to override default system style */
body .message.system.connected .message-content {
    /*background-color: #d1e7dd;
    color: #0f5132;
    font-style: italic;
    text-align: center;
    margin: 0 auto;
    font-size: small;
    padding: .25rem;
    border-radius: .25rem;*/
    font-size: small;
    color: #666666;
}

/* Connecting system message - higher specificity to override default system style */
body .message.system.connecting .message-content {
    /*background-color: #fff3cd;
    color: #664d03;
    font-style: italic;
    text-align: center;
    margin: 0 auto;
    font-size: small;
    padding: .25rem;
    border-radius: .25rem;*/
    font-size: small;
    color: #666666;
}

/* Connection control buttons */
.connection-controls .badge {
    cursor: pointer;
}

/* Formatted text elements */
.message-content a {
    color: var(--link-color);
    text-decoration: underline;
}

.message-content a:hover {
    text-decoration: none;
}

.message-content code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.message-content pre {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
}

.message-content ul, .message-content ol {
    padding-left: 20px;
    margin: 5px 0;
}

.message-content p {
    margin: 0 0 10px 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}


.wrapper{
    display: flex;
}

#csbot{
    padding: 0;
    bottom: 0;
    z-index: 1; /* Sit on top */
    margin: 0 auto;
    width: auto;
    height: auto;
    overflow: auto; /* Enable scroll if needed */
}

.modal-wrap {
    max-width: 420px;
    position: absolute;
    bottom: 90px;
    right: 20px;
    border-radius: 1rem;
    background: #03B7E4;
    background: linear-gradient(145deg,rgba(3, 183, 228, 1) 10%, rgba(122, 81, 240, 1) 100%);
    box-shadow: 0 0 1.625rem rgba(0, 0, 0, 0.3);
    padding: 0;
  
}

.input-wrap{
    min-height: 6vh;
    background-color: var(--input-background);
    border-radius: 0 0 1rem 1rem;
}

.input-control{
    overflow-y: none;
    outline: none!important;
    border-radius: 1rem;
    padding: 20px;
    width: calc(100% - 60px);
    outline-width:0!important;
    outline-offset: 0!important;
    border: none!important;
    outline: none!important;
}
.input-control:focus,
input:focus {
    outline-color:#ffffff!important;
    outline-style: dotted!important;
    outline-width:0!important;
    outline-offset: 0!important;
}

.btn-send{
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border:none;
    color: #fff;
    transition: all 0.3s ease;
    
}

.btn-send:hover{
    background-color: var(--secondary-color);
}

.icon-arrow{
    width: 14px;
    transition: all 0.3s ease;
}

#message:invalid + .btn-send .icon-arrow {
    width: 10px;
    transform: rotate(270deg);
}

#message:invalid + .btn-send {
    background-color: #ccc;
    width: 36px;
    height: 36px;
    border-radius: 18px;
}

.header-flex{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-flex h6{
  margin-left: 15px;
  margin-bottom: 0!important;
}

.btn-container {
  display: flex;
  flex-direction: row-reverse;
  margin: 15px;
}

.btn-login{
    color: #fff;
    font-size: 16px;
    background-color: var(--green-color);
    border: none;
    border-radius: 25px;
    height: 50px;
    line-height: 40px;
    vertical-align: middle;
    padding: 5px 40px;
    font-weight: bold;
}

.btn-login:hover{
    background-color: var(--green-light-color)!important;
}

.btn-login:active,
.btn-login:focus{
    background-color: var(--green-light-color)!important;
    box-shadow: none!important;
}

.btn-disconnect{
    color: #fff;
    font-size: 12px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 15px;
    height: 30px;
    line-height: 20px;
    vertical-align: middle;
    padding: 5px 20px;
    font-weight: bold;
}

.btn-disconnect:hover{
    background-color: #5c6aed;
}

/* This is for the loading animation when user clicks logout */

#loading {
  display: none;
}
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
}

.lds-ellipsis div {
  position: absolute;
  top: 6px;
  margin-left: -10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}


.bot-login-screen{
    width: 75px;
    margin: 0 auto;
}

.bot-wrap { 
    margin: 0 auto;
} 

.bot-img{ 
    width: 50px;
    margin: 0 auto;
    display: block;
    padding-bottom: 10px;
}
@media (max-height: 768px) {
  .bot-img{display: none;}
  #chatbox{height: calc(100vh - 420px);}
}

.toggle{
  display: flex;
  flex-direction: column
}

.btn-toggle{
  display: block;
  width: 160px;
  margin: 0px auto 10px auto;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  line-height: 30px;
  border-radius: 15px;
  border:0;
  transition: transform 0.5s;
  transform: rotateY(360deg);
}
.btn-end-chat {
  background-color:  #f74444;
}
.btn-end-chat:hover{
  background-color: #ff6b6b;
}

.btn-start-chat{
  background-color: #33cc00;
}

.btn-start-chat:hover{
  background-color: var(--green-light-color);
}

.opacity25 {
  opacity: 0.25;
}

.opacity50 {
  opacity: 0.5;
}

.opacity75 {
  opacity: 0.75;
}

.opacity100 {
  opacity: 1;
}

.hide{
    display: none;
    visibility: hidden;
    opacity: 0;
}
.show{
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Animations */

.pop {
  animation-duration: 0.4s;
  animation-name: animate-pop;
  animation-timing-function: cubic-bezier(.26, .53, .74, 1.48);
}

@keyframes animate-pop {
  0% {
    transform: translate(10%, 5%);
    transform: scale(0.5, 0.5);
  }

  100% {
    transform: translate(0px);
    transform: scale(1, 1);
  }
}



.jello {
        -moz-animation:jello .7s linear;  
        -webkit-animation:jello .7s linear; 
        -ms-animation:jello .7s linear; 
        -o-animation:jello .7s linear; 
        animation:jello .7s linear; 
}


@-moz-keyframes jello {
        0%{ -moz-transform:scale(1, 1);}
        50%{ -moz-transform:scale(0.9, 1.1);}
        75%{ -moz-transform:scale(1.1, 0.9);}
        100%{ -moz-transform:scale(0.95, 1.05);}
}

@-webkit-keyframes jello {
        0%{ -webkit-transform:scale(1, 1);}
        50%{ -webkit-transform:scale(0.9, 1.1);}
        75%{ -webkit-transform:scale(1.1, 0.9);}
        100%{ -webkit-transform:scale(0.95, 1.05);}
}

@-ms-keyframes jello{
        0%{ -ms-transform:scale(1, 1);}
        50%{ -ms-transform:scale(0.9, 1.1);}
        75%{ -ms-transform:scale(1.1, 0.9);}
        100%{ -ms-transform:scale(0.95, 1.05);}
}

@-o-keyframes jello{
        0%{ -o-transform:scale(1, 1);}
        50%{ -o-transform:scale(0.9, 1.1);}
        75%{ -o-transform:scale(1.1, 0.9);}
        100%{ -o-transform:scale(0.95, 1.05);}
}

@keyframes jello{
	0% {transform: scale(1, 1);}
	25% {transform: scale(0.9, 1.1);}
	50% {transform: scale(1.1, 0.9);}
	75% {transform: scale(0.95, 1.05);}
}



  .flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes flipInX {
  0% {
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
  transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
  opacity: 0;
  }
  40% {
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
  transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
  }
  60% {
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
  transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
  opacity: 1;
  }
  80% {
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  100% {
  -webkit-transform: perspective(400px);
  transform: perspective(400px);
  }
  }
  @keyframes flipInX {
  0% {
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
  transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
  opacity: 0;
  }
  40% {
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
  transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
  -webkit-transition-timing-function: ease-in;
  transition-timing-function: ease-in;
  }
  60% {
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
  transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
  opacity: 1;
  }
  80% {
  -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  100% {
  -webkit-transform: perspective(400px);
  transform: perspective(400px);
  }
  } 



  .bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes bounceInUp {
  0%, 60%, 75%, 90%, 100% {
  -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
  opacity: 0;
  -webkit-transform: translate3d(0, 3000px, 0);
  transform: translate3d(0, 3000px, 0);
  }
  60% {
  opacity: 1;
  -webkit-transform: translate3d(0, -20px, 0);
  transform: translate3d(0, -20px, 0);
  }
  75% {
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
  }
  90% {
  -webkit-transform: translate3d(0, -5px, 0);
  transform: translate3d(0, -5px, 0);
  }
  100% {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  }
  }
  @keyframes bounceInUp {
  0%, 60%, 75%, 90%, 100% {
  -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  0% {
  opacity: 0;
  -webkit-transform: translate3d(0, 3000px, 0);
  transform: translate3d(0, 3000px, 0);
  }
  60% {
  opacity: 1;
  -webkit-transform: translate3d(0, -20px, 0);
  transform: translate3d(0, -20px, 0);
  }
  75% {
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
  }
  90% {
  -webkit-transform: translate3d(0, -5px, 0);
  transform: translate3d(0, -5px, 0);
  }
  100% {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  }
  }


.popInFade {
    animation-name: bounceIn;
    animation-duration: .7s;
    animation-fill-mode: both;
}
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.03);
    }

    70% {
        transform: scale(.98);
    }

    100% {
        transform: scale(1);
    }
}


/* Toggle Bot Launcher */
.toggleSwitch {
  width: 50px;
  height: 50px;
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: block;
  background:linear-gradient(0deg,rgba(3, 183, 228, 1) 0%, rgba(122, 81, 240, 1) 60%);
  border-radius: 50%;
  cursor: pointer;
  transition-duration: .3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.13);
  overflow: hidden;
}

#checkboxInput {
  display: none;
}

.csbot-open {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition-duration: .3s;
}

.bot-launcher-head{
    width: 50px;
    border:0;
    padding: 0;
}

.csbot-close {
  position: absolute;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 3;
  transition-duration: .3s;
}

.icon-caret{
    padding:15px;
    margin-bottom: 95px;

}

#checkboxInput:checked +.toggleSwitch .csbot-open {
  opacity: 0;
  transition-duration: .3s;
}

#checkboxInput:checked +.toggleSwitch .csbot-close {
  opacity: 1;
  transition-duration: .3s;
}

#checkboxInput:active + .toggleSwitch {
  transform: scale(0.7);
}

#checkboxInput:hover + .toggleSwitch .csbot-close{
  transform: translateY(3px)
}





.ai-bot{
  --color-one: #ffbf48;
  --color-two: #be4a1d;
  --color-three: #ffbf4780;
  --color-four: #bf4a1d80;
  --color-five: #ffbf4740;
  --time-animation: 2s;
  --size: 1; /* You can change the size */
  position: relative;
  border-radius: 50%;
  transform: scale(var(--size));
  box-shadow:
    0 0 25px 0 var(--color-three),
    0 20px 50px 0 var(--color-four);
  animation: colorize calc(var(--time-animation) * 3) ease-in-out infinite;
}

.ai-bot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-top: solid 1px var(--color-one);
  border-bottom: solid 1px var(--color-two);
  background: linear-gradient(180deg, var(--color-five), var(--color-four));
  box-shadow:
    inset 0 10px 10px 0 var(--color-three),
    inset 0 -10px 10px 0 var(--color-four);
}

.ai-bot .box {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    180deg,
    var(--color-one) 30%,
    var(--color-two) 70%
  );
  mask: url(#clipping);
  -webkit-mask: url(#clipping);
}

.ai-bot svg {
  position: absolute;
}

.ai-bot svg #clipping {
  filter: contrast(15);
  animation: roundness calc(var(--time-animation) / 2) linear infinite;
}

.ai-bot svg #clipping polygon {
  filter: blur(7px);
}

.ai-bot svg #clipping polygon:nth-child(1) {
  transform-origin: 75% 25%;
  transform: rotate(90deg);
}

.ai-bot svg #clipping polygon:nth-child(2) {
  transform-origin: 50% 50%;
  animation: rotation var(--time-animation) linear infinite reverse;
}

.ai-bot svg #clipping polygon:nth-child(3) {
  transform-origin: 50% 60%;
  animation: rotation var(--time-animation) linear infinite;
  animation-delay: calc(var(--time-animation) / -3);
}

.ai-bot svg #clipping polygon:nth-child(4) {
  transform-origin: 40% 40%;
  animation: rotation var(--time-animation) linear infinite reverse;
}

.ai-bot svg #clipping polygon:nth-child(5) {
  transform-origin: 40% 40%;
  animation: rotation var(--time-animation) linear infinite reverse;
  animation-delay: calc(var(--time-animation) / -2);
}

.ai-bot svg #clipping polygon:nth-child(6) {
  transform-origin: 60% 40%;
  animation: rotation var(--time-animation) linear infinite;
}

.ai-bot svg #clipping polygon:nth-child(7) {
  transform-origin: 60% 40%;
  animation: rotation var(--time-animation) linear infinite;
  animation-delay: calc(var(--time-animation) / -1.5);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes roundness {
  0% {
    filter: contrast(15);
  }
  20% {
    filter: contrast(3);
  }
  40% {
    filter: contrast(3);
  }
  60% {
    filter: contrast(15);
  }
  100% {
    filter: contrast(15);
  }
}

@keyframes colorize {
  0% {
    filter: hue-rotate(0deg);
  }
  20% {
    filter: hue-rotate(-30deg);
  }
  40% {
    filter: hue-rotate(-60deg);
  }
  60% {
    filter: hue-rotate(-90deg);
  }
  80% {
    filter: hue-rotate(-45deg);
  }
  100% {
    filter: hue-rotate(0deg);
  }
}




/* AI Bot 2 */
/* From Uiverse.io by Shoh2008 */ 
.ai-bot2 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.5) inset,
      0 5px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.ai-bot2:before,
  .ai-bot2:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 45%;
  top: -40%;
  background: linear-gradient(0deg,rgba(3, 183, 228, 1) 0%, rgba(122, 81, 240, 1) 60%);
  animation: wave 5s linear infinite;
}

.ai-bot2:before {
  border-radius: 30%;
  background: var(--secondary-color);
  animation: wave 5s linear infinite;
}

.dx-logo{
    padding:10px;
    position: absolute;
    z-index: 100000;

}

@keyframes wave {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}