/* spinning home icon */
/* Container for the icon */
.chatstar-home-icon-container {
  position: relative;
  width: 70px;
  height: 70px;
  overflow: hidden;
}

/* Icon image */
.chatstar-home-icon {
  width: 70px;
  position: absolute;
  left: -100px; /* Start position outside the viewport on the left */
  animation: flyInAndSpin 2s ease-in-out forwards, spin 3s linear infinite;
}

/* Keyframes for flying in from the left and spinning */
@keyframes flyInAndSpin {
  0% {
      transform: translateX(-100px);
  }
  100% {
      transform: translateX(0);
  }
}

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




/* Chat send button */
  .chatSendButton {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    font-size: 45px; /* Adjust font size as needed */
    margin: 0 0 0 20px;   
    width: 5%;
    color: #888;
    /*background-color: #242428;*/
    background-color: inherit;
    border: 0px solid #007bff;
    border-radius: 5px;
    cursor: pointer;
    position: absolute; 
    right: 20px;
}

#chatInputContainer {
    background-color: #29292e;
    width: 98%;
    display: flex;
    align-items: center;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid #111;
    margin: 0 0 0 10px;
    position: relative; 

  }
  
#input-q {
    width: 100%; 
    height: 28px; 
    border-radius: 10px; 
    border: 0px solid #666; 
    margin: 0 5px 0 0; 
    /*padding: 10px 16px;*/
    padding: 10px 60px 10px 10px;
    background-color: inherit;
    color: #fff;
    font-weight: bold;
}

#input-q:focus{
    border: 0 solid #666; 
    outline: none;
}

.user-chat-bubble {
  background: linear-gradient(130deg, #006880 20%, #005366 77.5%);
  color: #eee;
  border-radius: 12px 0px 12px 12px;
  border: 1px solid #777;
  padding: 10px 16px;
  margin: 0px 10px 24px 0px;
  float: right;
  max-width: 45%;
}

.chat-output {
  background-color: #202020;
  color: #0d0;
  border-radius: 0px 12px 12px 12px;
  border: 1px solid #777;
  padding: 10px 16px;
  margin: 0px 0px 24px 10px;
  width: 75%;
  clear: both;
  overflow-wrap: break-word;
  position: relative;
}

.share-link {
  position: absolute;
  top: -30px; /* Adjust to position above the message */
  right: 5px;
  background-color: #ddd; /* Grey background */
  color: #000; /* Black text */
  padding: 5px 10px; /* Padding for the box */
  border-radius: 5px; /* Rounded corners */
  display: none;
}

.chat-output:hover .share-link {
  display: block; /* Show on hover */    
  color: #000; /* Black text on hover */
  border-color: #000; /* Black border on hover */
}

#largeQrCode {
  width: 40%;
}

.chat-keyword-ad-bubble {
  background-color: #202020;
  color: #0d0;
  border-radius: 0px 8px 8px;
  border: 1px solid #777;
  padding: 10px 16px;
  margin: 0px 0px 24px 10px;
  width: 75%;
  clear: both;
  overflow-wrap: break-word;
  position: relative;
}

.chat-qr-bubble {
  background-color: #202020;
  color: #0d0;
  border-radius: 0px 8px 8px;
  border: 1px solid #777;
  padding: 10px 16px;
  margin: 0px 0px 24px 10px;
  width: 75%;
  clear: both;
}

.suggested-questions-button{
  display: inline-block;
  padding: 6px 12px;
  margin-right: 10px;
  margin-bottom: 20px;
  background-color: #006880;
  color: #fff;
  font-size: 90%;
  text-decoration: underline;
  border: 1px solid #007bff;
  border-radius: 4px;
}

.suggested-links-button{
  display: inline-block;
  padding: 6px 12px;
  margin-right: 10px;
  margin-bottom: 20px;
  background-color: #006880;
  color: #fff;
  font-size: 90%;
  text-decoration: underline;
  border: 1px solid #007bff;
  border-radius: 4px;
}

#stopButton{
  padding: 10px;
  background-color: #202020;
  border: 1px solid #33f;
  border-radius: 5px;
  margin: 0px 0px 10px 10px;
  color: #38f;
  cursor: pointer;
  clear: both;
}

#playMusicButton
{
  display: inline-block;
  padding: 10px;
  background-color: #38f;
  border: 1px solid #fff;
  border-radius: 5px;
  margin: 0px 0px 20px 10px;
  color: #202020;
  cursor: pointer;
  clear: both;
}

#playMusicButton:hover {
  color: #38f; /* Black text on hover */
  background-color: #202020;
  border-color: #38f; /* Black border on hover */
}

#stopMusicButton
{
  display: inline-block;
  padding: 10px;
  background-color: #ff60d8;
  border: 1px solid #fff;
  border-radius: 5px;
  margin: 0px 0px 20px 10px;
  color: #202020;
  cursor: pointer;
  clear: both;
}

#stopMusicButton:hover {
  color: #ff60d8; /* Black text on hover */
  background-color: #202020;
  border-color: #ff60d8; /* Black border on hover */
}

#spotifyMusicButton{
  display: inline-block;
  padding: 7px;
  margin: 0px 0px 20px 10px;
  background-color: #80f86a;
  color: #000000;
  text-decoration: underline;
  border: 1px solid #80f86a;
  border-radius: 4px;
  font-size: 90%;
}

#spotifyMusicButton:hover {
  color: #80f86a; /* Black text on hover */
  background-color: #202020;
  border-color: #80f86a; /* Black border on hover */
}

               @media all and (max-width: 500px) {

                    #chatInputContainer {
                        /*background: #888;*/
                        width: 90%;
                        display: flex;
                        align-items: center;
                        padding: 0px;
                        border-radius: 10px;
                        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
                        margin: 0px auto;
                      }
                      
                    #input-q {
                        width: 85%; 
                        height: 28px; 
                        border-radius: 10px; 
                        border: 0px solid #666; 
                        margin: 0 5px 0 0; 
                        padding: 10px 33px 10px 10px;
                    }
                    
                    /* Chat send button */
                    .chatSendButton {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        height: 35px;
                        font-size: 40px; /* Adjust font size as needed */
                        margin: 0 0 0 30px;   
                        width: 9%;
                        position: absolute; 
                        right: 5px;
                    }

                    #largeQrCode {
                      width: 75%;
                    }
}                    