@charset "UTF-8";

.live-chat-section {
    /* padding-top: 113px; */

    .message-wrapper {
        p {
            font-weight: 500;
            font-size: 14px;
        }
        &.sent p {
            color: #fff;
        }
        &.received p {
            color: #000;
        }
    }
}

.live-chat .input-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding-left: 53px;
}
html[lang="ar"] .live-chat .input-stack {
    padding-left: 53px;
}
/* --- COMPONENT CSS --- */
.live-chat .custom-number-input {
    position: relative;
    width: 100%;
}

.live-chat .pill-input {
    width: 100%;
    height: 50px;
    padding: 0 40px 0 25px;
    border-radius: 999px;
    border: 1px solid transparent;
    background-color: #ffffff;
    font-size: 16px;
    color: #4a4a4a;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

.live-chat .pill-input:focus {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Arrows Container */
.live-chat .spinner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
html[lang="en"] .live-chat .spinner-arrows {
    right: 15px;
}
html[lang="ar"] .live-chat .spinner-arrows {
    left: 15px;
}
.live-chat .arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: color 0.2s;
}

.live-chat .arrow-btn:hover {
    color: #333;
}

.live-chat .arrow-btn svg {
    width: 12px;
    height: 12px;
    display: block;
}

html[lang="ar"] .live-chat-section .col2 .span-2::after {
    content: "";
    position: absolute;
    left: 102px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 10px;
    background: #000000;
    position: absolute;
}

html[lang="ar"] .live-chat-section .user-details .span-2::after {
    content: "";
    position: absolute;
    left: 123px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 10px;
    background: #000000;
    position: absolute;
}

html[lang="ar"] .live-chat-section .chat .attach-file .support-files {
    margin-left: 10px;
    text-align: left;
}

.live-chat-section .tabs div:hover {
    background-color: rgba(240, 82, 113, 0.1019607843);
    color: #f05271;
    border-radius: 25px;
}

.live-chat-section .tabs div i:hover {
    color: #f05271;
}

.live-chat-section .tabs div img {
    margin-right: 10px;
}

.live-chat-section .tabs div i {
    margin-right: 10px;
}

.live-chat-section .col2-content {
    display: flex;
    margin-top: 20px;
}

html[lang="en"] .live-chat-section .col2-content .users {
    background-color: #ffffff;
    box-shadow: 0px 16px 88px 0px rgba(0, 0, 0, 0.1019607843);
    border-radius: 35px;
    width: 35%;
    margin-right: 2%;
}

html[lang="ar"] .live-chat-section .col2-content .users {
    background-color: #ffffff;
    box-shadow: 0px 16px 88px 0px rgba(0, 0, 0, 0.1019607843);
    border-radius: 35px;
    width: 35%;
    margin-left: 2%;
}

.live-chat-section .col2-content .users .border-user {
    border-bottom: 10px solid green;
    margin: 0px 20px;
}

.live-chat-section .col2-content .users .users-data {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 25px;
    padding: 10px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3019607843);
}

.live-chat-section .col2-content .users .users-data .image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
}

html[lang="en"]
    .live-chat-section
    .col2-content
    .users
    .users-data
    .image::after {
    content: "";
    position: absolute;
    top: 64%;
    left: 15%;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: white;
    z-index: 999;
}

html[lang="ar"]
    .live-chat-section
    .col2-content
    .users
    .users-data
    .image::before {
    content: "";
    position: absolute;
    top: 64%;
    right: 41px;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: white;
    z-index: 999;
}

.live-chat-section .chat {
    width: 63%;
}

.live-chat-section .chat .chat-messages {
    overflow-y: scroll;
    max-height: fit-content;
}

.live-chat-section .chat > div:first-of-type {
    height: 623px;
    box-shadow: 0px 16px 88px 0px rgba(0, 0, 0, 0.1019607843);
    background-color: #ffffff;
    border-radius: 35px;
    padding-bottom: 20px;
}

