body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}
footer {
    padding: 0;
    background: rgba(255, 255, 255, .8);
    color: #bbb;
    font-size: 12px;
    padding-bottom: 10px;
}
footer div {
    transform: scale(0.8);
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 35px;
}

.loading-dots {
  display: flex;
  animation: loading 1s infinite;
}

.loading-dot {
    width: 6px;
    height: 6px;
    margin: 0 3px;
    border-radius: 50%;
    background-color: #333;
}

@keyframes loading {
  0% {
    opacity: 0.2;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

.lite-tip-content {
    border-radius: 10px;
}

.bg {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.chat-container {
    position:relative;
    width: 100%;
    max-width: 1280px;
    height: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
}

.chat-header {
    padding: 15px;
    color: #333;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    /* border-bottom: 1px solid #ddd; */
    position: relative;
}

.chat-header .icon-button {
    position: absolute;
    left: 15px;
    top: 15px;
}

.chat-body {
    /* flex: 1; */
    padding: 15px;
    overflow-y: auto;
    /* border-bottom: 1px solid #ddd; */
    /* text-align:center; */
    height: 100%;
}

.chat-position {
    width: 230px;
    height: 153px;
    display:none;
}
.bot-tip {
    padding: 12px;
    background: #e9e9e9;
    border: 1px solid #dbdada;
    border-radius: 30px;
    margin: 5px 30px;
    display: inline-block;
    text-align: left;
}
.bot {
    text-align:left;
}
.user {
    text-align:right;
}

.chat-footer {
    display: flex;
    align-items: center;
    padding: 10px ;
    background: rgba(255,255,255, .8);
}

.file-input {
    display: none;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
}

.icon-button img {
    width: 20px;
    height: 20px;
}
#hisrotyButton svg {
    margin-bottom:-4px;
}

.chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin-right: 10px;
    outline: none;
    height:18px;
    max-height: 120px;
}

.chat-input:focus {
    border-color: #888;
}

.send-button {
    /* background-color: #f5f5f5; */
    /* border: none; */
    padding: 10px;
    /* border-radius: 50%; */
    /* cursor: pointer; */
    /* outline: none; */
    /* transition: background-color 0.3s; */
    background: none;
    border: none;

}

.send-button img {
    width: 20px;
    height: 20px;
}


.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.chat-message.bot {
    flex-direction: row;
}

.chat-message.user {
    flex-direction: row-reverse;
    text-align: left;
}

.chat-message .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
}
.chat-message .text {
    user-select: text;
    -webkit-user-select: text;
    white-space: break-spaces;
}

.chat-message .message-content {
    max-width: 70%;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chat-message.bot .message-content {
    background-color: #e1e1e1;
    border-top-left-radius: 0;
}

.chat-message.user .message-content {
    background-color: #5055F7;
    color: white;
    border-top-right-radius: 0;
}

.chat-message .nickname {
    font-weight: bold;
    margin-bottom: 5px;
}

.quick-replies {
    display: flex;
    /* justify-content: center; */
    margin: 10px 0;
}
.quick-replies img{
    margin-left: 70px;
}
.quick-reply {
    background-color: #e1e1e1;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    margin: 0 5px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
}

.quick-reply:hover {
    background-color: #ccc;
}
.copy{
    width: 18px;
    height: 18px;
    margin-top: 5px;
}
.share {
    width: 17px;
    height: 17px;
    margin-top: 5px;
    margin-left: 10px;
}
@media (min-width: 600px) {
    body {
        background: #fff;
        font-size:14px!important;
    }
    .chat-body {
        padding:0;
    }
    .chat-container {
        box-shadow:none;
        border:none;
        border-radius:0;
    }

    .chat-input {
        margin-right: 0;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .send-button {
        padding: 10px;
    }
}