/* Resizable Div CSS Start */

@media print {
    .container {
        width: 1000px;
    }
}
.content-body {
    height: calc(100% - 65px) !important;
    }

.minimize .aside-body {
    pointer-events: none;
  }
  
  .aside-body {
    pointer-events: inherit;
  }
  

.content-body {
    padding: 0px;
}

@media (min-width: 1200px) {
.aside-fixed + .content {
    margin-left: 60px !important;
}
}


.hidden {
    display: none;
}

.dash-draggable {
    cursor: move !important;
    z-index: 99 !important;
}

.dropdown-menu {
    font-size: inherit !important;
}

.dropdown-toggle::after {
    display: none !important;
}

.dash-wd {
    width: 765px;
    margin: 0 auto;
}

@media (min-width:1366px) {
    .dash-wd {
     width: 853px;
  }
}

@media (min-width:1500px) {
    .dash-wd {
     width: 1305px;
  }
}

.resizable-wrapper {
    position:relative;
    /* height: calc(100dvh - 125px); */
    box-sizing: content-box;
    /* background-size: 22px 22px; */
    /* background-color: #f8f9fc;
    background-image: linear-gradient(0deg, transparent 24%,
            rgba(0, 0, 0, .05) 25%,
            rgba(0, 0, 0, .05) 26%, transparent 27%, transparent 74%,
            rgba(0, 0, 0, .05) 75%,
            rgba(0, 0, 0, .05) 76%, transparent 77%, transparent),

        linear-gradient(90deg, transparent 24%,
            rgba(0, 0, 0, .05) 25%,
            rgba(0, 0, 0, .05) 26%, transparent 27%, transparent 74%,
            rgba(0, 0, 0, .05) 75%,
            rgba(0, 0, 0, .05) 76%, transparent 77%, transparent); */
}

.resizable-wrapper.component-wrapper {
    background-image: none;
}

.template-container {
    width: 100%;
    height: calc(100dvh - 161px);
    position: relative;
    border: solid 1px #ddd;
    background-color: #f8f9fc;
    background-size: 10px 10px;
    background-image: linear-gradient(to right, #ddd 1px, transparent 1px), linear-gradient(to bottom, #ddd 1px, transparent 1px);
}
.pg-boxed.active img, .pg-full.active img{
    filter: invert(1);
}

#view_component_template .template_wrapper-container {
    height:calc(100dvh - 160px);
    overflow:auto;
}
.iframe-dashboard-view .template_wrapper-container {
    height:calc(100dvh - 75px) !important;
    overflow:auto;
}
.template_wrapper-container {
    height:calc(100dvh - 160px);
    overflow:auto;
}
#dashboardNav.top-icon-nav {
    padding: 0px;
    border-bottom: #e6e9f0 1px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    height: 40px;
    position: relative;
    top: unset !important;
    width: 100%;
}

.title-color>input[type="color"]::before {
    content: '\f69d';
    font-family: 'Material Design Icons', sans-serif;
    font-size: 16px;
    position: absolute;
    color: #fff;
}

input.daas_background_color[type="color"]::before,
input.gradient_color[type="color"]::before {
    content: '\f266';
    font-family: 'Material Design Icons', sans-serif;
    font-size: 18px;
    position: absolute;
    top: 2px;
    color: #fff;
}

.sidebar-content>.nav-tabs-underline>ul>li>a:first-child {
    margin-left: 5px;
}

.slide {
    display: block;
    position: relative;
    height: 200px;
    width: 200px;
    background-color: #c80000;
    border-radius: 10px;
}

.green {
    background: green;
}

#dashboard_temp {
    min-width: 190px;
    padding: 5px;
    margin: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}

#dashboard_temp li {
    padding: 0;
    margin: 0;
    float: left;
}

#dashboard_temp li a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3px;
    padding: 0;
    border: 1px solid rgba(72, 94, 144, 0.16);
}

#dashboard_temp li a img {
    max-width: 100%;
    max-height: 40px;
}

.top-icon-nav .left-nav ul li.dashboard_create {
    border-right: none;
}


/* ======== Logo Upload start =======*/



.logo-upload img {
    max-width: 100%;
    height: 30px;
}

.btn_upload {
    display: inline-block;
    overflow: hidden;
    position: relative;
    color: #666;
    background-color: #f4f4f4;
    border: 1px solid #dadada;
    padding: 4px;
    padding: 3px 10px;
    margin-right: 2px;
    font-size: 12px;
    cursor: pointer;
}

.btn_upload:hover,
.btn_upload:focus {
    background-color: #f0f5fd;
    cursor: hand;
}

.dashboard-action-pointer {
    cursor: pointer;
}

.negative-option {
    color: red;
}

.dashboard-template-more-offset {
    right: 30px;
}

.dashboard-version-item {
    top: 1px;
}

.btn_upload input {
    cursor: pointer;
    height: 100%;
    position: absolute;
    filter: alpha(opacity=1);
    -moz-opacity: 0;
    opacity: 0;
}

.btn_upload i {
    font-size: 14px;
}

.it {
    height: 100px;
    margin-left: 10px;
}

.btn-rmv1 {
    display: none;
}

.rmv {
    color: #828282;
    width: 20px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    
    height: 20px;
    border-radius: 50%;
    font-size: 9px;
    position: relative;
    margin: 0 10px;
    border: 1px solid #bbbbbb;
    cursor: pointer;
}

.rmv:hover {
    background-color: #ff6161;
    color: #fff;
}

/* ========== Logo Upload End ========*/
/* .content.ht-100v {
    height: calc(100dvh - 10px);
} */
.dashboard_body {
    height: calc(100dvh - 126px);
    width: 100%;
}

.fullscreen.active_mode .dashboard_body {
    height: calc(100dvh - 40px) !important;
    width: 100%;
}
.fullscreen.active_mode .template_wrapper-container {
    height: calc(100dvh - 75px) !important;
}


