.scopic-chat-splash-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.scopic-chat-room-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99999;
}
.scopic-chat-room-widget * {
    box-sizing: border-box;
}
.scopic-chat-room-widget .scopic-chat-splash, .scopic-chat-room-widget .scopic-chat-room {
    width: 420px;
    height: 480px;
    border-radius: 34px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    z-index: 20;
    right: 91px;
    bottom: 20px;
}
.scopic-chat-room-widget .scopic-chat-room {
    align-items: flex-start;
    overflow: hidden;
    flex-flow: column;
    justify-content: space-between;
}
.scopic-chat-room-widget .scopic-chat-splash h4 {
    color: #001F3E;
    font-size: 36px;
    font-weight: 700;
    line-height: normal;
    margin: 8px 0 0 0;
}
.scopic-chat-room-widget .scopic-chat-splash p {
    color: #393939;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    margin: 10px 0 0 0;
}
.scopic-chat-room-widget .scopic-chat-splash .open-chat-btn {
    padding: 17px 60px;
    border-radius: 30px;
    background: #007AFF;
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
   /* 125% */
    display: inline-block;
    margin: 40px 0 0 0;
}
.scopic-chat-room-widget button.open-chat-btn {
    background: no-repeat;
    border: none;
    padding: 0;
    outline: 0;
    cursor: pointer;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 30px;
    background: #FFF;
    box-shadow: 0px 4px 20px 0px rgba(0, 31, 62, 0.06);
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-head h6 {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007AFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
   /* 19.2px */
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-head h6 img {
    width: 35px;
    height: 35px;
    object-fit: cover;
}
.scopic-chat-room-widget .scopic-chat-room-head .close-chat-icon {
    width: 20px;
    height: 25px;
    border: none;
    background: transparent;
    outline: 0;
    position: relative;
    padding: 0;
    cursor: pointer;
}
.scopic-chat-room-widget .scopic-chat-room-head .close-chat-icon:before, .scopic-chat-room-widget .scopic-chat-room-head .close-chat-icon:after {
    content: "";
    width: 1px;
    height: 19px;
    background: #001F3E;
    position: absolute;
    transform: rotate(45deg);
    top: 4px;
    left: 10px;
}
.scopic-chat-room-widget .scopic-chat-room-head .close-chat-icon:after {
    transform: rotate(-45deg);
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-foot {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 16px;
    gap: 10px;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-foot input[type="text"] {
    width: 100%;
    border: none;
    border-radius: 30px;
    background: #EDF2F9;
    height: 50px;
    padding: 10px 25px;
    color: #3a3b3e;
    font-size: 16px;
    font-weight: 400;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-foot .send-btn {
    border: none;
    background: transparent;
    padding: 0;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: end;
    overflow: hidden;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll {
    overflow: auto;
    padding: 16px;
    display: flex;
    flex-flow: column;
    gap: 27px;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper {
    position: relative;
    width: 100%;
    padding: 0 15px 0 0;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper i {
    position: absolute;
    width: 45px;
    height: 45px;
    right: 0;
    top: 0;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper i img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper .send-content {
    border-radius: 14px;
    background: var(--blue, #007AFF);
    box-shadow: 0px 0px 10px 0px rgba(0, 31, 62, 0.15);
    padding: 12px;
    text-align: left;
    max-width: 226px;
    margin-left: auto;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper .send-content p {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
   /* 16.8px */
    margin: 0;
    word-break: break-word;
}

.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper.received {
    padding: 0 0 0 65px;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper.received i {
    right: auto;
    left: 0;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper.received .send-content {
    margin-left: 0;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 31, 62, 0.15);
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper.received .send-content p {
    color: #393939;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
}

.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper.received .send-content li {
    color: #393939;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
}
.scopic-chat-room-widget .scopic-chat-splash .scopic-chat-room-head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    text-align: right;
}
.scopic-chat-room-widget .hidden{
    display: none !important;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper span {
    color: rgb(0 31 62 / 20%);
    font-size: 10px;
    font-weight: 600;
    text-align: right;
    display: block;
    margin: 6px 4px 0 0;
}
.scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper.received span {
    text-align: left;
}
.scopic-chat-room-widget .scopic-chat-splash i{
    margin-left:30px;
    margin-right:30px;
    display:block;
    font-size:14px;
    line-height: 20px;
    margin-top: 20px;
}
.scopic-chat-splash-inner p {
    padding: 0 30px;
    font-size: 16px !important;
}
/* ========== typing animation ========== */
.scopic-chat-room-widget .dots-cont {
    height: 25px;
}
.scopic-chat-room-widget .dot {
    width: 8px;
    height: 8px;
    background: #22303e;
    display: inline-block;
    border-radius: 50%;
    right: 0px;
    bottom: 0px;
    position: relative;
    animation: jump 1s infinite;
}
.scopic-chat-room-widget .dots-cont:hover > .scopic-chat-room-widget .dot {
    animation: none;
}
.scopic-chat-room-widget .dots-cont .dot-1 {
    -webkit-animation-delay: 100ms;
    animation-delay: 100ms;
}
.scopic-chat-room-widget .dots-cont .dot-2 {
    -webkit-animation-delay: 200ms;
    animation-delay: 200ms;
}
.scopic-chat-room-widget .dots-cont .dot-3 {
    -webkit-animation-delay: 300ms;
    animation-delay: 300ms;
}
@keyframes jump {
    0% {
        bottom: 0px;
    }
    20% {
        bottom: 5px;
    }
    40% {
        bottom: 0px;
    }
}
.bot-typing {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bot-typing i {
    height: 45px;
    width: 45px;
}

/* Bubble pop up */
.open-chat-btn-wrapper {
    position: relative;
}
.scopic-chat-room-widget .open-chat-btn-wrapper .alert-popup {
    width: 195px;
    position: absolute;
    background: #fff;
    padding: 18px 20px;
    box-sizing: border-box;
    right: 94px;
    z-index: 99;
    border-radius: 49px;
    bottom: 21px;
    box-shadow: 0 0 20px rgb(0 0 0 / 19%);
    cursor: pointer;
}
.scopic-chat-room-widget .open-chat-btn-wrapper .alert-popup p {
    margin: 0;
    color: #0d2a4a;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}


/* ======================================== */
@media all and (max-width: 667px) {
    .scopic-chat-room-widget .scopic-chat-splash, .scopic-chat-room-widget .scopic-chat-room {
        width: 335px;
    }
    .scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper.received .send-content p {
        font-size: 12px;
        line-height: 20px;
    }
}
@media all and (max-width: 470px) {
    .scopic-chat-room-widget button.open-chat-btn img {
        width: 80px;
    }
    .scopic-chat-room-widget {
        bottom: 5px;
        right: 5px;
    }
    .scopic-chat-room-widget .scopic-chat-splash, .scopic-chat-room-widget .scopic-chat-room {
        width: 295px;
        height: 430px;
        right: 80px;
        bottom: 20px;
    }
    .scopic-chat-room-widget .open-chat-btn-wrapper .alert-popup {
        padding: 15px 20px !important;
        right: 80px !important;
        border-radius: 49px;
        bottom: 18px !important;
    }
    .scopic-chat-room-widget .scopic-chat-room .scopic-chat-room-body .scopic-chat-room-scroll .send-msg-wrapper .send-content p {
        font-size: 12px;
        line-height: 18px;
    }
    .scopic-chat-room-widget .scopic-chat-splash h4 {
        font-size: 26px;
    }
    .scopic-chat-room-widget .scopic-chat-splash p {
        font-size: 12px !important;
    }
}
@media all and (max-width: 380px) {
    .scopic-chat-room-widget .scopic-chat-splash, .scopic-chat-room-widget .scopic-chat-room {
        width: 295px;
        height: 371px;
        right: 6px;
        bottom: 94px;
    }
    .scopic-chat-room-widget .scopic-chat-splash h4 {
        font-size: 20px;
        margin: 0;
    }
    .scopic-chat-room-widget .scopic-chat-splash .open-chat-btn {
        padding: 10px 40px;
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        margin: 25px 0 0 0;
    }
}
