.lcdashboard {
    min-height: calc(100%);
    max-height: calc(100vh - 104px);
    display: grid;
    /*grid-template-columns: repeat(12, 1fr );*/
    grid-template-rows: 1fr;
    grid-gap: 0px;
    position: relative;
}


.overflow-hidden .lcdashboard.isHomeType {
    min-height: calc(100% + 48px);
    max-height: calc(100% + 48px);
}

.overflow-hidden .lcdashboard.isHomeType .right-sidepanel {
    grid-column-start: 1 !important;
    display: block;
    margin-left: -0.8rem !important;
}


.overflow-hidden .lcdashboard.isHomeType .right-sidepanel .cell {
    width: 100% !important;
}


.lcdashboard.isHomeType {
    min-height: calc(100vh - 133px);
    max-height: calc(100vh - 133px);
    width: 100%;
}

.lcdashboard.isSubGrid {
    min-height: 100% !important;
    max-height: 100% !important;
    display: flex;
}

.lcdashboard.isSubGrid .lcdashboard-cards .lcdashboard-cards-panel {
    display: flex;
}

.lcdashboard.isSubGrid .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body {
    display: flex;
    min-height: 100%;
    flex-wrap: wrap;
}

.lcdashboard.isSubGrid .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame {
    width: calc(50% - 16px);
    flex: 1 1;
}

.lcdashboard.isSubGrid .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body {
    gap: 0.75rem;
}

.no-padding {
    padding: 0 !important;
}

.overflow-hidden {
    overflow: hidden;
}

/*.lcdashboard .chart-treemap > div {
        cursor: grab;
    }

    .lcdashboard .chart-treemap path:hover, .lcdashboard .chart-treemap text:hover {
        cursor: zoom-in !important;
    }*/





.lcdashboard .automation-resource-home {
    color: var(--color-primary-blue);
    font-weight: 400 !important;
    font-size: 14px;
}

