.social-item img{
    padding-bottom: 5px;
}
.title-chat-bot-ct{
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 600
}
.chat-form-page {
    width: 100%;
    min-height: 330px;
    background-color: #F3F3F3;
    border-radius: 16px;
    border: 1px solid #0065B3;
    z-index: 999;
}

.chat-messages-page {
    padding: 10px 15px 10px 45px;
    height: 250px;
    overflow-y: auto;
    background-color: #F9FCFF;
    border: 0;
    border-radius: 0;
}

.message {
    position: relative;
    margin: 10px 0;
    padding: 10px 15px;
    max-width: 88%;
    width: fit-content;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.message.sender {
    background-color: #0065B3;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 15px;
    color: #FFFFFF;
}

.message.receiver {
    background-color: #E7F1FD;
    align-self: flex-start;
    margin-right: auto;
    border-top-left-radius: 0px;
    color: #1F1C1C;
}
.chat-messages-page::after {
    background: url("../images/chat-bot.png");
}
.message.receiver::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    width: 26px;
    height: 26px;
    background: url("../images/chat-bot.png") no-repeat center center;
    background-size: contain;
}


.chat-input-page-area {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding: 0;
    border: none;
    bottom: 0;
    border-radius: 0 0 15px 15px;
    background: white;
}

.header-chat-box-page {
    display: flex;
    width: 100%;
    background: #0065B3;
    padding: 5px;
    border-radius: 15px 15px 0 0;
}

#chatInputPage {
    position: relative;
    border: none;
    border-radius: 0 0 15px 15px;
    font-size: 16px;
    padding: 10px 7px 10px 15px;
    line-height: 30px;
}

.send-button-page {
    cursor: pointer;
    border: none;
    background: transparent;
    color: #0065B3;
}
.send-button-page span{
    display: block;
    border-left: 1px solid #F4F4F4;
    padding-left: 10px;
    padding-right: 5px
}

.chat-form-page .chat-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 0 0 15px 15px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: #f9f9f9;
}

.chat-form-page .chat-input:focus {
    border-color: #4A90E2;
    outline: none;
    box-shadow: 0 0 5px rgba(74,144,226,0.3);
}

.chat-form-page .chat-button-page {
    padding: 12px;
    background: #4A90E2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.chat-form-page .chat-button-page:hover {
    background: #357ABD;
}
.chat-button-page{
    width: fit-content;
}
input#chatInputPage {
    outline: none;
    box-shadow: none;
}

@media only screen and (max-width: 767px) {

    .send-button-page span{
        padding-left: 2px;
    }

    .chat-messages-page{
        padding: 10px 10px 10px 40px;
        height: 430px;
    }
}

@media only screen and (max-width: 370px) {
    .title-chat-bot-ct{
        font-size: 12px;
    }
}