
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Prevent body scrolling */
}
.table-container {
    height: 492px;
    overflow-y: auto;
    border:1px solid #bcbcbc;
    background-color: #fff;
    border-radius: 8px;

}
.main-section{
background-color: #edf0f5;
height: 100%;
}
.fixed-header, .fixed-footer {
    z-index: 1030;
}
.footer {
    /* height: 28px; */
    height: 40px;
}
footer {
    background-color: #f8f9fa;
    padding: 20px;
    /* border-top: 1px solid #e7e7e7; */
}
.input-group:focus-within .input-group-text {
    display: none;
}
.input-group > .input-group-text {
    display: none;
}
/* Hide the span when the input is not empty */
.input-group:has(input:not(:placeholder-shown)) .input-group-text {
    display: none;
}
.input-group:has(input:focus-visible) .input-group-text {
    display: block;
    
}.input-group:has(input:focus-visible) input::placeholder {
    color: transparent;    
} 
.input-group .input-group-text.show {
    display: block;
    
}
.badge.page-item:not(.count-indicator){
    cursor: pointer;
    -webkit-user-select:none ;
    user-select: none;
} .count-indicator{
    pointer-events: none;
} .w-40{
    width: 40%;
} .w-70{
    width: 70%;
} .header-bar-nav{
    display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
} label{
    text-wrap: wrap;
} @media (max-width: 576px) {
}

.dashed{
    border: 2px dashed #ccc;
    background-color: #f9f9f9;
} .drag-over{
    border: 2px dashed #0d85e0;
    background-color: #c6e4f9;

}

/* Overlay styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1070; /* Increase z-index to ensure it's above the header */
}

/* Popup box */

.popup {
    background-color: #fff;
    padding-left: 10px;
    border-radius: 0 0 8px 8px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1071;
    word-break: break-word;
    overflow-wrap: break-word;
    position: absolute;
    top: 0;
    display: flex;
} .popup.leads {
    display: block !important;
    padding: 20px;
}
#popup-message-header {
    font-size: 13px !important;
    color: #000;
    margin-bottom: 8px;
    font-weight: 700;
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 5px;
    margin-top: 5px;
} #popup-message-body {
    background-color: #ffffea;
    border: 1px solid gray;
    border-radius: 6px;
    color: black;
    line-height: 1.5;
    padding: 4px 10px;
    font-size: 13px;
    margin-bottom: 10px;
} .leads #popup-message-header {
    font-size: 16px !important;

}


/* Popup buttons */
.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.popup-buttons button {
    width: 48%;
}
.cursor-p{
    cursor: pointer;
}

tr.clickable-row:hover td {
    color: rgb(0, 81, 255);
    cursor: pointer;
} tr:has(input.lead-checkbox:checked) td {
    color: rgb(233, 99, 51);
} .w-0{
    width: 0px !important;
} .input-group.input-group-sm > .input-group-text {
    display: block !important;
    border: none !important;
    cursor: pointer;
    background-color: none !important;
} .input-group.input-group-sm > input:not(:hover) {
    border-color: transparent;
}.input-group.input-group-sm:not(:focus-within) button {
    display: none;
} input{
    border-radius: 5px !important ;
}

.input-group.input-group-sm:hover input {
    border-color: #c0c6cc !important;
} 
input:focus-visible:not(.guest){
    border: none !important;
    outline: none;
    box-shadow: 0px 0px 6px 0px rgb(71, 150, 237) !important;
    padding: 3px 12px;

}  
.input-group.input-group-sm:has(.input-group-text:hover,input:hover) input:not(:focus-visible){
        background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 fill=%27currentColor%27 class=%27bi bi-pencil-square%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z%27/%3E%3Cpath fill-rule=%27evenodd%27 d=%27M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5z%27/%3E%3C/svg%3E');
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 16px 16px;
        padding-right: 30px; 
        cursor: pointer;
}  .eye-icon {
    position: absolute;
    right: 20px;
    top: 57%;
    cursor: pointer;
    font-size: 18px;
    color: #ff0000;
} .eye-icon .active, .eye-icon:hover {
    color:  rgb(71, 150, 237) !important;
} .bg-overlay{
    background: #30394a80;
    z-index: 1030;
} .fixed-header, .fixed-footer {
    -webkit-user-select: none;
     user-select: none;
} .right-pane{
    background: #fff;
    height: calc(100% - 40px);
    position: fixed;
    transition: .5s ease-in-out;
    z-index:1080;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .4);
    /* top: 0; */
    bottom: -100vh;;
    right:0;
    min-width: 70vw;
    box-sizing: border-box;
    display: inline-grid;
    transition: transform 0.5s ease;
    transform: translateY(100%);
} .right-pane.active {
    transform: translateY(0);
    top:0;
}