.lcdashboard .automation-resource {
    color: #fff;
    font-size: 14px;
    overflow: hidden;
    max-width: 160px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lcdashboard .automation-name-home {
    color: var(--text-default);
    font-size: 12px;
}

.lcdashboard .automation-name {
    color: #fff;
    font-size: 12px;
}

.lcdashboard .automation-schedule {
    color: #fff;
    font-size: 12px;
}

.lcdashboard .title-schedule {
    color: var(--text-dark);
    font-family: "Ubuntu", sans-serif;
    font-size: .9rem;
    /*font-size: 2.3vh; */
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    min-width: 60px;
}

.lcdashboard .lcdashboard-cards {
    min-height: calc(100%);
    max-height: calc(100%);
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 1;
}

.lcdashboard .lcdashboard-cards .lcdashboard-cards-panel {
    min-height: calc(100%);
    max-height: calc(100%);
    display: grid;
    grid-template-columns: 1fr;
    /*grid-template-rows: repeat(12, 1fr );*/
    grid-gap: 0px;
    padding: 0;
}


.lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-header {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: span 1;
}



.lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body {
    min-height: calc(100%);
    max-height: calc(100%);
    display: grid;
    /*grid-template-columns: repeat(12, 1fr );
                grid-template-rows: repeat(4, 1fr );*/
    grid-gap: 0.75rem;
}

@keyframes cardFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes cardFocused {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes cardUnfocused {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.lcdashboard .card-frame:not(.focused):hover {
    box-shadow: 4px 4px 18px 0px rgba(58, 79, 135, 0.2);
}

.lcdashboard.isHomeType .card-frame:hover,
.lcdashboard .card-frame.small-card:hover,
.lcdashboard .card-frame.small-card {
    box-shadow: none;
}
.lcdashboard .card-frame.no-header.notHover {
    box-shadow: none !important;

}
.lcdashboard .card-frame {
    display: flex;
    position: relative;
    background-color: #fff;
    border-radius: 0.25rem;
    padding: 0.75rem;
    box-shadow: 4px 4px 18px 0px rgba(58, 79, 135, 0.06);
    flex-direction: column;
    justify-content: space-between;
}

.lcdashboard .card-frame.small-card {
    padding: 0.5rem 0.75rem;
}


.lcdashboard.isHomeType .card-frame.small-card {
    padding: 0.4rem !important;
}

.card-frame.no-header {
    justify-content: space-around;
}

.card-frame.fix-card-content {
    justify-content: space-between;
}

.lcdashboard.isHomeType .card-frame {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

.lcdashboard .card-frame.card-focused {
    z-index: 2;
    animation: cardFocused 0.5s forwards;
}

.lcdashboard .card-frame.card-hidden {
    pointer-events: none;
    animation: cardFadeOut 0.5s forwards;
}


.card-fade {
    opacity: .3;
    animation: none !important;
}

.card-active {
    opacity: 1;
    animation: none !important;
}

.lcdashboard .card-frame.card-reappearing {
    animation: cardFadeIn 0.5s forwards;
}

.lcdashboard .card-frame.card-unfocusing {
    animation: cardUnfocused 0.5s forwards;
}

.lcdashboard .card-frame-header-content {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 0.5rem;
    align-self: stretch;
    flex-wrap: wrap;
}

.lcdashboard .card-title {
    display: flex;
    height: 1.6rem;
    min-width: 5.25rem;
    align-items: flex-end;
    flex: 1 0;
}

.lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
.lcdashboard .lc-title {
    color: var(--text-dark);
    font-family: "Ubuntu", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
    min-width: 60px;
}

.lcdashboard.isHomeType .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
.lcdashboard.isHomeType .lc-title {
    font-size: .9rem;
}

.lcdashboard.isHomeType .card-title {
    font-size: .9rem;
}

/* Compacta o titulo do card em resolucoes menores. Nao afeta o modo isHomeType. */
@media (max-width: 1600px) {
    .lcdashboard:not(.isHomeType) .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
    .lcdashboard:not(.isHomeType) .lc-title {
        font-size: 14px;
    }
    /* Reduz o espacamento superior dos cards para compensar o titulo/fonte maior */
    .lcdashboard:not(.isHomeType) .card-frame {
        padding: 0.45rem 0.6rem;
    }
    .lcdashboard:not(.isHomeType) .card-frame.small-card {
        padding: 0.35rem 0.6rem;
    }
    .lcdashboard:not(.isHomeType) .card-title {
        height: 1.3rem;
    }
}

@media (max-width: 1300px) {
    .lcdashboard:not(.isHomeType) .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
    .lcdashboard:not(.isHomeType) .lc-title {
        font-size: 13px;
    }
    .lcdashboard:not(.isHomeType) .card-frame {
        padding: 0.35rem 0.55rem;
    }
    .lcdashboard:not(.isHomeType) .card-frame.small-card {
        padding: 0.3rem 0.55rem;
    }
    .lcdashboard:not(.isHomeType) .card-title {
        height: 1.2rem;
    }
}

.lcdashboard .lc-segment-title-row-resume {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.lcdashboard .lc-segment-title-row-resume .lc-buttons {
    justify-content: center;
    margin: 10px 0;
}


.lcdashboard .lc-segment-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
}

.lcdashboard .lc-segment-buttons .lc-buttons > .active {
    background-color: var(--color-primary-blue) !important;
    color: #fff !important;
}

/*maiores consumos*/
.lcdashboard .card-frame:has(.titlefix) .card-frame-header-content {
    display: inline;
}

.lcdashboard .card-frame:has(.titlefix) .block-icons {
    justify-content: flex-end;
}

.lcdashboard .card-frame-header-content .block-icons {
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

.lcdashboard .card-frame .block-icons span.icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-default);
    border-radius: 50%;
    transition: 0.3s all;
    font-size: 20px;
}

.lcdashboard .card-frame span.icon i,
.lcdashboard .card-frame span.icon svg {
    padding: 5px;
    border-radius: 100%;
}

.lcdashboard .card-frame span.icon svg {
    width: 32px;
    height: 32px;
}

.lcdashboard .card-frame .block-icons span.icon>:not(.lc-iconlink):hover {
    background: var(--background-light);
    color: var(--icon-default);
    cursor: pointer;
}

.lcdashboard .card-content-body {
    max-height: calc(100% - 20px);
    min-height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
}

.lcdashboard .card-frame .centered {
    justify-content: center;
}

.lcdashboard .card-frame .fromStart {
    justify-content: flex-start;
}

.lcdashboard .card-content-body-home {
    max-height: calc(100% - 24px);
    min-height: calc(100% - 24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lcdashboard .card-content-body:has(.titlefix) {
    justify-content: flex-start;
}


.lcdashboard .card-content-body-content {
    display: contents;
}

.lcdashboard .card-content-body:has(.titlefix) {
    max-height: calc(100% - 30px);
    min-height: calc(100% - 30px);
}

.lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-footer {
    min-height: calc(100%);
    max-height: calc(100%);
    grid-column-start: 1;
    grid-column-end: 1;
    /*grid-row-start: 12;*/
    grid-row-end: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lcdashboard .pp-dropdown .icons .ppi-x {
    display: none;
}

/* ───────────────────────────────────────────────────────────────────────────
   Containers de seção (Informar / Otimizar / Gestão de ações) — card.accentColor
   ─────────────────────────────────────────────────────────────────────────── */
.lcdashboard .card-frame.card-section {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(58, 79, 135, 0.10);
}

.lcdashboard .card-frame.card-section .card-frame-header-content {
    padding: 0.3rem 0.6rem;
    border-radius: 8px 8px 0 0;
    flex-wrap: nowrap;
    min-height: 30px;
}

.lcdashboard .card-frame.card-section .card-frame-header-content .title,
.lcdashboard .card-frame.card-section .card-title {
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    align-items: center;
    height: auto;
}

.lcdashboard .card-frame.card-section .card-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 0.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    flex: 0 0 auto;
}

.lcdashboard .card-frame.card-section .card-content-body,
.lcdashboard .card-frame.card-section .card-content-body:has(.titlefix) {
    max-height: calc(100% - 30px);
    min-height: calc(100% - 30px);
    padding: 0.4rem 0.5rem;
}

/* ───────────────────────────────────────────────────────────────────────────
   Variante rolável — dashboards altos que excedem o viewport
   ─────────────────────────────────────────────────────────────────────────── */
.lcdashboard.lcdashboard--scroll {
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Relaxa o teto de altura dos contêineres intermediários para que o corpo
   (minBodyHeight) cresça e a rolagem ocorra no nível do .lcdashboard. */
.lcdashboard.lcdashboard--scroll .lcdashboard-cards,
.lcdashboard.lcdashboard--scroll .lcdashboard-cards .lcdashboard-cards-panel,
.lcdashboard.lcdashboard--scroll .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body {
    max-height: none;
}

.lcdashboard.lcdashboard--scroll::-webkit-scrollbar {
    width: 6px;
}

.lcdashboard.lcdashboard--scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.lcdashboard .right-sidepanel {
    background: #fafafa;
    box-sizing: border-box;
    box-shadow: -10px 0 18px 0px rgba(58, 79, 135, 0.15);
    max-height: calc(100% + 1.5rem);
    grid-column-end: 13;
    grid-row-start: 1;
    grid-row-end: 1;
    z-index: 9; 
    padding: 1rem;
    margin-top: -0.75rem;
    transition: all 0.2s ease-in-out;
}

/* Quando NAO esta fixado (pinned=false): overlay sobre o conteudo */
.lcdashboard .right-sidepanel:not(.pinned) {
    position: fixed;
    right: 0;
    top: 0;
    margin-top: 0;
    height: 100%;
    z-index: 9;
}

/* Quando em modo foco (focused) e NAO fixado: absolute dentro do dashboard */
.lcdashboard .right-sidepanel.focused:not(.pinned) {
    position: absolute;
    right: auto;
    right: initial;
    top: auto;
    top: initial;
    left: 0;
    margin-top: 0; 
    height: calc(100vh - 80px);
    z-index: 9;
}

/* Quando esta fixado (pinned=true): inline no grid */
.lcdashboard .right-sidepanel.pinned {
    position: relative;
    right: auto;
    right: initial;
    top: auto;
    top: initial;
    height: auto;
}

/* Opt-in fixed-width pinned sidebar. Existing dashboards keep their
   grid-column layout because this class is supplied only with pinnedWidth. */
.lcdashboard.lcdashboard--fixed-sidebar {
    grid-template-rows: minmax(0, 1fr);
}

.lcdashboard.lcdashboard--fixed-sidebar .lcdashboard-cards {
    min-width: 0;
    grid-column: 1;
}

.lcdashboard.lcdashboard--fixed-sidebar .right-sidepanel.pinned {
    grid-column: 2 !important;
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: none;
    margin-top: 0;
    box-sizing: border-box;
}

.lcdashboard.lcdashboard--fixed-sidebar .right-sidepanel:not(.pinned) {
    grid-column: 2 !important;
    min-width: 0;
    box-sizing: border-box;
}

.lcdashboard.lcdashboard--fixed-sidebar .right-sidepanel.pinned .right-sidepanel-content,
.lcdashboard.lcdashboard--fixed-sidebar .right-sidepanel.pinned .filter-content {
    min-height: 0;
    height: 100% !important;
}

.lcdashboard.lcdashboard--fixed-sidebar .right-sidepanel.pinned .right-sidepanel-content {
    display: flex;
    flex-direction: column;
}

.lcdashboard.lcdashboard--fixed-sidebar .right-sidepanel.pinned .filter-content {
    flex: 1 1 auto;
    overflow: hidden;
}

    .lcdashboard .right-sidepanel .title-sidebar {
        color: var(--text-dark);
        font-family: "Ubuntu", sans-serif;
        font-size: 22px;
        font-style: normal;
        font-weight: 300;
        line-height: 160%;
    }


.lcdashboard .right-sidepanel .right-sidepanel-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 100%;
    min-height: 0;
    height: 100%;
}

.lcdashboard .right-sidepanel .title-sidebar-content {
    display: flex;
    justify-content: space-between;
}

.lcdashboard .right-sidepanel .title-icons {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

/* .lcdashboard .right-sidepanel .title-icons span, .icons-filter {
            color: #2E1956;
            transition: 0.3s all;
            display: flex;
            justify-content: center;
            align-content: center;
            align-items: center;
            padding: 0.5rem;
            /* width: 36px;
            height: 36px;
            border-radius: 50%; */
/* } */

/* .lcdashboard .right-sidepanel .title-icons span:hover, .icons-filter:hover {
                background: #cccccf;
            } */

.lcdashboard .right-sidepanel .filter-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

.lcdashboard .right-sidepanel .filter-content .right-sidepanel-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    min-height: 0;
    flex: 1 1 auto;
    width: 100% !important;
}

.lcdashboard .right-sidepanel .filter-content .right-sidepanel-filters .principal-filters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
}

.lcdashboard .right-sidepanel .filter-content .right-sidepanel-filters > .space-between {
    flex: 0 0 auto;
    min-width: 300px;
    margin-top: 0 !important;
}

/* Scroll sem borda visivel */
.lcdashboard .right-sidepanel .filter-content .right-sidepanel-filters .principal-filters::-webkit-scrollbar {
    width: 4px;
}

.lcdashboard .right-sidepanel .filter-content .right-sidepanel-filters .principal-filters::-webkit-scrollbar-track {
    background: transparent;
}

.lcdashboard .right-sidepanel .filter-content .right-sidepanel-filters .principal-filters::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.lcdashboard .right-sidepanel .filter-content .right-sidepanel-filters .principal-filters::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

    .lcdashboard .right-sidepanel .advanced-filters {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: 100px !important;
    }

.lcdashboard .right-sidepanel .advanced-filters .title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-default);
    margin-bottom: 0.5rem;
}

.lcdashboard .right-sidepanel .advanced-filters .advanced-filters-content {
    /* min-height: calc(100vh - 474px); */
    /* max-height: calc(100vh - 474px); */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 54vh;
    max-height: 54vh;
}

.lcdashboard .right-sidepanel .advanced-filters .filter-condition {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.filter-condition>.MuiBox-root>.MuiGrid-container>.MuiGrid-root>.pp-tooltip>.termfield>.MuiInputBase-root.MuiOutlinedInput-root.MuiInputBase-fullWidth.MuiInputBase-formControl.MuiInputBase-marginDense.MuiOutlinedInput-marginDense {
    height: 27px;
    margin-top: 0px;
    width: 8vw;
}

.filter-condition>.MuiBox-root>.MuiGrid-container>.MuiGrid-root>.pp-tooltip>.termfield>.MuiInputBase-root.MuiOutlinedInput-root.MuiInputBase-fullWidth.MuiInputBase-formControl.MuiInputBase-marginDense.MuiOutlinedInput-marginDense>input {
    padding: 4px
}

.filter-condition>.MuiBox-root>.MuiGrid-container>.MuiGrid-root>div:nth-child(2) {
    padding: 5px;
    max-height: 20vh;
    max-width: 13.5vw;
    min-width: 13.5vw;
    display: flex;

}

.filter-condition>.MuiBox-root>.MuiGrid-container>.MuiGrid-root>div:nth-child(2)>.loading {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-width: 10vw;
    font-size: 12px;
}

.MuiGrid-root>div:nth-child(2)::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 0.25rem;
    background-color: #eee;
    z-index: 99;
}

.MuiGrid-root>div:nth-child(2)::-webkit-scrollbar-thumb {
    background: #cccccf;
    border-radius: 0.25rem;
}

.MuiGrid-root>div:nth-child(2)::-webkit-scrollbar-thumb:hover {
    background: #ddd;
}

.MuiGrid-root>div:nth-child(2)::-webkit-scrollbar-track {
    border-radius: 0.25rem;
}

.filter-condition>.MuiBox-root>.MuiGrid-container>.MuiGrid-root>div:nth-child(2)>.sugestion {
    font-size: 10px !important;
}

.lcdashboard .cell-descricao {
    min-width: 60px;
}

.lcdashboard .big-numbers-icons {
    width: 2.2vw;
    height: 2.2vw;
}

.lcdashboard .card-big-number {
    display: flex;
    flex-direction: column;
}

.lcdashboard .card-big-number>.content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.lcdashboard .card-big-number.colorfull {
    color: #fff;
}

.lcdashboard .table-card {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    color: var(--text-default);
    height: calc(100vh - 180px);
}


.lcdashboard .big-number-content {
    min-width: 100%;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    /*min-height: 100%;*/
}

.lcdashboard .big-number-content {
    font-size: 2vw;
}

.lcdashboard .big-number-value {
    font-size: 2vw;
}

.lcdashboard .lc-subtitle {
    font-size: 75%;
    color: #2E1956;
    text-align: center
}


.lcdashboard .inner-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    height: 100%;
}


.page:has(.card-focused) {
    overflow-y: hidden !important;
}

.lcdashboard .chart-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    
}