.custom-tab-data+.tab-content {
    border: none;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

/*Side Panel End*/
section.template-type {
    background-color: #ececec;
    font-weight: bold;
    padding-bottom: 10px;
}

/* Dragable Edit Mode*/

.alpha-edit::before,
.date-edit::before,
.numeric-edit::before,
.geographic-edit::before {
    display: none;
}

.data-left li.alpha-edit,
.data-left li.date-edit,
.data-left li.numeric-edit,
.data-left li.geographic-edit {
    list-style: none;
}

#tonggle-text .tonggle-left:after {
    content: 'Asset';
}

#toolbar-container label {
    display: block;
}

/* LABEL ======================================= */

/* HIGHLIGHTER ================================== */
.daas-info-component {
    /* z-index: 99 !important; */
}
.ui-state-highlight {
    background-color: #fffa90 !important;
}

.highlight {
    position: absolute;
    height: 60%;
    /* width:100px;  */
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */

.ani-input input:focus~.highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */

@-webkit-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}


/* Boxes Corner start*/
.daas-ui-resizable-nw {
    cursor: nw-resize;
    width: 9px;
    height: 9px;
    left: 0px;
    top: 0px;
    border-bottom: none !important;
    border-right: none !important;
    border-left: solid 2px #686f7b;
    border-top: solid 2px #686f7b;
}

.daas-ui-resizable-n {
    cursor: n-resize;
    height: 7px;
    width: 21px !important;
    top: 0px !important;
    left: calc(50% - 7px);
    border-top: solid 2px #686f7b !important;
    border-left: none !important;
    border-right: none !important;
}

.daas-ui-resizable-ne {
    cursor: ne-resize;
    width: 9px;
    height: 9px;
    right: 0px;
    top: 0px;
    border-top: solid 2px #686f7b !important;
    border-right: solid 2px #686f7b !important;
}

.daas-ui-resizable-e {
    cursor: e-resize;
    right: 0px !important;
    /* top: calc(50% - 7px); */
    /* height: 20px !important; */
    border-right: solid 1px rgb(0 0 0 / 29%) !important;
    background-image: none;
}

.daas-ui-resizable-se {
    cursor: se-resize;
    width: 9px !important;
    height: 9px !important;
    right: 0px !important;
    bottom: -2px !important;
    border-bottom: solid 2px #686f7b !important;
    border-right: solid 2px #686f7b !important;
}

.daas-ui-resizable-s {
    cursor: s-resize;
    height: 7px;
    width: 21px !important;
    bottom: -2px !important;
    left: calc(50% - 7px);
    border-bottom: solid 2px #686f7b !important;
}

.daas-ui-resizable-sw {
    cursor: sw-resize;
    width: 9px;
    height: 9px;
    left: 0px;
    bottom: -2px !important;
    border-bottom: solid 2px #686f7b !important;
    border-left: solid 2px #686f7b !important;
}

.daas-ui-resizable-w {
    cursor: w-resize;
    width: 7px;
    left: 0px !important;
    top: calc(50% - 7px);
    height: 19px !important;
    border-left: solid 2px #686f7b !important;
}

.chart_custom>.ui-icon {
    background-image: none !important;
}

.box {
    width: 100px;
    height: 100px;
    background-color: rgba(66, 194, 217, 0.2);
}

/* #####################################################################################################################################################################
                                                                           TEMPLATE CSS START
######################################################################################################################################################################## */
.chart_custom,
.drag-outline {
    min-height: 30px;
    min-width: 105px;
    height: 250px;
    z-index: 6;
}
/* group widget card will be backword */
.chart_custom.groupwidget,
.drag-outline.groupwidget {
    z-index: 5;
}

.drag-outline {
    display: block;
}

.daas-hyper-link {
    height: 50px;
    min-width: 105px;
    min-height: 30px;
    font-weight: bold;
}

