::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #1739AB;
    border-radius: 20px;
    cursor: pointer;
}

.htmlbody::-webkit-scrollbar {
    display: none !important;
}

#preloader {
    opacity: 0.6;
    cursor: not-allowed;
}

.required-indicator {
    color: red;
    font-weight: bold;
}

.mastercard:hover {
    cursor: pointer;
}

.hover-pointer:hover {
    cursor: pointer;
}

.floatright {
    float: right;
    align-content: end;
    align-items: end;
}

.disabled {
    pointer-events: none;
}

.hidden {
    display: none;
}



/*  */
#preview {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

.page {
    width: 100%;
    height: 100%;
}

.marvel-device .screen {
    text-align: left;
}

.screen-container {
    height: 100%;
}

/* Status Bar */

.status-bar {
    height: 25px;
    background: #004e45;
    color: #fff;
    font-size: 14px;
    /* padding: 0 8px; */
}

.status-bar:after {
    content: "";
    display: table;
    clear: both;
}

.status-bar div {
    float: right;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 0 0 8px;
    font-weight: 600;
}

/* Chat */



.chat-container {
    height: 100%;
}

/* User Bar */

.user-bar {
    height: 55px;
    background: #1739AB;
    color: #fff;
    padding: 0 8px;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.user-bar:after {
    content: "";
    display: table;
    clear: both;
}

.user-bar div {
    float: left;
    transform: translateY(-50%);
    position: relative;
    top: 50%;
}

.user-bar .actions {
    float: right;
    margin: 0 0 0 20px;
}

.user-bar .actions.more {
    margin: 0 12px 0 32px;
}

.user-bar .actions.attachment {
    margin: 0 0 0 30px;
}

.user-bar .actions.attachment i {
    display: block;
    transform: rotate(-45deg);
}

.user-bar .avatar {
    margin: 0 0 0 5px;
    width: 36px;
    height: 36px;
}

.user-bar .avatar img {
    border-radius: 50%;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    display: block;
    width: 100%;
}

.user-bar .companyname {
    font-size: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    margin: 0 0 0 8px;
    overflow: hidden;
    white-space: nowrap;
    width: 200px;
}

.user-bar .status {
    display: block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
}

/* Conversation */



.conversation {
    /* height: calc(100% - 12px); */
    height: 27rem;
    overflow-y: scroll !important;
    position: relative;
    background: #efe7dd url("https://cloud.githubusercontent.com/assets/398893/15136779/4e765036-1639-11e6-9201-67e728e86f39.jpg") repeat;
    z-index: 0;
}

.conversation ::-webkit-scrollbar {
    transition: all .5s;
    width: 5px;
    height: 1px;
    z-index: 10;
}

.conversation ::-webkit-scrollbar-track {
    background: transparent;
}

.conversation ::-webkit-scrollbar-thumb {
    background: #b3ada7;
}

.conversation .conversation-container {
    height: calc(100% - 68px);
    box-shadow: inset 0 10px 10px -10px #000000;
    overflow-x: hidden;
    padding: 0 16px;
    margin-bottom: 5px;
}

.conversation .conversation-container:after {
    content: "";
    display: table;
    clear: both;
}

/* Messages */

.message {
    color: #000;
    clear: both;
    line-height: 18px;
    font-size: 15px;
    padding: 8px;
    position: relative;
    /* margin: 8px 0; */
    max-width: 85%;
    word-wrap: break-word;
    z-index: -1;
}

.message_preview {
    position: absolute !important;
    bottom: 0 !important;
    overflow-x: auto !important;
}

.message:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
}

.metadata {
    display: inline-block;
    padding: 0 0 0 7px;
    position: relative;
    bottom: -4px;
}

.metadata .time {
    color: rgba(0, 0, 0, .45);
    font-size: 11px;
    display: inline-block;
}

.metadata .tick {
    display: inline-block;
    margin-left: 2px;
    position: relative;
    top: 4px;
    height: 16px;
    width: 16px;
}

.metadata .tick svg {
    position: absolute;
    transition: .5s ease-in-out;
}

.metadata .tick svg:first-child {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: perspective(800px) rotateY(180deg);
    transform: perspective(800px) rotateY(180deg);
}

