    #chat-box {
      position: fixed;
      top: 100%;
      left: 0;
      width: 400px;
      height: 100%;
      background: linear-gradient(to bottom, #f9f9f9, #eeeeee);
      display: flex;
      flex-direction: column;
      z-index: 1231;
      transition: top 0.4s ease;
      border: 1px solid #dcd9d9;
      background: #fff;
      min-height: 100dvh;
      max-width: 100vw;
      height: 100dvh;
    }
.fixed-start-chat-btn {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    bottom: auto;
    margin-top: 1rem;
}
    button#start-chat-btn {
      width: 50% !important;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    #chat-box.open { top: 0; }
    #chat-header {
      background: oklch(0.11 0 0);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 7px;
    }
    button#chat-close {
        outline: 0;
        color: #fff;
        background: #000;
        border: 1px solid #fff;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 35px;
        width: 35px;
        font-size: 15px;
    }
    #chat-title {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    #chat-title button {
      background: none;
      border: none;
      color: white;
      font-size: 20px;
      cursor: pointer;
    }

    button.btn.btn-light.btn-sm.dropdown-toggle {
        position: relative;
        transition: .4s;
        box-shadow: 0 0 9px 0px #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        object-fit: contain;
        background: #000;
        color: #fff;
    }
    #chat-box .dropdown-menu li {
      text-align: right!important;
    }
    #main-screen {
      flex: 1;
   
      background: white;
      border-top-left-radius: 20px;
      border-top-right-radius: 20px;
    }
    .chat-preview {
        background: #fff;
        border-radius: 0;
        padding: 20px 10px;
        margin: 0;
        cursor: pointer;
        border-bottom: 1px solid #8080802b;
    }
    .chat-preview:hover {
        background: oklch(0.99 0.03 102.79);
        transition: .4s;
    }
    #chat-messages {
      display: none;
      flex-grow: 1;
      padding: 15px;
      background-color: #fff;
      overflow-y: auto;
    }
    .chat-message {
      max-width: 90%;
      margin-bottom: 15px;
      padding: 10px 15px;
      border-radius: 20px;
      position: relative;
    }
    .text-muted.small {
      font-size: 11px;
      font-weight: 100;
      text-align: left;
    }
    .chat-user {
      background-color: #000000;
      margin-right: auto;
      text-align: right;
      color: #fff;
      font-size: 14px;
      font-weight: 200;
    }
    .chat-ai {
        background-color: #f1f1f1;
        margin-left: auto;
        font-size: 15px;
        line-height: 1.6;
        font-weight: 300;
    }
.chat-message.chat-ai::before {
    content: "\f26A";
    position: absolute;
    left: 0;
    top: -4px;
    height: 15px;
    width: 15px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 100%;
    display: flex;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2196F3;
}
    .chat-preview small{
        font-size: 11px;
        color: grey;
        text-align: left;
        direction: ltr;
        float: left;
    }

    .message-time {
      font-size: 10px;
      color: gray;
      margin-top: 5px;
      display: block;
      text-align: left;
    }
    #chat-input {
      display: none;
      border-top:1px solid #cccccc2e;
      background: #fff;
      align-items: center;
      justify-content: space-around;
      max-height: 60px;
      height: 60px;
      padding: 0;
      margin: 0;
      outline: none!important;
    }
    input#user-input {
      max-height: 60px;
      height: 60px;
      margin: 0 !important;
      padding: 15px;
      border: 0;
      border-radius: 0 !important;
      resize: none!important;
    }
    #chat-box textarea {
      width: 100%;
      box-shadow: none;
      outline: none!important;
      border: 0;
      resize: none;
      font-size: 11px;
      font-weight: 300;
    }
    #chat-box textarea:focus #chat-input {
      border: 1px solid #dcd9d9;
    }
    #chat-box button#send-btn {
      max-height: 60px;
      height: 60px;
      border-radius: 0;
      width: 50px;
    }
    #chat-footer {
      background: black;
      color: white;
      text-align: center;
      font-size: 12px;
      padding: 5px;
    }
    #chat-box h2, #chat-box h3, #chat-box h4, #chat-box h5, #chat-box h6 {
      font-size:1rem;
      font-weight: 800;
    }
    @media screen and (max-width: 782px) {
      #chat-box.open {
        top: 0;
        width: 100%;
        z-index: 1231;
      }
 
		
    }
	
	
	
	
 
	.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: 0;
    right: auto;
}	