.hyper-link {
    display: flex !important;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.info_custom {
    height: 130px;
    min-height: 50px;
    min-width: 100px;
    border-radius: .50rem !important;
    z-index: 5;
}

.infowidget {
    height: 130px;
    min-height: 50px;
    min-width: 100px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.groupwidget {
    height: 180px;
    min-height: 50px;
    min-width: 100px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

/* .groupbtn_custom {
    height: 50px;
    min-height: 50px;
} */
.groupbtnwidget {
    height: 45px;
    min-height: 45px;
    min-width: 40px;
    position: relative;
    box-sizing: border-box;
    overflow: unset !important;
}
.groupbtn_custom{
    min-width: 40px !important;
}
.chart_custom.custom-image {
    min-width: 40px !important;
}
.chart_custom.custom-image .drag-outline{
    min-width: 30px !important;
}
.chart_custom.custom-image .img-chart {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;  /* or set a specific height like 200px */
  width: 100%;   /* or a fixed width if needed */
}


/* Common css for all dashed border boxes in templates*/

.drag-outline,
.drag-card-outline,
.drag-card-outline-small,
.drag-card-outline-large,
.drag-card-outline-xs {
    border: 1px solid rgba(72, 94, 144, 0.20);
    border-radius: 5px;
    margin-bottom: 0px;
    background-color: rgba(255, 255, 255, 1.0);
    position: relative;
    overflow: hidden;
    box-shadow: rgba(72, 94, 144, 0.20) 0px 3px 12px;
}

.drag-outline.card,
.drag-card-outline.card,
.drag-card-outline-small.card,
.drag-card-outline-large.card,
.drag-card-outline-xs.card {
    border-width: 1px;
}

/* Boxes Heading */
.drag-outline h3,
.drag-card-outline h3,
.drag-card-outline-small h3,
.drag-card-outline-large h3,
.drag-card-outline-xs h3 {
    font-size: 13px;
    color: #8392a5;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
}

/* Boxes heights */
.drag-card-outline {
    height: 315px;
}

.drag-card-outline-small {
    min-height: 152.5px;
}

.drag-card-outline-large {
    min-height: 640px;
}

.drag-card-outline-xs {
    min-height: 130px
}
/* boxes heights end*/

.drag-outline .dataTables_wrapper .dataTables_length {
    float: right;
    margin-right: 5px;
    margin-left: 5px !important;
}

.drag-outline .dataTables_wrapper .dt-buttons {
    left: 5px;
    /* margin-top: 5px !important; */
}

.drag-outline .dataTables_wrapper .dt-button {
    border: 1px solid rgba(72, 94, 144, 0.16);
    background-color: #f9f9f9;
    background-image: inherit;
}

.drag-outline button.dt-button, 
.drag-outline div.dt-button, 
.drag-outline a.dt-button {
    padding: 0.2em 0.5em;
    margin: 5px 0px 5px 0px;
}

.drag-outline .dataTables_length select {
    min-height: 28px !important;
}

.drag-outline .dataTables_wrapper .dataTables_length label,                     
.dataTables_wrapper .dataTables_filter label {
    margin-bottom: 5px !important;
    font-size: 12px !important;
    margin-top: 5px !important;
}

.dataTables_filter input {
    min-height: 25px !important;
}

.drag-outline caption {
  padding-bottom: 0;
  padding-top: 6px;
  margin-top: 0;
}

.drag-outline .dataTables_paginate,
.drag-outline .dataTables_info {
    margin-bottom: 5px;
    margin-top: 0;
    margin-right: 5px;
    font-size: 10px;
}

.drag-outline .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 3px 8px;
}

.table-title {
    padding: 0 10px;
}

/* Custom template chart tables cell spacing */
.chart_custom .table td,
.chart_custom .table th {
    padding: 3px;
    min-width: 40px;
    word-break: break-word;    
    text-align: left;
    /* color: #64748b; */
}

.chart_custom table td,
.chart_custom table th,
.chart_custom table.dataTable thead th,
.chart_custom table.dataTable thead td {
    padding: 5px 5px;
    min-width: 40px;
    text-align: left;
}

/* .chart_custom .table tbody th,
.chart_custom .table tbody td {
    font-size: 11px;
    color: #64748b;
    font-weight: normal;
}

.chart_custom thead,
.chart_custom thead>tr>th,
.chart_custom thead>tr>td {
    background-color: #0168fa;
    color: white;
    font-family: 'roboto', sans-serif;
    font-size: 13px;
} */

.custom-tbl-field td, .custom-tbl-field td:empty{
    height: 30px;
}

.custom-tbl-field td .td-content-wrapper {
    display: flex;
    align-items: center;
    /* border-width: 1px; 
    box-sizing: border-box;  */
}

.custom-tbl-field .apply-to-all-cols {
    margin: 0 0 0 5px;
}

.custom-tbl-field li .drag{
    margin-bottom: 0px;
    color: #000;
}

/* Custom template charts svg generated height width */
.chart_custom .js-plotly-plot .plotly svg.main-svg {
    width: calc(100% - 3px) !important;
    height: calc(100% - 3px) !important;
    background: transparent !important;
}


/* extra small boxes start*/

.drag-card-outline-xs .card-stats {
    display: flex;
    justify-content: center;
    align-items: center;
}

.drag-card-outline-xs .name-value {
    margin-left: inherit !important;
    text-align: center;
}

.drag-card-outline-xs .card-icon {
    left: inherit !important;
}

/* extra small boxes start*


/* 3 boxes start */



.infowidget .trend-red {
    height: 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0.50rem;
    padding: 5px;
    width: 40%;
    position: absolute;
    right: 0;
    background-image: linear-gradient(to right, #fd225a, #f88466);
}

#sparkline-infowidget-template .metric_vals,
#simple-infowidget-template .metric_vals {
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

#sparkline-infowidget-template .metric_name,
#simple-infowidget-template .metric_name {
    margin-top: 5px;
    color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

#simple-infowidget-template,
#sparkline-infowidget-template {
    box-shadow: none;
    display: flex;
    height: 100%;
    border-radius: .50rem;
    overflow: hidden;
    padding-right: 10px;
    text-overflow: ellipsis;
    border: solid 1px #b4bdce;
}

.infowidget .metric_value {
    font-size: 21px;
    margin-left: 21px;
}

.infowidget .sparkline {
    height: 20px;
    position: absolute;
    bottom: 25px;
}

#sparkline-infowidget-template .card-icon,
#simple-infowidget-template .card-icon {
    border-top-left-radius: .50rem;
    border-bottom-left-radius: .50rem;
    background-color: rgba(28, 39, 60, 0.32);
    font-size: 35px;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 100%;
    position: absolute;
    color: #666;
    -webkit-box-shadow: 0px 0px 8px -3px rgba(0, 0, 0, 0.62);
    box-shadow: 0px 0px 8px -3px rgba(0, 0, 0, 0.62);
}

.infowidget .name-value {
    margin-left: 70px;
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 100%;
    height: 100%;
    position: absolute;
    font-weight: bold;
}


#sparkline-infowidget-template .card-icon i,
#simple-infowidget-template .card-icon i {
    background: #fff;
    background-clip:text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.comTemBgColorWrp {
    display: flex;
    justify-content: space-between;
}

.comTempGradCol {
    display: flex;
    flex-flow: column wrap;
    align-items: flex-end;
}

label.gradient-color {
    position: relative;
    right: 92px;
    top: 2px;
    font-size: 11px;
}

#simple-infowidget-template .metric_vals {
    width: 100%;
}

#collapsible_tree .node {
    cursor: pointer;
}

#collapsible_tree .node circle {
    fill: #fff;
    stroke: #000;
}

#collapsible_tree .node text {
    font: 10px sans-serif;
}

#collapsible_tree .link {
    fill: none;
    stroke: #ccc;
    stroke-width: 1.5px;
}

#collapsible_tree div.tooltip {
    position: absolute !important;
    top: 10px !important;
    text-align: center;
    padding: 3px;
    font: 10px sans-serif;
    background: #fff;
    border: 2px;
    border-radius: 8px;
    border-style: solid;
    pointer-events: none;
    bottom: 80px;
}

