html,
body {
    height: 100%;
}
.ui-widget-content {
    border: none !important;
    z-index: 999 !important;
}

.content-body {
    padding: 0px;
    height: calc(100% - 85px);
}

.view-dashboard {
    background-color: #fff;
    height: calc(100% - 60px);
}

.fullscreen {
    background-color: #f8f9fc;
}

.paramter_li_disabled {
    pointer-events: none;
    opacity: 0.5;
}

.daas_container {
    min-height: -webkit-fill-available !important;
    display: flex !important;
}

#template_view_wrapper .drag-outline,
#template_view_wrapper .drag-card-outline,
#template_view_wrapper .drag-card-outline-large,
#template_view_wrapper .drag-card-outline-small {
    border: 1px solid rgba(72, 94, 144, 0.16);
    box-sizing: content-box;
}

#template_view_wrapper {
    margin: 0 auto;
    position: relative;
}
    
/* #view_component_template {
    height: calc(100% - 40px);
    overflow: auto;
    margin: 0 auto;
} */

#dashboard_name {
    text-transform: inherit !important;
}

/*Chart full screen*/
#plot-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw; /* More responsive */
    height: 80vh;
    background: white;
    z-index: 1000;
    /* box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2); */
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

#plot-overlay {
    position: fixed;
    inset: 0; /* Cleaner than top/left/width/height */
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    /* backdrop-filter: blur(2px); */
    transition: opacity 0.2s ease;
}

.plot-close-btn {
    width: 30px;
    height: 30px;
    display: flex;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 1001;
    place-items: center;
    border-radius: 50%;
    transition: 0.2s ease;
}

.plot-close-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #333;
}

.chart_custom > .chart_custom.daas-component,
.chart_custom > .chart_custom.daas-component .drag-outline {
    position: static !important;
    height: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    margin-block-start: 1rem !important;
}

/* download and description hide on group chart */
.group_custom i.graph-download,
.group_custom i.chart-desc {
    display: none;
}