#chat-window {
    position: fixed;
    bottom: 20px;
    right: 0px;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    width: 20%;
    height: 80%; /* Adjust the height as needed */
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    padding: 2% 2px 3% 1%;
    border-radius: 10px;
    box-sizing: border-box;


  }

  .chatbotIcon {
    position: fixed;
    bottom: 15px;
    right: 100px;
    z-index: 1000;
    cursor: pointer;
  }


  #chatNav{
    width: 100%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4%;
    margin: 5% 0 17%;


  }
  #chatNav h2{
    color: #1A703D;
    font-size: 20px;
    font-weight: bold;

  }
  #chatNav img{
    width:60%;
    /* display: none; */

  }

  #conversation-container {
    height: calc(100% - 60px); /* Adjust the height to exclude input-container */
    overflow-y: auto; /* Add a scrollbar */
    padding-right: 20px; /* Adjust the padding as needed */
    border-radius: 10px;
    box-sizing: border-box;
  }

  #input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    margin-right: 6%;

  }
  /* #input-container input{
    height: 72px;
    min-height: 72px;
    max-height: 144px;
  } */

.custom-formss {
    display: flex;
    flex-grow: 1;
  }

.custom-inputss {
    flex-grow: 1;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #ddd;
    height: 50px;
    font-size: 11px;
    outline: none;
    transition: border-color 0.3s ease;
  }
.custom-inputss:focus {
    border-color: #78B490;
  }

.custom-buttonss {
    margin-left: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #78B490;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
  }

  .message-container {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    margin-bottom: 10px;
}

.message-container .content figure.image img{
    max-width: 60%;
    height: auto;
}
.message-container .content p a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #ddd;
    text-decoration: underline;
}

/* Apply styles to the table */
.message-container .content figure.table table {
    max-width: 100%; /* Set maximum width for the table */
    overflow-x: auto; /* Enable horizontal scroll if table overflows its container */
    border-collapse: collapse;
    color: black;
    margin-top: 15px;
}



.message-container .content figure.table td {
    border: 1px solid #333;
    padding: 8px;
    text-align: left;
}

.message-container .content{
    padding-bottom: 0%;
}

  .satisfy-section{
    display: flex;
    flex-direction: column;
}
.satisfy-section p{
    margin-bottom: 0%;
    font-size: 11px;
}

.button-container {
    display: flex;
    gap: 10px;
}

.btn-oui,
.btn-non {
    cursor: pointer;
}

/* Style the buttons as needed */
.btn-oui {
    background-color: #555555;
    color: white;
    width: 30px;
    padding: 1px 3px;
    font-size: 12px;
    border-radius: 5px;
    border:solid 2px white;
}

.btn-non {
    background-color: #666666;
    color: white;
    width: 30px;
    padding: 1px 3px;
    font-size: 12px;
    border:solid 2px white;
    border-radius: 5px;

}


  .message {
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;

  }

  .user {
    background: #1A703D;
    align-self: flex-end;
    width: 90%;
  }

  .system {
    background: #5a8f6f;
    align-self: flex-start;
    color: #fff ;
    font-weight: 400 ;
    width: 90%;
  }
  .popup-container {
    position: absolute;
    /* bottom: 0; */
    top: 35%;
    left: 0;
    width: 80%;
    background-color: #1A703Def; /* Light black with opacity */
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
}

.popup-contentss {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.popup-contentss h3 {
    margin: 15px 0px 10px;
    color: rgb(250, 250, 250);
    font-size: 18px;
    font-weight: bold;
     /* Adjust font size as needed */
}

.popup-contentss a {
    color: #fff9f9;
    text-decoration: underline;
    margin-bottom: 10px;
}

.popup-contentss button {
    background-color: #78B490;
    border: 1px solid #1A703D;
    color:#1A703D;
    padding: 8px 8px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 5px; /* Adjust top position as needed */
    left: 5px; /* Adjust left position as needed */
    font-size: 12px; /* Adjust font size as needed */
}


  /* #logo {
    position: fixed;
    top: 40px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000000;
  } */

/* Existing styles */

/* Existing styles */


#conversation-container {
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: thin; /* For Firefox */
    padding-right: 20px; /* Adjust the padding as needed */
}

/* Customize scrollbars */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Light background color */
}

::-webkit-scrollbar-thumb {
    background-color: #78B490; /* Color of the scroll thumb */
    border-radius: 5px;
}

/* Optional: Add a transition effect for a smoother color change on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #1e416d; /* Darker color on hover */
}



/* Common styles for both mobile and desktop */


/* Responsive styles */
@media screen and (max-width: 1100px) {
    /* Styles for mobile devices */
    #chat-window{
        width: 70%;
        height: 80%;
        padding: 3% 3.3% 6.4% ;
    }
    #chatNav{
        /* width: 100%;
        height: 60%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center; */
        gap: 5%;
        margin: 10% 0 12%;


      }

}
/* Common styles for both mobile and desktop */

/* Responsive styles */
@media screen and (max-width: 1100px) {
    /* Styles for mobile devices */
    #chat-window{
        padding: 3% 3.3% 6.4% ;
    }
    #chatNav{
        gap: 5%;
        margin: 10% 0 12%;
    }
    .message {

        font-size: 12px;


      }
}

@media screen and (max-width: 750px) {
    /* Styles for smaller mobile devices */
    #chat-window{
        right: 5%;
        padding: 3% 3.6% 6.5%;
    }
    .message {
        font-size: 14px;

      }
}

@media screen and (max-width: 450px) {
    /* Styles for smallest mobile devices */
    #chat-window{
        width: 80%;
        padding: 3% 3.6% 8.5%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-inputss {
        width: 100%;
        margin-bottom: 10px;
    }

    .custom-buttonss {
        width: 20%;
        margin-left: 0;
        padding: 7px 10px;
        font-size: 12px;
    }
}



/* Add this style for the animation */
@keyframes buttonAnimation {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }

  /* Apply animation to the button */
  .button-animation {
    animation: buttonAnimation 0.8s ease;
  }

  /* Add this style for the loading animation */
@keyframes loadingAnimation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  /* Apply loading animation to the button */
  .loading-animation {
    animation: loadingAnimation 1s infinite linear;
  }


  /* Add style for the close button */
  .close-container {
    position: absolute;
    top: 5px;
    left: 5px;
  }

  /* Style for the close button */
  .close-container button {
    background-color: #1e416d; /* Change the background color as needed */
    border: 1px solid #78B490; /* Change the border color as needed */
    color:#78B490; /* Change the border color as needed */
    padding: 8px 8px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Add hover effect for the close button */
  .close-container button:hover {
    background-color: #f0f0f0; /* Change the hover background color as needed */
  }