.lcdashboard .chart-content {
    flex: 1 1;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 1500px) {
    .lcdashboard .right-sidepanel .advanced-filters .advanced-filters-content {
        gap: 0.5rem;
        min-height: 46vh;
        max-height: 46vh;
    }
}

/* ── Responsive font & spacing scaling for LCDashboard ── */

@media screen and (max-width: 1600px) {
    .lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
    .lcdashboard .lc-title {
        font-size: 13px !important;
    }

    .lcdashboard .card-title {
        height: 1.4rem;
    }

    .lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body {
        grid-gap: 0.6rem;
    }

    .lcdashboard .card-frame {
        padding: 0.6rem;
    }

    .lcdashboard .card-frame-header-content {
        gap: 0.4rem;
    }

    .lcdashboard .iconvaluecontent .description {
        font-size: 1.6vh !important;
    }

    .lcdashboard .iconvaluecontent .data div {
        font-size: 1.5vw !important;
    }

    .lcdashboard .iconvaluecontent .icone svg {
        width: 24px !important;
        height: 24px !important;
    }
}

@media screen and (max-width: 1400px) {
    .lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
    .lcdashboard .lc-title {
        font-size: 11px !important;
    }

    .lcdashboard .card-title {
        height: 1.2rem;
    }

    .lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body {
        grid-gap: 0.5rem;
    }

    .lcdashboard .card-frame {
        padding: 0.5rem;
    }

    .lcdashboard .card-frame-header-content {
        gap: 0.2rem;
    }

    .lcdashboard .iconvaluecontent .description {
        font-size: 1.3vh !important;
    }

    .lcdashboard .iconvaluecontent .data div {
        font-size: 1.3vw !important;
    }

    .lcdashboard .iconvaluecontent .icone svg {
        width: 20px !important;
        height: 20px !important;
    }

    .lcdashboard .pivot-revogrid-container revo-grid {
        --revo-font-size: 9px;
    }

    .lcdashboard .pivot-revogrid-container revogr-data,
    .lcdashboard .pivot-revogrid-container revogr-header,
    .lcdashboard .pivot-revogrid-container .rgCell,
    .lcdashboard .pivot-revogrid-container .rgHeaderCell {
        font-size: 9px !important;
    }
}

