.MuiStack-outer{
    background: #fff;
    margin: 12px;
    border-radius: 10px;
    height: calc(100vh - 185px);
    overflow: hidden;
    display: flex;
    flex-direction: row;
}
.add-new-temp-section .table-responsive {
    background: #fff;
    margin: 12px;
    border-radius: 10px;
    height: 100%;
    overflow: hidden;
    padding: 12px;
}
.add-new-temp-section .content-body{
    padding-bottom: 0px;
}
.add-new-temp-section button#add-template-btn {
    margin: 15px 14px 5px;
}
.add-tem-inner {
    position:relative;
    background: #fff;
    z-index: 6;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding:20px;
    max-height: calc(100% - 64px);
    max-width: 1200px;
    width: calc(100% - 64px);
    border-radius: 10px;
    overflow-y: auto;
}
div#template-form{
    padding:20px;
    position: fixed;
    z-index:9999;
    background-color: rgba(0, 0, 0, 0.3);
    width:100vw;
    height:100vh;
    top:0;
    left:0;
    overflow: hidden;
}
.tem-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    margin-bottom:20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.tem-head h3 {
    font-size: 16px;
    font-weight: 500;
    color:#000;
}
.tem-head button,
.tem-head button:hover {
    background-color: transparent;
    padding: 0!important;
    border: 0;
    border-radius: 0;
    margin: 0;
}
.add-tem-inner input {
    border: 0;
    background: #f86b4f1c;
    border-radius: 8px;
}
.add-tem-inner textarea{
    border: 0;
    background: #f86b4f1c;
    border-radius: 8px;
    resize:none;
}
.add-tem-inner select#language, .add-tem-inner .chosen-container-single .chosen-single {
    border: none;
    margin: 0;
    box-shadow: none;
    width: 100%;
}
.broadcast-option-box{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.lan-option{
    padding: 3px 6px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    cursor: pointer;
    color: #333;
}

div#media-options [type="radio"]:checked,
div#media-options [type="radio"]:not(:checked),
#cta-options [type="radio"]:checked,
#cta-options [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
div#media-options [type="radio"]:checked + label,
div#media-options [type="radio"]:not(:checked) + label,
#cta-options [type="radio"]:checked + label,
#cta-options [type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
div#media-options [type="radio"]:checked + label:before,
div#media-options [type="radio"]:not(:checked) + label:before,
#cta-options [type="radio"]:checked + label:before,
#cta-options [type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid #47535fa6;
    border-radius: 100%;
    background: #fff;
}
div#media-options [type="radio"]:checked + label:after,
div#media-options [type="radio"]:not(:checked) + label:after,
#cta-options [type="radio"]:checked + label:after,
#cta-options [type="radio"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #f86b4f;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
#cta-options [type="radio"]:checked + label:after,
div#media-options [type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
div#media-options [type="radio"]:not(:checked) + label:after,
#cta-options [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
.MuiInputBase-root {
    display: flex;
    align-items: center;
}
svg.MuiSvgIcon-root,
.search-icon {
    user-select: none;
    width:24px;
    height:24px;
    display: inline-block;
    fill: currentcolor;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: rgb(248 107 79);
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.search-box {
    display: flex;
    align-items: center;
    padding: 7px;
    border: 2px solid rgba(0, 0, 0, 0.23);
    border-radius: 12px;
    position: relative;
}
ul#chatFilter {
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
    list-style: none;
    width: 100%;
    margin: 0;
    top: 100%;
    left: 0;
    padding: 8px 0;
    position: absolute;
    background: #fff;
}
ul#chatFilter li{
    padding:6px 16px;
    font-size:15px;
    font-weight:500;
    cursor: pointer;
}
.search-box:focus-within {
    border: 2px solid #f86b4f;
}
.search-bar input {
    height: 12px;
    background: transparent;
    border: 0;
    font-size: 14px;
    width: 100%;
}
[type=radio]+span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width:100%;
    height:100%;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    background: transparent;
}
[type=radio]:checked+span:after {
    content: "";
    width:100%;
    height:100%;
    background:#ebebeb;
    position: absolute;
    top:0;
    left:0;
    z-index: -1;
    border-radius: 10px;
    transition: all .2s ease;
}
.filter-options {
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: flex-end;
    width: 100%;
}
.search-container-inbox {
    padding: 12px;
    position: relative;
}
ul#chatFilter li:hover{
    background:#f5f5f5;
}
.selected-filter {
    font-size: 15px;
    width: 100%;
    padding: 1px 5px;
    font-weight: 500;
    cursor: pointer;
}
svg.MuiSelect-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    fill: #666666;
    right: 10px;
    top: 6px;
}
.results-list li {
    padding: 15px 10px;
}
.results-list li:nth-child(odd) {
    background: #f86b4f0d;
}
.result-name {
    font-size: 15px;
    width: 100%;
    padding:0;
    font-weight: 500;
}
.results-list .selected-filter {
    line-height: 1.5;
    color: rgb(248 107 79);
    font-size: 10px;
    font-weight: 500;
    margin-top: 5px;
    background: #ebebeb;
    width: fit-content;
}
.result-num {
    display: none;
}
.search-container-inbox label.MuiFormLabel-root {
    position: absolute;
    background: #fff;
    top: 4px;
    z-index: 1;
    left: 18px;
    font-weight: 500;
    font-size: 12px;
    padding: 0 6px;
}
.search-bar {
    width: 100%;
    padding: 0 6px;
}
.results-list {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-top: 0px;
    margin-top: 20px;
    border-top: 1px solid rgb(0 0 0 / 10%);
}