.live-chat-section .chat .user {
    display: flex;
    align-items: center;
    background-color: #f05271;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    padding: 15px 35px;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}

.live-chat-section .chat .user img {
    border: 3px solid #ffffff;
    border-radius: 50%;
    margin-right: 10px;
}

.live-chat-section .chat textarea {
    width: 100%;
    box-shadow: 0px 16px 88px 0px rgba(0, 0, 0, 0.1019607843);
    background-color: #ffffff;
    border: none;
    padding: 30px;
    outline: none;
    resize: none;
    border-radius: 35px;
    height: 127px;
    margin-top: 17px;
}

.live-chat-section .chat .attach-file {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    box-shadow: 0px 16px 88px 0px rgba(0, 0, 0, 0.1019607843);
    background-color: #ffffff;
    border-radius: 35px;
    padding: 0px 23px;
    margin-top: 10px;
}

.live-chat-section .chat .attach-file .support-files {
    width: 100%;
    height: 100%;
    padding: 35px 0;
}

html[lang="en"] .live-chat-section .chat .attach-file .support-files {
    text-align: right;
    margin-right: 10px;
}

.live-chat-section .chat .attach-file .support-files p {
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    gap: 15px;
    margin-bottom: 10px;
}

.live-chat-section .chat .attach-file .button {
    width: 30%;
}

.live-chat-section .chat .attach-file button {
    border-radius: 168px;
    background-color: #f05271;
    font-family: Baloo 2;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    border: none;
    outline: none;
}

.live-chat-section .chat .attach-file .title {
    font-weight: bold;
    font-size: 20px !important;
    line-height: 100%;
    letter-spacing: 0%;
    color: #808080;
}

.live-chat-section .chat .attach-file .sub-title {
    font-weight: 400;
    font-size: 14px !important;
    line-height: 100%;
    letter-spacing: 0%;
}

.live-chat-section .chat .attach-file .sub-title span {
    font-weight: bold;
    color: #808080;
}

.live-chat-section .col2-content .users .users-data.clicked {
    display: flex;
    align-items: center;
    margin: 25px;
    background-color: #f05271;
    padding: 10px;
    border-radius: 30px;
    color: #ffffff;
    position: relative;
}

.live-chat-section .col2-content .users .users-data .data {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

html[lang="ar"] .live-chat-section .col2-content .users .users-data .data {
    margin-right: 15px;
}

.live-chat-section .col2-content .users .users-data .data .user-name {
    font-weight: 700;
    font-size: 18px;
    line-height: 19px;
    letter-spacing: 0%;
    margin-bottom: 4px;
}

.live-chat-section .col2-content .users .users-data.clicked .data .user-name {
    color: #ffffff;
}

.live-chat-section .col2-content .users .users-data.clicked .data .time {
    color: #ffffff;
    opacity: 0.8;
    font-size: 12px;
}
.live-chat-section .col2-content .users .users-data .data .time {
    color: #ffffff;
}

.live-chat-section .col2-content .users .users-data .data .time.unclicked {
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0%;
    color: #808080;
}
.live-chat-section .send {
    height: 40px;
    border-radius: 168px;
    background-color: #f05271;
    width: 30%;
    font-family: Baloo 2;
    font-weight: 700;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 100%;
    letter-spacing: 0%;
    border: none;
    color: #ffffff;
    box-sizing: border-box;
    outline: none;
}
@media (max-width: 845px) {
    .live-chat-section .col2-content {
        flex-direction: column;
    }
    .live-chat-section .send {
        width: 50%;
        justify-content: center;
    }
    .live-chat-section .col2 .top-content {
        width: 80%;
        margin: 0px auto 20px auto;
    }

    .live-chat-section .col2-content .users {
        width: 80%;
        margin: 0px auto 20px auto;
    }

    .live-chat-section .chat {
        width: 100%;
        margin: 0px auto 20px auto;
    }

    html[lang="en"] .live-chat-section .col2-content .users {
        width: 100%;
    }

    html[lang="ar"] .live-chat-section .col2-content .users {
        width: 100%;
    }
}

@media (max-width: 749px) {
    .live-chat-section .chat .attach-file {
        flex-direction: column;
        align-items: flex-end;
    }

    .live-chat-section .chat .attach-file .support-files {
        margin-bottom: 10px;
    }

    .live-chat-section .chat .attach-file .button {
        width: 100%;
    }
    .live-chat-section .chat > div:first-of-type,
    .live-chat-section .chat textarea,
    .live-chat-section .chat .attach-file,
    html[lang="en"] .live-chat-section .col2-content .users,
    html[lang="ar"] .live-chat-section .col2-content .users {
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    }
}

.data .unseen-count {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
}

.users-data .image {
    overflow: hidden;
}

.users-data .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-chat-section::-webkit-scrollbar {
    height: 4px;
}

.live-chat-section::-webkit-scrollbar-track {
    background: transparent;
}

.live-chat-section::-webkit-scrollbar-thumb {
    background: #f05271;
    border-radius: 10px;
}

.live-chat-section::-webkit-scrollbar-button {
    display: none !important;
}

.live-chat-section::-webkit-scrollbar-thumb:hover {
    background: #f05271;
}

/* Firefox */
.live-chat-section {
    scrollbar-width: thin;
    scrollbar-color: #f05271 #f1f1f1;
}

/*# sourceMappingURL=liveChat.css.map */