.after:after{
        content: "";
        clear: both;
        display: block;
    
} .li{
    padding: 13px 15px;
    height: 44px;
    display: flex !important;
    align-items: flex-end;
    
} .li span{
    vertical-align: middle;
    cursor: pointer;
} .user-thumbnail.image{
    vertical-align: middle;
    width: 30px;
    height: 30px;
    border-radius: 50%;
} .fileattachments{
    position: absolute;
    bottom: 45px;
}
    div#fileList {
    position: relative;
    left: 15px;
    display: flex;
    margin-right: 5px;
    font-size: 12px;
    height: 0px;
    align-items: center;                                        
    width: 900px;
    overflow-y: hidden;
    padding-top: 15px;
    padding-bottom: 33px;
} .file-item {
    margin-right: 5px ;
    margin-top: 8px ;
    background-color: #c6e4f9;
    border-radius: 5px;
    display: inline-flex;
} span.file-name {
    overflow: hidden;
    max-width: 138px;
    text-overflow: ellipsis;
    align-content: center;
    align-items: center;
    white-space: nowrap;
    margin-left: 5px;
}.file-item .delete-btn {
    height: 22px;
    width: 22px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}  .file-item .delete-btn:hover {
    color: red;
    border: 1px solid;

} i.bi.bi-paperclip {
    width: 38px;
    height: 38px;
    /* border: 1px solid; */
    border-radius: 5px;
    display: inline-flex;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: hotpink;
    color: white;
} .x-hide:hover{
    color:red;
    
}.hide{
display: none !important;    
} .cursor{
    cursor: pointer !important;
} .cursor-default{
    cursor: default !important;
}  ul.email-list > li {
    display: inline-block;
    float: none;
}

.email-input-container {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: start;
    border: 1px solid #ced4da;
    border-radius: 4px;
    min-height: 50px;
    background-color: #fff;
    position: relative;
    padding: 8px 20px;
}

.email-input-container input:not(.recipient-email input):focus {
    /* border: 1px solid blue; */
    box-shadow: 0px 0px 6px 0px rgb(71, 150, 237) !important;
    padding: 3px 12px;

}

.email-input-container ul {
    height: 100%;
    width: 100%;
    padding: 5px;
    margin: 0;
    display: flex;
    overflow-y: hidden;
    justify-content: center;
    align-items: center;
}

.email-list li {
    list-style: none;
    margin-right: 10px;
}

.email-tag {
    display: inline-flex;
    align-items: baseline;
    background-color: #e1f5fe;
    border-radius: 2px;
    margin: 2px;
    padding: 5px 10px;
    font-size: 14px;
    color: #007bb5;
    position: relative;
    max-width: 160px;
}