/* hide plotly displayModeBar plotly logo link */
.modebar-btn--logo {
    display: none !important;
}

.node {
    cursor: pointer;
}

.node circle {
    fill: #fff;
    stroke: steelblue;
    stroke-width: 3px;
}

.node text {
    font: 12px sans-serif;
}

.link {
    fill: none;
    stroke: #ccc;
    stroke-width: 2px;
}


/* Show the tooltip text when you mouse over the tooltip container */

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.mapImg {
    margin-left: 0%;
}

#modalBody {
    width: 575px !important;
    height: auto;
}



#sparkline-infowidget-template .card-footer {
    position: absolute;
    bottom: 0px;
    padding: 5px;
}

.ani-input-container section,
.info-matrix-input input {
    width: 100%;
}


/* 3 boxes End */

/*Template Card Active Class*/

.drag-card-active {
    border: solid 1px rgba(72, 94, 144, 0.40);
    border-radius: 0;
    z-index: 9;
    cursor: move;
}

.active-component {
    z-index: 99;
}

.drag-temp-active {
    border: dashed 1px #0168fa;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(1, 104, 250, 0.60);
    -moz-box-shadow: 0px 0px 2px 0px rgba(1, 104, 250, 0.60);
    box-shadow: 0px 0px 2px 0px rgba(1, 104, 250, 0.60);
    z-index: 0;
    cursor: move;
}

[chart-type="custom-table-field"] {
    cursor: inherit;
}

/*Template boxes scrolling*/

.drag-card-outline-large.temp-box-scroll,
.drag-card-outline.temp-box-scroll {
    overflow: auto;
    height: 300px;
}

/* Temp 4 page CSS End */

/* Single Template (Temp 4) start */

.single-temp {
    height: calc(100dvh - 160px);
}

/* Single Template (Temp 4) End */

.no-touch .scrollable.hover {
    overflow-y: hidden;
}

.no-touch .scrollable.hover:hover {
    overflow-y: auto;
    overflow: visible;
}

.area {
    float: left;
    background: #e2e2e2;
    width: 100%;
    height: 100%;
}

#draggable {
    width: 40px;
    height: 40px;
    margin: 0px;
    padding: 0px !important;
    border: none;
}

.ui-draggable,
.ui-droppable {
    background-position: top;
}

.ui-visual-focus {
    box-shadow: 0 0 3px 1px rgb(94, 158, 214);
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px dashed #0168fa;
    /* color: #fff; */
    /* background: none; */
}

.ui-state-active-div {
    border: 1px dashed #0168fa;
    /* background: none; */
}

.ui-icon-background,
.ui-state-active .ui-icon-background {
    border: #0168fa;
    border: 1px dashed #0168fa;
}

.info-head {
    border: solid 1px #c0ccda;
    border-bottom: none;
    width: 100%;
    height: 30px;
    padding: 5px;
    position: absolute;
    top: -30px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #f8f8f8;
}


/* Card More Button Start*/

.btn-more {
    line-height: 0;
    position: absolute;
}

.btn-more.pull-right>.dropdown-menu {
    top: 20px;
}

.btn-more ul.dropdown-menu {
    border: none;
    margin-top: 7px;
    margin-left: 0px;
    -webkit-box-shadow: 0 1px 15px rgba(0, 0, 0, .145);
    box-shadow: 0 1px 15px rgba(0, 0, 0, .145);
}

.btn-more ul.dropdown-menu:after {
    position: absolute;
    display: inline-block;
    top: -6px;
    left: 5px;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
    content: '';
}

.btn-more .dropdown-menu>li>a {
    color: #7d819a;
    padding: 6px 20px;
    line-height: 15px;
}

.btn-more .dropdown-menu>li>a:hover {
    background: none;
    color: #5867dd;
}

.btn-more .dropdown-menu>li>a>i {
    padding-right: 5px;
}


/* Template btn more*/
.template .btn-more {
    right: 15px;
    top: 15px;
}

/* Card More Button End*/


/* Sidebar Drill Down Start */
.drillDown-icon {
    display: flex;
    justify-content: center;
    height: 32px;
    align-items: center;
    font-size: 17px;
    cursor: pointer;
}

.source_component_name,
.destination_component_name {
    margin-bottom: 5px;
}

/* Sidebar Drill Down End */


.image-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid rgba(72, 94, 144, 0.16);
}

.image-input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;

}

.image-title {
    font-family: 'IBM Plex Sans';
    color: #001737;
}

.input-url {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
}

.responsive-img {
    overflow: hidden;
    height: calc(100% - 0px);
}

.responsive-img img {
    max-width: 100%;
    height: auto;
}

.top-icon-nav .right-nav .active {
    background-color: #e5e9f2;
}

.top-icon-nav .right-nav .active:hover {
    background-color: #e5e9f2;
    cursor: inherit;
}

.jqstooltip {
    width: auto !important;
    height: auto !important;
    padding: 1px 3px;
}


/* Modals start*/
#agg_function_modal .modal-dialog,
#dropable_format_modal .modal-dialog,
#dimension_edit_modal .modal-dialog,
#dropable_date_format_modal .modal-dialog,
#metric_format_modal .modal-dialog,
#currency_format_modal .modal-dialog,
#dimension_comparison_modal .modal-dialog,
#dimension_convrsn_modal .modal-dialog {
    left: 363px;
    top: 242px;
    position: absolute;
}

#currency_format_modal .modal-dialog,
#agg_function_modal .modal-dialog {
    top: 160px !important;
}

/* Modals end*/


#conditional_statement_icon .modal-body {
    overflow: inherit;
}

#agg_function_modal .modal-header {
    background: #0747a5;
}


/* Custom Place Holder */