[type=radio]+span {
    position: relative;
}
.filter-options input {
    position: absolute;
    opacity: 0;
}
.filter-options span {
    font-size: 10px;
    font-weight: 400;
    padding: 2px 8px;
    cursor: pointer;
    color: rgb(83 33 33);
    z-index: 1;
}
.filter-options label {
    margin: 0;
}
.MuiBox-root.search-box {
    padding: 12px;
}
.MuiBox-root.search-box label {
    color: rgba(0, 0, 0, 0.6);
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    margin: 0;
    display: block;
    transform-origin: left top;
    text-overflow: ellipsis;
    max-width: calc(133% - 32px);
    position: absolute;
    left: 0px;
    top: 0px;
    transform: translate(14px, -9px) scale(0.75);
    z-index: 1;
    pointer-events: auto;
    user-select: none;
    padding: 0px;
    white-space: nowrap;
    overflow: hidden;
}
.MuiFormControl-root {
    position: relative;
}
.MuiBox-root.search-box input {
    border: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 15px;
}
.MuiBox-root.inbox-left {
    width: 330px;
    height: calc(100vh - 185px);
    overflow-y: auto;
    overflow-x: hidden;
}
.right-panal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}
.right-panal h6 {
    font-size: 16px;
    font-weight: 500;
}
img.chat-img {
    width: 100%;
    max-height: 190px;
    object-fit: contain;
}
.MuiBox-root.inbox-left.chatbot-left {
    width: 200px;
}
.chatbot-left .tab-buttons {
    display: flex;
    flex-flow: column;
    padding: 15px 10px;
}
.chatbot-left .tab-buttons button {
    border: 0;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    background: transparent;
}
.chatbot-left .tab-buttons button:hover{
    background-color: #ebebeb6c;
}
.chatbot-left .tab-buttons button + button {
    margin-top: 16px;
}
.chatbot-left button.chatbot-button.active {
    background: #ebebeb;
    color: #f86b4f;
}
button#open-chat-list {
    display: none;
}
ul.chat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.chat-list input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}
svg.check-icon {
    width: 24px;
    height: 24px;
    fill: #f86b4f;
    position: relative;
}
svg.check-icon path {border: 1px solid #000;}
svg.check-icon:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #000;
}
svg.check-icon.checked {
    display: none;
}
input[type="checkbox"]:checked + span svg.check-icon.checked {
    display: block;
}
input[type="checkbox"]:checked + span svg.check-icon.check-blank {
    display: none;
}
ul.chat-list label {
    display: flex;
    margin: 0;
}
ul.chat-list p {
    font-size: 12px;
    font-weight: 500;
    padding-left: 10px;
    margin-bottom: 8px;
}
ul.chat-list li {
    padding: 10px 12px;
}
label.all-chat-btn input {
    position: absolute;
    opacity: 0;
}