.email-tag .valid,
.email-tag .invalid {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.email-tag .remove-email {
    /* height: 22px; */
    cursor: pointer;
    color: #007bb5;
    border-radius: 50%;
    /* width: 22px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e1f5fe;
    z-index: 2;
}

.email-tag .remove-email:hover {
    /* border: 1px solid red; */
    color: red;
}

.email-tag.invalid {
    background-color: #ffe6e6;
    color: #d9534f;
}

.email-input-container input {
    border: none;
    outline: none;
    flex-grow: 1;
    /* padding: 5px; */
    min-width: 100px;
    max-width: 250px;
    width: 0;
    font-size: 13px;
    background: transparent;
    line-height: 22px
}

.suggestions {
    position: absolute;
    top: 40px;
    width: -moz-fit-content;
    width: fit-content;
    background: #e1f5fe;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    min-width: 160px;
    max-width: 400px;
    max-height: 58px;
    line-height: 10px;
    /* padding: 12px 0px; */
    display: flex;
    align-items: center;
    display: none;
}

.suggestions div {
    padding: 5px 10px;
    cursor: pointer;
    display: block;
    align-items: center;
    max-width: 380px;
    font-size: 15px;
}

.suggestions div:hover {
    background-color: #e1f5fe;
}

.email-tag .full-email {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #007bb5;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 1;
    font-size: 10px;
    text-overflow: ellipsis;
    max-width: 100%;
    overflow: hidden;
}

.email-tag:hover .full-email {
    display: block;
}

.mail-to .username {
    max-width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 3px;
    display: inline-block;
} td.void-zone {
    cursor: default;
} .star-checked {
    color: rgb(241, 142, 10);
} .email-template-table {
    position: fixed;
    background: #ffffff00;
    height: 100%;
    width: 100%;
    top:0;
    z-index: 99999999999999999;
}  .freezeLayer {
    position: fixed;
    background: #313949;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1081;
    opacity: .5;
}.e-t-header {
    background: #fff;
    width: 100%;
    padding: 10px 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d8bcbc66;
} .e-t-table {
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    height: calc(100% - 50px) !important;
} .mw-200{
    max-width: 200px;
    white-space: nowrap;
    text-wrap: nowrap;    
    text-overflow: ellipsis;
    display: inline-block;
    border-right: 2px solid rgb(0 0 0 / 39%);
    padding-right: 10px;

}.mw-175{
    max-width: 175px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
} .alert-overlay{
    z-index: 1085;
}
/* .alert-overlay .popup{
    min-width: 500px;
} */
.modal-body.help label kbd{
    background: red !important;
    background-color: red !important;
}.count-float{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2fa451;    
    margin-top: 4px;
    color: white;
    font-size: 12px;
    left: 25px;
    text-align: center;
    top: -3px !important;

} .success.alert-box {
    z-index: 9999;
    top: 72px;
    left: 4%;
    font-size: 13px;
} .truncated-text{
        display: inline-block;
        max-width: 110px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
    
}    .notification-bell {
    position: relative;
    display: inline-block;
    cursor: pointer;
} .notification-count {
    position: absolute;
    background-color: red;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    padding: 0.25rem;
    left: 50%;
    top: -5px !important;
    margin-left: 4px;
    border: 1px solid red;
} #notificationList{
        position: fixed;
        width: 25%;
        right: 0px;
        margin-left: 7rem;


} ul#notificationMessages {
    height: 596.8px;/*/566.8*/
    background: rgb(255, 255, 255);
    top: 25px;
    position: relative;
    text-align: center;
    border-left: 1px solid rgb(255, 255, 255);
    box-sizing: border-box;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, .22), 0 0 3px 0 rgba(0, 0, 0, .17);
    transform: scale(0);
    transform-origin: 120px top !important;
    transition: .3s cubic-bezier(0,0,.2,1);
    padding: 0;
} ul#notificationMessages.open {
    transform: scale(1);
    overflow-y: auto;
    overflow-x: hidden;
}ul#notificationMessages li {
list-style: none;
} ul#notificationMessages li div {
   padding: 5px 15px;
   background: blanchedalmond;
   margin-bottom: 5px;

}ul#notificationMessages li div .clicked-info {
    font-size: 13px;
    min-width: 250px;
    max-width: 270px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
} ul#notificationMessages li div svg {
        vertical-align: middle;
        height: 40px;
        width: 40px;
        fill: green;
    } tr.clickable-row.disabled-lead td {
        color: gray;
    } button.btn.btn-secondary.sm.dropdown-toggle {
        padding: 0 !important;
        padding-right: 4px !important;
        border: var(--bs-btn-border-width) solid #6c757d00;
        background-color: #6c757d03;
    }button.btn.btn-secondary.sm.dropdown-toggle:active {
            color: var(--bs-btn-hover-color);
            background-color: var(--bs-btn-hover-bg);
            border-color: var(--bs-btn-hover-border-color);
        
    }button.btn.btn-secondary.sm.dropdown-toggle:hover {
            color: var(--bs-btn-hover-color);
            background-color: var(--bs-btn-hover-bg);
            border-color: var(--bs-btn-hover-border-color);
        
    }  @keyframes colorFlow {
        0% {
            background-position: 0% 0;
        }
        100% {
            background-position: 100% 0;
        }
    } .lh-3{
        line-height: 3;
    } input.guest:focus-visible:focus{
    box-shadow: none !important;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    -webkit-user-select: none !important;
    user-select: none !important;
    } tr.showCheck:hover input[type="checkbox"] {
        display: block !important;
    } tr.showCheck input[type="checkbox"]:checked {
        display: block !important;
    } 
    ul.timeline {
        --color: rgba(30, 30, 30);
        --bgColor: rgba(245, 245, 245);
         --col-gap: 2rem;
        --row-gap: 2rem;
        --line-w: 0.25rem;
        display: grid
    ;
        grid-template-columns: var(--line-w) 1fr;
        grid-auto-columns: max-content;
        column-gap: var(--col-gap);
        list-style: none;
        width: min(60rem, 90%);
        margin-inline: auto;
    }
    
    ul.timeline li:not(:last-child) {
        margin-bottom: var(--row-gap);
    }
    ul.timeline li {
        grid-column: 2;
        --inlineP: 1.5rem;
        margin-inline: var(--inlineP);
        grid-row: span 2;
        display: grid;
        max-width: fit-content;
    
        grid-template-rows: min-content min-content min-content;
    }ul.timeline::before {
        content: "";
        grid-column: 1;
        grid-row: 1 / span 20;
        background: rgb(225, 225, 225);
        border-radius: calc(var(--line-w) / 2);
    } ul.timeline li .date::before {
        content: "";
        width: var(--inlineP);
        aspect-ratio: 1;
        background: var(--accent-color);
        background-image: linear-gradient(rgba(0, 0, 0, 0.2) 100%, transparent);
        position: absolute;
        top: 100%;
        clip-path: polygon(0 0, 100% 0, 0 100%);
        right: 0;
    }
    ul.timeline li .date {
        --dateH: 3rem;
        height: var(--dateH);
        margin-inline: calc(var(--inlineP)* -1);
        text-align: center;
        background-color: var(--accent-color);
        color: white;
        font-size: 1.25rem;
        font-weight: 700;
        display: grid
    ;
        place-content: center;
        position: relative;
        border-radius: calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2);
    } ul.timeline li:first-child .date::after {
        content: "";
        position: absolute;
        width: 2rem;
        aspect-ratio: 1;
        background: var(--bgColor);
        border: 0.3rem solid var(--accent-color);
        border-radius: 50%;
        top: 36%;
        transform: translate(50%, -50%);
        right: calc(100% + var(--col-gap) + var(--line-w) / 2);
    } 
    ul.timeline li .content {
        position: relative;
    }ul.timeline li span.icon {
        position: absolute;
        width: 2rem;
        aspect-ratio: 1;
        background: var(--bgColor);
        border: 1px solid #616E88;
        color: #616E88;
        border-radius: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        right: calc(100% + var(--col-gap) + var(--line-w) / 2);
        display: flex;
        align-items: center;
        justify-content: center;
    } ul.timeline li .time {
        position: absolute;
        top: 50%;
        transform: translate(-85%, -50%);
        right: calc(100% + var(--col-gap) + var(--line-w) / 2);
    }ul.timeline li:not(:first-child) .date {
       margin-top: 3rem;
    }
    ul.timeline:has(.noHistory) {
        padding: 0 !important;
        width: unset;
        column-gap: unset;
        row-gap: unset;
        --line-w: 0;
        margin: 0 !important;
    }.modal-content {
        max-height: 550px !important;

    } .modal.show .modal-dialog {
        max-width: 80% !important;
        position: absolute;
        right: 0;
    } .modal-fullscreen {
        width: 80vw !important;
        right: 0 !important;
        position: absolute !important;
    }
    .table:has(.noRecord){
        margin-top: 0 !important;

    }.Email-Analitics:has(.noRecord){
        margin-bottom: 0 !important;
    }.Email-Analitics:has(input:checked) .selected-items, .Email-Analitics:has(input:checked) li.delete a{
        display:block !important;
    } .title-text{
        overflow:hidden;
        max-width: 150px;
        text-overflow: ellipsis;
        white-space: nowrap;
    } thead.sticky-top tr:sticky {
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Example shadow */
    }
    
   .error-border {
    border: 1px solid red !important;
    border-color: red !important;
    color: red !important;
}