.placeholder-media .chartplace,
.placeholder-media .chartplace::before,
.placeholder-media .chartplace::after {
    animation-duration: .8s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
    background: #e3e7ed;
    background: linear-gradient(to right, #e3e7ed 8%, #cdd4e0 18%, #e3e7ed 33%);
    background-size: 800px 10px;
}


.placeholder-media .chartplace::after {
    content: '\f080';
    font-family: 'Font Awesome 5 Pro', sans-serif;
    font-weight: 300;
    font-size: 8rem;
    position: absolute;
    color: #e3e7ec;
    top: 0%;
    left: 50%;
    border-radius: 100%;
    background: #fff;
}

.daas-dashboard-background-color {
    background-image: linear-gradient(0deg, transparent 24%,
            rgba(0, 0, 0, .05) 25%,
            rgba(0, 0, 0, .05) 26%, transparent 27%, transparent 74%,
            rgba(0, 0, 0, .05) 75%,
            rgba(0, 0, 0, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%,
            rgba(0, 0, 0, .05) 25%,
            rgba(0, 0, 0, .05) 26%, transparent 27%, transparent 74%,
            rgba(0, 0, 0, .05) 75%,
            rgba(0, 0, 0, .05) 76%, transparent 77%, transparent);
}

/* Quill Toolbar */

.ql-toolbar.ql-snow {
    border: 0px solid #ccc !important;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    padding: 0px !important;
}

.ql-toolbar.ql-snow .ql-picker-label {
    border: 1px solid #c0ccda;
}

/* ==================  Custom Template infowidget Start =========================*/
.daas-component .drag-outline {
    margin-bottom: 0 !important;
}

.infowidget-column-name-first {
    position: absolute;
    left: 30%;
    top: 30%;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    white-space: nowrap;
    max-width: 220px;
}


.infowidget-column-name-first-subtitle {
    position: absolute;
    left: 30%;
    top: 37%;
    color: #8392a5;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    white-space: nowrap;
    max-width: 220px;
}

.infowidget-column-value-first {
    position: absolute;
    left: 30%;
    top: 45%;
    font-size: 22px;
    font-family: 'Rubik', sans-serif;
}

.infowidget-icon {
    position: absolute;
    /* height: max-content; */
    /* width: 20%; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    border-radius: 50%;
}

.infowidget-icon i {
    padding: 15px;
}
.groupwidget-icon {
    position: absolute;
    height: 100%;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}
.groupwidget-icon i {
    position: absolute;
}


/* Infowidget 2 */
.infowidget2 {
    height: 100%;
    display: flex;
}

/* dark colors cards start */
.infowidget2 .infowidget2-icon {
    height: 100%;
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.05);
}

.infowidget2-icon i {
    font-size: 42px;
}

.infowidget2 .infowidget2-content {
    padding: 0px;
    height: 100%;
}

.infowidget2 .infowidget2-content h2 {
    font-size: 12px;
    width: 100%;
    margin: 0;
    opacity: 0.8;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.infowidget2 .infowidget2-content .distDashRow2,
.infowidget2 .infowidget2-content .distDashRow1 {
    padding-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50%;
}

.infowidget2 .infowidget2-content .distDashRow1 {
    border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

.infowidget2-value {
    font-size: 1.3rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.1;
}

.widget-info {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
  }
 
  .widget-info i {
    font-size: 18px;
    line-height: 0;
    margin: 0;
    padding: 0;
  }
 
  .widget-info:hover {
    background-color: rgba(0, 0, 0, 0.30);
  }

.group_widgets {
    border-bottom: 1px solid rgba(72, 94, 144, 0.16) !important;
    line-height: 30px;
    position: relative;
}
.value-tag {
    font-size: 11px;
    white-space: nowrap;
    border: 1px solid rgba(72, 94, 144, 0.16) !important;
    padding: 2px 6px 4px 6px;
    margin: 3px;
    border-radius: var(--bs-border-radius-sm) !important;
    background-color: #f4f5f8;
}
.value-tag.active-text-tag {
    display: inline-flex;
    font-size: inherit;
    white-space: nowrap;
    border: 0px solid rgba(72, 94, 144, 0.16) !important;
    padding: 0px 2px 0px 2px;
    margin: 0px;
    border-radius: var(--bs-border-radius-sm) !important;
    background-color: transparent;
}
.value-tag.active-text-tag div{
    padding: 2px 6px 0px 6px;
    border-radius: var(--bs-border-radius-sm) !important;
}

  .drag-outline.selected {
    border:solid 2px #0168fa !important;
  }
  #selectionBox {
    position: absolute;
    border: 1px dashed black;
    background-color: rgba(0, 0, 255, 0.1);
    display: none;
    z-index: 99999;
  }

  /* #controls{
    position: absolute;
    top: 0px;
    background-color: rgb(232 234 237 / 48%);
    width: 100%;
    padding: 5px;
    z-index: 99;
    border-bottom: solid 1px #c7c8cb;
    text-align: center;
} */

#controls {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    display: flex;
    gap: 6px;
    z-index: 1000;
  }
  #controls button:nth-child(2) {
    border-right: solid 2px #89b4f1;
    border-left: solid 1px #89b4f1;
  }
  #controls button:last-child {
    border-right: none !important;
  }
  .border-line{
    position: absolute;
    z-index: 9999;
}


#userTipBox {
    font-size: 12px;
    padding: 8px 10px;
    border-left: solid 1px #d4d8e2;
    white-space: nowrap;
    animation: pop 0.3s ease;
}

@keyframes pop {
    0% { transform: translateX(-10px) scale(0.8); opacity: 0; }
    100% { transform: translateX(-10px) scale(1); opacity: 1; }
}

/* #marginBox-top, #marginBox-right, #marginBox-bottom, #marginBox-left {
    position:absolute; 
    border-bottom:1px dashed #ff0000;
} */
#marginBox-top, #marginBox-bottom {
    position:absolute; 
    height:2px;
    width: 100%;

}
#marginBox-right, #marginBox-left {
    position:absolute;
    height:100%;
    width: 2px;
    top: 0;
}
#marginBox-right {
    border-left:1px dashed #0d6efd;
}
#marginBox-left {
    border-right:1px dashed #0d6efd;
}



/* ==================  Custom Template infowidget End =========================*/


