body {
    zoom: 80%;
}

:root {
    --zoom: 0.80; /* set the variable saying what the current zoom is */
}

.h-screen {
    height: calc(100vh / var(--zoom)) !important;
}

.fi-simple-layout {
    min-height: calc(100vh / var(--zoom)) !important;
}



.fi-active {
    background-color: #ecfdf5 !important;
}

/*.fi-active .fi-tabs-item-label {*/
/*    color: white;*/
/*}*/

.fi-tabs-item {
    border: 1px solid #ecfdf5 !important;
}

.filament-apex-charts-widget {
    zoom: 130%;
}

html, body {
    overscroll-behavior-x: none;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: max-content;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
}

.tooltip-text-right {

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 0;
    left: 90%;

}

.tooltip-text-left {

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 105%;

}

.tooltip-text-top {

    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;

}

.tooltip:hover .tooltip-text {
    visibility: visible;
}

.text-ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;


    @supports (-webkit-line-clamp: 2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

.fi-modal-window {
    min-height: 400px;
}


.fi-dropdown-panel{
    position: absolute !important;
    top: 65px !important;
    right: 30px !important;
    animation: downOut 300ms 60ms ease-in-out forwards;
}

@-moz-keyframes downOut {
    0% {
        transform: translateZ(200px) transLateY(40px);
    }
    80% {
        transform: translateZ(-10px) transLateY(0px);
    }
    100% {
        transform: translateZ(0px) transLateY(0px);
    }
}
@-webkit-keyframes downOut {
    0% {
        transform: translateZ(200px) transLateY(40px);
    }
    80% {
        transform: translateZ(-10px) transLateY(0px);
    }
    100% {
        transform: translateZ(0px) transLateY(0px);
    }
}
@-o-keyframes downOut {
    0% {
        transform: translateZ(200px) transLateY(40px);
    }
    80% {
        transform: translateZ(-10px) transLateY(0px);
    }
    100% {
        transform: translateZ(0px) transLateY(0px);
    }
}
@keyframes downOut {
    0% {
        transform: translateZ(200px) transLateY(40px);
    }
    80% {
        transform: translateZ(-10px) transLateY(0px);
    }
    100% {
        transform: translateZ(0px) transLateY(0px);
    }
}
