﻿.ng-cloak {
    display: none !important;
}


.right .modal-dialog,
.left .modal-dialog {
    transition: transform .25s ease-out;
    position: fixed;
    margin: auto;
    height: 100%;
}

.modal.right .modal-content,
.modal.left .modal-content {
    overflow-y: auto;
    border-radius: 0;
    border: none;
    height: 100%;
}

.right .modal-dialog {
    transform: translateX(10px);
    right: 0;
}

.left .modal-dialog {
    transform: translateX(-10px);
    left: 0;
}

.userguides {
    width: 100%
}

    .userguides img {
        width: 100%
    }

    .userguides h1 {
        font-size: 20px;
        font-weight: bold;
    }

    .userguides h2 {
        font-size: 15px;
    }

    .userguides h3 {
        font-size: 12px;
    }

pre {
    font-size: 20px;
    border: 2px solid grey;
    width: 100%;
    white-space: pre-wrap;
    word-break: keep-all
}

    pre code {
        width: 100%;
        padding: 10px;
        color: #333;
    }


.evo-pop.ui-widget.ui-widget-content.ui-corner-all {
    width: 80%;
}

.evo-cp-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.evo-pointer evo-colorind {
    margin: 10px;
}

.gjs-one-bg {
    background-color: #f5f5f5 !important;
    color: black !important;
}

.gjs-select option, .gjs-field-select option, .gjs-clm-select option, .gjs-sm-select option, .gjs-fields option, .gjs-sm-unit option {
    background-color: unset !important;
    color: unset !important;
}

.gjs-devices-c {
    padding: 2px 3px 0px 3px !important;
}

/* Spinner style */
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 12px solid #f3f3f3;
    border-top: 12px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#content {
    text-align: center;
    margin-top: 50px;
}

.table > :not(:first-child) {
    border-top: unset !important;
}

.sortable-tree {
    list-style-type: none;
    padding-left: 20px;
    margin: 0;
}

    .sortable-tree li {
        margin: 6px 0;
        position: relative;
    }


.placeholder {
    background-color: #ffe7ba;
    border: 2px dashed #ffa940;
    min-height: 40px;
    margin: 6px 0;
    border-radius: 6px;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

/* Hierarchy lines (optional) */
.sortable-tree li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -12px;
    width: 12px;
    height: 100%;
    border-left: 2px dashed #d3d3d3;
}

.sortable-tree li::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -12px;
    width: 12px;
    border-top: 2px dashed #d3d3d3;
}