@media screen and (max-width: 1300px) {
    .lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
    .lcdashboard .lc-title {
        font-size: 10px !important;
    }

    .lcdashboard .card-title {
        height: 1.1rem;
    }

    .lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body {
        grid-gap: 0.4rem;
    }

    .lcdashboard .card-frame {
        padding: 0.4rem;
    }

    .lcdashboard .card-frame-header-content {
        gap: 0.15rem;
    }

    .lcdashboard .iconvaluecontent .description {
        font-size: 1.1vh !important;
    }

    .lcdashboard .iconvaluecontent .data div {
        font-size: 1.1vw !important;
    }

    .lcdashboard .iconvaluecontent .icone svg {
        width: 18px !important;
        height: 18px !important;
    }

    .lcdashboard .pivot-revogrid-container revo-grid {
        --revo-font-size: 8px;
    }

    .lcdashboard .pivot-revogrid-container revogr-data,
    .lcdashboard .pivot-revogrid-container revogr-header,
    .lcdashboard .pivot-revogrid-container .rgCell,
    .lcdashboard .pivot-revogrid-container .rgHeaderCell {
        font-size: 8px !important;
    }
}

@media screen and (max-width: 1100px) {
    .lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body .card-frame .card-frame-header-content .title,
    .lcdashboard .lc-title {
        font-size: 9px !important;
    }

    .lcdashboard .card-title {
        height: 1rem;
    }

    .lcdashboard .lcdashboard-cards .lcdashboard-cards-panel .lcdashboard-cards-panel-body {
        grid-gap: 0.3rem;
    }

    .lcdashboard .card-frame {
        padding: 0.3rem;
    }

    .lcdashboard .card-frame-header-content {
        gap: 0.1rem;
    }

    .lcdashboard .iconvaluecontent .description {
        font-size: 1vh !important;
    }

    .lcdashboard .iconvaluecontent .data div {
        font-size: 1vw !important;
    }

    .lcdashboard .iconvaluecontent .icone svg {
        width: 16px !important;
        height: 16px !important;
    }

    .lcdashboard .pivot-revogrid-container revo-grid {
        --revo-font-size: 7px;
    }

    .lcdashboard .pivot-revogrid-container revogr-data,
    .lcdashboard .pivot-revogrid-container revogr-header,
    .lcdashboard .pivot-revogrid-container .rgCell,
    .lcdashboard .pivot-revogrid-container .rgHeaderCell {
        font-size: 7px !important;
    }
}

.lcdashboard .card-frame-info-icon {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 1;
}

.lcdashboard.isHomeType .card-frame-info-icon {
    top: 0;
    right: 0;
}
.lc-datatableinfinite .pp-modal>.body>.content>form>.pp-input>.field {
    border: 1px solid #ddd;
}

.lc-datatableinfinite .pp-modal>.body>.content>form>.pp-input>.field:hover {
    border: 1px solid #898da6;
}

.lc-datatableinfinite>.topbar {
    display: flex;
    justify-content: space-between;
}

.lc-datatableinfinite>.topbar>.functions {
    color: #2E1956;
    display: flex;
    align-items: center;
    font-size: 28px;
    position: relative;
}

.lc-datatableinfinite>.topbar>.functions>div {
    display: flex;
}

.lc-datatableinfinite>.topbar>.functions>div>* {
    margin: 0 8px;
}

.lc-datatableinfinite>.topbar>.functions>div:not(:last-child) {
    padding-right: 8px;
    border-right: 1px #ddd solid;
}

.lc-datatableinfinite>.topbar>.functions>div:not(:first-child) {
    margin-left: 8px;
}