.rules-group-container {
    width: 100% !important;
}

.draggable-btn {
    position: absolute;
    left: -34px;
    top: -3px;
}

.active-text-title {
    position: absolute;
    top: -20px;
}

.active-text-button {
    background: transparent;
    color: black;
    border-radius: 18px;
    border: white;
}

.top-icon-nav {
    display: inherit;
}

.left-nav {
    float: left;
}

.save-dashboard {
    color: white !important;
}

.select2-container--open {
    font-size: 14px;
    z-index: 9999;
}

[contenteditable=true]:empty:before {
    content: attr(placeholder);
    pointer-events: none;
    display: block;
}

.sidebar-show-hide i.mdi {
    font-size: 20px;
    opacity: 0.5;
    cursor: pointer;
}    
.sidebar-show-hide i.mdi:hover {
    opacity: inherit;
}

.container {
    position: relative;
}

.smart-guide {
    border-color: #ff0000;
    border-style: dashed;
}

@media (min-width:1500px) {
    .choose_template {
        margin-top: 60px;
    }
}

.dash-graph-title {
    font-family: 'IBM Plex Sans';
    font-size: 14px;
    color: black;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Time Intelligence CSS Start */
#time_intelligence_modal>.modal-dialog {
    max-width: inherit !important;
}

.time-intelligence-modal {
    position: absolute;
    bottom: 20px;
    left: 240px;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(34,39,59,0.40);
    -moz-box-shadow: 0px 0px 20px 0px rgba(34,39,59,0.40);
    box-shadow: 0px 0px 20px 0px rgba(34,39,59,0.40);
}

.time-intelligence-modal .ui-icon {
    background-image: none;
}

.time-intelligence-modal.ui-resizable>.ui-resizable-ne {
    right: 3px;
    top: 3px;
    border-right: 2px dotted #b1b7c1;
    border-top: 2px dotted #b1b7c1;
}

.time-intelligence-modal.ui-resizable>.ui-resizable-ne:hover {
    border-color: #00a300;
} 

.intelligence-text {
    position: absolute;
    bottom: 15px;
    top: 95px;
    right: 15px;
    left: 15px;
    resize: none;
}
/* Time Intelligence CSS End */

/* Table chart */
.data-left.not-active .select2-container,
.data-left.not-active select,
.data-left.not-active input {
    pointer-events: none! important;
    cursor: not-allowed! important;
    opacity: 0.5;
}


.hover-div {
    opacity: 1;
    background-color: #00000060;
    left: 1151px;
    top: 736px;
    color: rgb(255, 255, 255);
    padding: 3px;
    font-size: 10px;
}

/* fixex gor 'Aa' text appearing on line series when show legend true */
g.pointtext {
    display: none;
}
.custom-table {
    width: calc(100% - 4px) !important;
    margin: 0px !important;
}
.custom-table-scroll{
    overflow: auto;
    width: 100%;
    height: calc(100% - 30px);
    position: relative;
    border-bottom: solid 1px #e2e5ed;
    margin: 0px 0px 5px 0px;
    padding-bottom: 5px;
}

table.dataTable {
    table-layout: fixed;
}
.tr-active>td:first-child, 
.tr-active>th:first-child {
    border-left: 4px solid #0168fa !important
} 

.td-active {
    background-color: rgba(1, 104, 250, 0.20)  !important;
}

.table-bordered th, .table-bordered td {
    border: 1px solid #e5e9f2 !important;
}

/* Table coumn fixed on scroll */
.col-1-fix thead tr th:nth-child(1),
.col-1-fix tbody tr th:nth-child(1),
.col-1-fix tbody tr td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 10;
}


.col-1-fix thead th:not(.col_heading)::after,
.col-1-fix th.row_heading::after,
.col-1-fix tbody tr td:nth-child(1)::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    height: 100%;
    width: 5px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

/* table column fixed */
.js-plotly-plot .plotly:hover .modebar {
    background-color: rgba(255, 255, 255) !important;
}

.modebar .modebar-btn .icon path {
    fill: rgba(0, 0, 0, 0.2) !important;
}

.modebar .modebar-btn:hover .icon path {
    fill: rgba(0, 0, 0) !important;

}
/* Graph download icon css end */

[class*=" flaticon-"]:before {
    margin-left:0 !important
}
.popover-img img {
    /* width: 80px; */
    height: 65px;
}
.popover-header {
    background-color: #f1f2f6;
    font-size: 11px;
    color: #1c273c;
    padding: 10px 15px;
}
.popover-text {
    font-size: 11px;
}

/* Dual switch Input */
 
.toggleContainer {
    text-align: center;
    height: 31px;
    margin-left: 0px;
}
  /*  Toggle Switch  */
   
  .toggleSwitch span span {
  display: none;
  }  
   