.delete-btn {
    float: right;
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    padding: 0 8px;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .delete-btn:hover {
        background-color: #cf1322;
    }

.menu-set-form {
    margin-bottom: 20px;
}

    .menu-set-form label {
        display: inline-block;
        margin-right: 20px;
        font-weight: bold;
    }

    .menu-set-form input {
        padding: 6px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin-left: 6px;
    }

.menu-set-form {
    background: #f9fbfc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    max-width: 500px;
}

.form-row {
    margin-bottom: 15px;
}

.menu-set-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.menu-set-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

    .menu-set-form input:focus {
        border-color: #4a90e2;
        outline: none;
    }

.save-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .save-btn:hover {
        background-color: #3f9741;
    }

.sortable-tree {
    list-style: none;
    padding-left: 20px;
}

.item {
    background: #fff;
    padding: 8px 12px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #cce4f7;
    font-family: Arial, sans-serif;
    position: relative;
    font-size: 14px;
}

/*    .item:hover {
        background: #e9f5ff;
    }*/

.toggle {
    cursor: pointer;
    margin-right: 8px;
    font-weight: bold;
    color: #007baf;
    display: inline-block;
    width: 18px;
}

.no-toggle {
    display: inline-block;
    width: 18px;
    margin-right: 8px;
}

.delete-btn {
    float: right;
    border: none;
    background: #ff4d4d;
    color: white;
    font-size: 14px;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
}

    .delete-btn:hover {
        background: #e63939;
    }

.tree-controls {
    margin-bottom: 10px;
    max-width: 500px;
    float: right;
    text-align-last: right;
}

.control-btn {
    background-color: #007baf;
    color: white;
    border: none;
    padding: 6px 12px;
    margin-right: 6px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

    .control-btn:hover {
        background-color: #005f88;
    }

.menu-editor {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.menu-panel {
    flex: 1;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 8px;
    background: #fefefe;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    min-height: 400px;
}

.sortable-tree {
    list-style: none;
    padding-left: 0;
    min-height: 50px;
}

    .sortable-tree li {
        margin-bottom: 6px;
    }


.toggle {
    cursor: pointer;
    margin-right: 5px;
    font-weight: bold;
    font-size: 14px;
}

.no-toggle {
    display: inline-block;
    width: 15px;
}

.delete-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: crimson;
    cursor: pointer;
    margin-left: 10px;
}

.menu-placeholder {
    background: #dcedc8;
    border: 2px dashed #8bc34a;
    height: 36px;
}

/* Dashboard Switcher Styles */
.dashboard-switcher {
    position: absolute;
    right: 20px;
    top: 50px;
    z-index: 999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

    .dashboard-switcher:hover {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        transform: translateY(-2px);
    }

.dashboard-buttons {
    display: flex;
    gap: 0;
    background: transparent;
    border-radius: 50px;
}

.dashboard-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    outline: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .dashboard-btn:hover {
        color: rgba(255, 255, 255, 0.9);
    }

    .dashboard-btn.active {
        background: #1a1a1a;
        color: #e0e0e0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .dashboard-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        z-index: 0;
    }

    .dashboard-btn:hover::before {
        width: 300px;
        height: 300px;
    }

.dashboard-btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-btn-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.dashboard-btn:hover .dashboard-btn-icon {
    transform: scale(1.1);
}

.dashboard-btn.active .dashboard-btn-icon {
    animation: iconPulse 0.5s ease;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .dashboard-switcher {
        right: 10px;
        top: 60px;
    }

    .dashboard-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .dashboard-btn-icon {
        font-size: 14px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dashboard-switcher {
        background: linear-gradient(135deg, #434343 0%, #000000 100%);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    }

        .dashboard-switcher:hover {
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
        }

    .dashboard-btn.active {
        background: #1a1a1a;
        color: #e0e0e0;
    }
}

/* ========================================
   Right Navigation Panel (Page Content Column)
   Classic, professional styling for CRUD sidebar navigation
   Sticky positioning with proper scroll behavior
   ======================================== */

.pagecontentcolumn.columnright {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    overflow: visible;
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
    align-self: flex-start;
    z-index: 100;
    max-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
}

    .pagecontentcolumn.columnright h3.ui {
        margin: 0;
        padding: 16px 20px;
        background: #f8f9fa;
        color: #2c3e50;
        font-size: 16px;
        font-weight: 600;
        border-bottom: 2px solid #e9ecef;
        letter-spacing: 0.3px;
        flex-shrink: 0;
    }

    .pagecontentcolumn.columnright .ui.accordion {
        padding: 0;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        background: #ffffff;
    }

        .pagecontentcolumn.columnright .ui.accordion::-webkit-scrollbar {
            width: 8px;
        }

        .pagecontentcolumn.columnright .ui.accordion::-webkit-scrollbar-track {
            background: #f8f9fa;
            border-left: 1px solid #e9ecef;
        }

        .pagecontentcolumn.columnright .ui.accordion::-webkit-scrollbar-thumb {
            background: #cbd5e0;
            border-radius: 4px;
            border: 2px solid #f8f9fa;
        }

            .pagecontentcolumn.columnright .ui.accordion::-webkit-scrollbar-thumb:hover {
                background: #a0aec0;
            }

        .pagecontentcolumn.columnright .ui.accordion .item {
            margin: 0;
            border-bottom: 1px solid #f0f0f0;
        }

            .pagecontentcolumn.columnright .ui.accordion .item:last-child {
                border-bottom: none;
            }

        .pagecontentcolumn.columnright .ui.accordion .title {
            padding: 0 !important;
            margin: 0 !important;
            background: transparent !important;
            border: none !important;
        }

            .pagecontentcolumn.columnright .ui.accordion .title a {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 14px 20px;
                color: #4a5568;
                text-decoration: none;
                transition: all 0.2s ease;
                font-size: 14px;
                font-weight: 500;
                cursor: pointer;
                width: 100%;
                background: #ffffff;
                border-left: 3px solid transparent;
            }

                .pagecontentcolumn.columnright .ui.accordion .title a:hover {
                    background-color: #f7fafc;
                    color: #2d3748;
                    border-left-color: #cbd5e0;
                    text-decoration: none;
                }

                /* Active/Selected state - Keep highlighted */
                .pagecontentcolumn.columnright .ui.accordion .title.active a,
                .pagecontentcolumn.columnright .ui.accordion .title a.active,
                .pagecontentcolumn.columnright .ui.accordion .item.active .title a {
                    background: #edf2f7 !important;
                    color: #2c5282 !important;
                    font-weight: 600 !important;
                    border-left-color: #4299e1 !important;
                }

                    /* Keep active state even when hovering */
                    .pagecontentcolumn.columnright .ui.accordion .title.active a:hover,
                    .pagecontentcolumn.columnright .ui.accordion .title a.active:hover,
                    .pagecontentcolumn.columnright .ui.accordion .item.active .title a:hover {
                        background: #e2e8f0 !important;
                        color: #2c5282 !important;
                    }

                /* Expand/Collapse Icon Styling */
                .pagecontentcolumn.columnright .ui.accordion .title a i.icon,
                .pagecontentcolumn.columnright .ui.accordion .title a i.dropdown.icon {
                    margin: 0;
                    font-size: 12px;
                    width: 16px;
                    height: 16px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: transform 0.3s ease;
                    opacity: 0.6;
                    order: 2;
                    flex-shrink: 0;
                }

                /* Text content wrapper */
                .pagecontentcolumn.columnright .ui.accordion .title a > span,
                .pagecontentcolumn.columnright .ui.accordion .title a::before {
                    flex: 1;
                    order: 1;
                }

                .pagecontentcolumn.columnright .ui.accordion .title a:hover i.icon,
                .pagecontentcolumn.columnright .ui.accordion .title a:hover i.dropdown.icon {
                    opacity: 1;
                }

            /* Rotate icon when expanded/active */
            .pagecontentcolumn.columnright .ui.accordion .title.active a i.dropdown.icon,
            .pagecontentcolumn.columnright .ui.accordion .title.active a i.icon,
            .pagecontentcolumn.columnright .ui.accordion .item.active .title a i.dropdown.icon,
            .pagecontentcolumn.columnright .ui.accordion .item.active .title a i.icon {
                transform: rotate(90deg);
                opacity: 1;
                color: #4299e1;
            }

            /* Use chevron for better expand/collapse indication */
            .pagecontentcolumn.columnright .ui.accordion .title a i.dropdown.icon:before {
                content: "\f054" !important; /* fa-chevron-right */
                font-family: 'FontAwesome', sans-serif !important;
            }

        .pagecontentcolumn.columnright .ui.accordion .content {
            padding: 0 !important;
            margin: 0 !important;
            background: #fafafa;
        }

            /* Nested items styling (if any) */
            .pagecontentcolumn.columnright .ui.accordion .content .item {
                background: #fafafa;
            }

            .pagecontentcolumn.columnright .ui.accordion .content .title a {
                padding-left: 40px;
                font-size: 13px;
                background: #fafafa;
            }

                .pagecontentcolumn.columnright .ui.accordion .content .title a:hover {
                    background: #f0f0f0;
                }

                /* Active nested items */
                .pagecontentcolumn.columnright .ui.accordion .content .title.active a,
                .pagecontentcolumn.columnright .ui.accordion .content .title a.active {
                    background: #e2e8f0 !important;
                    color: #2c5282 !important;
                    font-weight: 600;
                    border-left-color: #4299e1 !important;
                }

        /* Divider between sections */
        .pagecontentcolumn.columnright .ui.accordion .item + .item {
            border-top: 1px solid #f0f0f0;
        }

        /* Badge/counter styling (if needed) */
        .pagecontentcolumn.columnright .ui.accordion .title a .badge {
            margin-left: auto;
            margin-right: 8px;
            background: #e2e8f0;
            color: #4a5568;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 600;
        }

        .pagecontentcolumn.columnright .ui.accordion .title.active a .badge,
        .pagecontentcolumn.columnright .ui.accordion .item.active .title a .badge {
            background: #bee3f8;
            color: #2c5282;
        }

    /* Ensure parent container supports sticky positioning */
    .pagecontentcolumn.columnright.ui.dividing.right {
        position: -webkit-sticky;
        position: sticky;
        top: 70px;
    }

/* Fix for flexbox parent containers */
.pagecontent {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Active indicator line (optional visual enhancement) */
.pagecontentcolumn.columnright .ui.accordion .title.active a::after,
.pagecontentcolumn.columnright .ui.accordion .item.active .title a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: #4299e1;
    border-radius: 3px 0 0 3px;
}

.pagecontentcolumn.columnright .ui.accordion .title a {
    position: relative;
}

/* Responsive Design for Page Content Column */
@media (max-width: 992px) {
    .pagecontentcolumn.columnright {
        position: relative;
        top: 0;
        margin: 15px 0;
        width: 100% !important;
        max-height: none;
    }

        .pagecontentcolumn.columnright .ui.accordion {
            max-height: 500px;
        }
}

@media (max-width: 768px) {
    .pagecontentcolumn.columnright {
        position: relative;
        top: 0;
    }

        .pagecontentcolumn.columnright h3.ui {
            padding: 12px 16px;
            font-size: 15px;
        }

        .pagecontentcolumn.columnright .ui.accordion {
            max-height: 400px;
        }

            .pagecontentcolumn.columnright .ui.accordion .title a {
                padding: 12px 16px;
                font-size: 13px;
            }

            .pagecontentcolumn.columnright .ui.accordion .content .title a {
                padding-left: 32px;
            }
}

/* Print Styles for Page Content Column */
@media print {
    .pagecontentcolumn.columnright {
        display: none;
    }
}

/* Focus styles for accessibility */
.pagecontentcolumn.columnright .ui.accordion .title a:focus {
    outline: 2px solid #4299e1;
    outline-offset: -2px;
}

/* Loading state (optional) */
.pagecontentcolumn.columnright .ui.accordion.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty state (optional) */
.pagecontentcolumn.columnright .ui.accordion:empty::before {
    content: "No items to display";
    display: block;
    padding: 20px;
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
}

/* Smooth scroll behavior */
.pagecontentcolumn.columnright .ui.accordion {
    scroll-behavior: smooth;
}

/* Shadow on scroll for better depth perception */
.pagecontentcolumn.columnright.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* DataFeed DetailedView Styles */
.summary-wrap {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    /*padding: 32px 24px;*/
    /*margin: 24px auto;*/
    max-width: 900px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.preload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.85);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.preloader {
    text-align: center;
}

.loadertextwrap {
    margin-top: 16px;
}

.loadingtext {
    display: inline-block;
    font-size: 1.2em;
    font-weight: 600;
    color: #ff9800;
    animation: fadein 1.2s infinite alternate;
}

@keyframes fadein {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.canceloperation {
    display: inline-block;
    margin-top: 12px;
    color: #d32f2f;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}

    .canceloperation:hover {
        color: #b71c1c;
        text-decoration: underline;
    }

.summary-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.summary-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-tab {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.summary-tab-list {
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    background: #f5f5f5;
    margin-right: 4px;
    transition: background 0.2s;
}

    .summary-tab-list.active {
        background: #ff9800;
        color: #fff;
    }

    .summary-tab-list:hover {
        background: #ffe0b2;
    }

.panelcontrols {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove {
    font-size: 1.2em;
    color: #d32f2f;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

    .remove:hover {
        background: #ffcdd2;
    }

.minmax {
    font-size: 1.2em;
    color: #757575;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.quickviewwrap {
    margin-top: 18px;
}

.summarytab-content {
    background: #fafafa;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

h4 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 18px;
}

.label-value-box {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.label-value-box-inner {
    flex: 1 1 220px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.label-style {
    font-weight: 500;
    color: #666;
    margin-bottom: 2px;
}

.link-content {
    color: #333;
    font-size: 1em;
    word-break: break-all;
}

/* DataFeed File Upload Panel Styles */
.upload-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.filename {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 1em;
    color: #333;
    width: 100%;
    max-width: 320px;
    margin-bottom: 8px;
    box-sizing: border-box;
    transition: border 0.2s;
}

.filename:focus, .filename:hover {
    border: 1.5px solid #ff9800;
}

.upload-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.button-orange {
    background: linear-gradient(90deg, #ff9800 80%, #ffa726 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(255,152,0,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.button-orange:hover {
    background: linear-gradient(90deg, #ffa726 80%, #ff9800 100%);
    box-shadow: 0 2px 8px rgba(255,152,0,0.16);
}




/* Sticky action column - Enhanced */
td.last-col,
th.last-col {
    position: sticky !important;
    right: 0 !important;
    background-color: #fff !important;
    z-index: 10 !important;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1) !important;
}

/* Header sticky column - must be above thead (z-index: 12) */
th.last-col {
    z-index: 13 !important;
    background-color: #f8f9fa !important;
}

/* Body sticky column */
td.last-col {
    z-index: 10 !important;
}

/* Row hover state */
tr.toggleMainRow:hover td.last-col {
    background-color: #f8f9fa !important;
}

/* Dropdown menu positioning */
td.last-col .dropdown-menu {
    z-index: 1000 !important;
}

/* Icon layout */
td.last-col .iconset {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* Dropdown button */
td.last-col .dropdown {
    position: relative !important;
}

/* Boolean Badge Styling */
.boolean-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

    .boolean-badge i {
        font-size: 14px !important;
    }

/* True/Yes State - Success Green */
.boolean-badge-true {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: 2px solid #059669 !important;
}

    .boolean-badge-true i {
        color: #ffffff !important;
    }

    .boolean-badge-true:hover {
        background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
        box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3) !important;
        transform: translateY(-1px) !important;
    }

/* False/No State - Danger Red */
.boolean-badge-false {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    border: 2px solid #dc2626 !important;
}

/* Identity Badge Styling */
.identity-badge {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.identity-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.identity-badge gfl-text-avatar {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
}

.identity-info {
    display: flex !important;
    flex-direction: column !important;
}

.identity-name {
    font-weight: 600 !important;
    color: #1e293b !important;
    font-size: 14px !important;
}

.identity-details {
    font-size: 12px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
}

.boolean-badge-false i {
    color: #ffffff !important;
}

.boolean-badge-false:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Currency Styling */
td[style*="text-align:right"] span {
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
    color: #047857 !important;
    font-size: 14px !important;
}

/* Date/DateTime Badge Styling */
td span[title*="date"], td span[ng-bind*="date"] {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    color: #374151 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Avatar Styling Enhancement */
gfl-text-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
}

    gfl-text-avatar:hover {
        transform: scale(1.1) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    }

/* Workflow Badge Enhancement */
.badge.badge-primary {
    padding: 6px 12px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.2s ease !important;
}

    .badge.badge-primary:hover {
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4) !important;
    }

/* Action Links Styling */
td span.excludeGridStyle a {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

    td span.excludeGridStyle a:hover {
        background: #eff6ff !important;
        color: #1e40af !important;
        transform: translateX(2px) !important;
    }

    /* JSON Badge Styling */
    td span.excludeGridStyle a.fa-eye {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
        color: white !important;
        border-radius: 6px !important;
        margin-left: 6px !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 2px 4px rgba(6, 182, 212, 0.3) !important;
        cursor: pointer !important;
    }

        td span.excludeGridStyle a.fa-eye:hover {
            transform: scale(1.1) !important;
            box-shadow: 0 4px 8px rgba(6, 182, 212, 0.4) !important;
        }

    /* HTML Viewer Badge Styling */
    td span.excludeGridStyle a.fa-html5 {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
        color: white !important;
        border-radius: 6px !important;
        margin-left: 6px !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3) !important;
        cursor: pointer !important;
    }

        td span.excludeGridStyle a.fa-html5:hover {
            transform: scale(1.1) !important;
            box-shadow: 0 4px 8px rgba(249, 115, 22, 0.4) !important;
        }

/* JSON Array Badge Styling */
.gridstatus {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%) !important;
    border: 1px solid #9ca3af !important;
    border-radius: 8px !important;
    color: #1f2937 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-right: 4px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
}

    .gridstatus:hover {
        background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    /* Grid Status - Green */
    .gridstatus.green {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
        border: 1px solid #059669 !important;
        color: #ffffff !important;
    }

        .gridstatus.green:hover {
            background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
            box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3) !important;
        }

    /* Grid Status - Red */
    .gridstatus.red {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
        border: 1px solid #dc2626 !important;
        color: #ffffff !important;
    }

        .gridstatus.red:hover {
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
            box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3) !important;
        }

    /* Grid Status - Yellow */
    .gridstatus.yellow {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
        border: 1px solid #d97706 !important;
        color: #ffffff !important;
    }

        .gridstatus.yellow:hover {
            background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
            box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3) !important;
        }

/* Tooltip Styling */
.viewTooltip {
    position: relative !important;
    cursor: help !important;
    border-bottom: 1px dotted #9ca3af !important;
    transition: all 0.2s ease !important;
}

    .viewTooltip:hover {
        border-bottom-color: #3b82f6 !important;
        color: #1e40af !important;
    }

/* Image Icon Styling */
.grid-image-icon {
    border-radius: 6px !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
}

    .grid-image-icon:hover {
        transform: scale(1.15) !important;
        border-color: #3b82f6 !important;
        box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2) !important;
    }

/* Checkbox Styling Enhancement */
.checkboxwrap input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

    .checkboxwrap input[type="checkbox"]:checked {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
        border-color: #059669 !important;
    }

/* Number Display Styling */
.displayFlexContentRight span {
    font-family: 'Courier New', monospace !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-size: 14px !important;
    padding: 2px 6px !important;
    background: #f9fafb !important;
    border-radius: 4px !important;
}

/* General Text Content Styling */
td span.excludeGridStyle {
    line-height: 1.5 !important;
    color: #374151 !important;
}

/* Hover effect for all table cells */
tr.toggleMainRow:hover td {
    background-color: #f9fafb !important;
    transition: background-color 0.15s ease !important;
}

/* Icon column specific styling */
.icon-column {
    text-align: center !important;
    vertical-align: middle !important;
}

/* Status column styling */
.statuscolumn {
    width: 8px !important;
    border-radius: 4px 0 0 4px !important;
    transition: all 0.2s ease !important;
}

tr.toggleMainRow:hover .statuscolumn {
    width: 10px !important;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1) !important;
}


