@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    background: #f8fafc;
    font-family: Roboto;
    font-size: 1rem;
}

.input-group {
    border-radius: 8.078px;
    background: #f1f3f6;
}

#TxtMsg {
    border: none;
    background: #f1f3f6;
}

.input-group-addon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    color: #41b3e6;
}

.main {
    height: 100vh;
    background: #f7f9fb;
}

.mainCon {
    background: #f7f9fb;
    display: flex;
    height: 100%;
}

    .mainCon .divLeftOne {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: #f7f9fb;
    }

    .mainCon .divRightOne {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: left;
    }

.centerDiv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.divLeftOne > .centerDiv img {
    width: 320px;
    height: 340px;
    flex-shrink: 0;
}

.centerDiv .texttop {
    color: #334155;
    text-align: center;
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px;
}

.submitButton {
    display: flex;
    width: 100%;
    height: 48px;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: #ffffff;
    border-radius: 4px;
    border: 1.2px solid var(--Primary-600, #137eb6);
    background: var(--Primary-Color-main-button-color, #41b3e6);
    /* Default Shadow/Default - XS */
    box-shadow: 0px 1px 2px 0px rgba(17, 24, 39, 0.08);
}

    .submitButton:hover {
        border: #137eb6 solid 2px;
        color: #137eb6;
    }

.centerDiv .imageClass {
    width: 286px;
    height: 75px;
}

.headerDiv {
    background-color: #219ed6;
}

.headerDivTwo {
    -webkit-backdrop-filter: blur(5px) saturate(200%);
    backdrop-filter: blur(5px) saturate(200%);
    background-color: #eeeeee70;
    border-radius: 0px;
    border: 1px solid rgba(209, 213, 219, 0.3);
}

    .headerDivTwo .headConTwo .iconDivLeft {
        display: flex;
    }

    .headerDivTwo .headConTwo .divBlueBg {
        border: 1px solid;
        background: #e6e6e6;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .headerDivTwo .headConTwo {
        justify-content: space-between;
    }

.userIcon {
    color: black;
}

.iconDivLeft .divInfo_two {
    margin-left: 10px;
}

.footerCon {
    display: flex;
    justify-content: center;
    align-items: centers;
    backdrop-filter: blur(5px) saturate(200%);
    -webkit-backdrop-filter: blur(5px) saturate(200%);
    background-color: #eeeeeea3;
    border-radius: 0px;
    border: 1px solid rgba(209, 213, 219, 0.3);
}

.iconDivLeft .spotShow {
    padding: 5px;
    position: absolute;
    bottom: 0px;
    right: 0px;
    border: 1px solid rgb(165, 165, 165);
}

.bg-offline {
    background: rgb(224, 6, 6);
}

.bg-online {
    background: rgb(4, 182, 22);
}

.divFooter {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0px !important;
}

    .divFooter .divLeft {
        width: 100%;
    }

.btnColorblue {
    color: #137eb6;
}

.divFooter .divRight {
    display: flex;
    justify-content: space-around;
}

.divRight .btn {
    width: 50px;
    height: 50px;
    border: none;
}

.content {
    background: #f8fafc;
    height: 100%;
}

    .content .card {
        background: #f8fafc;
        border: 0px;
    }

.divBlueBg {
    background: #c0e4f7;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divEyeBg {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-body .textUser {
    background: #ebf3fb;
    border-radius: 0px 14px 14px 14px;
    background: #ebf3fb;
    padding: 20px;
}

.textTech .card-text {
    text-align: right;
    border-radius: 14px 0px 14px 14px;
    background: #f1f1f1;
    padding: 20px;
}

@media only screen and (max-width: 400px) {
    .cl_number {
        font-size: 13px;
    }
}

.card .textTech {
    text-align: right;
}

.divRightIcons {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* DPOS CSS */

.chat-messages {
    padding: 15px;
    overflow-y: auto;
}

.message.sender {
    text-align: right;
}

.message .message-bubble {
    padding: 16px;
    border-radius: 8px;
    display: inline-block;
    max-width: 80%;
    word-wrap: break-word;
}

.message.sender .message-bubble {
    background: #e6f1fa;
    color: #191919;
}

.message.receiver .message-bubble {
    background-color: #f0f0f0;
    color: #000000;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    position: relative; /* Added to make positioning absolute relative to this container */
}

.inp-chat {
    padding: 15px;
    border: 1px solid lightgray;
    background: transparent;
}

.typing-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent; /* Transparent white background */
    padding: 5px;
    border-radius: 5px;
    color: #e6e6e6;
    display: none; /* Initially hidden */
}

.call-btn {
    margin-left: 10px;
}












/*LOADER START*/

/* Styling for the loader overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Set the background to transparent */
    display: none; /* Start hidden */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /*backdrop-filter: blur(1px);*/
}

/* Styling for the loader animation */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid black;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Keyframes for the loader animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Background shade to dim the content behind the loader */
.background-shade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity for shading */
    display: none; /* Start hidden */
    z-index: 9998;
}

    /* Show the loader overlay and background shade when loading */
    .loader-overlay.loading,
    .background-shade.loading {
        display: flex;
    }

/* Hide the loader overlay and background shade when not loading */
.loaded .loader-overlay,
.loaded .background-shade {
    display: none;
}

/*LOADER END*/


.chat-msg p {
    word-break: break-all;
}


.backtocall-btn {
    position: fixed;
    top: 67px;
    right: 16px;
    z-index: 1050;
}
