:root{
    --bs-dropdown-link-hover-bg:rgba(58, 53, 65, 0.04);
    --box_shadow:0 0 2px 0 rgba(0,0,0,.24),0 16px 24px 2px rgb(0 0 0/5%),0 6px 30px 5px rgb(0 0 0/6%),0 8px 10px -5px rgba(0,0,0,.1);
    --color_green:#077838;
}
table.deals_table {
    margin-top: 20px;
    width:100%;
}
table.deals_table tbody td:last-child{
    position:sticky;
    right: 0;
    background:#fff;
}
table.deals_table thead th:last-child{
    position:sticky;
    right:0;
    background:#fff;
}
table.deals_table thead th, table.deals_table tbody td 
{
    border: 1px solid var(--border_color);
    font-size:14px;
    color:#21232c;
    padding:6px 8px;
}

.orgra_link,
.nowraptabel_text {
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
table.deals_table tbody td a{
    color:var(--color_green);
}
table.deals_table tbody .value,
table.deals_table thead  .value{ 
    text-align:right;
}
.deal_table_responsive {
    overflow: hidden;
    overflow-x: auto;
    height: calc(100vh - 152px);
    overflow-y: auto;
}
table.deals_table thead {
    position: sticky;
    top: 0;
    background: #fff;
}

ul.toolbar_container {
    display: flex;
    align-items: center;
    list-style: none;
}

ul.toolbar_container li {
    margin-right: 10px;
    color: #21232c;
}

ul.toolbar_container li:last-child {
    margin-right: 0px;
}

ul.toolbar_container li button {
    border: 1px solid var(--border_color);
    padding: 5px 12px;
    border-radius: 4px;
    background: none;
}

ul.toolbar_container li button i {
    margin-right: 5px;
}

ul.toolbar_container li:last-child button i {
    margin-right: 0px;
}
.left_navbar {
    display: flex;
    align-items: center;
    width: 60%;
}
.divider_left{
    position:relative;
    padding-left:20px !important;
}
.divider_left:after {
    width: 1px;
    height: 78%;
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: var(--border_color);
}
ul.toolbar_container li button:hover{
    background:var(--bs-dropdown-link-hover-bg);
}

 .form_group .crm_select {
    width: 100%;
    border: 1px solid var(--border_color);
    border-radius: 4px;
    padding: 4px 10px;
    box-sizing: border-box;
    position: relative;
    background: url(../../../img/select-arrow/menu-down.svg);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right;
    background-size: 22px;
}
.form_group .crm_label {
    display: block;
    color: #64686f;
    margin-bottom: 4px;
    font-size: 14px;
}

.toolBar_sidebar {
    max-width: 352px;
    position: fixed;
    right:0;
    transform: translateX(100%);
    transition-duration: 0.2s;
    transition-property: transform,visibility;
    transition-timing-function: cubic-bezier(.7,0,1,1);
    width: 100%;
    bottom: 0;
    z-index: 9999;
    background: #fff;
    box-shadow:  0 0 2px 0 rgba(0,0,0,.24),0 16px 24px 2px rgb(0 0 0/5%),0 6px 30px 5px rgb(0 0 0/6%),0 8px 10px -5px rgba(0,0,0,.1);
    visibility: hidden;
    opacity: 0;
    transition:0.5s ease-in-out;
}
.toolBar_sidebar.active{
    transform: translateX(0);
   visibility: visible;
   opacity: 1;
   transition: transform 0.3s cubic-bezier(0,0,.2,1);
}

.toolBar_sidebar .toolBar_sidebar_header h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom:0px;
}
.toolBar_sidebar .toolBar_sidebar_header{
    display: flex;
    align-items:center;
    justify-content: space-between;
    box-shadow:  0 0 1px 1px rgb(0 0 0/5%),0 1px 2px -2px rgb(0 0 0/6%),0 1px 3px 0 rgb(0 0 0/7%);
    padding: 8px 16px;
}
.toolBar_sidebar .toolBar_sidebar_header button{
    border:none;
    background:none;
    transition:0.5s;
    padding:5px;
    border-radius: 4px;
}
.toolBar_sidebar .toolBar_sidebar_header button i {
    color:#21232c;
}
.toolBar_sidebar .toolBar_sidebar_header button:hover{
    background:var(--bs-dropdown-link-hover-bg);
}

