@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");
#tlgrm-chat {
    right: initial;
    /*left: 0;*/
    bottom: 0;
}
#tlgrm-pre-init-btn {
    display: inline-block;
    bottom: 10px;
    position: fixed;
    right: 10px;
    z-index: 999999;
}
#tlgrm-init-btn {
    right: initial;
    /*left: 0;*/
    bottom: 0;
}
#tlgrm-chat {
    width: 300px;
    height: 450px;
    background: #fff;
    display: inline-block;
    border-radius: 5px;
    bottom: 10px;
    position: fixed;
    right: 10px;
    border: none;
    box-shadow: 1px 10px 8px #bbb;
    z-index: 2
}

#tlgrm-chat #tlgrm-chat-head {
    height: 50px;
    background: #337ab7
}

#tlgrm-chat #tlgrm-chat-head #tlgrm-chat-head-caption {
    color: #fff;
    position: absolute;
    top: 15px;
    left: 15px
}

#tlgrm-chat #tlgrm-chat-head #tlgrm-close-btn {
    position: absolute;
    top: 3px;
    right: 7px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    opacity: .3;
    -webkit-transition: opacity .1s;
    transition: opacity .1s
}

#tlgrm-chat #tlgrm-chat-head #tlgrm-close-btn:before, #tlgrm-chat #tlgrm-chat-head #tlgrm-close-btn:after {
    content: "";
    position: absolute;
    top: 21px;
    left: 10px;
    width: 26px;
    height: 2px;
    background: #ffffff
}

#tlgrm-chat #tlgrm-chat-head #tlgrm-close-btn:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

#tlgrm-chat #tlgrm-chat-head #tlgrm-close-btn:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

#tlgrm-chat #tlgrm-chat-head #tlgrm-close-btn:hover {
    opacity: 1
}

#tlgrm-chat #supportGroupCl {
    width: 100%;
    height: 320px;
    overflow: auto;
    padding-bottom: 10px;
}

#tlgrm-chat #tlgrm-chat-flow {
}


#tlgrm-msg-label {
    padding: 4px 8px 2px 8px;
    width: 100%;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 0;
    background: #F0F8FF;
    display: block;
}
#tlgrm-chat #tlgrm-chat-flow .tlgrm-msg {
    padding: 8px 8px;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 0;
    margin-block-end: 0;
    margin-block-start: 0;
}

#tlgrm-chat #tlgrm-chat-flow .tlgrm-msg.tlgrm-incoming {
    float: left;
    background: #F0F8FF
}

#tlgrm-chat #tlgrm-chat-flow .tlgrm-msg.tlgrm-outgoing {
    float: right;
    background: #eee
}

#tlgrm-chat #tlgrm-chat-send-panel {
    width: 100%;
    height: 50px;
    background: #eee;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #ccc
}

#tlgrm-chat #tlgrm-chat-send-panel #tlgrm-send-btn {
    float: right;
    text-align: right;
    height: 51px;
    width: 38px;
    padding: 0
}

#tlgrm-chat #tlgrm-chat-send-panel #tlgrm-chat-msg {
    height: 50px;
    display: inline-block;
    width: 260px;
    float: left;
    resize: none;
    border: 1px solid #fff
}

#tlgrm-init-btn {
    display: inline-block;
    bottom: 10px;
    position: fixed;
    right: 10px;
    z-index: 999999;
}


#tlgrm-msg-input, #tlgrm-guest-name {
    padding: 4px 8px;
    height: auto;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    background-color: white;
    font-size: 0.9rem;
    color: black;
    border-bottom-color: transparent;
    /* border-bottom-color: var(--rose); */
}

#tlgrm-msg-input:focus {
    box-shadow: none;
}

#tlgrm-chat  .form-control {
    height: auto;
}


#tlgrm-chat  .tlgrm-msg-input-group-text {
    padding: 2px;
    font-size: 1.2rem;
    line-height: 1rem;
    background-color: white;
    border-color: transparent;
    border-radius: 0 !important;
}

#tlgrm-chat #tlgrm-msg-input-group-prepend {
    display: block;
    border-top: 1px;
    margin-right: 0 !important;
}

#tlgrm-chat #tlgrm-msg-input-group {
    padding-bottom: 0 !important;
    margin-bottom: 10px;
    border-top-width: 0 !important;
    padding-bottom: 7px;
}

#tlgrm-chat .form-control {
    padding: 0 8px;
    border-top: 0;
    border: none !important;
    background-color: white;
}

#tlgrm-chat .tlgrm-msg-input-group.input-group > span#noBot {
    border-top: 0;
    padding: 0 8px;
}

#tlgrm-chat .form-control:focus {
    box-shadow: none; !important;
}


#tlgrm-chat #tlgrm-msg-input-group:focus #tlgrm-chat #tlgrm-msg-input-group-prepend {
    border-bottom: 1px dotted var(--rose) !important;
}

#tlgrm-chat #tlgrm-msg-input-group:focus {
    border-bottom: 1px dotted var(--rose) !important;
}

@media (max-width: 400px) {
    #tlgrm-init-btn span {
        display: none
    }
}