label.all-chat-btn {
    margin: 0;
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 10px;
}
.tab-content-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.right-panal.chatbot {
    display: block;
    padding: 20px;
    background: #fff;
}

.MuiDataGrid-columnHeaderTitle {
    font-size: 14px;
    font-weight: 500;
}

button.MuiButtonBase-root.MuiIconButton-root.MuiIconButton-sizeSmall.css-1j7qk7u {
    border: 0;
    background: transparent;
    position: absolute;
    opacity: 0;
}
.MuiDataGrid-columnHeaderTitleContainer:hover button.MuiButtonBase-root.MuiIconButton-root.MuiIconButton-sizeSmall.css-1j7qk7u {
    opacity: 1;
}
button.MuiButtonBase-root.MuiIconButton-root.MuiIconButton-sizeSmall.css-1j7qk7u svg {
    width: 18px;
    height: 18px;
}
.MuiDataGrid-columnHeaderTitleContainer {
    flex-grow: 1;
    display: flex;
}
.tab-content-table h2 {
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 20px;
}
.right-panal.whatsapp-inbox {
    display: block;
    padding: 0 10px;
    height: calc(100vh - 185px);
    overflow-y: auto;
    overflow-x: hidden;
}

.right-panal.whatsapp-inbox .header {
    background: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.right-panal.whatsapp-inbox .header h4 {
    font-size: 15px;
    width: 100%;
    padding: 0;
    font-weight: 500;
}
.right-panal.whatsapp-inbox .header h4 span {
    line-height: 1.5;
    color: rgb(248 107 79);
    font-size: 10px;
    font-weight: 500;
    margin-top: 5px;
    background: #ebebeb;
    width: fit-content;
    display: block;
    padding: 0 5px;
}
.right-panal.whatsapp-inbox .user-img {
    background-color: rgb(189, 189, 189);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    margin-right: 10px;
}
.right-panal.whatsapp-inbox .img-text {
    display: flex;
    align-items: center;
}
.message-box.my-message {
    max-width: 505px;
    background-color: white;
    padding: 12px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
    margin: 8px 0;
}
.chat-container p {
    margin: 0;
}
.chat-container {
    /* height: calc(100vh - 200px); 
    overflow-y: auto;
    overflow-x: hidden; */
    padding: 10px;
    background-color: #f9f9f9; /* Optional styling */
    border-radius: 5px;
}

.message-box.my-message span,
.message-box.friend-message span {
    font-size: 9px;
    font-weight: 500;
    color: #33333380;
}
.message-box.friend-message {
    max-width: 505px;
    background-color: rgb(220, 241, 229);
    padding: 12px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    margin: 8px 0;
    width: 100%;
    margin-left: auto;
}
@media (max-width:1024px){
    button#open-chat-list{
        display: block;
        text-align: center;
    border: 0;
    background: #f86b4f;
    padding: 8px 15px;
    border-radius: 20px;
    color: #fff;
    margin: 0 auto;
    width: 100%;
    margin: 15px 0px;
    }
    .MuiBox-root.inbox-left.whatsapp-inbox {
        position: fixed;
        background: #fff;
        top: 0;
        left: -330px;
        z-index: 9999;
        height: 100vh;
        transition: 0.3s all;
    }
    
    body.chat-list-open .MuiBox-root.inbox-left.whatsapp-inbox {
        left: 0;
    }
    
    body.header-fixed.chat-list-open:before {
        background: #00000026;
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 1006;
        top: 0;
    }
    .MuiStack-root.MuiStack-outer.chatbot {
        flex-flow: column;
    }
    
    .MuiBox-root.inbox-left.chatbot-left {
        width: 100%;
        height: auto;
    }
    
    .chatbot-left .tab-buttons {
        flex-flow: row;
    }
    
    .chatbot-left .tab-buttons button + button {
        margin-top: 0;
        margin-left: 13px;
    }
}