.toolBar_sidebar_body {
    height: calc(90vh - 70px);
    overflow: hidden;
    overflow-y: auto;
    padding: 8px 20px;
}

.toolBar_sidebar_body .toolBar_sidebar_body_content .form_group {
    margin-bottom: 16px;
}

.toolBar_sidebar .toolBar_sidebar_footer {
    border-top: 1px solid var(--border_color);
    padding: 8px 16px;
}

.toolBar_sidebar .toolBar_sidebar_footer button {
    width: 100%;
    text-align: center;
    border: none;
}
.check_list{
    transition: 0.2s;
    cursor:pointer;
}
.check_list input:checked + i:before{
   content: "\F0132" !important;
   color:var(--color-link);
}
.check_list:hover i{
    color: var(--color-link);
}
.deals_header .left_navbar .toolbar_container{
    display: none;
}

.deals_header .left_navbar .toolbar_container.active{
    display: flex;
}
.deals_header .left_navbar ul.edtie_deal_active.active .deals_menu_item:last-child{
    display: none;
}
.deals_header .left_navbar ul.edtie_deal_active.active .deals_menu_item:first-child{
    margin-right: 0px;
}
table.deals_table thead th{
    font-weight: 600;
}
table.deals_table thead:first-child th, table.deals_table tbody td:first-child{
 border-left:0px;
}

table.deals_table thead:last-child th, table.deals_table tbody td:last-child{
  border-right:0px;
}

/* ------------ setting droupdown ------------ */
.deal_layout_list {
    position: relative;
}

.deal_layout_list .dealaddite_setting_droupdown {
    position: absolute;
    width: 370px;
    right: 35px;
    background: #fff;
    box-shadow: var(--box_shadow);
    border-radius: 4px;
    top: 9px;
    z-index: 9;
}

.visiblefitler {
    padding-left: 0px;
    margin-bottom: 0px;
}

.favorite_cat_list_name {
    font-size: 12px;
    padding: 4px 8px;
    background: #f3f3f3;
    letter-spacing: 0px;
    margin-bottom: 0px;
    font-weight: 600;
    color: #21232c;
}
.all_lists li{
    list-style: none;
}
.visiblefitler ul.all_lists li {
    padding-left: 35px;
    font-weight: 400;
    position: relative;
}