.toggleSwitch {
    display: inline-block;
    position: relative;
    overflow: visible;
    padding: 0;
    cursor: pointer;
    width: 120px;
    background-color: #fafafa;
    border: 1px solid #c0ccda;
    border-radius: 5px;
    height: 31px;
    user-select: none;
    margin: 0px 5px;
    font-size: 11px;
}
  .toggleSwitch * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  }
  .toggleSwitch label,
  .toggleSwitch > span {
  line-height: 20px;
  height: 20px;
  vertical-align: middle;
  }
  .toggleSwitch input:focus ~ a,
  .toggleSwitch input:focus + label {
  outline: none;
  }
  .toggleSwitch label {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  }
  .toggleSwitch input {
  position: absolute;
  opacity: 0;
  z-index: 5;
  }
  .toggleSwitch > span {
  position: absolute;
  left: 0;
  width: calc(100% - 6px);
  margin: 0;
  text-align: left;
  white-space: nowrap;
  margin:0 3px;
  }
  .toggleSwitch > span span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: block;
  width: 50%;
  margin-left: 50px;
  text-align: left;
  width: auto;
  left: 0;
  top: -1px;
  opacity: 1;
  width:40%;
  text-align: center;
  line-height:30px;
  }
  .toggleSwitch a {
  position: absolute;
  right: 50%;
  z-index: 4;
  display: block;
  top: 2px;
  bottom: 2px;
  padding: 0;
  left: 2px;
  width: 50%;
  background-color: #6c757d;
  border-radius: 0.25rem;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .toggleSwitch > span span:first-of-type {
  color: #FFF;
  opacity: 1;
  left: 0;
  margin: 0;
    width: 50%;
  }
  .toggleSwitch > span span:last-of-type {
  left:auto;
  right:0;
  margin: 0;
  width: 50%;
  }
  .toggleSwitch > span:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: -2px;
  border-radius: 30px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  }
  .toggleSwitch input:checked ~ a {
  left: calc(50% - 2px);
  }
  .toggleSwitch input:checked ~ span span:first-of-type {
  left:0;
  color:#999;
  }
  .toggleSwitch input:checked ~ span span:last-of-type {
  color:#FFF;
  }
  .toggleSwitch.large {
  width: 60px;
  height: 27px;
  }
  .toggleSwitch.large a {
  width: 27px;
  }
  .toggleSwitch.large > span {
  height: 29px;
  line-height: 28px;
  }
  .toggleSwitch.large input:checked ~ a {
  left: 41px;
  }
  .toggleSwitch.large > span span {
  font-size: 1.1em;
  }
  .toggleSwitch.large > span span:first-of-type {
  left: 50%;
  }
  .toggleSwitch.xlarge {
  width: 80px;
  height: 36px;
  }
  .toggleSwitch.xlarge a {
  width: 36px;
  }
  .toggleSwitch.xlarge > span {
  height: 38px;
  line-height: 37px;
  }
  .toggleSwitch.xlarge input:checked ~ a {
  left: 52px;
  }
  .toggleSwitch.xlarge > span span {
  font-size: 1.4em;
  }
  .toggleSwitch.xlarge > span span:first-of-type {
  left: 50%;
  }
   
  /*  End Toggle Switch  */

  /* Dropdown menu */
  .custom-dropdown {
    position: absolute;
    top: 100%;
    left: -8px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    /* Initially hidden */
    min-width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

.custom-dropdown::after {
    content: "";
    position: absolute;
    top: -8.5px;
    left: 5px;
    border-bottom: 9px solid rgb(255, 255, 255);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
}

  /* Dropdown items */
  .custom-dropdown a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
  }

  /* Hover effect */
  .custom-dropdown a:hover {
    background: #f1f1f1;
  }
  .filter-col-item {
    width: 120px;
    border: solid 1px #ddd;
    border-radius: 20px;
    background-color: #f0f8ff;
    padding: 0px 10px;
    margin: 2px 0px;
}

  .th-edit-content[contenteditable="true"]{
    background-color: aliceblue;
    outline: 0;
    border-radius: 4px;
    color: #000;
    padding: 0 5px;
}

  /* Button Style */
  .edit-prop {
    display: inline-block;
    cursor: pointer;
}

/* Collapsible Sidebar */
.header-filter-sidebar {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #ffffff;
    box-shadow: 0px 0 4px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    padding: 10px;
    overflow-y: auto;
    z-index: 1000;
}

/* Close Button */
.header-filter-sidebar .close-btn {
    display: block;
    color: #dc3545;
    text-align: right;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 0px;
}
.edit-icon i {
    font-size: 14px;
    margin: 0px;
    cursor: pointer;
}
.header-filter-sidebar .stylesheet-accordion .card>.card-header>h1 {
    font-size: 14px;
}
.header-filter-sidebar .card-header.show h1{
    color: #0168fa;
}
.header-filter-sidebar .stylesheet-accordion .card {
    border: 1px solid rgba(72, 94, 144, 0.16) !important;
    border-radius: 4px;
    margin-bottom: 5px;
}

.custom-table-container {
    overflow: auto;
    height: calc(100% - 30px);
}

#plot-wrapper .custom-table-scroll, #plot-wrapper .custom-table-container {
    height: calc(100dvh - 220px) !important;
}

  .custom-table-container table {
    border-collapse: collapse;
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
  }
  
  .custom-table-container thead th {
    position: relative;
  }
  
  .custom-table-container .resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    user-select: none;
  }

  /* Modified UI Classes for fit-container */
.disabled-sheet {
        opacity: 0.6;
    }
    .disabled-sheet .dash-sheet-cls {
        font-style: italic;
        text-decoration: line-through;
        cursor: not-allowed;
    }

/* Disabled sheet styling */
.disabled-sheet {
    opacity: 0.6;
    position: relative;
}

.disabled-sheet .dash-sheet-cls {
    font-style: italic;
    color: #999;
    cursor: not-allowed;
}

.disabled-sheet::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #999;
    transform: rotate(-5deg);
}

.static-tab-scrl {
    height: 33px;
    padding: 9px 6px;
    border-right: solid 1px #d4d8e2;
}

/* Icons for context menu items */
#sheet_context_menu .save-sheet i {
    color: #28a745;  /* Bootstrap success color */
}

#sheet_context_menu .disable-sheet i {
    color: #dc3545;  /* Bootstrap danger color */
}

#sheet_context_menu .enable-sheet i {
    color: #28a745;  /* Bootstrap success color */
}

/* Sheet status indicators */
.sheet-status-indicator {
    margin-left: 5px;
    font-size: 8px;
    vertical-align: super;
}

.sheet-saved-indicator {
    color: #28a745;
}

.sheet-unsaved-indicator {
    color: #dc3545;
}

/* Adjust context menu item icons */
#sheet_context_menu .fa-save {
    color: #28a745;
}

#sheet_context_menu .fa-eye-slash {
    color: #dc3545;
}

#sheet_context_menu .fa-eye {
    color: #28a745;
}
.fit-container-tabs.fit-container-tabs-add.fit-container-tabs-search.fit-container-tabs-scrollable {
  padding-right: 0px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  right: 0px;
  max-width: 100%;
  /* height: 45px; */
  box-sizing: border-box;
  z-index:999;
}

