#{$parent-class} {
    &.overlay {
        &::after {
            content: '';
            width: 100%;
            height: 100%;
            position: fixed;
            left: 0;
            top: 0;
            background-color: rgba($content, 0.85);
            z-index: 9999;
        }
    }
    // formit popup style
    .formit__popup {
        border-radius: 15px;
        width: clamp(300px, 70%, 700px);
        height: clamp(300px, 65vh, 500px);
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.5);
        margin: 0 auto;
        padding: 0;
        background: $white;
        box-shadow: -1px 1px 21px 7px rgb(0 0 0 / 15%);
        visibility: hidden;
        opacity: 0;
        z-index: 10000;
        transition: $transition;
        overflow: hidden;
        &.sm {
            width: 300px;
            height: 150px;
        }
        &.active {
            transform: translate(-50%, -50%)  scale(1);
            visibility: visible;
            opacity: 1;
        }

        &__header {
            background-color: $white;
            // height: 48px;
        }
        &__nav {
            margin: 0;
            padding: 0 ;
            list-style: none;
            display: flex;
            grid-template-columns: 1fr 1fr;
            gap: 2px;
            border-bottom: 3px solid lighten($primary, 30);
            margin-bottom: 3px;
            li {
                margin-bottom: 0;
            }
            .btn {
                width: 100%;
                border: 0;
                padding: 12px;
                font-size: 16px;
                font-weight: 500;
                background: $white;
                color: darken($primary, 10);
                position: relative;
                cursor: pointer;
                transition: $transition;
                &::after {
                    content: '';
                    width: 100%;
                    height: 3px;
                    position: absolute;
                    top: 100%;
                    left: 0;
                    opacity: 0;
                    background: darken($primary, 10);
                    transition: $transition;
                }
                &.active {
                    background-color: lighten($primary, 30);
                    &::after {
                        opacity: 1;
                    }
                }
            }
        }

        &__body {
            width: 100%;
            height: calc(100% - 48px);
            overflow: auto;
            
            iframe {
                width: 100%;
                height: 100%;
            }
        }
        &__tab {
            width: 100%;
            height: 100%;
            padding: 12px;
            display: none;
            box-sizing: border-box;
            &.active {
                display: block;
            }
        }
        // #{$parent-class} .form-wrap.form-builder ul.frmb-control li {
           
        //     min-height: 100px;
        //     border-radius: 8px !important;
        //     border: 1px solid transparent;
        //     box-shadow: 0 0 14px rgba(197, 197, 197, 0.6705882353);
        //     transition: 350ms all ease-in-out;
        //     /* max-width: 150px; */
        // }

        .formit_popup_messge_content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            h2 {
                font-size: 48px;
                margin: 0;
                line-height: 1;
            }

            p {
                font-size: 30px;
            }
        }

        .popup__close {
            position: absolute;
            display: inline-block;
            right: 0;
            width: 40px;
            height: 40px;
            top: 0;
            border: none;
            font-size: 32px;
            line-height: 0;
            /* border-radius: 50%; */
            padding: 0 0 6px 0;
            background-color: #ded3f5;
            color: #df2a0a;
            cursor: pointer;
            // z-index: 1;
            transition: $transition;
            &:hover {
                background-color: #df2a0a;
                color: $white;
            }
        }
        // Define some variables for reusability
        $table-bg-color: #f5f5f5;
        $table-header-bg-color: #333;
        $table-header-text-color: $white;
        $table-row-even-bg-color: #f9f9f9;
        $table-row-odd-bg-color: $white;

        // Base table styles
        $table-padding: 16px;
        $table-border: 1px solid #ccc;

        table {
            width: 100%;
            border-collapse: collapse;
            background-color: $table-bg-color;
        }

        th, td {
            padding: $table-padding;
            border: $table-border;
            text-align: left;
            text-transform: capitalize;
        }

        // Header row styles
        thead {
            background-color: $table-header-bg-color;
            color: $table-header-text-color;
        }

        // Alternating row colors
        tbody {
            tr:nth-child(even) {
                background-color: $table-row-even-bg-color;
            }

            tr:nth-child(odd) {
                background-color: $table-row-odd-bg-color;
            }
        }
    }
}