.lc-datatableinfinite>.topbar>.pagination {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.lc-datatableinfinite>.topbar>.pagination>.pageinfo {
    border-radius: 1rem;
    padding: 2px 8px;
    margin: 0 6px;
    font-size: 0.7rem; 
}

.lc-datatableinfinite>.header {
    position: relative;
    padding-right: .5rem;
}

.lc-datatableinfinite>.header>.row {
    display: flex;
    gap: 0;
    background-color: #fff;
    border-radius: 5px;
    border-left-width: 5px;
    border-left-style: solid;
    border-left-color: #fff;
    border-bottom: solid 1px #E2E6F3;
    min-height: 28px;
}

.lc-datatableinfinite>.header>.row>.selectable {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    cursor: pointer;
}

.lc-datatableinfinite:has(.body-functions)>.header>.row>.cells {
    width: calc(100% - 28px);
}

.lc-datatableinfinite>.header>.row>.cells {
    display: flex;
    width: 100%;
    gap: 6px;
    align-items: center;
}

.lc-datatableinfinite>.header>.row>.cells>.cell {
    font-family: "Ubuntu", sans-serif;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: 0.1px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6B6F7D;
    min-width: 0;
    transition: all 0.2s ease;
}

.lc-datatableinfinite>.header>.row>.cells>.cell span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lc-datatableinfinite>.header>.row>.cells>.cell i {
    font-size: 0.65rem;
    color: #2E1956;
    flex-shrink: 0;
}

.lc-datatableinfinite>.header>.row>.cells>.cell.sortable {
    cursor: pointer;
}

.lc-datatableinfinite>.header>.row>.cells>.cell.sortable:hover {
    color: #2E1956;
}

.lc-datatableinfinite>.header>.row>.cells>.cell.sortable:hover i {
    color: #471FCC;
}

.lc-datatableinfinite>.header>.row>.cells>.cell.sorted {
    color: #2E1956;
}

.lc-datatableinfinite>.header>.row>.cells>.cell.sorted i {
    color: #2E1956;
}

.lc-datatableinfinite>.header>.row>.cells>.cell.left {
    justify-content: flex-start;
    text-align: start;
}

.lc-datatableinfinite>.header>.row>.cells>.cell.center {
    justify-content: center;
    text-align: center;
}

.lc-datatableinfinite>.header>.row>.cells>.cell.right {
    justify-content: flex-end;
    text-align: end;
}

.lc-datatableinfinite>.header>.row>.functions {
    width: 28px;
}

.lc-datatableinfinite>.header>.row>.scroll {
    width: 8px;
}

.lc-datatableinfinite>.header.status {
    padding-right: 0px;
}
.lc-datatableinfinite>.header.status>.row {
    gap: 0;

}
.lc-datatableinfinite>.body {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.lc-datatableinfinite>.body::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 0.25rem;
    background-color: #eee;
}

.lc-datatableinfinite>.body::-webkit-scrollbar-thumb {
    background: #cccccf;
    border-radius: 0.25rem;
}

.lc-datatableinfinite>.body::-webkit-scrollbar-thumb:hover {
    background: #ddd;
}

.lc-datatableinfinite>.body::-webkit-scrollbar-track {
    border-radius: 0.25rem;
}

/* Rolar com a roda do mouse não dispara mouseleave/mouseout na linha que ficou "hover" (o navegador só
   recalcula isso com movimento real do ponteiro), então um tooltip aberto (ex.: MUI Tooltip nas
   células) pode ficar preso na posição antiga. Enquanto a rolagem está ativa (classe alternada via JS
   em LcInfiniteTable/index.tsx), tiramos o pointer-events das linhas para forçar o navegador a fechar
   qualquer tooltip aberto; a barra de rolagem em si não é afetada (fica fora de .row/.cells). */
.lc-datatableinfinite>.body.is-scrolling>.row,
.lc-datatableinfinite>.body.is-scrolling>.lc-accordion.visible>.body>.row {
    pointer-events: none;
}

.lc-datatableinfinite>.body>.row,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row {
    display: flex;
    background-color: #fff;
    border-radius: 5px;
    gap: 0;
    border-left-width: 5px;
    border-left-style: solid;
    border-left-color: #fff;
}

.lc-datatableinfinite>.body>.row>.selectable,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.selectable {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    cursor: pointer;
}

.lc-datatableinfinite>.body>.row>.cells,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells {
    display: flex;
    align-items: center;
    width: 100%;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    gap: 6px;
}

.lc-datatableinfinite>.body>.row>.cells>.cell,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell {
    font-size: .8rem;
    color: #2E1956;
    display: flex;
    padding: 0;
    min-width: 0;
    overflow: hidden;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.left,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.left {
    justify-content: flex-start;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.right,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.right {
    justify-content: flex-end;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.center,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.center {
    justify-content: center;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.between,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.between {
    justify-content: space-between;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.tiny,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.tiny {
    font-size: 0.6rem;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.small,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.small {
    font-size: 0.7rem;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.medium,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.medium {
    font-size: 0.8rem;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.large,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.large {
    font-size: 1rem;
}

.lc-datatableinfinite>.body>.row>.cells>.cell.big,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.cells>.cell.big {
    font-size: 1.2rem;
}

.lc-datatableinfinite>.body>.row>.functions,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row>.functions {
    width: 28px;
}

.lc-datatableinfinite>.body>.row:hover,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row:hover {
    background-color: #eee;
}

.lc-datatableinfinite>.body>.row:hover:not(.status),
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row:hover:not(.status) {
    border-left-color: #eee !important;
}

.lc-datatableinfinite>.body>.row.clickable,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row.clickable {
    cursor: pointer;
}

.lc-datatableinfinite>.body.highdensity>.row,
.lc-datatableinfinite>.body.highdensity>.lc-accordion.visible>.body>.row {
    min-height: 28px;
    margin-bottom: 1px;
}

.lc-datatableinfinite>.body.mediumdensity>.row,
.lc-datatableinfinite>.body.mediumdensity>.lc-accordion.visible>.body>.row {
    min-height: 38px;
    margin-bottom: 4px;
}

.lc-datatableinfinite>.body.lowdensity>.row,
.lc-datatableinfinite>.body.lowdensity>.lc-accordion.visible>.body>.row {
    min-height: 80px;
    margin-bottom: 4px;
}

.lc-datatableinfinite>.body>.loader {
    margin-top: 34px;
    display: flex;
    justify-content: center;
}

.lc-datatableinfinite>.body>.nodatamessage {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-datatableinfinite.debug>.header {
    background-color: orange;
}

.lc-datatableinfinite.debug>.header>.cells>.cell:nth-child(even) {
    background-color: blue;
}

.lc-datatableinfinite.debug>.header>.cells>.cell:nth-child(odd) {
    background-color: green;
}

.lc-datatableinfinite.debug>.header>.scroll {
    background-color: red;
}

.lc-datatableinfinite.debug>.body .row {
    background-color: orangered;
}

.lc-datatableinfinite.debug>.body .row>.cells>.cell:nth-child(even) {
    background-color: blue;
}

.lc-datatableinfinite.debug>.body .row>.cells>.cell:nth-child(odd) {
    background-color: green;
}

.lc-datatableinfinite>.body>.row:has(.color-status),
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row:has(.color-status) {
    position: relative;
}

.lc-datatableinfinite .color-status {
    height: 100%;
    width: 5px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    position: absolute;
    top: 0px;
    left: 0;
}


.lc-datatableinfinite:has(.color-status) .cells {
    margin-left: 10px;
}

.lc-datatableinfinite .lc-accordion.visible>.body {
    overflow: visible;
}


.lc-datatableinfinite .ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-wrap: wrap;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow-wrap: break-word;
}

.lc-datatableinfinite>.body>.row:has(.functions)>.cells,
.lc-datatableinfinite>.body>.lc-accordion.visible>.body>.row:has(.functions)>.cells {
    width: calc(100% - 28px);
    /* flex: none; */
}

.lc-datatableinfinite .expandable-cell .expandable.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lc-datatableinfinite .expandable-cell:has(.expanded) {
    padding: 6px 0;
}

.lc-datatableinfinite .expandable-cell .expandable.expanded {
    display: block;
}

.lc-datatableinfinite .expandable-cell .expand-button {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0 0 0;
    display: inline-block;
}
.filter-panel-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
    position: relative;
    overflow: visible;
  }
  .ppdropdown > label {
    font-size: 0.75rem;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 4px;
    font-weight: normal;
}
  .filter-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: visible;
  }

  /* Ensure proper positioning for right-sidepanel-filters */
  .right-sidepanel-filters {
    position: relative;
  }

  .right-sidepanel-filters .principal-filters {
    position: relative;
  }

  .filter-field {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .input-field input,
  .filter-field select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
  }

  /* button {
    margin-top: 10px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-start;
  }
  button:hover {
    background-color: #0056b3;
  } */
  .filtered-results {
    margin-top: 20px;
    white-space: pre-wrap; /* This ensures the JSON output wraps properly */
  }

.revo-grid-data-table {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Ubuntu', sans-serif;
}

.revo-grid-data-table__toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
    padding: 6px 4px 8px;
}

.revo-grid-data-table__toolbar-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    color: var(--text-dark, #475569);
    font-size: 11px;
}

.revo-grid-data-table__toolbar-label {
    font-weight: 500;
}

.revo-grid-data-table__toolbar-select {
    height: 26px;
    padding: 0 8px;
    border: 1px solid #E2E8F0;
    border: 1px solid var(--line-outline, #E2E8F0);
    border-radius: 4px;
    outline: none;
    background: #fff;
    background: var(--background-white, #fff);
    color: #1E293B;
    color: var(--text-default, #1E293B);
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-size: 11px;
}

.revo-grid-data-table__toolbar-select:focus {
    border-color: #2E1956;
    border-color: var(--color-primary-purple-dark, #2E1956);
}

.revo-grid-data-table__toolbar-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 10px;
    border: 1px solid #E2E8F0;
    border: 1px solid var(--line-outline, #E2E8F0);
    border-radius: 4px;
    background: #fff;
    background: var(--background-white, #fff);
    color: #475569;
    color: var(--text-dark, #475569);
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-size: 11px;
    transition: all 0.15s ease;
}

.revo-grid-data-table__toolbar-button:hover {
    border-color: #CBD5E1;
    border-color: var(--line-outline, #CBD5E1);
    color: #1E293B;
    color: var(--text-default, #1E293B);
}

.revo-grid-data-table__toolbar-button.is-active {
    border-color: #2E1956;
    border-color: var(--color-primary-purple-dark, #2E1956);
    background: #F5F3FA;
    background: var(--background-lightest, #F5F3FA);
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.revo-grid-data-table__toolbar-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 2px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #8A86A6;
    color: var(--icon-not-selected, #8A86A6);
    cursor: pointer;
    transition: background-color 120ms, color 120ms, border-color 120ms;
}

.revo-grid-data-table__toolbar-icon-button:hover:not(:disabled) {
    border-color: #E2E8F0;
    border-color: var(--line-outline, #E2E8F0);
    background: #F5F3FA;
    background: var(--background-lightest, #F5F3FA);
    color: #2E1956;
    color: var(--icon-default, #2E1956);
}

.revo-grid-data-table__toolbar-icon-button:disabled {
    color: #D4D2E0;
    color: var(--icon-disabled, #D4D2E0);
    cursor: not-allowed;
}

.revo-grid-data-table__toolbar-icon-button:focus-visible,
.revo-grid-data-table__toolbar-button:focus-visible,
.revo-grid-data-table__toolbar-select:focus-visible,
.revo-grid-data-table__column-panel button:focus-visible {
    outline: 2px solid #6D5DFC;
    outline: 2px solid var(--color-primary-purple, #6D5DFC);
    outline-offset: 2px;
}

.revo-grid-data-table__grid {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.revo-grid-data-table__grid > revo-grid {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.revo-grid-data-table__grid revo-grid .rgRow {
    border-bottom: 1px solid #F1F3F8;
    border-bottom: 1px solid var(--line-light, #F1F3F8);
}

.revo-grid-data-table__grid revo-grid .rgRow:hover {
    background: #FAFBFD;
    background: var(--background-lightest, #FAFBFD);
}

.revo-grid-data-table__grid revo-grid .header-rgRow,
.revo-grid-data-table__grid revo-grid .rgHeaderCell {
    min-height: 28px;
    background-color: #fff !important;
    background-color: var(--background-white, #fff) !important;
}

.revo-grid-data-table__grid revo-grid .header-rgRow {
    border-bottom: solid 1px #E2E6F3 !important;
    border-bottom: solid 1px var(--line-default, #E2E6F3) !important;
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: none !important;
    box-shadow: none !important;
    color: #6B6F7D;
    color: var(--text-dark, #6B6F7D);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1px;
    text-transform: none;
    transition: color 0.2s ease;
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell::before,
.revo-grid-data-table__grid revo-grid .rgHeaderCell::after,
.revo-grid-data-table__grid revo-grid .rgHeaderCell .resizable-r,
.revo-grid-data-table__grid revo-grid .header-rgRow .resizable-r,
.revo-grid-data-table__grid revo-grid .header-rgRow .resize-r {
    border: none !important;
    background: transparent !important;
}

.revo-grid-data-table__grid revo-grid revogr-header,
.revo-grid-data-table__grid revo-grid revogr-header .rgHeaderCell,
.revo-grid-data-table__grid revo-grid revogr-viewport-scroll.colPinStart revogr-header,
.revo-grid-data-table__grid revo-grid revogr-viewport-scroll.colPinStart revogr-header .rgHeaderCell,
.revo-grid-data-table__grid revo-grid revogr-viewport-scroll.colPinEnd revogr-header,
.revo-grid-data-table__grid revo-grid revogr-viewport-scroll.colPinEnd revogr-header .rgHeaderCell {
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell:hover {
    background-color: #FAFBFD !important;
    background-color: var(--background-lightest, #FAFBFD) !important;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell.sortable {
    cursor: pointer;
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell.sort-asc,
.revo-grid-data-table__grid revo-grid .rgHeaderCell.sort-desc {
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell .sort-icon,
.revo-grid-data-table__grid revo-grid .rgHeaderCell.sort-asc::after,
.revo-grid-data-table__grid revo-grid .rgHeaderCell.sort-desc::after {
    color: #471FCC;
    color: var(--color-primary-blue, #471FCC);
    font-size: 0.65rem;
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell .rv-filter {
    width: 22px !important;
    height: 22px !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #8A86A6 !important;
    color: var(--icon-not-selected, #8A86A6) !important;
    cursor: pointer;
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell:hover .rv-filter,
.revo-grid-data-table__grid revo-grid .rgHeaderCell .rv-filter.active,
.revo-grid-data-table__grid revo-grid .rgHeaderCell .rv-filter:focus-visible {
    border-color: #E2E8F0 !important;
    border-color: var(--line-outline, #E2E8F0) !important;
    background: #F5F3FA !important;
    background: var(--background-lightest, #F5F3FA) !important;
    color: #2E1956 !important;
    color: var(--color-primary-purple-dark, #2E1956) !important;
    opacity: 1 !important;
}

.revo-grid-data-table__grid revo-grid .rgHeaderCell .rv-filter:focus-visible {
    outline: 2px solid #6D5DFC !important;
    outline: 2px solid var(--color-primary-purple, #6D5DFC) !important;
    outline-offset: 1px;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel {
    min-width: 230px !important;
    padding: 12px !important;
    border: 1px solid #E2E8F0 !important;
    border: 1px solid var(--line-outline, #E2E8F0) !important;
    border-radius: 6px !important;
    background: #fff !important;
    background: var(--background-white, #fff) !important;
    box-shadow: 0 8px 24px rgba(46, 25, 86, 0.14) !important;
    color: #1E293B !important;
    color: var(--text-default, #1E293B) !important;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 12px !important;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .filter-header,
.revo-grid-data-table__grid revo-grid revogr-filter-panel label {
    display: block;
    margin: 0 0 6px;
    color: #2E1956 !important;
    color: var(--text-default, #2E1956) !important;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .filter-holder > div {
    gap: 4px;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel select,
.revo-grid-data-table__grid revo-grid revogr-filter-panel input[type='text'],
.revo-grid-data-table__grid revo-grid revogr-filter-panel input[type='number'] {
    box-sizing: border-box;
    width: 100% !important;
    min-height: 32px;
    margin: 0 0 8px;
    padding: 6px 9px;
    border: 1px solid #E2E8F0 !important;
    border: 1px solid var(--line-outline, #E2E8F0) !important;
    border-radius: 4px;
    outline: none;
    background: #FAFBFD !important;
    background: var(--background-lightest, #FAFBFD) !important;
    color: #1E293B !important;
    color: var(--text-default, #1E293B) !important;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 12px !important;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel select:hover,
.revo-grid-data-table__grid revo-grid revogr-filter-panel input:hover {
    border-color: #6D5DFC !important;
    border-color: var(--color-primary-purple, #6D5DFC) !important;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel select:focus,
.revo-grid-data-table__grid revo-grid revogr-filter-panel input:focus {
    border-color: #471FCC !important;
    border-color: var(--color-primary-blue, #471FCC) !important;
    box-shadow: 0 0 0 2px rgba(71, 31, 204, 0.12);
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel input::placeholder {
    color: #94A3B8;
    color: var(--text-light, #94A3B8);
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin: 4px 0 0;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .filter-actions button,
.revo-grid-data-table__grid revo-grid revogr-filter-panel .revo-button {
    box-sizing: border-box;
    min-width: 70px;
    height: 30px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 18px;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .revo-button.green,
.revo-grid-data-table__grid revo-grid revogr-filter-panel #revo-button-save,
.revo-grid-data-table__grid revo-grid revogr-filter-panel #revo-button-ok {
    border-color: #2E1956 !important;
    border-color: var(--color-primary-purple-dark, #2E1956) !important;
    background: #2E1956 !important;
    background: var(--color-primary-purple-dark, #2E1956) !important;
    color: #fff !important;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .revo-button.green:hover,
.revo-grid-data-table__grid revo-grid revogr-filter-panel #revo-button-save:hover,
.revo-grid-data-table__grid revo-grid revogr-filter-panel #revo-button-ok:hover {
    border-color: #471FCC !important;
    border-color: var(--color-primary-blue, #471FCC) !important;
    background: #471FCC !important;
    background: var(--color-primary-blue, #471FCC) !important;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .revo-button.outline,
.revo-grid-data-table__grid revo-grid revogr-filter-panel #revo-button-reset {
    border-color: #E2E8F0 !important;
    border-color: var(--line-outline, #E2E8F0) !important;
    background: #fff !important;
    background: var(--background-white, #fff) !important;
    color: #475569 !important;
    color: var(--text-dark, #475569) !important;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .revo-button.outline:hover,
.revo-grid-data-table__grid revo-grid revogr-filter-panel #revo-button-reset:hover {
    border-color: #6D5DFC !important;
    border-color: var(--color-primary-purple, #6D5DFC) !important;
    background: #F5F3FA !important;
    background: var(--background-lightest, #F5F3FA) !important;
    color: #2E1956 !important;
    color: var(--text-default, #2E1956) !important;
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .add-filter-divider {
    border-bottom-color: #F1F3F8;
    border-bottom-color: var(--line-light, #F1F3F8);
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .and-or-button {
    min-width: 52px;
    border: 1px solid #E2E8F0;
    border: 1px solid var(--line-outline, #E2E8F0);
    border-radius: 4px;
    background: #F5F3FA;
    background: var(--background-lightest, #F5F3FA);
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .trash-button {
    border: 0;
    background: transparent;
    color: #94A3B8;
    color: var(--text-light, #94A3B8);
}

.revo-grid-data-table__grid revo-grid revogr-filter-panel .trash-button:hover {
    color: #DC291E;
    color: var(--color-danger, #DC291E);
}

.revo-grid-data-table__grid revo-grid .rgCell {
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4px 8px;
    border-right: none !important;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.75rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.revo-grid-data-table__grid revo-grid .rgCell > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.revo-grid-data-table__grid revo-grid .revo-grid-data-table__ellipsis-cell {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.revo-grid-data-table__grid revo-grid .resizable-r {
    border-right: 1px solid #E2E6F3;
    border-right: 1px solid var(--line-default, #E2E6F3);
}

.revo-grid-data-table__column-panel {
    position: fixed;
    z-index: 9999;
    z-index: var(--lc-z-index-popover, 9999);
    width: 320px;
    max-width: calc(100vw - 16px);
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border: 1px solid var(--line-outline, #E2E8F0);
    border-radius: 6px;
    background: #fff;
    background: var(--background-white, #fff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    color: #1E293B;
    color: var(--text-default, #1E293B);
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
}

@media (max-width: 640px) {
    .revo-grid-data-table__column-panel {
        left: 8px !important;
        right: 8px;
        width: auto;
        max-width: none;
    }
}

.revo-grid-data-table__column-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #F1F5F9;
    border-bottom: 1px solid var(--line-light, #F1F5F9);
    font-weight: 600;
}

.revo-grid-data-table__column-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 0;
    border-radius: 3px;
    background: none;
    color: #94A3B8;
    color: var(--text-light, #94A3B8);
    cursor: pointer;
}

.revo-grid-data-table__column-panel-close:hover {
    background: #F1F5F9;
    background: var(--background-lightest, #F1F5F9);
    color: #475569;
    color: var(--text-dark, #475569);
}

.revo-grid-data-table__column-panel-list {
    max-height: 360px;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    list-style: none;
}

.revo-grid-data-table__column-panel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    transition: background 0.15s;
}

.revo-grid-data-table__column-panel-item:hover {
    background: #F8FAFC;
    background: var(--background-lightest, #F8FAFC);
}

.revo-grid-data-table__column-panel-item.is-hidden {
    opacity: 0.55;
}

.revo-grid-data-table__column-panel-item.is-fixed .revo-grid-data-table__column-label::after {
    content: ' (fixa)';
    color: #94A3B8;
    color: var(--text-light, #94A3B8);
    font-size: 10px;
}

.revo-grid-data-table__column-visibility {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid #E2E8F0;
    border: 1px solid var(--line-outline, #E2E8F0);
    border-radius: 3px;
    background: none;
    color: #475569;
    color: var(--text-dark, #475569);
    cursor: pointer;
}

.revo-grid-data-table__column-visibility:hover:not(:disabled) {
    border-color: #2E1956;
    border-color: var(--color-primary-purple-dark, #2E1956);
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.revo-grid-data-table__column-visibility:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.revo-grid-data-table__column-label {
    flex: 1 1;
    min-width: 0;
    overflow: hidden;
    color: #1E293B;
    color: var(--text-default, #1E293B);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.revo-grid-data-table__column-arrows {
    display: inline-flex;
    gap: 2px;
}

.revo-grid-data-table__column-arrows button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid #E2E8F0;
    border: 1px solid var(--line-outline, #E2E8F0);
    border-radius: 3px;
    background: none;
    color: #64748B;
    color: var(--text-dark, #64748B);
    cursor: pointer;
}

.revo-grid-data-table__column-arrows button:hover:not(:disabled) {
    border-color: #2E1956;
    border-color: var(--color-primary-purple-dark, #2E1956);
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.revo-grid-data-table__column-arrows button:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.revo-grid-data-table__column-panel-footer {
    display: flex;
    justify-content: flex-end;
    padding: 8px 12px;
    border-top: 1px solid #F1F5F9;
    border-top: 1px solid var(--line-light, #F1F5F9);
}

.revo-grid-data-table__column-panel-footer button {
    padding: 4px 10px;
    border: 1px solid #E2E8F0;
    border: 1px solid var(--line-outline, #E2E8F0);
    border-radius: 4px;
    background: none;
    color: #475569;
    color: var(--text-dark, #475569);
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-size: 11px;
}

.revo-grid-data-table__column-panel-footer button:hover {
    border-color: #2E1956;
    border-color: var(--color-primary-purple-dark, #2E1956);
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.treeView {
  list-style: none;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-default);
}
.treeView a {
  text-decoration: none;
}
.treeView ul li {
  padding-left: 2.5rem;
}
.pp-table > .header {
  display: flex;
  margin: 0;
  padding: 5px 0px;
  width: 100%;
  display: flex;
  border-left: 5px solid #fff;
}
.pp-table > .header > .cells {
  display: flex;
  width: 100%;
}
.pp-table > .header > .cells > .cell {
  font-family: "Ubuntu", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px;
  border-radius: 3px;
  display: flex;
  align-items: center;
}
.pp-table > .header > .cells > .cell.sortable {
  cursor: pointer;
}
.pp-table > .header > .cells > .cell.sortable:hover {
  background-color: #eee;
}
.pp-table > .header > .cells > .cell.left {
  justify-content: flex-start;
  text-align: start;
}
.pp-table > .header > .cells > .cell.center {
  justify-content: center;
  text-align: center;
}
.pp-table > .header > .cells > .cell.right {
  justify-content: flex-end;
  text-align: end;
}
.pp-table > .header > .functions {
  width: 28px;
}
.pp-table > .header > .scroll {
  width: 8px;
}
.pp-table > .body {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}
.pp-table > .body::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0.25rem;
  background-color: #eee;
}
.pp-table > .body::-webkit-scrollbar-thumb {
  background: #cccccf;
  border-radius: 0.25rem;
}
.pp-table > .body::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}
.pp-table > .body::-webkit-scrollbar-track {
  border-radius: 0.25rem;
}
.pp-table > .body > .row {
  display: flex;
  background-color: #fff;
  border-radius: 5px;
  gap: 0;
  border-left-width: 5px;
  border-left-style: solid;
  border-left-color: #fff;
}
.pp-table > .body > .row > .selectable {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  cursor: pointer;
}
.pp-table > .body > .row > .cells {
  display: flex;
  align-items: center;
  width: 100%;
}
.pp-table > .body > .row > .cells > .cell {
  font-size: 14px;
  color: #2E1956;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 3px;
}
.pp-table > .body > .row > .cells > .cell.left {
  justify-content: flex-start;
}
.pp-table > .body > .row > .cells > .cell.right {
  justify-content: flex-end;
}
.pp-table > .body > .row > .cells > .cell.center {
  justify-content: center;
}
.pp-table > .body > .row > .cells > .cell.between {
  justify-content: space-between;
}
.pp-table > .body > .row > .cells > .cell.tiny {
  font-size: 0.6rem;
}
.pp-table > .body > .row > .cells > .cell.small {
  font-size: 0.7rem;
}
.pp-table > .body > .row > .cells > .cell.medium {
  font-size: 0.8rem;
}
.pp-table > .body > .row > .cells > .cell.large {
  font-size: 1rem;
}
.pp-table > .body > .row > .cells > .cell.big {
  font-size: 1.2rem;
}
.pp-table > .body > .row > .functions {
  width: 28px;
}
.pp-table > .body > .row:hover {
  background-color: #eee;
}
.pp-table > .body > .row:hover:not(.status) {
  border-left-color: #eee !important;
}
.pp-table > .body.highdensity > .row {
  min-height: 28px;
  margin-bottom: 1px;
}
.pp-table > .body.mediumdensity > .row {
  min-height: 38px;
  margin-bottom: 4px;
}
.pp-table > .body.lowdensity > .row {
  min-height: 60px;
  margin-bottom: 4px;
}
.pp-table > .body > .loader {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}
.pp-table.debug > .header {
  background-color: orange;
}
.pp-table.debug > .header > .cells > .cell:nth-child(even) {
  background-color: blue;
}
.pp-table.debug > .header > .cells > .cell:nth-child(odd) {
  background-color: green;
}
.pp-table.debug > .header > .scroll {
  background-color: red;
}
.pp-table.debug > .body .row {
  background-color: orangered;
}
.pp-table.debug > .body .row > .cells > .cell:nth-child(even) {
  background-color: blue;
}
.pp-table.debug > .body .row > .cells > .cell:nth-child(odd) {
  background-color: green;
}
.filter_view_panel_container {
    width: 100%;
    position: relative;
    justify-content: end;
}

.filter_view_panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fafafa;
    box-shadow: -10px 0 18px 0px rgba(58, 79, 135, 0.15);
    height: calc(100vh - 80px);
    z-index: 9;
    width: 100%;
    padding: 1rem;
    margin-top: -0.75rem;
}

.filter_view_panel_container > .filter_view_panel.focusedStyle {
    position: fixed !important;
    top: 90px;
}

.filter_view_panel_title {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
}

.filter_view_panel_subtitle {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #2E1956;
    font-family: "Ubuntu", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
}

.filter_view_panel_content {
    height: calc(100vh - 390px);
    max-height: calc(100vh - 390px);
}

.filter_view_panel_list {
    height: calc(100vh - 300px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter_view_panel_item {
    font-size: 12px;
    height: 38px;
    width: 100%;
    padding-left: 10px;
    padding-right: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
    border-radius: 8px;
}

.filter_view_panel_item:hover {
    background-color: #EBEBEB !important;
}

.filter_view_panel_item i {
    font-size: 12px;
    font-weight: bolder;
    color: var(--text-light);
    padding-right: 4px;
}

.filter_view_panel_item > .functions {
    display: none;
}

.filter_view_panel_item:hover > .functions {
    display: flex;
    padding-left: 10px;
}

a.filter_view_panel_item {
    font-size: 12px;
    height: 38px;
    width: 100%;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    font-weight: 500;
    border-radius: 8px;
}

p.viewLabel {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter_view_panel_footer_save {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.filter_view_panel_footer_save button {
    width: 100% !important;
}

.filter_view_panel_footer_reset {
    display: flex;
    font-size: 12.8px;
    font-family: "Ubuntu", sans-serif;
    color: #2E1956;
}

.filter_view_panel_list::-webkit-scrollbar {
    width: 8px;
    height: 0;
}

.filter_view_panel_list::-webkit-scrollbar-thumb {
    background: #cccccf;
    height: 8px;
    border-radius: 4px;
}

.filter_view_panel_list::-webkit-scrollbar-thumb:hover {
    background: #ddd;
}

.filter_view_panel_list::-webkit-scrollbar-track {
    border-radius: 4px;
}

.filter_view_panel_footer > .row > button.lc-button {
    min-width: 15px;
    border-radius: 4px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.scrollable-v {
    overflow-y: auto;
}

.scrollable-v::-webkit-scrollbar {
    width: 6px;
}

.scrollable-v::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-v::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.scrollable-v::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.filter_view_panel_footer > .row > button.lc-button {
    min-width: 15px;
    border-radius: 4px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