.metadata .tick svg:last-child {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: perspective(800px) rotateY(0deg);
    transform: perspective(800px) rotateY(0deg);
}

.metadata .tick-animation svg:first-child {
    -webkit-transform: perspective(800px) rotateY(0);
    transform: perspective(800px) rotateY(0);
}

.metadata .tick-animation svg:last-child {
    -webkit-transform: perspective(800px) rotateY(-179.9deg);
    transform: perspective(800px) rotateY(-179.9deg);
}

.message:first-child {
    margin: 16px 0 0px;
}

.message.received {
    background: #fff;
    border-radius: 0px 5px 5px 5px;
    float: left;
}

.message.received .metadata {
    padding: 0 0 0 16px;
}

.message.received:after {
    border-width: 0px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
    top: 0;
    left: -10px;
}

.message.sent {
    background: #e1ffc7;
    border-radius: 5px 0px 5px 5px;
    /* float: right; */
}

.messagebuttons>button {
    width: 85%;
    font-size: medium;
}

.message.sent:after {
    border-width: 0px 0 10px 10px;
    border-color: transparent transparent transparent #e1ffc7;
    top: 0;
    right: -10px;
}

/* Compose */

.conversation-compose {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    overflow: hidden;
    height: 50px;
    width: 100%;
    z-index: 2;
}

.conversation-compose div,
.conversation-compose input {
    background: #fff;
    height: 100%;
}

.conversation-compose .emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 5px 0 0 5px;
    flex: 0 0 auto;
    margin-left: 8px;
    width: 48px;
}

.conversation-compose .input-msg {
    border: 0;
    flex: 1 1 auto;
    font-size: 16px;
    margin: 0;
    outline: none;
    min-width: 50px;
}

.conversation-compose .photo {
    flex: 0 0 auto;
    border-radius: 0 0 5px 0;
    text-align: center;
    position: relative;
    width: 48px;
}

.conversation-compose .photo:after {
    border-width: 0px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
    position: absolute;
    width: 0;
    height: 0;
    content: "";
    top: 0;
    right: -10px;
}

.conversation-compose .photo i {
    display: block;
    color: #7d8488;
    font-size: 24px;
    transform: translate(-50%, -50%);
    position: relative;
    top: 50%;
    left: 50%;
}

.conversation-compose .send {
    background: transparent;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    margin-left: 8px;
    margin-right: 8px;
    padding: 0;
    position: relative;
    outline: none;
}

.conversation-compose .send .circle {
    background: #008a7c;
    border-radius: 50%;
    color: #fff;
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-compose .send .circle i {
    font-size: 24px;
    margin-left: 5px;
}

/* Small Screens */

@media (max-width: 768px) {
    .marvel-device.nexus5 {
        border-radius: 0;
        flex: none;
        padding: 0;
        max-width: none;
        overflow: hidden;
        height: 100%;
        width: 100%;
    }

    .marvel-device>.screen .chat {
        visibility: visible;
    }

    .marvel-device {
        visibility: hidden;
    }

    .marvel-device .status-bar {
        display: none;
    }

    .screen-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .conversation {
        height: calc(100vh - 55px);
    }

    .conversation .conversation-container {
        height: calc(100vh - 120px);
    }
}

.border-right {
    border-right: 0.5px solid var(--bs-border-color);
}

#media_perview>img,
#media_perview>iframe {
    width: auto !important;

}


.marvel-device.nexus5 {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 50px auto;
    border: 16px black solid;
    border-top-width: 60px;
    border-bottom-width: 60px;
    border-radius: 36px;
    box-shadow: 0px 0px 0px 16px rgba(0, 0, 0, 0.1);
}

.marvel-device .top-bar,
.marvel-device .bottom-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 20px;
    width: 60px;
    background: black;
    border-radius: 10px;
}

.marvel-device .top-bar {
    top: -44px;
}

.marvel-device .sleep {
    position: absolute;
    right: -8px;
    top: 72px;
    width: 16px;
    height: 70px;
    background: black;
    border-radius: 0 6px 6px 0;
}

.marvel-device .volume {
    position: absolute;
    left: -8px;
    top: 100px;
    width: 16px;
    height: 90px;
    background: black;
    border-radius: 6px 0 0 6px;
}