.fit-container-tabs ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: block;
  box-sizing: border-box;
  white-space: nowrap;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.fit-container-tab-scroll-left {
  left: 0;
}

.fit-container-tabs ul li a:hover {
  text-decoration: none;
}

.fit-container-tabs ul li a.fit-container-tab-label {
  font-size: 12px;
  padding: 0 5px;
  width: 100%;
  height: 100%;
  color: #666;
  display: inline;
}

.fit-container-tabs {
  position: relative;
  background: #fff;
  overflow: hidden;
  height: 35px;
  box-sizing: border-box;
  /* Ensure it fits inside the parent container */
  width: 100%;
}

.fit-container-tabs ul li {
  box-sizing: border-box;
  display: inline-block;
  border-left: 1px solid #e2e5ed;
  border-top: 1px solid #e2e5ed;
  border-right: 1px solid #e2e5ed;
  border-bottom: 1px solid #e2e5ed;
  background-color: #fff;
  margin: 3px 3px 0 3px;
  padding: 0px 10px 0px 8px;
  height: 32px;
  line-height: 29px;
  white-space: nowrap;
  position: relative;
  border-radius: 4px;
  top: 2px;
}

.fit-container-tabs.fit-container-tabs-add.fit-container-tabs-search .fit-container-tabs-add {
  right: 0px;
}

/* Additional styles to ensure tabs fit properly within added_component_template */
.fit-container-tabs {
  width: 100%;
  max-width: 100%;
}

.fit-container-tabs-scroll-container {
  width: 100%;
  background-color: #F4F5F8;
  border-top: 1px solid #e2e5ed;
}

/* Add scrolling behavior for tabs if they overflow */
.workspace-focussed {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.template_wrapper-container::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-left: solid 1px #d4d8e2;
    border-top: solid 1px #d4d8e2;
}

/* Optional: Hide scrollbar but maintain functionality */
.workspace-focussed::-webkit-scrollbar {
  height: 4px;
}
/* Styles for Tab Context Menu */
#tab-context-menu {
    min-width: 180px;
    padding: 0.5rem 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

#tab-context-menu .dropdown-item {
    padding: 0.5rem 1rem;
    color: #333;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#tab-context-menu .dropdown-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

#tab-context-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

#tab-context-menu .dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

#tab-context-menu .delete-tab {
    color: #dc3545;
}

#tab-context-menu .delete-tab:hover {
    background-color: #ffebee;
}
    /**
 * Dashboard Sheet Styles
 * Styles for dashboard sheets and related context menu
 */

/* Context Menu Styles */
#sheet_context_menu {
    min-width: 180px;
    padding: 0.5rem 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1050;
}

#sheet_context_menu:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    z-index: 1051;
}

#sheet_context_menu .dropdown-item {
    padding: 0.5rem 1rem;
    color: #333;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#sheet_context_menu .dropdown-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

#sheet_context_menu .dropdown-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

#sheet_context_menu .dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

#sheet_context_menu .delete-sheet {
    color: #dc3545;
}

#sheet_context_menu .delete-sheet:hover {
    background-color: #ffebee;
}

/* Tab Styles */
.fit-container-tab {
    position: relative;
}

.fit-container-tab.active {
    background-color: #c0ccda;
    border-bottom-color: transparent;
}

.fit-container-tab .fit-container-tab-label {
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

/* Animation for new tabs */
@keyframes tab-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.fit-container-tab:not(:first-child) {
    animation: tab-fade-in 0.3s ease-in-out;
}

/* Tabs container */
.workspace-focussed {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Custom scrollbar for tabs */
.workspace-focussed::-webkit-scrollbar {
    height: 4px;
}

.workspace-focussed::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.workspace-focussed::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.workspace-focussed::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}  

  .db-theme-color {
    height: 20px;
    border: 1px solid rgba(72, 94, 144, 0.16);
    display: flex;
    margin-bottom: 5px;
    padding: 1px;
}
.db-theme-color.active {
    border-color: #0168fa;
    box-shadow: 0 0 0 1px #0168fa;
    position: relative;
}
.db-theme-color > span {
    display: block;
    flex: 1;
}

.db-theme-name {
    font-size: 9px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Inter UI", Roboto, sans-serif;
    text-transform: uppercase;
    display: block;
    text-align: left;
    color: #8392a5;
    margin-bottom: 1px;

}

/* Bootstrap 5 compatibility for Summernote */
.dropdown-fontsize {
    height: 250px;
    min-width: 90px !important;
    overflow: auto;
}
.note-btn.dropdown-toggle:after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
.active-area p {
    margin: 0px;
}
.daas-component .dropdown-menu.show {
    z-index: 99;
}
.active-area {
    outline: 0px;
}
.note-btn {
    height: 32px;
}

.note-editor .note-toolbar .note-color-all .note-dropdown-menu, .note-popover .popover-content .note-color-all .note-dropdown-menu {
    min-width: 345px !important;
}
.btn-icon-controls .iconpicker-popover{
    width: 180px;
}
.drag-icon {
    padding: 3px 5px;
    background-color: #dddddd;
    border-radius: 50px;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 9;
    width: 25px;
    height: 25px;
    color: #212529;
}
.gauge_mode .custom-control-label::before {
    left: -18px;
}

.gauge_mode .custom-control-label::after {
    left: -19px;
}
.gauge_mode .custom-control-label{
    font-size: 11px;
}
.gauge_mode .custom-control {
    padding-left: 18px;
}
.daas_radial_type option:disabled {
  color: #999;
  background-color: #f8f9fa;
}
.chart-box {
    border: solid 1px #c0ccda;
    border-radius: 0;
    padding: 2px;
    margin: 2px;
}
.chart-box:first-child{
    margin-left: 0px;
}
.chart-box:last-child{
    margin-right: 0px;
}

.chart-box img {
    height: 30px;
    width: 30px;
}
.chart-box.active {
    background-color: #cfe2ff;
    border: solid 1px #2196F3;
}