.visiblefitler ul.all_lists li .visible_checkbox {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.visiblefitler ul.all_lists li .visible_checkboxLabel input:checked + .visible_checkbox i {
    color: var(--color-link);
}
.visiblefitler ul.all_lists li:hover .visible_checkboxLabel .visible_checkbox i{
    color: #004b97 !important;
}
.visiblefitler ul.all_lists li .visible_checkboxLabel input:checked + .visible_checkbox i:before {
    content: "\F0132" !important;
    font-size:20px;
}
.visiblefitler ul.all_lists li:hover .visible_checkboxLabel .visible_checkbox i:after{
   display: block;
}
.visiblefitler ul.all_lists li .visible_checkboxLabel{
    width:100%;
}
/* .visiblefitler ul.all_lists li .visible_checkbox input:checked + i{
    color: var(--color-link);
}
.visiblefitler ul.all_lists li .visible_checkbox input:checked + i:before{
    content: "\F0132" !important;
}
.visiblefitler ul.all_lists li:hover  input:checked + .visible_checkbox i{
    content: "\F0132" !important;
}
.visiblefitler ul.all_lists li:hover .visible_checkbox input:checked + i {
    color: #004b97 !important;
}
.visiblefitler ul.all_lists li .visible_checkbox input + i:before{
    font-size:20px;
} */
.mdi-checkbox-blank-outline{
    color: #21232c3d;
}
.columnPickerBody {height: 40vh;overflow: hidden;overflow-y: auto;}
.visiblefitler ul.all_lists li .visible_checkboxLabel input:checked + .visible_checkbox i:after{
    display: block;
}

.visiblefitler ul.all_lists li .visible_checkboxLabel .visible_checkbox i:after {
    content: '';
    width: 12px;
    height: 10px;
    position: absolute;
    top: 40%;
    left: 50%;
    background: #fff;
    z-index: -1;
    transform: translate(-50%, -50%);
}
.visiblefitler ul.all_lists li .visible_checkboxLabel .visible_checkbox i {
    position: relative;
}

.filter_tabWrapper.pin_filter .tab-content {
    padding: 0px !important;
}

.column_picker_buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.columnPickerfooter {
    padding: 20px;
    border-top: 1px solid var(--border_color);
}
.theme_border_button {
    /* background: var(--theme-color); */
    height: 32px;
    padding: 4px 12px;
    border: none;
    transition: 0.5s;
    color: #21232c;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--bs-body-font-family);
    border-radius: 4px;
    display: inline-block;
    border:1px solid var(--border_color);
    background:none;
}
.theme_border_button:hover{
    background:var(--bs-dropdown-link-hover-bg);
}
h5 {
    font-size: 16px !important;
    font-weight: 600 !important;
}
.filter_search_wrapper.choose_column_header {
    padding: 0 20px 10px;
    border-bottom: 1px solid var(--border_color);
}


.deals_header .right_navbar .navBar_nav li .dropdown button.list_deal_pipeline_btn {
   border-radius:4px !important;
    border-right: 1px solid var(--border_color) !important;
    margin-left:10px;
}
/* .deals_header .right_navbar .navBar_nav li .dropdown button.list_deal_pipeline_btn i{
    margin-right:0px;
} */
/* ------------ setting droupdown ------------ */
.bulk-edit-panel {
    position: absolute;
    bottom: 0;
    right: -380px;
    width: 320px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #ddd;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    height: calc(100% - 172px);
}

.bulk-edit-panel.show {
    right: 0;
}

.bulk-edit-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bulk-edit-body {
    padding: 15px;
    overflow-y: auto;
    flex: 1;
}

.bulk-edit-footer {
    padding: 12px 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.custom-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    min-width: 160px;
    z-index: 2000;
}

.custom-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.custom-dropdown li {
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
}

.custom-dropdown li:hover {
    background: #f5f7fa;
}

.custom-dropdown li.danger {
    color: #d93025;
}

button.lead-action-btn {
    border: none;
    outline: none;
    background: none;
}
table.deals_table thead th:last-child:after,
table.deals_table tbody td:last-child:after{
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    left: 0;
    background: #e1e3e1;
    top: 0;
}

.pipedrive-btn-group .btn {
    border: 1px solid #d6d9dc;
    padding: 6px 10px;
    background-color: #fff;
    color: #444;
}

.pipedrive-btn-group .btn:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pipedrive-btn-group .btn:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pipedrive-btn-group .btn:not(:last-child) {
    border-right: 0;
}

.pipedrive-btn-group .btn:hover {
    background-color: #f4f5f7;
}

.pipedrive-btn-group .btn.active {
    background-color: #e9f1ff !important;
    color: #2563eb !important;
}


#activeActivityBlock {
    position: absolute;
    left: 0;
    right: 0;
    background: #1a73e8;
    color: #fff;
    border-radius: 6px;
    padding: 6px;
    z-index: 5;
}
input[type="time"][readonly] {
    cursor: pointer;
}

input[type="time"].time-selected {
    position: relative;
    color: transparent; /* hide native time text */
}

input[type="time"].time-selected::before {
    content: attr(data-display);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #e7f0ff;
    color: #1a73e8;
    padding: 4px 20px 4px 8px;
    border-radius: 14px;
    font-size: 13px;
    pointer-events: none;
}

input[type="time"].time-selected::after {
    content: "×";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #1a73e8;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
}

.ql-snow .ql-editor {
    min-height: auto;
    background: #fff;
    max-height: 2rem;
}

/* deal details  */
.perposal_tabs_content { display: none; }
.perposal_tabs_content.active { display: block; }

.tab-loader {
    padding: 40px;
    text-align: center;
    font-weight: 500;
    color: #666;
}
.tab-error {
    padding: 30px;
    color: red;
    text-align: center;
}
/* deal details  */

/* Filter  */
.owner-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.owner-filter.active {
    background: #1a73e8;
    color: #d6d9dc;
    border-radius: 6px;
}

.filter-wrapper {
    padding: 8px;
    background: var(--bs-highlight-bg);
    margin-top: 5px;
}

.filter-wrapper h4.filter-title {
    font-size: 15px;
    color: var(--theme-color);
    margin-bottom: 5px;
}

.filter-wrapper select.form-control.filter-input,.filter-wrapper input.form-control.filter-input {
    padding: 5px;
}

.filter-wrapper .filter-btns button {
    padding: 5px 8px;
    text-transform: capitalize;
}