.marvel-device .camera {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #999;
    border-radius: 50%;
}

.marvel-device .screen {
    /* position: absolute; */
    /* top: 40px;
    bottom: 40px;
    left: 16px;
    right: 16px; */
    background: white;
}

.status-bar,
.chat-container {
    /* padding: 10px; */
}

.user-bar {
    display: flex;
    align-items: center;
    padding: 10px;
    /* background: #f5f5f5; */
}

.user-bar .avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-bar .companyname {
    margin-left: 10px;
}

.conversation-container {
    padding: 10px;
    height: 100%;
    overflow-y: auto;
    background: #fff;
}

.actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.actions i {
    font-size: 24px;
    margin: 0 5px;
    cursor: pointer;
}











.awesomplete>ul {
    position: absolute;
    left: 0;
    z-index: 1;
    min-width: 100%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
}

.awesomplete>ul:empty {
    display: none;
}

.awesomplete>ul {
    border-radius: .3em;
    margin: .2em 0 0;
    background: hsla(0, 0%, 100%, .9);
    background: linear-gradient(to bottom right, white, hsla(0, 0%, 100%, .8));
    border: 1px solid rgba(0, 0, 0, .3);
    box-shadow: .05em .2em .6em rgba(0, 0, 0, .2);
    text-shadow: none;
}

@supports (transform: scale(0)) {
    .awesomplete>ul {
        transition: .3s cubic-bezier(.4, .2, .5, 1.4);
        transform-origin: 1.43em -.43em;
    }

    .awesomplete>ul[hidden],
    .awesomplete>ul:empty {
        opacity: 0;
        transform: scale(0);
        display: block;
        transition-timing-function: ease;
    }
}

/* Pointer */
.awesomplete>ul:before {
    content: "";
    position: absolute;
    top: -.43em;
    left: 1em;
    width: 0;
    height: 0;
    padding: .4em;
    background: white;
    border: inherit;
    border-right: 0;
    border-bottom: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.awesomplete>ul>li {
    position: relative;
    padding: .2em .5em;
    cursor: pointer;
}

.awesomplete>ul>li:hover {
    background: hsl(200, 40%, 80%);
    color: black;
}

.awesomplete>ul>li[aria-selected="true"] {
    background: hsl(205, 40%, 40%);
    color: white;
}

.awesomplete mark {
    background: hsl(65, 100%, 50%);
}

.awesomplete li:hover mark {
    background: hsl(68, 100%, 41%);
}

.awesomplete li[aria-selected="true"] mark {
    background: hsl(86, 100%, 21%);
    color: inherit;
}

/*# sourceMappingURL=awesomplete.css.map */
.cursor-pointer {
    cursor: pointer !important;
}

#chat-conversation {
    max-height: 486px;
    overflow-y: auto;
}

/* Shimmer Effect */
.shimmer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shimmer-item {
    width: 100%;
    height: 60px;
    /* Adjust the height based on your chat item size */
    background: #e0e0e0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.shimmer-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.link-text {
    height: auto;
    display: inline !important;
    color: #0000EE !important;
    text-decoration: underline !important;
}

.datatr:hover {
    cursor: grab;
    background-color: var(--bs-table-border-color) !important;
}

.selected_row {
    background-color: var(--bs-table-border-color) !important;
}


.relative-container {
    position: relative;
    width: 100%;
}

.relative-container img {
    display: block;
    width: 100%;
    height: auto;
}

.relative-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.3s ease;
    /* Smooth transition */
}

.relative-container:hover .overlay {
    opacity: 1;
    /* Show overlay on hover */
}

emoji-picker {
    --background: var(--bs-card-bg) !important;
}

.variation-container {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    max-height: 180px;
    /* Visible for ~3 rows */
    overflow-y: auto;
}

.variation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f1f5f9;
    margin-bottom: 10px;
}

.variation-item input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
}

.variation-actions span {
    cursor: pointer;
    color: red;
    font-size: 18px;
}

.drag-handle {
    cursor: move;
    font-size: 18px;
}

.add-variation {
    color: #3b82f6;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
    display: inline-block;
}

.variation-item input:focus {
    outline: none;
}
#managedata {
    width: max-content !important;
    z-index: 100000000;
  }