﻿/**
    Include logo specific css class
    Version No: 1.0.0.101
*/
/**
Light Blue primary Font color: #9edbfb
Light Blue secondary font color: #0176d3
Light Blue Tritiary font Color: #0d9dda
Light Blue tetra font color: #d0efff
        #02BFE7
Light-dark banner color: #0071bc

primary bg-color: #0d284f
secondary bg-color: #001638
tritiary bg-color: #022d60
Tetra bg-color:#3b7ddd
   container - util-wrapper #205493 or #0071bc or #d4e5f7
*/
/* Extended :root section include Blue Homer specific variables.*/
:root {
    interpolate-size: allow-keywords;
    --bh-primary-color: #153d77;
    --bh-primary-bg-color: #153d77;
    --bh-secondary-bg-color: #0d284f;
    --bh-tritiary-bg-color: #2ecc71;
    --bh-primary-lite-color: #9edbfb;
    --bh-secondary-lite-color: #0176d3;
    --bh-tritiary-lite-color: #0d9dda;
    --bh-button-bg-color: #0d274e;
    --bh-button-hover-bg-color: #3b7ddd;
    --bh-primary-font-color: #fff;
}

* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f3f6f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.header-container {
    /* background-color: #3b7ddd; */
    padding: 50px 0;
    color: #fff;
    height: 120px;
    /* text-align: center; */
    position: relative;
}

.content {
    position: relative;
    margin-top: 17px;
    padding: 0 20px;
}

.header {
    margin-top: 3rem;
    margin-bottom: 0;
    padding-bottom: 16px;
}

.custom-container {
    background-color: var(--bs-primary);
    /* Bootstrap primary color */
    border-radius: 15px;
    /* Adjust the radius to make the corners more or less rounded */
    width: 300px;
    /* Set a specific width for the rectangle */
    height: 150px;
    /* Set a specific height for the rectangle */
    padding: 20px;
    /* Optional: Add some padding inside the container */
}

@media (min-width: 1440px) {
    .container-fluid {
        width: 100%;
    }
}

.sidebar {
    font-family: Jost;
    font-size: 18px;
}

    .sidebar .sidebar-header {
        font-size: 16px;
    }

/* All elements that have a class ending with '-icon' will inherit .icon properties */
[class*=-icon] {
    width: 24px;
    height: 24px;
}

/** Blue Homer Logo reference Begin */
.logo-container {
    display: grid;
    grid-template-columns: 32px auto;
    /* First column for the logo, second for the name */
    align-items: end;
    /* Align both items to the bottom -vertical alignment */
    gap: 10px;
    /* Optional: Space between the logo and the name */
}

.logo-image {
    width: 40px;
    height: 40px;
}

#profile-img {
    color: var(--bh-primary-bg-color);
    font-size: 42px;
}

.logo-name {
    font-family: "Ubuntu", sans-serif;
    font-size: 32px;
    /* Adjust font size as needed */
    line-height: 40px;
    /* Align text vertically with the logo */
}

/** ./ Blue Homer Logo reference End */
/** Blue Homer Color Definitions Begin */
/** ./ Blue Homer Color Definitions End */
/* DOM element rendering detection
 * https://davidwalsh.name/detect-node-insertion
 */
@keyframes chartjs-render-animation {
    from {
        opacity: 0.99;
    }

    to {
        opacity: 1;
    }
}

.chartjs-render-monitor {
    animation: chartjs-render-animation 0.001s;
}

/*
 * DOM element resizing detection
 * https://github.com/marcj/css-element-queries
 */
.chartjs-size-monitor,
.chartjs-size-monitor-expand,
.chartjs-size-monitor-shrink {
    position: absolute;
    direction: ltr;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    z-index: -1;
}

    .chartjs-size-monitor-expand > div {
        position: absolute;
        width: 1000000px;
        height: 1000000px;
        left: 0;
        top: 0;
    }

    .chartjs-size-monitor-shrink > div {
        position: absolute;
        width: 200%;
        height: 200%;
        left: 0;
        top: 0;
    }

.search-container {
    background-color: transparent;
    padding: 36px 0 0px 0;
    color: #9edbfb;
    height: 120px;
    text-align: left;
    position: relative;
    display: flex;
    justify-content: center;
}

.search-emb-container {
    background-color: #3b7ddd;
    border-radius: 5px;
    padding: 30px 0;
    color: #9edbfb;
    height: 120px;
    text-align: left;
    position: relative;
}

.search-bar {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 10px 0;
    margin-bottom: 10px;
    width: 90%;
    height: 60%;
    position: relative;
}

    .search-bar label {
        display: inline-block;
        font-family: Rubik, sans-serif;
        margin-bottom: 5px;
        font-size: 14px;
        font-size: 0.875rem;
        font-weight: bold;
        line-height: 18px;
        line-height: 1.125rem;
        color: #fff;
    }

    .search-bar input {
        width: 100%;
        padding: 20px 50px 20px 20px;
        font-size: 24px;
        background-color: transparent;
        border: none;
        border-bottom: 1.5px solid #fff;
        color: #fff;
        outline: none;
        text-align: left;
        background: none;
        font-family: Montserrat, Arial, sans-serif;
        font-size: 50px;
        font-size: 2.125rem;
        font-weight: bold;
        height: auto;
        line-height: 56px;
        line-height: 3.5rem;
        margin: 0 0 5px;
        padding-right: 52px !important;
        padding: 0;
    }

        .search-bar input::-moz-placeholder {
            color: #fff;
        }

        .search-bar input::placeholder {
            color: #fff;
        }

    .search-bar .fa-magnifying-glass {
        position: absolute;
        right: 20px;
        font-size: 48px;
        color: #fff;
        cursor: pointer;
    }

.search-filter {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 66px;
    padding: 0;
    line-height: 0;
    top: -5px;
    position: relative;
}

.search-filter-tray {
    position: absolute;
    width: 840px;
    height: 300px;
    background-color: rgba(13, 39, 78, 0.8705882353);
    border: 1px solid #868484;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    bottom: -256px;
    margin: 0 auto;
    z-index: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    border-radius: 0px 0px 10px 10px;
}

    .search-filter-tray.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .search-filter-tray .fields {
        display: flex;
        min-height: 100%;
        flex-direction: column;
        justify-content: space-between;
    }

    .search-filter-tray .search-filter-submit {
        background-color: #fff;
        color: #0d274e;
        padding: 9px 15px;
        font-size: 20px;
        font-weight: 600;
        max-width: -moz-fit-content;
        max-width: fit-content;
        margin-left: auto;
    }

.toggle-button-container {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

    .toggle-button-container .active {
        background-color: #B3D7EF !important;
        color: #001d35 !important;
    }

.list-view thead {
    position: sticky;
    top: 0;
    background-color: white; /* Ensures the header has a background when scrolling */
    z-index: 10; /* Keeps the header above other table content when scrolling */
    /* box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);  */
}

.list-view-button,
.grid-view-button {
    margin: 20px 0 !important;
    width: 55px !important;
    min-width: 55px !important;
    height: 32px !important;
    min-height: 32px !important;
    font-size: 13.3px !important;
    border: 1px solid #747775 !important;
    padding: 8px 15px;
}

    .list-view-button svg,
    .grid-view-button svg {
        color: #001d35 !important;
    }

    .list-view-button:hover,
    .grid-view-button:hover {
        color: #001d35 !important;
        background: rgba(31, 31, 31, 0.1725490196) !important;
    }

        .list-view-button:hover.active,
        .grid-view-button:hover.active {
            background: rgba(179, 215, 239, 0.7882352941) !important;
        }

.list-view-button {
    padding: 0px 10px 0px 15px !important;
    border-radius: 40px 0 0 40px !important;
    border-right: 0 !important;
}

.grid-view-button {
    padding: 0px 15px 0px 10px !important;
    border-radius: 0 40px 40px 0 !important;
}

.sort-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .sort-filter-container .dropdown {
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin-right: 10px;
    }

    .sort-filter-container .button {
        padding: 10px 20px;
        font-size: 16px;
        border: 1px solid #007bff;
        border-radius: 4px;
        background-color: #007bff;
        color: #fff;
        cursor: pointer;
    }

.search-result-container {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ccc;
    padding: 20px;
    margin: 20px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-result-title-container {
    padding: 0px 24px 0 24px;
}

.search-result-title-typename {
    padding: 0px 24px 0 24px;
}

.search-result-content {
    width: 70%;
}

.search-result-links {
    width: 20%;
    text-align: right;
}

.search-result-title {
    font-size: 24px;
    color: #3b7ddd;
}

.search-result-description {
    font-size: 16px;
    color: #666;
}

.quick-links {
    font-size: 14px;
    color: #007bff;
    margin-top: 10px;
}

    .quick-links a {
        display: block;
        color: #007bff;
        text-decoration: none;
        margin-top: 5px;
    }

/** Blue Homer Pagination begin. */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* margin: 20px 0; */
}

    .pagination button,
    .pagination a,
    .pagination span {
        background-color: #fff;
        color: #636363;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px;
        margin: 0 5px;
        min-width: 20px;
        padding: 0 10px;
        height: 30px;
        border-radius: 4px;
        border: solid 1px #E6E6E6;
        text-decoration: none;
        position: relative;
        font-family: Helvetica, Arial, sans-serif;
    }

    .pagination button {
        padding: 10px;
        margin: 0 5px;
        cursor: pointer;
    }

        .pagination button[disabled] {
            background-color: #e9ecef;
            cursor: not-allowed;
        }

            .pagination button[disabled].pagination-button {
                background: var(--bh-button-bg-color);
                color: #fff;
            }

    .pagination span {
        pointer-events: none;
    }

    .pagination svg {
        height: 24px;
        width: 24px;
    }

    .pagination a:hover {
        background-color: #93dafc;
    }

    .pagination a.page-active {
        background-color: #0056b3;
        color: #fff;
    }

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #0d274e;
    border-color: #0d274e;
}

/** ./ Blue Homer Pagination End. */
.results-info {
    margin-top: 20px;
    color: #666;
}

/** Blue Homer generic control classes begin */
.pageitems-select {
    width: 50px;
    height: 40px;
    overflow-y: auto;
}

    .pageitems-select option {
        max-height: 30px;
    }

    .pageitems-select[size] {
        max-height: 150px;
    }

/** ./ Blue Homer generic control classes end */
/*** Blue Homer Dataset Search Result Begin **/
.dataset-result-header-container {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    margin-bottom: 5px;
}

.dataset-result-header-noofpages {
    font-family: inherit;
    font-size: inherit;
    display: grid;
    grid-column: 1/span 2;
    align-items: center;
}

    .dataset-result-header-noofpages label {
        display: flex;
        gap: 7px;
    }

.dataset-result-container {
    display: grid;
    grid-template-columns: 80% 20%;
    /* Two primary columns - Title Container and actions */
    grid-template-rows: auto auto;
    /* Two primary rows   - Title Container and Metadata container*/
    gap: 1px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 auto;
    border: 1px solid #f1f1f1;
}

.dataset-result {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 1px;
    font-family: inherit;
    /* Inherits from body */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px;
    border: 1px solid #f1f1f1;
    text-decoration: none;
    color: unset;
}

    .dataset-result:hover {
        text-decoration: none;
        color: unset;
    }

        .dataset-result:hover .toggle-metadata {
            opacity: 1;
            /* Show button on hover */
            pointer-events: auto;
        }

.dataset-header {
    display: grid;
    grid-template-columns: 75% 7% 18%;
    align-items: center;
    gap: 10px;
}

.dataset-title {
    font-weight: 400;
    font-size: 24px;
    font-family: Arial, Jost, Montserrat, sans-serif;
    text-align: center;
    justify-self: left;
    color: #3b7ddd;
}

    .dataset-title a {
        color: #3b7ddd;
        text-decoration: none;
    }

        .dataset-title a:hover {
            text-decoration: none;
        }

.dataset-type {
    font-size: 1em;
    color: #555;
    font-family: inherit;
    font-size: 14px;
    justify-self: left;
    text-align: center;
    color: #212121;
    font-weight: bold;
    line-height: 18px;
    line-height: 1.125rem;
    text-transform: uppercase;
    border: none;
}

.dataset-id {
    font-size: 0.9em;
    color: #888;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    font-size: 0.875rem;
    justify-self: left;
    text-align: center;
    color: #212121;
    font-weight: bold;
    line-height: 18px;
    line-height: 1.125rem;
    text-transform: uppercase;
    border: none;
}

.dataset-content {
    display: grid;
    grid-template-columns: 2fr 18%;
    gap: 10px;
}

.dataset-description {
    font-size: 1em;
    line-height: 1.5em;
    justify-self: left;
}

.dataset-quick-links {
    color: #0071bc;
    display: grid;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    justify-self: left;
    line-height: 22px;
    line-height: 1.375rem;
    margin-bottom: 8px;
    padding: 0 0 0 8px;
    text-align: left;
    white-space: nowrap;
    gap: 5px;
    align-items: start;
    border-left: 1px solid #f1f1f1;
}

    .dataset-quick-links a {
        display: block;
        font-size: 0.9em;
        color: #212121;
        text-decoration: none;
    }

        .dataset-quick-links a:hover {
            text-decoration: underline;
        }

.dataset-result-title-container {
    font-family: inherit;
    /* Inherits from body */
    display: grid;
    grid-column: 1;
    grid-template-columns: 25% 75%;
    border: none;
    /*1px solid red; /* Border around each column */
}

.dataset-result-title-header-container {
    font-family: inherit;
    /* Inherits from body */
    display: grid;
    grid-column: 1;
    /* Column 1 of title container */
    grid-row: 1;
    /* Row 1 of title container */
    grid-template-rows: 1fr 1fr;
    border: none;
    /*1px solid blue; /* Border around each column */
}

.dataset-result-title-container-subtitle {
    display: grid;
    grid-row: 1/span 1;
    /* Row 1 of title container */
    margin-bottom: 7px;
    padding-left: 28px;
    font-family: inherit;
    /* Inherits from body */
    font-size: 14px;
    font-size: 0.875rem;
    color: #212121;
    font-weight: bold;
    line-height: 18px;
    line-height: 1.125rem;
    text-transform: uppercase;
    border: none;
}

.dataset-result-title-container-title {
    display: grid;
    grid-row: 2/span 1;
    /* Row 2 of secondary-col-1b */
    border: none;
    color: #0071bc;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 0;
    margin-left: 25px;
    max-height: 200px;
    min-height: 26px;
    padding: 0;
    text-align: left;
    overflow: hidden;
    word-wrap: break-word;
}

.dataset-result-title-container-desc {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    display: -webkit-box;
    overflow-wrap: break-word;
    /* Allows long words to break */
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
    /* 1px solid yellow; /* Border around each column */
}

.dataset-metadata-container {
    /** original*/
    display: grid;
    grid-column: 1;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    border-Top: 1px solid #f1f1f1;
}

#dataset-container.grid-view {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

    #dataset-container.grid-view .dataset-result {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 33.33%;
        max-width: 33.33%;
        height: auto;
        margin: 0;
        flex: 1 1 31.6%;
        box-sizing: border-box;
        border-radius: 0px 25px 25px 25px;
        min-height: 300px;
        padding-top: 10px;
    }

        #dataset-container.grid-view .dataset-result .dataset-header {
            display: flex;
            flex-direction: column;
            align-items: unset;
            margin-bottom: 15px;
        }

            #dataset-container.grid-view .dataset-result .dataset-header .data-title-grid h2 {
                font-size: 20px;
            }

            #dataset-container.grid-view .dataset-result .dataset-header .dataset-type {
                display: flex;
                align-items: center;
                flex-direction: row;
                justify-content: space-between;
                font-size: 14px;
                text-transform: initial;
                color: #5b616a;
            }

                #dataset-container.grid-view .dataset-result .dataset-header .dataset-type hr {
                    box-sizing: border-box;
                    height: 0px;
                    overflow: visible;
                    width: 75%;
                    border-bottom: 1px solid #5b616a;
                }

        #dataset-container.grid-view .dataset-result .last-modified {
            font-size: 14px;
            color: #5b616a;
        }

            #dataset-container.grid-view .dataset-result .last-modified strong {
                font-size: 16px;
                font-weight: 700;
            }

        #dataset-container.grid-view .dataset-result:hover {
            color: #fff;
            background: #153D77;
        }

            #dataset-container.grid-view .dataset-result:hover hr {
                color: #51A2FD;
                border-color: #51A2FD;
            }

            #dataset-container.grid-view .dataset-result:hover .data-title-grid h2 {
                color: #fff;
            }

            #dataset-container.grid-view .dataset-result:hover .dataset-type {
                color: #fff !important;
            }

            #dataset-container.grid-view .dataset-result:hover .last-modified {
                color: #f1efef !important;
            }

.metadata-item {
    font-size: 0.9em;
}

    .metadata-item strong {
        font-weight: bold;
    }

.dataset-metadata-container-toggle {
    align-items: center;
    animation-timeline: auto;
    animation-range-start: normal;
    animation-range-end: normal;
    color: rgb(0, 113, 188);
    cursor: pointer;
    display: flex;
    flex-direction: row;
    height: 32px;
    justify-content: center;
    position: relative;
    text-align: center;
    width: calc(100% - 200px);
    animation: 0.5s ease 0s 1 normal none running fadein;
}

.toggle-metadata {
    display: block;
    margin: 0 auto;
    background-color: #e2f3f8;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    text-align: center;
    justify-content: center;
    opacity: 0;
    /* Hidden by default */
    pointer-events: none;
    /* Disable click until visible */
    transition: opacity 0.3s ease;
    width: 20%;
    animation: fadein 0.5s;
    margin-bottom: 10px;
    /*--*/
}

    .toggle-metadata:hover {
        background-color: #0056b3;
    }

.dataset-metadata {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    /* Multiple columns */
    gap: 10px;
    padding: 10px;
    border-top: 1px solid #f1f1f1;
}

.filter-sort-container {
    display: flex;
}

    .filter-sort-container .filter-button-wrapper,
    .filter-sort-container .sort-button-wrapper {
        position: relative;
    }

    .filter-sort-container .filter-tray,
    .filter-sort-container .sort-tray {
        position: absolute;
        width: 250px;
        height: 250px;
        background-color: rgba(13, 39, 78, 0.8705882353);
        border: 1px solid #868484;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 10px;
        right: 5px;
        bottom: -250px;
        margin: 0 auto;
        z-index: 1;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        border-radius: 0px 0px 10px 10px;
    }

        .filter-sort-container .filter-tray.active,
        .filter-sort-container .sort-tray.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .filter-sort-container .filter-tray .fields,
        .filter-sort-container .sort-tray .fields {
            display: flex;
            min-height: 100%;
            flex-direction: column;
            justify-content: space-between;
        }

        .filter-sort-container .filter-tray .search-filter-submit,
        .filter-sort-container .filter-tray .filter-submit,
        .filter-sort-container .filter-tray .sort-submit,
        .filter-sort-container .sort-tray .search-filter-submit,
        .filter-sort-container .sort-tray .filter-submit,
        .filter-sort-container .sort-tray .sort-submit {
            background-color: #fff;
            color: #0d274e;
            padding: 9px 15px;
            font-size: 18px;
            font-weight: 600;
            max-width: -moz-fit-content;
            max-width: fit-content;
            margin-left: auto;
        }

.meta-col-1,
.meta-col-2,
.meta-col-3,
.meta-col-4,
.meta-col-5 {
    padding: 10px;
    border: none;
}

.metadata-toggle-container {
    display: grid;
    /* Enable grid layout */
    grid-column: 1;
    align-items: center;
    animation: fadein 0.5s;
    background-color: #e2f3f8;
    color: #0071bc;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    height: 32px;
    justify-content: center;
    position: relative;
    text-align: center;
    width: 100%;
}

.dataset-result-container-actions {
    grid-column: 2;
    grid-row: 1/span 3;
    border-left: 1px solid #f1f1f1;
    flex: 0 0 200px;
    padding: 24px;
    /*border: none; /*1px solid black; /* Border around each column */
}

.quick-link {
    color: #0071bc;
    display: flex;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    justify-content: left;
    line-height: 22px;
    line-height: 1.375rem;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    white-space: nowrap;
}

.expand-btn {
    grid-column: span 2;
    /* Button spans across columns */
    padding: 10px;
    margin-top: 10px;
}

/** ../Blue Homer dataset Search Result End */
/*** Blue Homer dataset detail Begin */
.util-wrapper {
    background: #F5F4F4;
    margin: -12px -20px 0 -20px;
}

.util-container {
    display: flex;
    justify-content: space-around;
}

    .util-container .util-btn {
        background: #fff;
        color: var(--bh-button-bg-color);
        border: 1px solid rgba(21, 61, 119, 0.2392156863);
        padding: 10px 20px;
        display: flex;
        gap: 10px;
        align-items: center;
        border-radius: 5px;
        transition: all 0.3s;
    }

        .util-container .util-btn i {
            font-size: 20px;
            font-weight: normal;
        }

        .util-container .util-btn:hover, .util-container .util-btn.active {
            background: var(--bh-button-bg-color);
            color: #fff;
        }

/* .dataset-details-page-menu-container {
  position: fixed;
  margin-top: 75px;
  margin-left: 30px;
}
.dataset-details-page-menu-container .dataset-details-page-menu {
  margin: 0;
  padding: 0;
}
.dataset-details-page-menu-container .dataset-details-page-menu li {
  list-style: none;
  padding: 10px 0;
}
.dataset-details-page-menu-container .dataset-details-page-menu li a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
}
.dataset-details-page-menu-container .dataset-details-page-menu li a.active {
  padding-left: 20px;
} */




/* Container for the menu */
.dataset-details-page-menu-container {
    position: fixed;
    margin-left: 20px;
    background-color: #f8f9fa; /* Light background color */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Menu list styling */
.dataset-details-page-menu {
    margin: 0;
    padding: 0;
    position: relative;
}

    /* Menu item styling */
    .dataset-details-page-menu li {
        list-style: none;
        padding: 12px 0;
        position: relative;
    }

        /* Connector lines between steps */
        .dataset-details-page-menu li:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 12px;
            top: 33.5px;
            height: 65%;
            width: 2px;
            background-color: #ccc; /* Light gray line */
            z-index: 1;
        }

        /* Step icon styling */
        .dataset-details-page-menu li .step-icon {
            display: inline-block;
            width: 24px;
            height: 24px;
            line-height: 24px;
            text-align: center;
            border-radius: 50%;
            border: 1px solid #ccc;
            background-color: white;
            color: #000;
            margin-right: 10px;
            font-size: 14px;
            font-weight: bold;
            transition: all 0.3s ease-in-out;
            position: relative;
            z-index: 1000;
        }

        /* Step text styling */
        .dataset-details-page-menu li .step-text {
            color: #000;
            font-size: 16px;
            transition: color 0.3s ease-in-out;
        }

        /* Active step styling */
        .dataset-details-page-menu li a.active .step-icon {
            background-color: var(--bh-primary-bg-color); /* Your theme color */
            border-color: var(--bh-primary-bg-color);
            color: white;
            transform: scale(1.2);
        }



        .dataset-details-page-menu li a.active .step-text {
            color: var(--bh-primary-bg-color);
            font-weight: bold;
        }

        /* Hover effect */
        .dataset-details-page-menu li a:hover .step-icon {
            background-color: #ccc;
        }

        .dataset-details-page-menu li a:hover .step-text {
            color: var(--bh-primary-bg-color);
        }

/* Smooth scrolling effect */
html {
    scroll-behavior: smooth;
}

/* Section Styling */
/* section {
  padding: 80px;
  min-height: 100vh;
  border-bottom: 1px solid #ddd;
}
 */











.dataset-crud-container ul {
    margin: 0;
    padding: 0;
}

    .dataset-crud-container ul li {
        list-style: none;
    }

.dataset-crud-container .crud-btn-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .dataset-crud-container .crud-btn-container h1 {
        margin-bottom: 0;
    }

    .dataset-crud-container .crud-btn-container .crud-btn {
        background: none;
        border: 1px solid rgba(21, 61, 119, 0.2392156863);
        color: #153D77;
        outline: none;
        font-size: 21px;
        border-radius: 50%;
        padding: 8px 15px;
        transition: all 0.3s;
    }

        .dataset-crud-container .crud-btn-container .crud-btn:hover {
            background: rgba(21, 61, 119, 0.1607843137);
        }

.dataset-crud-container .btn-primary {
    margin-top: 30px;
}

.dataset-crud-container #paragraphTextarea,
.dataset-crud-container #noteTextarea {
    min-height: 200px;
}
/* .dataset-crud-container .featured-resources li {
  padding: 10px 25px;
  border-left: 4px solid #153d77;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dataset-crud-container .related-resources li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 25px 0;
  border-bottom: 1px solid rgba(139, 139, 139, 0.4705882353);
  margin-bottom: 20px;
}
.dataset-crud-container .related-resources li .caption {
  display: inherit;
  grid-column-start: 1;
  grid-column-end: 3;
  margin-bottom: 5px;
  font-size: 15px;
}
.dataset-crud-container .related-resources li .title h5 {
  font-size: 18px;
  font-weight: 400;
}
.dataset-crud-container .related-resources li .link {
  text-align: right;
} */


#resourceContainer {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 20px;
    max-height: 300px; /* Set the max height as needed */
    overflow-y: auto; /* Enables vertical scrolling */
    padding-right: 10px;
}



    /* Styling the Scrollbar */
    #resourceContainer::-webkit-scrollbar {
        width: 6px;
    }

    #resourceContainer::-webkit-scrollbar-thumb {
        background-color: var(--bh-primary-bg-color);
        border-radius: 10px;
    }

    #resourceContainer::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }


.featured-resources li {
    padding: 10px 25px;
    border-left: 4px solid #153d77;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.related-resources li {
    padding: 10px 25px;
    border-left: 4px solid #153d77;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.related-resources li {
    border-bottom: 1px solid #8b8b8b78;
    display: flex;
    flex-direction: column;
}

.related-resources .link {
    text-align: right;
}


.dataset-crud-container .meta-container {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
}

    .dataset-crud-container .meta-container h2,
    .dataset-crud-container .meta-container h4 {
        margin-bottom: 25px;
    }

    .dataset-crud-container .meta-container .tag-container {
        margin-bottom: 25px;
    }

        .dataset-crud-container .meta-container .tag-container li {
            display: inline-block;
            margin: 0 9px 9px 0;
            min-height: 30px;
        }

            .dataset-crud-container .meta-container .tag-container li a {
                background-clip: padding-box;
                border: 1px solid #0071bc;
                border-radius: 50px;
                border-radius: 3.125rem;
                font-size: 16px;
                font-size: 1rem;
                line-height: 26px;
                line-height: 1.625rem;
                padding: 2px 16px;
                text-decoration: none !important;
            }

    .dataset-crud-container .meta-container #versionsContainer {
        margin-bottom: 25px;
    }

        .dataset-crud-container .meta-container #versionsContainer #showMoreLink,
        .dataset-crud-container .meta-container #versionsContainer #showLessLink {
            float: right;
        }

    .dataset-crud-container .meta-container .data-version-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-height: 175px;
        overflow-y: auto;
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
        margin-bottom: 10px;
        padding-right: 10px;
    }

        /* Styling the Scrollbar */
        .dataset-crud-container .meta-container .data-version-container::-webkit-scrollbar {
            width: 6px;
        }

        .dataset-crud-container .meta-container .data-version-container::-webkit-scrollbar-thumb {
            background-color: var(--bh-primary-bg-color);
            border-radius: 10px;
        }

        .dataset-crud-container .meta-container .data-version-container::-webkit-scrollbar-track {
            background-color: #f1f1f1;
        }



        .dataset-crud-container .meta-container .data-version-container li {
            font-size: 21px;
        }


    /* .dataset-crud-container .meta-container .related-dataset-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item {
  min-height: 125px;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card {
  display: flex;
  margin: 0;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 0px 25px 25px 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card .card-top label {
  font-size: 13px;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card .card-top hr {
  width: calc(100% - 60px);
  border-bottom: 1px solid;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card .captions {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  justify-content: space-between;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card .captions h5 {
  font-size: 20px;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card:hover {
  color: #fff;
  background: #153D77;
}
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card:hover h5,
.dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card:hover h6 {
  color: #fff;
} */

    /* .select2-container .select2-selection--multiple {
  min-height: 38px;
  width: 400px;
} */





    .dataset-crud-container .meta-container .related-dataset-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; /* 3 columns layout */
        gap: 20px;
        /* Enable scrolling */
        max-height: 320px; /* Adjust based on preference */
        overflow-y: auto;
        padding-right: 10px; /* Prevents content from hiding behind the scrollbar */
    }

        /* Custom scrollbar */
        .dataset-crud-container .meta-container .related-dataset-container::-webkit-scrollbar {
            width: 6px;
        }

        .dataset-crud-container .meta-container .related-dataset-container::-webkit-scrollbar-thumb {
            background-color: #153D77;
            border-radius: 4px;
        }

        .dataset-crud-container .meta-container .related-dataset-container::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        /* Card Styling */
        .dataset-crud-container .meta-container .related-dataset-container .related-dataset-item {
            min-height: 125px;
        }

            .dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card {
                display: flex;
                margin: 0;
                padding: 10px 20px;
                box-sizing: border-box;
                border-radius: 0px 25px 25px 25px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                text-decoration: none;
            }

                .dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card:hover {
                    color: #fff;
                    background: #153D77;
                }

                    .dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card:hover h5,
                    .dataset-crud-container .meta-container .related-dataset-container .related-dataset-item .card:hover h6 {
                        color: #fff;
                    }




.Email-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* Adds spacing between elements */
}

.contact-email {
    flex: 1;
    text-align: left;
    min-width: 250px; /* Ensures proper alignment on small screens */
}

    .contact-email a {
        font-size: 14px;
    }

.tags-container {
    flex: 1;
    text-align: left;
    min-width: 250px;
}

.tag-container {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 10px; /* Adds space between tags */
}

    .tag-container li a {
        font-size: 14px;
        background-clip: padding-box;
        border: 1px solid #0071bc;
        border-radius: 50px;
        border-radius: 3.125rem;
        text-decoration: none;
    }

        .tag-container li a:hover {
            background-clip: padding-box;
            border: 1px solid var(--bh-button-bg-color);
            border-radius: 50px;
            border-radius: 3.125rem;
            text-decoration: none;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .Email-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .tags-container {
        text-align: left;
    }
}


/** ../Blue Homer dataset detail End */
/** Blue Homer Buttons Begin */
.bh-btn {
    font-family: inherit;
    /* Inherits from body */
    border-radius: 0.25rem;
    cursor: pointer;
    line-height: 1.75;
    padding: 17px 0.75rem;
    text-align: center;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    vertical-align: middle;
    align-items: center;
    display: flex;
    font-size: 1.125rem;
    font-weight: 400;
    height: 56px;
    min-height: 56px;
    width: 134px;
    min-width: 134px;
    justify-content: center;
    line-height: 22px;
    line-height: 1.375rem;
    position: relative;
    margin: 5px 5px 0 0;
    border: 1px solid;
}

    .bh-btn:hover {
        background-color: #335ca1;
        color: #fff;
    }

        .bh-btn:hover .filter-icon {
            width: 18px;
            height: 18px;
            filter: invert(100%);
        }

        .bh-btn:hover .sort-icon {
            width: 18px;
            height: 18px;
            filter: invert(100%);
        }

.btn-primary {
    background-color: #0d274e;
    border-color: #0d274e;
    color: #fff;
    min-width:100px;
}

    .btn-primary .filter-icon {
        width: 18px;
        height: 18px;
        filter: invert(100%);
    }

    .btn-primary .sort-icon {
        width: 18px;
        height: 18px;
        filter: invert(100%);
    }

.btn-contrast {
    background-color: #fff;
    border-color: #0d274e;
    color: #0d274e;
}

    .btn-contrast:hover {
        color: #fff;
    }

.btn-primblue {
    background-color: #0071bc;
    border-color: #0071bc;
    color: #fff;
}

.btn-app {
    border-radius: 3px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #6c757d;
    font-size: 12px;
    height: 60px;
    margin: 0 0 10px 10px;
    min-width: 80px;
    padding: 15px 5px;
    position: relative;
    text-align: center;
}

.btn-act {
    border-radius: 3px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #6c757d;
    font-size: 12px;
    height: 60px;
    margin: 0 0 10px 10px;
    min-width: 80px;
    padding: 15px 5px;
    position: relative;
    text-align: center;
}

.bh-links a {
    display: block;
    font-size: 0.9em;
    color: #0d284f;
    text-decoration: none;
}

    .bh-links a:hover {
        color: #335ca1;
        text-decoration: underline;
    }

/** Blue Homer Elegant buttons */
.bh-link-btn {
    align-items: center;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    background-color: #e2f3f8;
    /* #bbdbf5; #e2f3f8; rgb(226, 243, 248); */
    border-radius: 8px;
    border-style: none;
    box-shadow: rgba(255, 255, 255, 0.26) 0 1px 2px inset;
    box-sizing: border-box;
    color: #0d274e;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    font-family: "RM Neue", sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    padding: 4px;
    text-align: left;
    text-transform: none;
    transition: color 0.13s ease-in-out, background 0.13s ease-in-out, opacity 0.13s ease-in-out, box-shadow 0.13s ease-in-out;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .bh-link-btn img {
        margin-right: 1px;
        /* Space between icon and text */
        width: 20px;
        /* Set width for SVG */
        height: 20px;
        /* Set height for SVG */
        fill: currentColor;
        /* Inherit color from parent */
        vertical-align: middle;
        /* Align SVG icon vertically with text */
    }

    .bh-link-btn svg {
        margin-right: 1px;
        /* Space between icon and text */
        width: 20px;
        /* Set width for SVG */
        height: 20px;
        /* Set height for SVG */
        fill: currentColor;
        /* Inherit color from parent */
        vertical-align: middle;
        /* Align SVG icon vertically with text */
    }

    .bh-link-btn:active {
        background-color: #e2f3f8;
        /* #bbdbf5; #e2f3f8; rgb(226, 243, 248); */
    }

    .bh-link-btn:hover {
        background-color: #1C84FF;
    }

/** ./ Blue Homer Elegant Buttons End*/
.filter {
    background-color: var(--bh-button-bg-color);
    border-color: var(--bh-button-bg-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 18px;
    max-height: 36px;
    min-width: 18px;
    max-width: 36px;
    justify-content: center;
}

    .filter .icon .svg {
        width: 24px;
        height: 24px;
        /* Optional for SVGs or font icons */
        line-height: 24px;
        /* For proper alignment */
        font-size: 24px;
        /* If using font icons like Font Awesome */
    }

.Search_sort {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-color: var(--bh-button-bg-color);
    height: 100%;
    justify-content: center;
    color: var(--bh-button-bg-color);
    font-style: inherit;
}

    .Search_sort .icon .svg {
        width: 24px;
        height: 24px;
        /* Optional for SVGs or font icons */
        line-height: 24px;
        /* For proper alignment */
        font-size: 24px;
        /* If using font icons like Font Awesome */
    }

/** ./ Blue Homer Buttons End*/
/** Blue Homer External and custom icon imports Begin **/
.icon {
    width: 24px;
    height: 24px;
}

.filter-icon {
    -background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M0%2096C0%2078.3%2014.3%2064%2032%2064H416c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032H32C14.3%20128%200%20113.7%200%2096zM64%20256c0-17.7%2014.3-32%2032-32H352c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032H96c-17.7%200-32-14.3-32-32zM288%20416c0%2017.7-14.3%2032-32%2032H192c-17.7%200-32-14.3-32-32s14.3-32%2032-32h64c17.7%200%2032%2014.3%2032%2032z%22%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 2px;
}

.sort-icon {
    -background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M0%2016h8v-2.7H0V16zM0%200v2.7h24V0H0zm0%209.3h16V6.7H0v2.6z%22%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    justify-content: center;
    width: 18px;
    height: 18px;
    display: inline-block;
    /* Ensures proper spacing if used inline */
    margin: 2px;
}

/** ./ Blue Homer External and custom icon imports End **/
/** Blue Homer Card add new element button section Begin * */
.datatable-addnew-header-container {
    display: grid;
    grid-template-columns: 1fr auto;
    /* Text takes up available space, button stays at the right */
    align-items: center;
    /* Vertically centers the content */
    padding: 10px;
}

/** ./ Blue Homer Card add new element button section End * */
/** Blue Homer Info box Begin */
.info-box {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    display: flex;
    margin-top: -8px;
    min-height: 80px;
    padding: 0.5rem;
    position: relative;
    width: 100%;
    font-size: 14px;
    color: rgb(0, 0, 0);
    /* margin-top:1px */
}

    .info-box .info-box-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1.8;
        flex: 1;
        padding: 0 10px;
        overflow: hidden;
    }

    .info-box .info-box-text,
    .info-box .progress-description {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .info-box .info-box-number {
        display: block;
        margin-top: 0.25rem;
        font-weight: 700;
    }

    .info-box .text-muted {
        color: #6c757d !important;
    }

/** ./ Blue Homer Info box End */
/* MultiSelect Styles Begin */
.select2-container--bootstrap4 .select2-selection--multiple {
    min-height: 30px !important;
    padding-right: 30px;
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 0.2rem;
}

    .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
        border: 1px solid #dee2e6;
        color: #495057;
        cursor: default;
        float: left;
        background-color: #f1f1f1;
        border-radius: 5px;
        padding: 3px 35px 3px 3px;
        margin: 0 3px 3px 0;
    }

    .select2-container--bootstrap4 .select2-selection--multiple .select2-search--inline .select2-search__field {
        padding-right: 30px;
    }

    .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
        padding: 3px 0 0 3px;
    }

        .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered li {
            position: relative;
        }

    .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
        color: #000;
        cursor: pointer;
        display: inline-block;
        font-weight: 700;
        margin-right: 5px;
        right: 0;
        position: absolute;
        border: 1px solid #999;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .select2-container--bootstrap4 .select2-selection--multiple .select2-search--inline .select2-search__field {
        padding-right: 0px;
    }

    .select2-container--bootstrap4 .select2-selection--multiple::after {
        content: "";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        pointer-events: none;
    }

.select2-container--bootstrap4 .select2-results__option {
    padding: 8px 10px;
}

.select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
    background-color: #1967D2;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection--multiple {
    border-color: #9dbeee;
    box-shadow: 0 0 0 0.2rem rgba(59, 125, 221, 0.25);
    outline: 0;
}

.add-btn {
    margin-top: 33px;
    text-wrap: nowrap;
}

.datatable-edit-btn {
    border: none;
    background: none;
    margin-right: 20px;
}

.datatable-clear-btn {
    border: none;
    background: none;
    color: #dc3545;
}

.datatable-save-btn {
    border: none;
    margin-right: 20px;
    background: none;
}
.datatable-cancel-btn {
    border: none;
    background: none;
}

.avatar-bdr {
    border: 1px solid #999;
}

/* MultiSelect Styles End */
.hidden {
    display: none;
}

.expanded {
    height: auto;
    padding: 10px;
}

.card {
    padding: 15px;
}

.security-details .edit-btn,
.security-details .lock-btn,
.security-details .delete-btn,
.security-details .add-btn,
.security-details .view-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 7px;
    margin: auto;
    background: none;
    border: 1px solid transparent;
    transition: all 0.3s;
}

    .security-details .edit-btn:hover,
    .security-details .lock-btn:hover,
    .security-details .delete-btn:hover,
    .security-details .add-btn:hover,
    .security-details .view-btn:hover {
        border-color: rgba(131, 131, 131, 0.5333333333);
    }

.security-details .add-btn {
    border: 1px solid rgba(131, 131, 131, 0.2392156863);
}

.security-details .delete-btn:hover {
    color: red;
    border: 1px solid rgba(255, 0, 0, 0.4196078431);
}

.security-details .card {
    height: 100%;
    margin-bottom: 15px;
}

    .security-details .card .card-header {
        padding: 0;
        z-index: 1;
    }

        .security-details .card .card-header h5 {
            font-size: 18px;
        }

        .security-details .card .card-header p {
            margin: 0;
        }

    .security-details .card .card-body {
        padding-bottom: 0;
    }

.security-details .card-actions .btn-cont {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.security-details .avatar-cont {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    position: relative;
}

    .security-details .avatar-cont .no-img {
        width: 170px;
        min-height: 170px;
        background: gray;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: white;
    }

    .security-details .avatar-cont .avatar {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        min-height: 225px;
        width: 100%;
        position: relative;
    }

        .security-details .avatar-cont .avatar h6 {
            font-size: 25px;
            position: relative;
        }

        .security-details .avatar-cont .avatar .img-wrapper {
            position: relative;
            width: 170px;
            min-height: 170px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            /*border: 1px solid rgba(199, 199, 199, 0.5294117647);*/
        }

        .security-details .avatar-cont .avatar img {
            width: 170px;
            max-height: 170px;
            height: auto;
            position: relative;
        }

        .security-details .avatar-cont .avatar .avatar-update {
            position: absolute;
            top: 10px;
            z-index: 1;
            width: 170px;
            height: 170px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            color: #fff;
            cursor: pointer;
        }

            .security-details .avatar-cont .avatar .avatar-update input {
                display: none;
            }

    .security-details .avatar-cont .desigination {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .security-details .avatar-cont .linkedin {
        color: #3B7DDD;
    }

        .security-details .avatar-cont .linkedin a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

    .security-details .avatar-cont .social-media {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-top: 25px;
        transition: all 0.3s;
    }

        .security-details .avatar-cont .social-media a {
            margin: 0;
            color: black;
            text-decoration: none;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            border: 1px solid #153d77;
        }

            .security-details .avatar-cont .social-media a svg {
                width: 18px;
                fill: #153d77;
            }

            .security-details .avatar-cont .social-media a i {
                color: #153d77;
                line-height: 1.5;
                font-size: 18px;
            }

            .security-details .avatar-cont .social-media a:hover {
                border: 1px solid #dee2e6;
                color: #153d77;
            }

                .security-details .avatar-cont .social-media a:hover svg {
                    fill: #dee2e6;
                }

                .security-details .avatar-cont .social-media a:hover i {
                    color: #dee2e6;
                }

        .security-details .avatar-cont .social-media.update {
            flex-direction: column;
        }

            .security-details .avatar-cont .social-media.update a {
                min-width: 40px;
            }

        .security-details .avatar-cont .social-media .twitter,
        .security-details .avatar-cont .social-media .github,
        .security-details .avatar-cont .social-media .facebook {
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            border: 1px solid #153d77;
        }

            .security-details .avatar-cont .social-media .twitter a,
            .security-details .avatar-cont .social-media .github a,
            .security-details .avatar-cont .social-media .facebook a {
                margin: 0;
                color: unset;
                text-decoration: none;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;
                width: 40px;
                height: 40px;
                border: 1px solid #153d77;
            }

    .security-details .avatar-cont .social-media-update .update-wrapper {
        display: flex;
        align-items: center;
    }

    .security-details .avatar-cont .social-media-update .twitter,
    .security-details .avatar-cont .social-media-update .github,
    .security-details .avatar-cont .social-media-update .facebook {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        width: 30px;
        height: 26px;
        border: 1px solid #153d77;
    }

        .security-details .avatar-cont .social-media-update .twitter svg,
        .security-details .avatar-cont .social-media-update .github svg,
        .security-details .avatar-cont .social-media-update .facebook svg {
            width: 13px;
            fill: #153d77;
        }

        .security-details .avatar-cont .social-media-update .twitter i,
        .security-details .avatar-cont .social-media-update .github i,
        .security-details .avatar-cont .social-media-update .facebook i {
            color: #153d77;
            line-height: 1.5;
            font-size: 13px;
        }

.security-details #organizationForm .img-wrapper {
    border-radius: 0;
}

.security-details .fields-cont {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.security-details .fields-about {
    display: flex;
    flex-direction: column;
}

    .security-details .fields-about .field-item {
        margin-bottom: 15px;
    }

.security-details .fields,
.security-details .fields-array {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #dee2e6;
    align-items: baseline;
    padding: 10px 0;
}

    .security-details .fields > .form-label,
    .security-details .fields-array > .form-label {
        width: 30%;
        margin-bottom: 0;
    }

    .security-details .fields > .field-item,
    .security-details .fields-array > .field-item {
        width: 70%;
    }

    .security-details .fields .badge,
    .security-details .fields-array .badge {
        font-size: 13px;
        font-weight: 500;
        color: #153D77;
        padding: 3px 10px;
        border: 1px solid #153D77;
        border-radius: 15px;
        margin-left: 15px;
    }

.security-details .fields-array {
    flex-direction: column;
}

    .security-details .fields-array .primary,
    .security-details .fields-array .new {
        display: flex;
        min-width: 100%;
    }

        .security-details .fields-array .primary > .form-label,
        .security-details .fields-array .new > .form-label {
            width: 30%;
            margin-bottom: 0;
        }

        .security-details .fields-array .primary > .field-item,
        .security-details .fields-array .new > .field-item {
            width: 70%;
        }

    .security-details .fields-array .new {
        flex-direction: column;
    }

        .security-details .fields-array .new > .field-item {
            width: unset;
            display: grid;
            grid-template-columns: 24% 66% 5%;
            gap: 15px;
            margin-bottom: 15px;
            justify-content: space-between;
        }

            .security-details .fields-array .new > .field-item:last-child {
                margin-bottom: 0;
            }

.security-details .email-update-wrapper,
.security-details .phone-update-wrapper {
    gap: 15px;
    flex-direction: column;
    align-items: unset;
}

    .security-details .email-update-wrapper .primary,
    .security-details .email-update-wrapper .new,
    .security-details .phone-update-wrapper .primary,
    .security-details .phone-update-wrapper .new {
        display: flex;
    }

        .security-details .email-update-wrapper .primary .form-label,
        .security-details .email-update-wrapper .primary .field-item,
        .security-details .email-update-wrapper .new .form-label,
        .security-details .email-update-wrapper .new .field-item,
        .security-details .phone-update-wrapper .primary .form-label,
        .security-details .phone-update-wrapper .primary .field-item,
        .security-details .phone-update-wrapper .new .form-label,
        .security-details .phone-update-wrapper .new .field-item {
            width: unset;
        }

    .security-details .email-update-wrapper .primary,
    .security-details .phone-update-wrapper .primary {
        display: flex;
        gap: 20px;
    }

        .security-details .email-update-wrapper .primary .form-label,
        .security-details .phone-update-wrapper .primary .form-label {
            width: 33%;
        }

        .security-details .email-update-wrapper .primary .field-item,
        .security-details .phone-update-wrapper .primary .field-item {
            width: 60%;
        }

    .security-details .email-update-wrapper .new,
    .security-details .phone-update-wrapper .new {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

        .security-details .email-update-wrapper .new .field-item,
        .security-details .phone-update-wrapper .new .field-item {
            margin-top: 8px;
            gap: 15px;
            align-items: center;
            grid-template-columns: 1fr 2fr 30px;
        }

.security-details .no-bdr {
    border: none;
}

.show-more {
    overflow-y: clip;
    height: 60px;
    transition: height 0.5s ease;
}

    .show-more.expanded {
        height: -moz-max-content;
        height: max-content;
        padding: 0;
    }

#addMembers {
    display: flex;
    justify-content: space-between !important;
}

    #addMembers .select2-container--bootstrap4 {
        min-width: calc(100% - 40px) !important;
    }

.accordion .accordion-header .card-title {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
}

    .accordion .accordion-header .card-title a {
        text-decoration: none;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }

        .accordion .accordion-header .card-title a i {
            font-size: 22px;
        }

        .accordion .accordion-header .card-title a[aria-expanded=true] {
            transform: rotate(90deg);
        }

div.dataTables_wrapper div.dataTables_filter input {
    min-height: 32.5px;
}

.switch-wrapper {
    display: inline-block;
}

.switch-wrapper .switch {
    position: relative;
    display: inline-block;
    width: 77px;
    height: 25px;
    margin: 0;
    padding: 0;
}

    .switch-wrapper .switch input {
        opacity: 0;
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
    }

    .switch-wrapper .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: 0.4s;
        border-radius: 34px;
        margin: 0;
        padding: 0;
    }

        .switch-wrapper .slider:before {
            position: absolute;
            content: "";
            height: 19px;
            width: 19px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
        }

    .switch-wrapper input:checked + .slider {
        background-color: #4CAF50;
    }

        .switch-wrapper input:checked + .slider:before {
            transform: translateX(52px);
        }

    .switch-wrapper .switch-label {
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        color: white;
        font-size: 11px;
        font-weight: 600;
        margin: 0;
        padding: 0;
    }

    .switch-wrapper input:checked + .slider .switch-label {
        justify-content: flex-start;
        padding-left: 8px;
    }

    .switch-wrapper input:not(:checked) + .slider .switch-label {
        justify-content: flex-end;
        padding-right: 6px;
    }

.tree-table {
    width: 100%;
    border-collapse: collapse;
}

    .tree-table th,
    .tree-table td {
        padding: 8px;
        border-bottom: 1px solid #e5e7eb;
    }

    .tree-table th {
        text-align: left;
        background-color: #f9fafb;
    }

    .tree-table .table-actions {
        margin-bottom: 10px;
    }

    .tree-table .icon-button {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        margin: 0 2px;
    }

        .tree-table .icon-button:hover {
            background-color: rgba(0, 0, 0, 0.05);
            border-radius: 4px;
        }

    .tree-table .item-name {
        display: flex;
        align-items: center;
    }

    .tree-table .actions {
        display: flex;
        align-items: center;
        position: relative;
    }

    .tree-table .color-palette {
        position: absolute;
        right: 0;
        top: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        background: white;
        padding: 8px;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .tree-table .color-option {
        width: 24px;
        height: 24px;
        border-radius: 4px;
        cursor: pointer;
        border: 1px solid #ddd;
    }

        .tree-table .color-option:hover {
            transform: scale(1.1);
        }

    .tree-table .disabled {
        opacity: 0.5;
        pointer-events: none;
    }

    .tree-table .level-indicator {
        font-size: 15px;
        font-weight: 700;
        border: 1px solid;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;
        margin-right: 10px;
    }

.mydata {
    /* List View Styles */
    /* Grid View Styles */
}

    .mydata .toolbar {
        padding: 3px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* border-bottom: 1px solid #e0e0e0; */
    }
    /* .mydata .view-toggle {
  display: flex;
  gap: 10px;
}
.mydata .view-toggle button {
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 4px;
}
.mydata .view-toggle button.active {
  background-color: #e8f0fe;
  color: #1a73e8;
} */

    .mydata .view-toggle {
        display: flex;
        border: 1px solid #ccc;
        border-radius: 20px;
        overflow: hidden;
        /* background-color: #1a1a1a; */
    }

        .mydata .view-toggle button {
            padding: 8px 15px;
            border: none;
            background: none;
            cursor: pointer;
            color: #000;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
        }

            .mydata .view-toggle button i {
                font-size: 16px;
            }

            .mydata .view-toggle button.active {
                background-color: #B3D7EF;
                color: #001d35;
                border-radius: 20px 0 0 20px;
            }

            .mydata .view-toggle button:last-child.active {
                border-radius: 0 20px 20px 0;
            }

            .mydata .view-toggle button:hover {
                background-color: #b3d7efc9;
                color: #335ca1;
            }
    /* .mydata .file-container {
  padding: 5px;
} */
    .mydata .list-view {
        width: 100%;
        border-collapse: collapse;
    }

        .mydata .list-view th {
            text-align: left;
            padding: 12px 10px;
            color: #5f6368;
            font-weight: 500;
            border-bottom: 1px solid #e0e0e0;
            background-color: #F5F4F4;
            color: #153D77;
            font-weight: bold;
            /* font-size: 14px; */
        }

        .mydata .list-view td {
            padding: 12px 13px;
            border-bottom: 1px solid #e0e0e0;
            text-align: left;
        }

        .mydata .list-view tr:hover {
            background-color: #f5f5f5;
        }

    .mydata .grid-view {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 3fr));
        gap: 16px;
    }

    .mydata .grid-item {
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mydata .action-buttons {
        display: flex;
        gap: 8px;
    }

        .mydata .action-buttons button {
            padding: 4px 8px;
            border: none;
            background-color: transparent;
            cursor: pointer;
            color: #5f6368;
            border-radius: 4px;
        }

            .mydata .action-buttons button:hover {
                background-color: #f5f5f5;
            }

    .mydata .file-icon {
        color: #4285f4;
        margin-right: 8px;
    }

.csv-import-dialog {
    margin: 25px auto;
    border-radius: 15px;
    max-width: 700px;
    color: black;
    border: 1px solid rgba(128, 128, 128, 0.1450980392);
    overflow: hidden;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
}

    .csv-import-dialog .dialog-header,
    .csv-import-dialog .dialog-footer {
        position: sticky;
        background: white;
        width: 100%;
    }

    .csv-import-dialog .dialog-content {
        padding: 0 15px;
        overflow-y: scroll;
        height: calc(50vh - 50px);
        position: sticky;
    }

        .csv-import-dialog .dialog-content .table {
            overflow: scroll;
            margin-bottom: 5px;
        }

            .csv-import-dialog .dialog-content .table td,
            .csv-import-dialog .dialog-content .table th {
                font-size: 0.8em;
                text-wrap: nowrap;
                padding: 5px 10px;
                border: 1px solid rgba(0, 0, 0, 0.1098039216);
            }

    .csv-import-dialog .dialog-header {
        padding: 15px 15px 0;
    }

        .csv-import-dialog .dialog-header h2 {
            margin: 0;
        }

        .csv-import-dialog .dialog-header .heading,
        .csv-import-dialog .dialog-header .delimiter-section {
            display: flex;
            justify-content: space-between;
        }

        .csv-import-dialog .dialog-header .delimiter-section {
            width: 80%;
            margin: 0 auto;
        }

        .csv-import-dialog .dialog-header .add-btn {
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            padding: 7px;
            margin-right: 0;
            background: none;
            border: 1px solid rgba(131, 131, 131, 0.2392156863);
            transition: all 0.3s;
        }

    .csv-import-dialog .dialog-footer {
        padding: 0 15px 15px;
    }

        .csv-import-dialog .dialog-footer .bh-btn {
            border: 1px solid rgba(0, 0, 0, 0.1490196078);
            font-size: 14px;
            margin: 0;
            width: -moz-fit-content;
            width: fit-content;
            padding: 5px 10px;
            min-width: unset;
            height: -moz-fit-content;
            height: fit-content;
            min-height: -moz-fit-content;
            min-height: fit-content;
            display: inline-block;
        }

    .csv-import-dialog .add-btn {
        margin: 0;
    }
/*# sourceMappingURL=appextns.css.map */
















/* Configuration section class - Begin */
#overall {
    width: 100%;
    border: 1.5px solid transparent;
    border-image: linear-gradient(45deg,#153D77, #51A2FD ) 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px; /* Adds rounded corners */
    overflow: hidden; /* Ensures border-radius works with border-image */
}

.mydatacontainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of cards if there's not enough space */
    justify-content: flex-start; /* Align cards to the left */
    align-items: flex-start; /* Ensure consistent vertical alignment */
    gap: 20px; /* Consistent spacing between cards */
    padding: 20px 36px;
}

.file-container {
    width: 100%;
    max-height: 70vh; /* Adjust this value based on your needs */
    overflow-y: auto; /* Vertical scrollbar */
    overflow-x: hidden; /* Hide horizontal scrollbar */
    margin-top: 10px;
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

    /* Custom scrollbar styling (works in Chrome, Edge, Safari) */
    .file-container::-webkit-scrollbar {
        width: 8px;
    }

    .file-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .file-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .file-container::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* For Firefox */
.file-container {
    scrollbar-width: thin;
    scrollbar-color: var(--bh-button-bg-color) #f1f1f1;
}


.section {
    position: relative; /* Needed for pseudo-elements */
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px 30px;
    max-width: 980px; /* Prevents the cards from becoming too wide */
    min-width: 230px; /* Prevents the cards from becoming too narrow */
}

    .section::after {
        content: "";
        position: absolute;
        top: -5px; /* Push the dashed border slightly outside */
        left: -5px;
        right: 5px;
        bottom: -5px;
        border: 1.5px dashed #B2BEB5; /* Dashed red border */
        border-radius: 8px; /* Matches the main border's radius */
        pointer-events: none; /* Ensures no interaction with this pseudo-element */
    }

.section-header {
    background-color: #1a3d6d;
    color: white;
    margin-left: -10px;
    margin-bottom: 10px;
    width: 250px;
    padding: 5px;
    text-align: center;
    font-weight: bold;
}


.section h2 {
    background-color: #003366;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    margin: -15px -15px 15px -15px;
    border-radius: 8px 8px 0 0;
}

.tile {
    background-color: #ffffff;
    border: 1px solid #d1d1d1;
    border-radius: 12px 12px 12px 12px;
    padding: 20px;
    margin-left: -12px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    font-size: 14px;
    margin-bottom: 20px;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

    .tile:hover {
        background-color: #003366;
        color: #fff; /* Ensure any direct text inside card changes to white */
        cursor: pointer;
    }

        .tile:hover .config-type,
        .tile:hover .system-user,
        .tile:hover .user-profile,
        /* .card1:hover .mandatory,  */
        .tile:hover .status {
            color: #fff; /* Change the color of these specific elements on hover */
        }

.config-type {
    font-size: 12px;
    color: #666;
    margin: 0;
    position: absolute;
    top: 10px;
    left: 20px;
}

.system-user {
    font-size: 12px;
    color: #666;
    margin: 0;
    position: absolute;
    top: 10px;
    right: 20px;
}

.user-profile {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    /* text-align: left; */
    margin: 40px -10px 10px 0;
}

.mandatory {
    font-size: 14px;
    color: #00FF00;
    font-weight: bold;
    /* text-align: left; */
    margin: 0;
}

.required {
    font-size: 14px;
    color: #FF8C00;
    font-weight: bold;
    /* text-align: left; */
    margin: 0;
}

.optional {
    font-size: 14px;
    color: #FF4500;
    font-weight: bold;
    /* text-align: left; */
    margin: 0;
}

.status {
    font-size: 12px;
    color: #333;
    font-weight: bold;
    margin-left: 60px;
    margin-top: 50px;
}


.inprogress {
    font-size: 12px;
    color: #FFD700;
    font-weight: bold;
}

.configured {
    font-size: 12px;
    color: #00FF00;
    font-weight: bold;
}

.unknown {
    font-size: 12px;
    color: #FF0000;
    font-weight: bold;
}
/* Configuration section class - end*/

/* All elements that have a class ending with '-icon' will inherit .icon properties */
[class*='-icon'] {
    width: 24px;
    height: 24px;
}

/** Blue Homer Logo reference Begin */
.logo-container {
    display: flex;
    justify-content: space-evenly;
    grid-template-columns: 32px auto;
    background-color: #153D77;
    /* First column for the logo, second for the name */
    align-items: start;
    /* Align both items to the bottom -vertical alignment */
    gap: 10px;
    /* Optional: Space between the logo and the name */
}

.logo-image {
    width: 30px;
    height: 40px;
}

.logo-name {
    font-family: 'Ubuntu', sans-serif;
    font-size: 28px;
    /* Adjust font size as needed */
    /*    line-height: 40px;*/
    /*    margin-top:200px;*/
    /* Align text vertically with the logo */
}

/*small search area*/
/* Search Bar Styling */
#top-search {
    margin-top: 11px;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .search-container {
  display: flex;
  align-items: center;
  background-color: #24364b; 
  border-radius: 25px;
  width: 100%;
  overflow: hidden;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 10px 5px;
  border-radius: 25px;
  background: none;
  color: #f9f9f9;
}

  .search-input::placeholder {
      color: #827e7e;
      font-size: 1rem;
  }

.search-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: inline;
  align-items: center;
  justify-content: center;
}

.search-icon {
  width: 18px;
  height: 18px;
  filter: invert(1); 
} */










/* TABS for user profile ,user role... etc */
.tabs {
    display: inline;
    justify-content: space-evenly;
}

.tab {
    padding: 10px 15px;
    border: none;
    background-color: #f4f4f4;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    /* margin-left: 20px; */
}

    .tab:hover,
    .tab.active {
        background-color: #fff;
        border-bottom: 1px solid #007bff;
        color: #000;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }




/* user profile aditional details  */

.card {
    /* border-radius: 10px; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-title {
    font-weight: bold;
}

.email-item, .phone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
}

    .email-item span, .phone-item span {
        flex-grow: 1;
    }

.edi-btn, .del-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.edi-btn {
    margin-right: 10px;
    /* color: var(--bh-primary-bg-color); */
}

.del-btn {
    color: #000000;
    font-size: 18px;
}

.email-item .edi-btn, .email-item .del-btn,
.phone-item .edi-btn, .phone-item .del-btn {
    position: relative;
    right: 0;
    margin-left: 5px;
}

.addd-btn {
    width: 130px;
    border: none;
    color: #f3f3f3;
    background-color: #0d274e;
    border-radius: 6px;
    display: inline-block;
    justify-content: center;
    margin-left: auto;
    padding: 8px;
    transition: all 0.3s ease;
}

    .addd-btn:hover {
        background-color: #0071bc;
    }

#email-list, #phone-list {
    max-height: 200px; /* Adjust height as needed */
    overflow-y: auto; /* Enables vertical scrolling */
    padding-right: 5px; /* Prevents cut-off */
}

    /* Optional: Style scrollbar for better appearance */
    #email-list::-webkit-scrollbar, #phone-list::-webkit-scrollbar {
        width: 6px;
    }

    #email-list::-webkit-scrollbar-track, #phone-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    #email-list::-webkit-scrollbar-thumb, #phone-list::-webkit-scrollbar-thumb {
        background: var(--bh-primary-bg-color);
        border-radius: 10px;
    }

        #email-list::-webkit-scrollbar-thumb:hover, #phone-list::-webkit-scrollbar-thumb:hover {
            background: var(--bh-button-hover-bg-color);
        }








/* Card styling for additional sections */
.client-card {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background: #ffffff;
    padding: 15px;
}

    .client-card .card-title {
        font-weight: bold;
        color: #0d274e;
        margin-bottom: 15px;
    }

/* List item styling for additional sections */
.department-item, .domain-item, .industry-item, .service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F1F1F1;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
    border: 1px solid #e0e0e0;
}

    .department-item span, .domain-item span, .industry-item span, .service-item span {
        flex-grow: 1;
        color: #333333;
    }

    /* Button styling for additional sections */
    .department-item .edi-btn, .department-item .del-btn,
    .domain-item .edi-btn, .domain-item .del-btn,
    .industry-item .edi-btn, .industry-item .del-btn,
    .service-item .edi-btn, .service-item .del-btn {
        border: none;
        background: none;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
    }

    .department-item .edi-btn, .domain-item .edi-btn,
    .industry-item .edi-btn, .service-item .edi-btn {
        margin-right: 10px;
        color: var(--bh-primary-bg-color);
    }

    .department-item .del-btn, .domain-item .del-btn,
    .industry-item .del-btn, .service-item .del-btn {
        color: #000000;
        font-size: 18px;
    }

/* Add button styling for additional sections */
.client-card .addd-btn {
    width: 130px;
    border: none;
    color: #f3f3f3;
    background-color: #0d274e;
    border-radius: 10px;
    display: inline-block;
    justify-content: center;
    margin-left: auto;
    padding: 8px;
    transition: all 0.3s ease;
}

    .client-card .addd-btn:hover {
        background-color: #0071bc;
    }

/* Scrollable list styling for additional sections */
#department-list, #domain-list, #industry-list, #service-list {
    max-height: 200px; /* Adjust height as needed */
    overflow-y: auto; /* Enables vertical scrolling */
    padding-right: 5px; /* Prevents cut-off */
}

    /* Optional: Style scrollbar for better appearance */
    #department-list::-webkit-scrollbar, #domain-list::-webkit-scrollbar,
    #industry-list::-webkit-scrollbar, #service-list::-webkit-scrollbar {
        width: 6px;
    }

    #department-list::-webkit-scrollbar-track, #domain-list::-webkit-scrollbar-track,
    #industry-list::-webkit-scrollbar-track, #service-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    #department-list::-webkit-scrollbar-thumb, #domain-list::-webkit-scrollbar-thumb,
    #industry-list::-webkit-scrollbar-thumb, #service-list::-webkit-scrollbar-thumb {
        background: var(--bh-button-hover-bg-color);
        border-radius: 10px;
    }

        #department-list::-webkit-scrollbar-thumb:hover, #domain-list::-webkit-scrollbar-thumb:hover,
        #industry-list::-webkit-scrollbar-thumb:hover, #service-list::-webkit-scrollbar-thumb:hover {
            background: var(--bh-primary-bg-color);
        }


/* user profile aditional details end */





/* General Styling for Select Dropdowns */
.styled-select {
    appearance: none; /* Remove default browser styling */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
    background: #F4F4F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat right 10px center;
    /* background-size: 12px;  */
    padding-right: 30px;
    /* border: 1px solid #ccc;  */
    border-radius: 4px; /* Rounded corners */
    /* height: 36px;  */
    /* line-height: 1.5; */
    color: #000;
}

    /* Focus effect */
    .styled-select:focus {
        outline: none;
        /* border-color: #007bff;  */
        /* box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); */
    }





/* User profile- organization tab popup */
.Organization-btn {
    width: 150px;
    border: none;
    color: #f3f3f3;
    background-color: #0d274e;
    border-radius: 10px;
    display: inline-block;
    justify-content: center;
    margin-left: 65%;
    margin-bottom: 25px;
    padding: 8px;
    transition: all 0.3s ease;
}

    .Organization-btn:hover {
        background-color: #0071bc;
    }

/* Button to open the modal */
.open-modal {
    background-color: #0d274e;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    /* padding: 10px 20px; */
    margin-left: 85%;
}

/* The modal (background) */
.modal2 {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content */
.modal2-content {
    background-color: white;
    padding: 20px;
    margin: 10% auto;
    width: 38%;
    border-radius: 6px;
    position: relative;
    min-height: 34vh;
    margin-top: 30px;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
}
/* Input fields */
.input-container {
    margin-bottom: 15px;
}

    .input-container input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
/* Input field with dropdown */
.dropdown-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

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

/* Dropdown list */
.dropdown-list {
    display: none;
    position: absolute;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 150px;
    overflow-y: auto;
    z-index: 2;
}

    .dropdown-list div {
        padding: 8px;
        cursor: pointer;
    }

        .dropdown-list div:hover {
            background-color: #f0f0f0;
        }

/* Buttons */
.modal-buttons {
    display: flex;
    /* justify-content: space-between; */
    margin-top: 15px;
    margin-left: 74%;
    gap: 10px
}

    .modal-buttons button {
        padding: 10px;
        border: none;
        cursor: pointer;
        border-radius: 5px;
    }

.find-btn {
    background-color: #0d274e;
    color: white;
}

.register-btn {
    background-color: #0d274e;
    color: white;
}

.find-btn:hover {
    background: #0056b3;
}

.register-btn:hover {
    background: #0056b3;
}



/* Add Social media */
.custom-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.custom-btn-options {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

.popup-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 600px;
    text-align: center;
    z-index: 10000;
}

    .popup-box h3 {
        margin: 0 0 20px;
        font-size: 18px;
    }

    .popup-box .close-btn {
        position: absolute;
        top: 1px;
        right: -5%;
        cursor: pointer;
        font-size: 30px;
        border: none;
        background: none;
        color: #8f8888;
    }

.popup-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

    .popup-content select, .popup-content input {
        flex: 1;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

.popup-box button {
    width: 20%;
    background: var(--bh-button-bg-color);
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin-left: 80%;
}

.popup-box ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .popup-box ul li {
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #007bff;
        border-radius: 50%;
    }
        /* .popup-box ul li img {
  width: 20px;
  height: 20px;
}
*/
        .popup-box ul li i {
            font-size: 20px;
            /* color: #007bff; */
        }




/* User Role popup function */
#policyPopup {
    /* display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f8f9fa;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 750px; /* Reduced width */
    height: auto; /* Adjust height dynamically 
    border-radius: 8px;
    margin-left: 5%;*/
}

    #policyPopup label {
        display: block;
        margin-top: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

    #policyPopup select,
    #policyPopup textarea {
        width: 100%;
        padding: 6px;
        margin-top: 4px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 14px;
    }

    #policyPopup textarea {
        resize: vertical;
        min-height: 50px;
    }

    #policyPopup button {
        margin-top: 12px;
        padding: 8px 10px;
        cursor: pointer;
        border: none;
        border-radius: 5px;
        font-size: 14px;
    }

#submitPolicyBtn {
    background: var(--bh-button-bg-color);
    color: white;
    margin-left: 80%;
}

    #submitPolicyBtn:hover {
        background: #0056b3;
    }

#cancelPolicyBtn {
    /* background: #ccc; */
    background: var(--bh-button-bg-color);
    color: #ffffff;
}

    #cancelPolicyBtn:hover {
        background: #335ca1;
    }

.close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    font-size: 18px;
    color: #555;
    font-weight: bold;
    /* border: 1px solid #555; */
}

    .close-btn:hover {
        color: #000;
    }



/*seprate page-  Users, User Groups, User roles etc */
.User-container {
    background: white;
    padding: 6px;
    border-radius: 5px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.users_search {
    margin-bottom: 15px;
    /* display: inline-flex; */
}

    .users_search input[type="text"] {
        padding: 15px;
        display: block;
        color: #000;
        width: 100%; /* Default to full width */
        max-width: 380px; /* Maximum width */
        min-width: 250px; /* Minimum width */
        border: 1px solid #ccc;
        border-radius: 4px;
        height: 30px;
        font-size: 14px;
        font-weight: normal;
        margin-left: auto; /* Center align */
        margin-right: auto;
        margin-left: 60%;
        margin-top: 20px;
    }
/* Adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .search-bar input[type="text"] {
        width: 80%; /* Reduce width on smaller screens */
        max-width: 350px;
    }
}

.search-bar input[type="text"]::placeholder {
    color: #818080;
    font-size: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #e2e2e2;
    text-align: left;
}

th {
    background-color: #f5f4f4;
    color: var(--bh-primary-bg-color);
}

.options-menu {
    position: relative;
    display: inline-block;
}

    .options-menu button {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
    }

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: #F4F7FC;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1;
    border-radius: 5px;
    padding: 10px;
}

    .dropdown-content a, .toggle-container, .lock-container {
        display: inline-flex;
        /* justify-content: space-between; */
        align-items: center;
        padding: 10px;
        /* margin-left: 10px; */
        text-decoration: none;
        color: black;
        border-bottom: 1px solid #ddd;
        width: 100%;
    }

        .toggle-container span, .lock-container span {
            font-size: 14px;
        }

/* ON/OFF Switch */
.Account-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

    .Account-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.Account-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

    .Account-slider:before {
        position: absolute;
        content: "";
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .Account-slider {
    background-color: #4CAF50;
}

    input:checked + .Account-slider:before {
        transform: translateX(20px);
    }

/* Lock/Unlock Button */
.lock-btn {
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

    .lock-btn:hover {
        color: var(--bh-button-bg-color);
    }

.add-user-btn {
    display: inline-flex;
    padding: 10px 15px;
    background-color: var(--bh-button-bg-color);
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 15px;
}

    .add-user-btn:hover {
        background-color: #335ca1;
    }

.pagination2 {
    margin-top: 30px;
    margin-left: 75%;
    display: inline;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

    .pagination2 button {
        cursor: pointer;
        background-color: #fff;
        color: #636363;
        /* display: flex;
  justify-content: center;
  align-items: center; */
        font-size: 15px;
        margin: 0 5px;
        min-width: 20px;
        padding: 0 10px;
        height: 30px;
        border-radius: 4px;
        border: solid 1px #E6E6E6;
        text-decoration: none;
        position: relative;
    }

        .pagination2 button.active {
            background-color: var(--bh-button-bg-color);
            color: white;
        }


.pagination1 {
    margin-top: 30px;
    margin-left: 58%;
    display: inline;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

    .pagination1 button {
        cursor: pointer;
        background-color: #fff;
        color: #636363;
        /* display: flex;
  justify-content: center;
  align-items: center; */
        font-size: 15px;
        margin: 0 5px;
        min-width: 20px;
        padding: 0 10px;
        height: 30px;
        border-radius: 4px;
        border: solid 1px #E6E6E6;
        text-decoration: none;
        position: relative;
    }

        .pagination1 button.active {
            background-color: var(--bh-button-bg-color);
            color: white;
        }

.hidden {
    display: none;
}




.entries-dropdown {
    margin-bottom: 10px;
}

    .entries-dropdown label {
        margin-right: 10px;
    }

    .entries-dropdown select {
        padding: 5px;
        border-radius: 4px;
        border: 1px solid #ccc;
        width: 70px;
    }






/* data-storage-provider.css */

#Storage-Provider {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    #Storage-Provider td {
        padding: 8px;
        text-align: left;
    }

    #Storage-Provider th {
        background-color: #f4f4f4;
        font-weight: bold;
    }

#storageProvider {
    padding: 5px;
    width: 250px;
    margin-left: 20px;
}

#dataStorageProvider {
    padding: 4px;
    width: 250px;
    margin-left: 20px;
}

#aiProvider {
    padding: 4px;
    width: 250px;
    margin-left: 20px;
}

#designContainer {
    margin-top: -10px;
    padding: 15px;
    border-radius: 5px;
}

.storage-form {
    width: 100%;
    border: 1.5px solid transparent;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

    .storage-form::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 10px;
        padding: 2px;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: destination-out;
        mask-composite: exclude;
        pointer-events: none;
    }

.field-container {
    margin-bottom: 20px;
}

    .field-container label {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }

.data-scope-select {
    min-width: 200px; /* Adjust this value to get your desired width */
    width: 40%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.data-scope-container {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .data-scope-container label {
        min-width: 100px;
        font-weight: 700;
    }

.field-container input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.copy-btn {
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #333;
}

    .copy-btn:hover {
        color: #335ca1;
    }

.Storage-btn {
    display: inline-flex;
    justify-content: flex-end;
    gap: 5px;
    padding: 8px 16px;
    font-size: 15px;
    /* font-weight: bold; */
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.Storage-btn-edit {
    background-color: var(--bh-button-bg-color);
    color: white;
    margin-left: 82%;
}

    .Storage-btn-edit:hover {
        background-color: #335ca1;
        transform: scale(1.05);
    }

.Storage-btn-save {
    background-color: var(--bh-button-bg-color);
    color: white;
}

    .Storage-btn-save:hover {
        background-color: #335ca1;
        transform: scale(1.05);
    }

.storage-close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    /* font-size: 18px; */
    cursor: pointer;
    color: #888;
}

    .storage-close-btn:hover {
        color: black;
    }

.section-container {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-top: 15px;
}

    .section-container input {
        width: 98%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .section-container label {
        font-weight: bold;
        display: block;
        margin-bottom: 1px;
        color: #444444;
    }










.agent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .agent .agent-info {
        flex: 1;
    }

    .agent .agent-name {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 5px;
        cursor: pointer;
    }

    .agent .agent-description {
        color: #666;
        font-size: 14px;
    }

    .agent .controls {
        display: flex;
        align-items: center;
        gap: 20px;
    }

        .agent .controls label {
            font-size: 14px;
            color: #555;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Style for the "Use by default" checkbox */
        .agent .controls input[type="checkbox"] {
            /* margin-right: 5px; */
            cursor: pointer;
            width: 20px;
            height: 20px;
        }

    /* Style for the toggle switch */
    .agent .toggle {
        position: relative;
        display: inline-block;
        width: 50px;
        height: 24px;
    }

        .agent .toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }

    .agent .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .4s;
        border-radius: 24px;
    }

        .agent .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

    .agent input:checked + .slider {
        background-color: #2196F3;
    }

    .agent input:checked + .slider {
        background-color: #4CAF50;
    }

        .agent input:checked + .slider:before {
            transform: translateX(26px);
        }

    /* Tooltip styles */
    .agent .tooltip {
        font-size: 14px;
    }

    .agent .tooltip-inner {
        max-width: 300px;
        padding: 8px 12px;
        background-color: #333;
    }




/* Organization page */
.Confif-container {
    width: 100%;
    /* max-width: 600px; */
    background-color: white;
    padding: 20px;
    border-radius: 8px;
}

    .Confif-container .card {
        background: #fff;
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 12px;
        box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: background 0.3s;
        display: flex;
        justify-content: space-between;
        align-items: start;
        /* border-left: 5px solid #1a3d7c;  */
    }

        .Confif-container .card:hover {
            background: #f1f1f1;
        }

        .Confif-container .card h3 {
            margin: 0;
            font-size: 18px;
            flex-grow: 1;
            border-bottom: 1px solid #ccc;
            padding-bottom: 10px;
            width: 100%;
            font-weight: bold;
        }

    .Confif-container .icon {
        font-size: 16px;
        color: gray;
        margin-left: auto;
        margin-top: -30px;
    }


/* application future tab */

.app-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

    .app-container h1, h2, h3 {
        color: #333;
        font-size: 18px;
        font-weight: bold;
        font-family: Arial, sans-serif;
        color: var(--bh-primary-bg-color);
        text-align: left;
    }


    .app-container p {
        font-size: 14px;
        color: #464646;
    }

    .app-container .theme-section, .auth-section, .notifications-section, .agents-section {
        margin-bottom: 30px;
    }

    .app-container.theme-feature, .authentication-feature, .agents-management-feature {
        background-color: #ffff;
        padding: 15px;
        /* border-left: 5px solid var(--bh-primary-bg-color); */
        margin-bottom: 15px;
        border-radius: 12px;
        box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
        margin-top: 20px;
    }

.notifications-feature {
    background-color: #ffff;
    padding: 15px;
    /* border-left: 5px solid var(--bh-primary-bg-color); */
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    margin-top: 20px;
}

.app-container button {
    background-color: var(--bh-button-bg-color);
    color: white;
    border: none;
    padding: 8px 2px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 79%;
    width: 230px;
}

    .app-container button:hover {
        background-color: #335ca1;
    }

    .app-container button.toggled {
        background-color: #28a745;
    }

/* High Contrast Toggle Switch */
.app-container .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-left: 92%;
}

    .app-container .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.app-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

    .app-container .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 7px;
        bottom: 6px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

.app-container input:checked + .slider {
    background-color: #09ac09;
}

    .app-container input:checked + .slider:before {
        transform: translateX(26px);
    }






/* preference tab */

.preferences-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px;
}

.preference-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a3d7c;
    margin-bottom: 12px;
}

.preference-item {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
}

    /* .preference-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
} */

    .preference-item label {
        font-weight: 600;
        font-size: 15px;
        color: var(--bh-primary-bg-color);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* margin-bottom: 10px; */
        padding: 10px;
        margin-left: 10px;
    }

    .preference-item input[type="text"],
    .preference-item select,
    .preference-item input[type="file"] {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid #b0b0b0;
        border-radius: 10px;
        font-size: 14px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .preference-item input[type="text"]:focus,
        .preference-item select:focus,
        .preference-item input[type="file"]:focus {
            border-color: #1a3d7c;
            box-shadow: 0 0 5px rgba(26, 61, 124, 0.3);
            outline: none;
        }

.checkbox-options,
.radio-options {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 24px;
    margin-top: 10px;
    /* align-items: center; */
}

    .radio-options .radio-option {
        display: flex;
        align-items: center;
    }

    .radio-options.inline {
        /* flex-direction: row; */
        justify-content: flex-start;
    }

        .radio-options.inline .radio-option {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

    .checkbox-options .checkbox-option,
    .radio-options .radio-option label {
        font-size: 14px;
        color: #213895;
        cursor: pointer;
    }

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-left: 20px;
    accent-color: #153d77;
}

input[type="radio"] {
    /* width: 16px; */
    /* height: 13px; */
    cursor: pointer;
    margin-left: 20px;
    /* margin-top: 5px; */
}



    input[type="checkbox"]:hover,
    input[type="radio"]:hover {
        accent-color: #1a3d7c;
    }

.properties {
    margin-top: 10px;
    padding: 10px;
    /* background-color: #eef5ff; */
    border-radius: 10px;
    font-size: 13px;
}

@media (max-width: 600px) {
    .preferences-container {
        gap: 14px;
        padding: 12px;
    }

    .preference-item {
        padding: 16px;
    }

    .preference-section h3 {
        font-size: 18px;
    }

    .preference-item label {
        font-size: 14px;
    }

    .preference-item input[type="text"],
    .preference-item select,
    .preference-item input[type="file"] {
        font-size: 13px;
        padding: 8px 12px;
    }

    .checkbox-options,
    .radio-options.inline {
        flex-direction: column;
        gap: 12px;
    }
}




#label-color {
    font-weight: bold;
    font-size: 15px;
}









.dialog-container {
    /* background-color: #f6f6f6; */
    border: 1px solid #dadada;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.2); */
    width: 100%;
    padding: 8px;
    position: relative;
}

    .dialog-container .dialog-title {
        /* background-color: #f6f6f6; */
        padding: 5px 8px;
        border-bottom: 1px solid #e0e0e0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

        .dialog-container .dialog-title h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
        }

    /* .dialog-container .close-button {
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
} */

    .dialog-container .sections {
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .dialog-container .section-title {
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: normal;
        text-decoration: underline;
        font-weight: bold;
    }

    .dialog-container .time-row {
        display: inline-flex;
        justify-content: space-evenly;
        align-items: center;
        margin-bottom: 8px;
    }

        .dialog-container .time-row label {
            width: 55px;
            text-align: right;
            margin-right: 8px;
            font-size: 14px;
        }

            .dialog-container.time-row label:after {
                content: ':';
            }

    .dialog-container .time-input {
        width: 120px;
        padding: 2px;
        font-size: 14px;
    }

    .dialog-container .dropdown {
        width: 15px;
        height: 21px;
        margin-left: -1px;
        background-color: #f0f0f0;
        border: 1px solid #ababab;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

        .dialog-container .dropdown::after {
            content: '▼';
            font-size: 8px;
        }

    .dialog-container .recurrence-options {
        display: flex;
    }

    .dialog-container .recurrence-left {
        width: 150px;
        padding-right: 10px;
        border-right: 1px solid #dadada;
    }

    .dialog-container .recurrence-right {
        flex-grow: 1;
        padding-left: 20px;
    }

    .dialog-container .radio-option {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
    }

        .dialog-container .radio-option input {
            margin-right: 5px;
        }

        .dialog-container .radio-option label {
            font-size: 14px;
        }

    .dialog-container .recur-settings {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        font-size: 14px;
    }

        .dialog-container .recur-settings input[type="text"] {
            width: 30px;
            text-align: center;
            margin: 0 5px;
        }

    .dialog-container .weekday-selection {
        display: flex;
        flex-wrap: wrap;
        gap: 5px 10px;
        margin-top: 5px;
    }

    .dialog-container .weekday-option {
        display: flex;
        align-items: center;
        width: 100px;
    }

        .dialog-container .weekday-option input {
            margin-right: 5px;
        }

        .dialog-container .weekday-option label {
            font-size: 14px;
        }

    .dialog-container .range-sections {
        margin-top: 20px;
        padding: 10px;
        border-top: 1px solid #dadada;
    }

    .dialog-container .range-option {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }

        .dialog-container .range-option label {
            font-size: 14px;
            margin-right: 10px;
        }

        .dialog-container .range-option input[type="text"] {
            width: 100px;
            text-align: center;
            margin: 0 5px;
        }

    .dialog-container .date-input {
        width: 120px;
        padding: 2px;
        font-size: 14px;
    }

    .dialog-container .buttons {
        display: flex;
        justify-content: flex-start;
        margin-top: 20px;
        padding: 5px 10px;
    }

    .dialog-container .button {
        padding: 3px 20px;
        margin-right: 10px;
        background-color: var(--bh-button-bg-color);
        color: #fff;
        border: 1px solid #ababab;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.5s ease;
    }

        .dialog-container .button:hover {
            background-color: #335ca1;
            color: #fff;
        }

        .dialog-container .button.cancel {
            background-color: var(--bh-button-bg-color);
            color: #fff;
        }

        .dialog-container .button.remove {
            background-color: var(--bh-button-bg-color);
            margin-left: auto;
        }




/* new sidebar functionality */

/* Direct conversion of SCSS to CSS with icon-only sidebar functionality */

.sidebar {
    min-width: 250px; /* Assuming $sidebar-width is 250px */
    max-width: 250px;
    transition: all 0.3s; /* Assuming $sidebar-transition value */
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Assuming $sidebar-shadow value */
    z-index: 1;
    /* Icon-only by default */
    width: 70px;
    transition: all 0.6s ease-in-out;
}

.sidebar-brand,
.sidebar-brand:hover {
    padding: 1rem; /* Assuming $sidebar-brand-padding value */
    background: #153D77; /* Assuming $sidebar-brand-bg value */
    font-size: 1.2rem; /* Assuming $sidebar-brand-font-size value */
    font-weight: 600; /* Assuming $sidebar-brand-font-weight value */
    color: #fff; /* Assuming $sidebar-brand-color value */
    width: 100%;
    display: block;
    text-decoration: none;
}

    .sidebar-brand svg {
        height: 32px;
        width: 32px;
        margin-right: 0.25rem;
        fill: #fff; /* Assuming $sidebar-brand-icon-color value */
    }

.sidebar-user {
    padding: 1rem; /* Assuming $sidebar-user-padding value */
    background: #ffffff; /* Assuming $sidebar-user-background value */
    color: #070707; /* Assuming $sidebar-user-color value */
    text-align: center;
}

    .sidebar-user img {
        width: 50px;
        height: 50px;
    }

.sidebar-content {
    background: #ffffff; /* Assuming $sidebar-content-bg value */
    transition: all 0.3s; /* Assuming $sidebar-transition value */
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    background: #ffff; /* Assuming $sidebar-nav-background value */
}

/* Sidebar links */
.sidebar-link,
a.sidebar-link {
    display: block;
    padding: 0.75rem 1.25rem; /* Assuming $sidebar-link-padding value */
    margin: 0.2rem 0.5rem; /* Assuming $sidebar-link-margin value */
    color: var(--bh-primary-bg-color); /* Assuming $sidebar-link-color value */
    font-weight: 400; /* Assuming $sidebar-link-font-weight value */
    background: transparent; /* Assuming $sidebar-link-bg value */
    border-radius: 0.25rem; /* Assuming $sidebar-link-border-radius value */
    transition: background 0.1s ease-in-out;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}

    .sidebar-link svg,
    .sidebar-link .fas,
    .sidebar-link .far,
    .sidebar-link .fal,
    .sidebar-link .fab {
        margin-right: 0.75rem;
        color: #000000; /* Assuming $sidebar-link-icon-color value */
    }

    .sidebar-link:focus {
        outline: 0;
    }

    .sidebar-link:hover {
        color: #000000; /* Assuming $sidebar-link-hover-color value */
        background: rgba(255, 255, 255, 0.1); /* Assuming $sidebar-link-hover-bg value */
    }

        .sidebar-link:hover svg,
        .sidebar-link:hover .fas,
        .sidebar-link:hover .far,
        .sidebar-link:hover .fal,
        .sidebar-link:hover .fab {
            color: var(--bh-button-bg-color); /* Assuming $sidebar-link-icon-hover-color value */
        }

/* Style for active sidebar items with more visible background */
.sidebar-item.active > .sidebar-link,
.sidebar-item.active > .sidebar-link:hover {
    color: var(--bh-primary-bg-color);
    background: #ededed; /* Light purple/blue background for better visibility */
    font-weight: 600; /* Make text bolder to emphasize selection */
}

    /* Style for active sidebar icons */
    .sidebar-item.active > .sidebar-link svg,
    .sidebar-item.active > .sidebar-link:hover svg,
    .sidebar-item.active > .sidebar-link .fas,
    .sidebar-item.active > .sidebar-link:hover .fas,
    .sidebar-item.active > .sidebar-link .far,
    .sidebar-item.active > .sidebar-link:hover .far,
    .sidebar-item.active > .sidebar-link .fal,
    .sidebar-item.active > .sidebar-link:hover .fal,
    .sidebar-item.active > .sidebar-link .fab,
    .sidebar-item.active > .sidebar-link:hover .fab {
        color: var(--bh-button-bg-color); /* Assuming $sidebar-link-icon-active-color value */
    }

/* Children */
.sidebar-dropdown .sidebar-link {
    padding: 0.625rem 1.25rem 0.625rem 3.25rem; /* Assuming $sidebar-link-child-padding value */
    margin: 0.125rem 0.5rem; /* Assuming $sidebar-link-child-margin value */
    color: #000000; /* Assuming $sidebar-link-child-color value */
    background: transparent; /* Assuming $sidebar-link-child-bg value */
    font-weight: 400; /* Assuming $sidebar-link-child-font-weight value */
    font-size: 1rem;
}

/* Enhanced styling for child items ONLY when their direct parent is active */
.sidebar-item.active > .sidebar-dropdown .sidebar-item .sidebar-link {
    /* border-left: 3px solid #e0e7ff;  */
    background: rgba(224, 231, 255, 0.1); /* Very subtle background for all children */
}

/* Hover effect for children to match parent */
.sidebar-dropdown .sidebar-item .sidebar-link:hover {
    color: #3f3e3e; /* Assuming $sidebar-link-child-hover-color value */
    background: #f0f4ff; /* Lighter version of selected background */
    font-weight: 400; /* Assuming $sidebar-link-hover-font-weight value */
}

/* More distinct styling for active child items */
.sidebar-dropdown .sidebar-item.active > .sidebar-link {
    color: #000000; /* Assuming $sidebar-link-child-active-color value */
    background: #f4f4f4 !important; /* Same background as active parent for consistency */
    font-weight: 600; /* Assuming $sidebar-link-active-font-weight value */
    border-left: 3px solid var(--bh-button-bg-color); /* Colored border for active child */
}

/* Reset non-active items in other dropdowns */
.sidebar-item:not(.active) > .sidebar-dropdown .sidebar-item .sidebar-link {
    border-left: 0;
    background: transparent;
}

/* Ensure dropdown content appears when parent is active */
.sidebar-item.active > .sidebar-dropdown .collapse .sidebar-link {
    display: block !important;
}

/* Chevron */
.sidebar [data-bs-toggle="collapse"] {
    position: relative;
}

    .sidebar [data-bs-toggle="collapse"]:before {
        content: " ";
        border: solid;
        border-width: 0 0.1rem 0.1rem 0;
        display: inline-block;
        padding: 2.5px;
        transform: rotate(-45deg);
        position: absolute;
        top: 1.2rem;
        right: 1.25rem;
        transition: all 0.2s ease-in-out;
    }

    .sidebar [aria-expanded="true"]:before,
    .sidebar [data-bs-toggle="collapse"]:not(.collapsed):before {
        transform: rotate(45deg);
    }

/* Toggle states */
.sidebar-toggle {
    cursor: pointer;
    width: 26px;
    height: 26px;
    margin-left: 0.5rem; /* Assuming $spacer*0.5 value */
}

/* Icon-only sidebar by default */
.sidebar {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
}

    .sidebar .sidebar-brand span,
    .sidebar .sidebar-header,
    .sidebar .sidebar-user span,
    .sidebar .sidebar-link span,
    .sidebar [data-bs-toggle="collapse"]:before {
        display: none;
    }

    /* Hide user name and title in collapsed state */
    .sidebar .sidebar-user p,
    .sidebar .sidebar-user h3 {
        display: none;
    }

    .sidebar .sidebar-link {
        padding: 0.75rem;
        text-align: center;
    }

        .sidebar .sidebar-link svg,
        .sidebar .sidebar-link .fas,
        .sidebar .sidebar-link .far,
        .sidebar .sidebar-link .fal,
        .sidebar .sidebar-link .fab {
            margin-right: 0;
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
        }

    /* Expanded sidebar on hover */
    .sidebar:hover {
        width: 250px;
        min-width: 280px;
        max-width: 340px;
    }

        .sidebar:hover .sidebar-brand span,
        .sidebar:hover .sidebar-header,
        .sidebar:hover .sidebar-user span,
        .sidebar:hover .sidebar-link span,
        .sidebar:hover [data-bs-toggle="collapse"]:before {
            display: inline-block;
        }

        /* Show user name and title on hover */
        .sidebar:hover .sidebar-user p,
        .sidebar:hover .sidebar-user h3 {
            display: block;
        }

        .sidebar:hover .sidebar-link {
            padding: 0.75rem 1.25rem;
            text-align: left;
        }

            .sidebar:hover .sidebar-link svg,
            .sidebar:hover .sidebar-link .fas,
            .sidebar:hover .sidebar-link .far,
            .sidebar:hover .sidebar-link .fal,
            .sidebar:hover .sidebar-link .fab {
                margin-right: 0.75rem;
            }

    .sidebar.toggled {
        margin-left: -80px;
    }

        .sidebar.toggled .sidebar-content {
            left: -250px;
        }

@media (min-width: 1px) and (max-width: 991.98px) {
    /* Sidebar default state (on mobile) */
    .sidebar {
        margin-left: -250px;
    }

        .sidebar .sidebar-content {
            left: -250px;
        }

        /* Sidebar toggled state (on mobile) */
        .sidebar.toggled {
            margin-left: 0;
        }

            .sidebar.toggled .sidebar-content {
                left: 0;
            }

    /* Sidebar collapsed state (on mobile) */
    .sidebar-collapsed {
        margin-left: 0;
    }

        .sidebar-collapsed .sidebar-content {
            left: 0;
        }

        .sidebar-collapsed.toggled {
            margin-left: -250px;
        }

            .sidebar-collapsed.toggled .sidebar-content {
                left: -250px;
            }
}

/* Sidebar header */
.sidebar-header {
    background: transparent;
    color: var(--bh-primary-bg-color); /* Assuming $sidebar-header-color value */
    padding: 1.5rem 1.5rem 0.5rem; /* Assuming $sidebar-header-padding value */
    font-size: 0.75rem; /* Assuming $sidebar-header-font-size value */
    font-weight: 600; /* Assuming $sidebar-header-font-weight value */
    text-transform: uppercase; /* Assuming $sidebar-header-text-transform value */
}

/* Badge */
.sidebar-badge {
    position: absolute;
    right: 15px;
    top: 13px;
}

.sidebar-dropdown .sidebar-badge {
    top: 7px;
}

/* Ensure dropdown content is hidden by default */
.sidebar-dropdown .collapse {
    display: none;
}

.sidebar:not(:hover) .sidebar-dropdown {
    display: none !important;
}


/* Only show when explicitly expanded */
.sidebar-dropdown .collapse.show {
    display: block;
}

.sidebar:not(:hover) .collapse.show {
    display: none !important;
}


/* Ensure toggle indicators show the correct state */
.sidebar [data-bs-toggle="collapse"] {
    position: relative;
}

    /* Default state - pointing down (closed) */
    .sidebar [data-bs-toggle="collapse"]:before {
        transform: rotate(-45deg);
    }

    /* Only rotate when explicitly expanded */
    .sidebar [aria-expanded="true"]:before,
    .sidebar [data-bs-toggle="collapse"].show:before {
        transform: rotate(45deg);
    }

/* Added: Active background color for dropdown links */
.sidebar-dropdown.list-unstyled.collapse.show .sidebar-link.active {
    background-color: #B3D7EF;
}

/* Added: Hover background color for dropdown links */
.sidebar-dropdown.list-unstyled.collapse.show .sidebar-link:hover {
    background-color: #b3d7efc9;
    color: #000000;
}


/* Pin button styles */
.sidebar-pin {
    /* position: absolute; */
    left: 15%;
    top: -20%;
    margin-top: 8%;
    margin-left: 85%;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-block;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}

    .sidebar-pin i {
        color: var(--bh-button-hover-bg-color);
    }

.sidebar:hover .sidebar-pin,
.sidebar.pinned .sidebar-pin {
    opacity: 1;
    visibility: visible;
}

.sidebar-pin:hover {
    color: var(--bh-button-bg-color);
    background: rgba(0,0,0,0.05);
}

.sidebar-pin.active {
    color: var(--bh-button-bg-color);
    transform: rotate(45deg);
}

/* Pinned sidebar styles */
.sidebar.pinned {
    width: 250px;
    min-width: 280px;
    max-width: 340px;
}

    .sidebar.pinned .sidebar-brand span,
    .sidebar.pinned .sidebar-header,
    .sidebar.pinned .sidebar-user span,
    .sidebar.pinned .sidebar-link span,
    .sidebar.pinned [data-bs-toggle="collapse"]:before {
        display: inline-block;
    }

    .sidebar.pinned .sidebar-user p,
    .sidebar.pinned .sidebar-user h3 {
        display: block;
    }

    .sidebar.pinned .sidebar-link {
        padding: 0.75rem 1.25rem;
        text-align: left;
    }

        .sidebar.pinned .sidebar-link svg,
        .sidebar.pinned .sidebar-link .fas,
        .sidebar.pinned .sidebar-link .far,
        .sidebar.pinned .sidebar-link .fal,
        .sidebar.pinned .sidebar-link .fab {
            margin-right: 0.75rem;
        }

    .sidebar.pinned .sidebar-dropdown {
        /* Remove forced display */
        display: none;
    }

        /* Ensure dropdown links are styled correctly when visible */
        .sidebar.pinned .sidebar-dropdown .sidebar-link {
            /* padding: 0.625rem 1.25rem 0.625rem 3.25rem; */
            text-align: left;
        }



        /* Only show dropdown content when it's explicitly opened */
        .sidebar.pinned .sidebar-dropdown.collapse.show {
            display: block !important;
        }

    /* Keep dropdown children hidden when parent isn't expanded */
    .sidebar.pinned .sidebar-item:not(.active) > .sidebar-dropdown .collapse:not(.show) {
        display: none;
    }





/* Date Created , Page Last Modified */

.date-container {
    display: flex;
    justify-content: space-between; /* Space between left and right sides */
    align-items: flex-start; /* Align items to the top */
    width: 100%; /* Full width */
    margin-top: 20px;
    margin-bottom: 20px;
}

.left-side, .right-side {
    flex: 1; /* Each side takes equal space */
}

.left-side {
    text-align: left; /* Align text to the left */
}

.right-side {
    text-align: right; /* Align text to the right */
}

.form-label {
    font-weight: bold; /* Bold labels */
    margin-bottom: 5px; /* Space between label and value */
}

h2, h4 {
    margin: 0; /* Remove default margin */
}






/* dataset definition download popup */

.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-popup-content {
    background: white;
    width: 800px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    height: 50%
}

.custom-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    .custom-popup-header h4 {
        margin: 0;
    }

.modal-header {
    padding: 0.5rem 1rem; /* Reduced padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    margin-bottom: 0; /* Remove default margin */
}

.custom-close-btn {
    color: #aaa;
    background: none;
    border: none;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    padding: 0.25rem 0.5rem; /* Added padding for better click area */
    margin-left: auto; /* Push to the right */
    line-height: 1; /* Prevent extra space */
}

    .custom-close-btn:hover {
        color: black;
    }

.custom-download-options {
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

    .custom-download-options label {
        display: block;
        margin-bottom: 8px;
    }

.custom-download-button {
    margin-top: 15px;
    /* width: 100%; */
    background-color: var(--bh-button-bg-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 82%;
}




/* datashape edit multiple dropdown */

.multi-dropdown {
    margin-bottom: 30px;
}

    .multi-dropdown .form-select {
        width: 134%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
    }

        .multi-dropdown .form-select[multiple] {
            height: auto;
        }

    .multi-dropdown .btn {
        padding: 8px 10px;
        background-color: var(--bh-button-bg-color);
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        margin-left: 96%;
    }

        .multi-dropdown .btn:hover {
            background-color: #335ca1;
        }

    .multi-dropdown .form-container {
        margin-top: 0px;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 0px 0px 4px 4px;
        background-color: #f9f9f9;
    }

    .multi-dropdown .form-group {
        margin-bottom: 15px;
    }

        .multi-dropdown .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

    .multi-dropdown .form-control #tag-input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
    }



.form-container {
    position: relative; /* Required for positioning the close button */
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.close-form-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    color: #999;
    user-select: none;
    font-weight: bold;
}

    .close-form-btn:hover {
        color: #333;
    }




.custom-multi-select {
    position: relative;
    width: 100%;
}

    .custom-multi-select input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        cursor: pointer;
    }

.multi-select-options {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
}

    .multi-select-options div {
        padding: 8px;
        cursor: pointer;
    }

        .multi-select-options div:hover {
            background: #f0f0f0;
        }

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
}

.tag {
    background: #ddd;
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .tag span {
        cursor: pointer;
        font-weight: bold;
    }


.dropdown-item i.bi {
    margin-right: 12px; /* Creates space between icon and text */
    min-width: 16px; /* Ensures consistent space even when icon is not visible */
    display: inline-block;
    text-align: center; /* Centers the icon within its space */
}

/* Improve dropdown item alignment and spacing */
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
}

    /* Style for dropdown item when selected */
    .dropdown-item.selected {
        background-color: rgba(0, 0, 0, 0.05);
    }

    /* Add some subtle hover effect for better UX */
    .dropdown-item:hover {
        background-color: #f8f9fa;
    }



/* my data page popup start */

.ai-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.ai-popup {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e6e6e6;
}

.ai-popup-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .ai-popup-title svg {
        width: 20px;
        height: 20px;
    }

.ai-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.ai-popup-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.ai-chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 400px;
}

.ai-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ai-message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #153D77;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .ai-message-avatar.user {
        background-color: #e0e0e0;
    }

    .ai-message-avatar svg {
        width: 16px;
        height: 16px;
        color: white;
    }

.ai-message-content {
    background-color: #f5f7f9;
    padding: 12px 16px;
    border-radius: 8px;
    line-height: 1.5;
    font-size: 14px;
    max-width: 80%;
}

.ai-message.user .ai-message-content {
    background-color: #153D77;
    color: white;
    margin-left: auto;
}

.ai-input-container {
    display: flex;
    border-top: 1px solid #e6e6e6;
    padding: 12px 16px;
    align-items: center;
    gap: 12px;
}

.ai-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    resize: none;
    max-height: 120px;
    min-height: 20px;
    overflow-y: auto;
}

    .ai-input:focus {
        border-color: #153D77;
    }

.ai-send-btn {
    background-color: #153D77;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: background-color 0.2s;
}

    .ai-send-btn:hover {
        background-color: #153D77;
    }

.ai-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
}

.ai-typing-dot {
    width: 6px;
    height: 6px;
    background-color: #153D77;
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite ease-in-out both;
}

    .ai-typing-dot:nth-child(1) {
        animation-delay: 0s;
    }

    .ai-typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .ai-typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes typingAnimation {
    0%, 80%, 100% {
        transform: scale(0.6);
    }

    40% {
        transform: scale(1);
    }
}

.ai-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-top: 1px solid #e6e6e6;
}

.ai-suggestion-chip {
    background-color: #f0f0f0;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

    .ai-suggestion-chip:hover {
        background-color: #e0e0e0;
    }






.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
    align-items: center;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: last baseline;
    padding: 5px;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .action-btn:hover {
        background-color: rgba(3, 62, 255, 0.05);
    }

.file-icon {
    margin-right: 8px;
    vertical-align: middle; /* Ensure icons are vertically aligned */
}

.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.grid-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.file-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.file-details {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #666;
}

.file-info {
    flex-grow: 1; /* Ensure the info section takes up remaining space */
}

.file-actions {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    margin-top: 10px;
}

.file-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.more-options-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: background-color 0.2s;
}

    .more-options-btn:hover {
        background-color: rgba(3, 62, 255, 0.1);
        border-radius: 4px;
    }

/* Dropdown Menu */
.more-actions-menu {
    position: absolute;
    top: 30px;
    right: 5px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    width: 150px;
}

    .more-actions-menu .action-btn {
        display: flex;
        align-items: left;
        padding: 8px;
        width: 100%;
        border: none;
        background: none;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .more-actions-menu .action-btn i {
            margin-right: 8px;
        }

        .more-actions-menu .action-btn:hover {
            background-color: rgba(3, 62, 255, 0.1);
        }



.scheduler-icon {
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    margin-left: 390%;
    margin-bottom: 125%;
}

    .scheduler-icon i {
        color: #003366;
    }




.gdrive-tabs {
    display: flex;
    /* border-bottom: 1px solid #dadce0; */
}

.gdrive-tab {
    padding: 12px 16px;
    margin-right: 8px;
    border: none;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    font-size: 18px;
}

    .gdrive-tab:hover {
        color: #335ca1;
    }

    .gdrive-tab.active {
        color: #fff;
    }

        .gdrive-tab.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #1a73e8;
        }

.gdrive-tab-content {
    display: none;
    padding: 10px 0px;
}

    .gdrive-tab-content.active {
        display: block;
    }




#space-border {
    border: 1px solid #ccc;
    width: 98%;
    min-height: 45px;
    margin-left: 10px;
    border-radius: 5px;
}






.provider-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.provider-card__title {
    margin: 0;
    color: #333;
}

.provider-card__nav-icon {
    font-size: 24px;
    color: #666;
    cursor: pointer;
}

.tag-manager {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.tag-manager__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tag-manager__title {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.tag-manager__selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    min-height: 50px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
}

.tag-manager__tag {
    background-color: #e1e1e1;
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag-manager__tag-remove {
    cursor: pointer;
    color: #888;
    margin-left: 5px;
}

.tag-form-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    width: 320px;
    border: 1px solid #ddd;
}

.tag-form-popup__close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.tag-form__group {
    margin-bottom: 15px;
}

    .tag-form__group label {
        display: block;
        font-size: 14px;
        color: #333;
        font-weight: bold;
        margin-bottom: 5px;
    }

.tag-form__input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.tag-form__submit-btn {
    background-color: var(--bh-button-bg-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

    .tag-form__submit-btn:hover {
        background-color: #335ca1;
    }

.tag-manager__add-btn {
    background-color: var(--bh-button-bg-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .tag-manager__add-btn:hover {
        background-color: #335ca1;
        transition: all 0.5s ease;
    }

    .tag-manager__add-btn::before {
        content: "+";
        font-size: 16px;
    }

.space-border1 {
    border: 1px solid #ccc;
    width: 100%;
    min-height: 45px;
    /* margin-left: 10px; */
    border-radius: 5px;
}

#departmentcard {
    width: 100%;
    /*margin-left: 10px;*/
}


.close-department-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-size: 30px;
    color: #989292;
    font-weight: bold;
    /* border: 1px solid #555; */
}

    .close-department-btn:hover {
        color: black;
    }

.close-industry-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-size: 30px;
    color: #989292;
    font-weight: bold;
}

    .close-industry-btn:hover {
        color: black;
    }

.close-service-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-size: 30px;
    color: #988585;
    font-weight: bold;
}

    .close-service-btn:hover {
        color: black;
    }



.custom-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.5rem;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
}

    .custom-close:hover {
        color: #ff0000;
        transform: scale(1.2);
    }






/* my data page */
.toolbar {
    position: relative;
    display: inline-block;
}

    .toolbar h4 {
        position: relative; /* So ::after can be positioned absolutely */
        display: inline-block; /* Makes width effective, keeps it inline */
        padding: 10px 16px;
        padding-right: 30px; /* Space for the dropdown arrow */
        background-color: var(--bh-primary-font-color);
        color: #000;
        border: 1px solid #ccc;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
        font-size: 15px;
        box-shadow: 0px 0px 8px #ccc;
        width: 170px;
        margin-right: 80px;
        text-align: center;
        vertical-align: middle;
    }

        .toolbar h4::after {
            content: "\25BC"; /* ▼ down arrow */
            position: absolute;
            right: 10px; /* Fixed to the right side */
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            transition: transform 0.3s ease-in-out;
            pointer-events: none; /* Allows click-through to h4 */
        }

/* .toolbar h4.active::after {
  transform: rotate(180deg); 
} */

.mydrive-dropdown-content a.selected {
    background-color: #ededed;
    color: black;
}

.mydrive-dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 170px; /* Reduced width */
    max-width: 250px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border-radius: 5px;
    overflow: hidden;
    top: 47px;
    /* margin-left: 60px; */
    left: 3px;
}

    .mydrive-dropdown-content a {
        color: black;
        padding: 8px 12px; /* Adjusted padding */
        text-decoration: none;
        display: block;
        font-size: 14px;
        transition: background 0.3s ease-in-out;
    }

        .mydrive-dropdown-content a:hover {
            background-color: #f1f1f1;
        }

    .mydrive-dropdown-content .show {
        display: block;
    }



/*MY-DATA PAGE SEARCH BAR  */
.unique-search-container {
    display: flex;
    /* align-items:flex-start; */
    margin-top: -32px;
    background-color: #EEEEEE;
    border-radius: 25px;
    padding: 8px 15px;
    min-width: 150px;
    max-width: 900px;
    margin-left: 230px;
    transition: all 0.3s ease-in-out;
}

.unique-search-bar {
    flex: 1;
    border: none;
    background: transparent;
    color: #000;
    font-size: 16px;
    outline: none;
}

.unique-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    font-size: 18px;
}

.unique-search-container:hover {
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

/*MY-DATA PAGE SEARCH BAR end */

/* APP-HOME SEARCH BAR */
.unique-search-container1 {
    display: flex;
    /* align-items:flex-start; */
    margin-top: -10px;
    background-color: #EEEEEE;
    border-radius: 25px;
    padding: 8px 15px;
    min-width: 150px;
    max-width: 900px;
    width: 900px;
    height: 50px;
    /* margin-left: 230px; */
    transition: all 0.3s ease-in-out;
}

.unique-search-bar1 {
    flex: 1;
    border: none;
    background: transparent;
    color: #000;
    font-size: 16px;
    outline: none;
}

.unique-search-btn1 {
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    font-size: 18px;
}

.unique-search-container1:hover {
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}
/* APP-HOME SEARCH BAR END */


.file-type-dropdown {
    position: relative;
    display: inline-block;
    margin-left: -50%;
    z-index: 999;
}

.file-type-button {
    position: relative;
    display: inline-block;
    width: 225px;
    padding: 8px 16px;
    padding-right: 30px; /* space for arrow */
    background-color: var(--bh-primary-font-color);
    color: #000;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0px 0px 8px #ccc;
    text-align: center;
    overflow: hidden;
}

    /* Proper arrow handling */
    .file-type-button::after {
        content: "▼";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        pointer-events: none;
    }

    .file-type-button .selected-text {
        display: inline-block;
        max-width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

.file-type-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px); /* Slight space below the button */
    left: 0;
    min-width: 225px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999; /* Ensure it's above other content */
    text-transform: lowercase;
    overflow: hidden;
}

    .file-type-menu a {
        color: black;
        padding: 8px 12px;
        text-decoration: none;
        display: block;
        transition: background 0.3s ease-in-out;
        font-size: 14px;
    }

        .file-type-menu a:hover {
            background-color: #f1f1f1;
        }
.show {
        display: block;
}
.file-type-menu.show {
    display: block !important;
}

.file-type-menu a.selected {
    background-color: #e9ecef;
}







.custom-tabs {
    display: flex;
    gap: 10px;
    /* border-bottom: 2px solid #ddd; */
    padding-bottom: 10px;
    /* margin-bottom: 20px; */
}

.custom-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s;
    position: relative;
    font-size: 18px;
}

    .custom-tab.active {
        /* font-weight: bold; */
        color: #ffff;
        border-bottom: 3px solid #007bff;
    }

    .custom-tab:hover {
        color: #0056b3;
    }

.custom-tab-content {
    display: none;
    /* padding: 20px; */
    /* border: 1px solid #ddd; */
    border-radius: 5px;
    background: #f9f9f9;
}

    .custom-tab-content.active {
        display: block;
    }







.ai-dashboard-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Chat Panel (Left Side) */
.ai-chat-panel {
    width: 40%;
    background-color: white;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e0e0e0;
}

.ai-chat-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
}

    .ai-chat-title svg {
        color: var(--bh-button-bg-color);
    }

.ai-chat-actions {
    display: flex;
    gap: 12px;
}

.ai-header-icon {
    background: none;
    border: none;
    cursor: pointer;
    /* padding: 5px; */
    border-radius: 4px;
    color: #666;
    transition: all 0.2s;
}

    .ai-header-icon:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #333;
    }

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-behavior: smooth; /* Smooth scrolling */
}

    /* Custom Scrollbar (WebKit browsers) */
    .ai-chat-messages::-webkit-scrollbar {
        width: 6px; /* Slim scrollbar for chat */
    }

    .ai-chat-messages::-webkit-scrollbar-track {
        background: rgba(241, 241, 241, 0.5); /* Semi-transparent light track */
        border-radius: 3px;
    }

    .ai-chat-messages::-webkit-scrollbar-thumb {
        background: #213E71;
        border-radius: 3px;
    }

.ai-user-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
    align-self: flex-end;
    background-color: var(--bh-button-bg-color);
    color: white;
    border-radius: 12px 12px 0 12px;
}

.ai-message-container {
    align-self: flex-start;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ai-bot-avatar {
    width: 28px;
    height: 28px;
    background-color: var(--bh-button-bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message-content {
    background-color: #f0f2f5;
    border-radius: 0 12px 12px 12px;
    padding: 12px 16px;
}

.ai-suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 15px;
    border-top: 2px dashed #ccc;
}

.ai-suggestion-item {
    background-color: #f0f2f5;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .ai-suggestion-item:hover {
        background-color: #e4e6e9;
    }

.ai-input-container {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ai-chat-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    outline: none;
    font-size: 14px;
    max-width: 500px;
    min-width: 335px;
    box-sizing: border-box;
}

    .ai-chat-input:focus {
        border-color: var(--bh-primary-bg-color);
    }

.ai-input-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ai-send-button {
    background-color: #4a6cf7;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .ai-send-button:hover {
        background-color: #3a5cdb;
    }

.ai-input-icon {
    background: none;
    border: none;
    cursor: pointer;
    /* padding: 8px; */
    border-radius: 50%;
    color: #666;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .ai-input-icon:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #333;
    }

.ai-send-button {
    background-color: var(--bh-button-bg-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0; /* Prevent button from shrinking */
}

    .ai-send-button:hover {
        background-color: #335ca1;
    }

.ai-input-icon {
    background: none;
    border: none;
    cursor: pointer;
    /* padding: 8px; */
    border-radius: 50%;
    color: #666;
    transition: all 0.2s;
    flex-shrink: 1; /* Prevent icons from shrinking */
}

    .ai-input-icon:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #333;
    }



/* Visualization Panel Styles */
.ai-visualization-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    background-color: #f8f9fa;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth; /* Smooth scrolling for dynamic content */
}

    /* Light Mode Scrollbar (Default) */
    .ai-visualization-panel::-webkit-scrollbar {
        width: 6px;
        height: 4px; /* For horizontal scroll if needed */
    }

    .ai-visualization-panel::-webkit-scrollbar-track {
        background: rgba(233, 236, 239, 0.5); /* Light gray with transparency */
        border-radius: 4px;
    }

    .ai-visualization-panel::-webkit-scrollbar-thumb {
        background: #213E71;
        border-radius: 4px;
    }


.ai-viz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ai-viz-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.ai-viz-tabs {
    display: flex;
    gap: 2px;
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 2px;
}

.ai-viz-tab {
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.ai-tab-active {
    background-color: white;
    color: #4a6cf7;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ai-viz-tab:not(.ai-tab-active) {
    color: #666;
}

    .ai-viz-tab:not(.ai-tab-active):hover {
        background-color: rgba(255, 255, 255, 0.5);
        color: #333;
    }

.ai-viz-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Chart Box Styles */
.ai-chart-box {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.ai-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ai-chart-title {
    font-weight: 600;
    color: #333;
}

.ai-chart-actions {
    display: flex;
    gap: 5px;
}

.ai-chart-action {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
    color: #666;
    transition: all 0.2s;
}

    .ai-chart-action:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #333;
    }

.ai-chart-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #f9f9f9;
    overflow: hidden;
    min-height: 300px;
}

/* Report Styles */
.ai-report-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.ai-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ai-report-title {
    font-weight: 600;
    color: #333;
}

.ai-report-actions {
    display: flex;
    gap: 5px;
}

.ai-report-action {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
    color: #666;
    transition: all 0.2s;
}

    .ai-report-action:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #333;
    }

.ai-report-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-report-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.ai-section-title {
    font-weight: 500;
    color: #555;
    margin-bottom: 10px;
}

.ai-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.ai-metric-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    position: relative;
}

.ai-metric-label {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
}

.ai-metric-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.ai-metric-change {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 12px;
}

    .ai-metric-change.positive {
        background-color: #e6f7e6;
        color: #2e7d32;
    }

    .ai-metric-change.negative {
        background-color: #ffebee;
        color: #c62828;
    }

.ai-trends-list {
    padding-left: 20px;
    line-height: 1.6;
}

.ai-recommendations-box {
    padding: 15px;
    background-color: #f0f8ff;
    border-radius: 8px;
    border-left: 3px solid #4a6cf7;
}

.ai-recommendation {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

    .ai-recommendation:last-child {
        margin-bottom: 0;
    }

.ai-recommendation-bullet {
    color: #4a6cf7;
}

/* Insights Styles */
.ai-insights-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-insight-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    position: relative;
    border-left: 4px solid;
}

.ai-insight-trend {
    background-color: #f0f7ff;
    border-left-color: #4a6cf7;
}

.ai-insight-segmentation {
    background-color: #f0f5ff;
    border-left-color: #7c4dff;
}

.ai-insight-opportunity {
    background-color: #f0fff4;
    border-left-color: #00c853;
}

.ai-insight-warning {
    background-color: #fff8e1;
    border-left-color: #ff9100;
}

.ai-insight-title {
    margin-bottom: 10px;
    color: #555;
    font-size: 1.1rem;
}

.ai-insight-text {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.ai-insight-footer {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Tab content control */
.ai-tab-content {
    display: none;
}

.ai-active-tab {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* .ai-insights-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-insight-card {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
}

.ai-insight-title {
  margin-bottom: 10px;
  color: #555;
}

.ai-insight-text {
  margin: 0;
  line-height: 1.6;
} */








/* Main Container */
.analyz-container {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

/* Header Styles */
.analyz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .analyz-header .page-title {
        /* font-size: 24px; */
        font-weight: 600;
        color: #2c3e50;
        text-transform: capitalize;
    }

/* Button Styles */
.analyz-container .btn {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
}

.analyz-container .btn-primary {
    background-color: var(--bh-button-bg-color);
    color: white;
}

    .analyz-container .btn-primary:hover {
        background-color: #335ca1;
    }

.analyz-container .btn-outline {
    background-color: var(--bh-button-bg-color);
    border: 1px solid var(--bh-button-bg-color);
    color: white;
}

/* .analyz-container .btn-outline:hover {
  background-color: var(--bh-button-hover-bg-color);
} */

/* Tabs Navigation */
.trifund-nav-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.trifund-nav-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #7f8c8d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

    .trifund-nav-tab:hover {
        color: #7f8c8d;
    }

    .trifund-nav-tab.active {
        color: #7f8c8d;
        border-bottom-color: var(--bh-button-bg-color);
    }

/* Tab Content */
.trifund-tab-content {
    padding: 20px 0;
}

    .trifund-tab-content.hidden {
        display: none;
    }

/* Toolbar Styles */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.filtermain-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .filtermain-controls label {
        font-weight: 500;
    }

    .filtermain-controls input,
    .filtermain-controls select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

.analyz-container #searchInput {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 350px;
    max-width: 480px;
    margin-left: 10px;
}

/* Filter Section */
.filter-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.filter-header {
    margin-bottom: 15px;
}

    .filter-header h3 {
        margin: 0;
        color: #2c3e50;
    }

.filter-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

    .filter-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        height: 38px;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-group {
        min-width: 100%; /* Full width on smaller screens */
    }
}

.filter-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Table Styles */
.trifund-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .trifund-data-table th {
        background-color: #f8f9fa;
        padding: 12px 15px;
        text-align: left;
        font-weight: 600;
        color: #153D77;
        border-bottom: 2px solid #ddd;
    }

    .trifund-data-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }

    .trifund-data-table tr:hover {
        background-color: #f5f5f5;
    }

/* Status Badges */
.status-paid {
    color: #27ae60;
    background-color: #e8f5e9;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    color: #f39c12;
    background-color: #fff3e0;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-approved {
    color: #3498db;
    background-color: #e3f2fd;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-rejected {
    color: #e74c3c;
    background-color: #ffebee;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Pagination Styles */
.trifund-pagination {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.trifund-page-item {
    padding: 3px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .trifund-page-item:hover:not(.active) {
        background-color: #7f8c8d;
    }

    .trifund-page-item.active {
        background-color: var(--bh-button-bg-color);
        color: white;
        border-color: var(--bh-button-bg-color);
    }

    .trifund-page-item.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Voucher Details Cards */
.voucher-details {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.detail-card {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

    .detail-card h3 {
        margin-top: 0;
        color: #153D77;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-label {
    font-weight: 500;
    color: #7f8c8d;
}

.detail-value {
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #95a5a6;
}

    .close-btn:hover {
        color: black;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .analyz-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .trifund-nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .filtermain-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .filter-controls {
        grid-template-columns: 1fr;
    }

    .trifund-data-table {
        display: block;
        overflow-x: auto;
    }
}

#SystemConfigurationstop {
    margin-top: -3%;
}


.appconifgtabs {
    /* display: flex; */
    /* border-bottom: 1px solid #ddd; */
    margin-bottom: -20px;
}

    .appconifgtabs .tab {
        padding: 10px 20px;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 18px;
        /* font-weight: 600; */
        color: #fff;
        position: relative;
        margin-right: 5px;
        margin-top: -18px;
    }

        .appconifgtabs .tab:hover {
            color: #007bff;
        }

        .appconifgtabs .tab.active {
            color: #fff;
            font-weight: bold;
        }

            .appconifgtabs .tab.active::after {
                content: '';
                position: absolute;
                bottom: -1px;
                left: 0;
                right: 0;
                height: 2px;
                background-color: #007bff;
            }

    .appconifgtabs .tab-content {
        display: none;
        padding: 20px 0;
    }

        .appconifgtabs .tab-content.active {
            display: block;
        }









/* Resizable Divider and Toggle Button */
.resizable-divider {
    width: 0px;
    background-color: #e0e0e0;
    cursor: col-resize;
    position: relative;
    z-index: 10;
}

    .resizable-divider:hover,
    .resizable-divider.active {
        background-color: #213E71;
    }


.divider-toggle-btn {
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background: #213E71;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

    .divider-toggle-btn:hover {
        background: #1a3159;
        transform: translateY(-50%) scale(1.05);
    }

    .divider-toggle-btn i {
        font-size: 12px;
    }

/* Main Container Layout */
.app-container-context {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Tree Container Styles */
.tree-container {
    width: 350px;
    min-width: 350px;
    max-width: 500px;
    background-color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #ccc;
    position: relative;
    transition: all 0.3s ease;
    resize: horizontal;
}

/* Content Container Styles */
.content-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: margin-left 0.3s ease;
}

/* Collapsed State Styles */
/* Collapsed State */
.tree-container.collapsed {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-right: none !important;
    overflow: hidden !important;
    resize: none;
}

    .tree-container.collapsed ~ .resizable-divider {
        display: visible;
    }

    .tree-container.collapsed ~ .content-container {
        margin-left: 0 !important;
    }

    .tree-container.collapsed + .resizable-divider .divider-toggle-btn {
        left: 0;
    }

/* Ensure proper stacking context */
.tree-container,
.content-container,
.resizable-divider {
    /* position: relative; */
    /* z-index: 1; */
}

/* Rest of your existing CSS remains exactly the same */
.app-container-context .tree-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

.app-container-context .tree-title {
    font-size: 18px;
    font-weight: 600;
    color: #213E71;
}

.app-container-context .search-box {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: calc(100% - 30px);
    margin: 0 15px 15px 15px;
    position: sticky;
    top: 68px; /* Height of tree-header */
    z-index: 1;
    background-color: white;
}

.app-container-context .tree-content-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 0 15px 15px 7px;
    /* margin-left: -8px; */
}

    /* Styling the Scrollbar */
    .app-container-context .tree-content-wrapper::-webkit-scrollbar {
        display: none;
    }

    .app-container-context .tree-content-wrapper::-webkit-scrollbar-thumb {
        background-color: var(--bh-primary-bg-color);
        border-radius: 10px;
    }

    .app-container-context .tree-content-wrapper::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }


.app-container-context .tree-item {
    list-style: none;
    margin: 5px 0;
    cursor: pointer;
}

.app-container-context .tree-content {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

    .app-container-context .tree-content:hover {
        background-color: #f0f5ff;
    }

.app-container-context .icon {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 25px;
}

.app-container-context .table {
    color: #213E71;
}

.app-container-context .column {
    color: #666;
}

.app-container-context .database {
    color: #213E71;
}

.app-container-context .item-checkbox {
    margin-right: 8px;
    cursor: pointer;
    min-width: 19px;
    min-height: 19px;
    margin-right: 20px;
    accent-color: var(--bh-primary-bg-color);
}

.app-container-context .children {
    padding-left: 20px;
    display: none;
}

.app-container-context .expanded > .children {
    display: block;
}

/* Content Area Styles */
.app-container-context .content-container {
    flex: 1;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-container-context .content-header {
    padding: 15px;
    background-color: white;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-container-context .content-title {
    font-size: 18px;
    font-weight: 600;
    color: #213E71;
}

.app-container-context .content-controls {
    display: flex;
    gap: 10px;
}

.app-container-context .btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-container-context .btn-primary {
    background-color: #213E71;
    color: white;
}

.app-container-context .btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.app-container-context .content-body {
    flex: 1;
    padding: 0px;
    overflow-y: auto;
    background-color: white;
}

    /* Styling the Scrollbar */
    .app-container-context .content-body::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .app-container-context .content-body::-webkit-scrollbar-thumb {
        background-color: var(--bh-primary-bg-color);
        border-radius: 10px;
    }

    .app-container-context .content-body::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }


/* Table Styles */
.app-container-context .contract-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .app-container-context .contract-data-table th,
    .app-container-context .contract-data-table td {
        padding: 12px 15px;
        border: 1px solid #e0e0e0;
        text-align: left;
    }

    .app-container-context .contract-data-table th {
        background-color: #f5f7fa;
        color: #213E71;
        font-weight: 600;
        position: sticky;
        top: 0;
    }

    .app-container-context .contract-data-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .app-container-context .contract-data-table tr:hover {
        background-color: #f0f5ff;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-container-context {
        flex-direction: column;
    }

        .app-container-context .tree-container {
            width: 100%;
            height: 40vh;
            border-right: none;
            border-bottom: 1px solid #ddd;
        }

        .app-container-context .content-container {
            height: 60vh;
        }
}

/* Toggle switch for boolean values */
.app-container-context .bool-cell {
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-container-context .bool-true {
    color: #28a745;
}

.app-container-context .bool-false {
    color: #dc3545;
}

.data-source-tabs {
    display: flex;
}

    .data-source-tabs .tab-btn {
        background: none;
        border: none;
        padding: 8px 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        color: #666;
        border-radius: 4px 4px 0 0;
        margin-right: 4px;
    }

        .data-source-tabs .tab-btn i {
            font-size: 16px;
        }

        .data-source-tabs .tab-btn.active {
            background-color: #f0f0f0;
            color: #213E71;
            font-weight: 500;
        }

        .data-source-tabs .tab-btn:not(.active):hover {
            background-color: #f8f8f8;
            color: #333;
        }





/***********Functional scope css begins****************/

/* Info Box */
.datashape-info {
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    color: #000;
}

.datashape-label1 {
    display: block;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 15px;
    margin-top: 3px;
    color: #3E4676;
}

/* Table styling */
.permissions-table {
    width: 100%;
    border-collapse: collapse;
}

    /* Remove vertical lines by avoiding borders on cells */
    .permissions-table th,
    .permissions-table td {
        border: none; /* Remove vertical borders */
        padding: 10px;
        text-align: left; /* Default text alignment */
        /* vertical-align: top;  */
    }


.Functional-Scope-header h2 {
    margin-bottom: 20px;
}
/* Add only horizontal lines between rows */
.permissions-table tr {
    border-bottom: 1px solid #ddd; /* Horizontal line between rows */
}

/* First column styling */
.permissions-table td:first-child {
    color: #3E4676;
    font-weight: bold;
    width: 25%;
    position: relative; /* For absolute positioning of arrows */
}

/* Arrow styling */
.permissions-table .arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    vertical-align: middle;
    margin-right: 5px;
}

/* Change text color for columns */
.permissions-table td:nth-child(2) {
    color: #0c0c0c;
    width: 5%;
}

.permissions-table td:nth-child(3) {
    color: #0c0c0c;
    width: 35%;
}

.permissions-table td:nth-child(4) {
    color: #131311;
    width: 15%;
}

.permissions-table td:nth-child(5) {
    color: #131311;
    width: 15%;
}

/* Dropdown styles */
.dropdown {
    cursor: pointer;
    color: #007bff;
}

    .dropdown + .dropdown-content {
        display: none;
    }

    .dropdown.open + .dropdown-content {
        display: table-row-group;
    }

/* Ensure hand cursor only for dropdown triggers */
.dropdown-trigger, .nested.dropdown-trigger {
    cursor: pointer;
}

/* Ensure default cursor for non-clickable table cells */
.permissions-table td {
    cursor: default;
}

/* Context menu styling */
#contextMenu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 150px;
}

    #contextMenu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #contextMenu li {
        padding: 8px 16px;
        cursor: pointer;
    }

        #contextMenu li:hover {
            background-color: #f5f5f5;
        }

/* Scope Group Dropdown */
#ScopeGroup {
    width: 445px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-position: right 10px center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 10px;
}

.permissions-table-container {
    max-height: 500px;
    overflow: auto;
}

/* Modal styling */
.modal3 {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

    .modal3 .modal-content {
        margin: auto;
        padding: 25px 25px 25px 30px;
        width: 500px;
        box-sizing: border-box;
        background-color: white;
        border-radius: 5px;
        position: relative;
    }

    .modal3 h2 {
        margin-top: 0;
        font-size: 20px;
        text-align: left;
        color: #3E4676;
    }

    .modal3 label {
        display: block;
        font-weight: bold;
        margin-top: 10px;
        color: #3E4676;
    }

    .modal3 input, .modal3 textarea, .modal3 select {
        width: 100%;
        padding: 8px;
        margin-top: 5px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .modal3 textarea {
        resize: vertical;
        height: 80px;
    }

.close-icon {
    position: absolute;
    top: 8px;
    right: 5px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    background: #fff;
    /* border-radius: 50%; */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid #ccc; */
}

/* Button styling */
.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 15px;
}

.ok-btn1, .close-btn1 {
    padding: 10px 15px;
    border: none;
    background-color: #0b2763;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    width: auto;
}

    .ok-btn1:hover, .close-btn1:hover {
        background-color: #007bff;
        color: #fff;
    }

/* Badge styling */
.badge {
    display: inline-block;
    border: 1px solid #0d274e;
    color: #0d274e;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    background-color: white;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.scope-group {
    background-color: #cfd1e873;
}

.scope-category {
    background-color: #d4d8e0;
}

/* Three dots menu */
.more-options {
    position: relative;
}

.three-dots {
    cursor: pointer;
    font-size: 18px;
    color: #333;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    top: 100%;
    right: 0;
    z-index: 10;
    min-width: 120px;
}

    .dropdown-menu ul {
        list-style: none;
        padding: 5px 0;
        margin: 0;
    }

    .dropdown-menu li {
        padding: 8px 16px;
        cursor: pointer;
    }

        .dropdown-menu li:hover {
            background-color: #f5f5f5;
        }

/* Improved hierarchy indentation */
.permissions-table td:first-child {
    padding-left: 10px;
}

.permissions-table tr[data-parent-id="root"] > td:first-child {
    padding-left: 10px;
}

.permissions-table tr[data-parent-id]:not([data-parent-id="root"]) > td:first-child {
    padding-left: 30px;
}

.permissions-table tr[data-parent-id]:not([data-parent-id="root"])[data-parent-id]:not([data-parent-id="root"]) > td:first-child {
    padding-left: 50px;
}

.permissions-table tr[data-parent-id]:not([data-parent-id="root"])[data-parent-id]:not([data-parent-id="root"])[data-parent-id]:not([data-parent-id="root"]) > td:first-child {
    padding-left: 70px;
}



.drive-button-container {
    position: relative;
    display: inline-block;
}

.drive-button {
    padding: 10px 16px;
    background-color: var(--bh-primary-font-color);
    color: #000;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0px 0px 8px #ccc;
}

.drive-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 5px;
}

    .drive-dropdown.show {
        display: block;
    }

.dropdown-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .dropdown-item:hover {
        background-color: #f5f5f5;
    }

    .dropdown-item i {
        margin-right: 10px;
        font-size: 16px;
    }











/* datashape landing grid view */
.grid-view1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
}

    .grid-view1 .grid-item {
        border: 1px solid #e0e0e0;
        border-radius: 0px 12px 12px 12px;
        padding: 15px;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        transition: all 0.2s ease;
        cursor: pointer;
    }

        .grid-view1 .grid-item:hover {
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            background-color: var(--bh-primary-color);
        }



.file-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.file-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: calc(100% - 30px);
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dataset-name {
    font-weight: 500;
    font-size: 15px;
    color: #333;
    line-height: 1.3;
    word-break: break-word;
}

.grid-view1 .grid-item:hover .dataset-name {
    color: var(--bh-primary-font-color);
}


.datadomain {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-top: 20px;
}

.grid-view1 .grid-item:hover .datadomain {
    color: var(--bh-primary-font-color);
}


.owner {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.grid-view1 .grid-item:hover .owner {
    color: var(--bh-primary-font-color);
}


.file-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.more-options-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.grid-view1 .grid-item:hover .more-options-btn {
    color: var(--bh-primary-font-color);
}


.more-actions-menu {
    display: none;
    position: absolute;
    right: 10px;
    top: 30px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    min-width: 150px;
}

    .more-actions-menu button {
        display: block;
        width: 100%;
        text-align: left;
        padding: 8px 12px;
        background: none;
        border: none;
        cursor: pointer;
    }

        .more-actions-menu button:hover {
            background: #f5f5f5;
        }

.export-label {
    font-weight: bold;
    color: rgb(62, 70, 118);
    margin-bottom: 5px;
    display: block;
}


.datashape-info {
    font-size: 14px;
    color: rgb(0, 0, 0);
    margin-top: 20px;
}


.datashape-title {
    color: #0b131e;
}

.datashape1 {
    color: #0b131e;
    /* margin-top:10px; */
}

/* Info Box */
.datashape-info {
    /* background-color: #f1f1f1; */
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    color: #000;
}


/* styles.css */
.dataset-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dataset-header-button {
    padding: 5px 10px;
    background: #213E71;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .dataset-header-button:hover {
        background: #0056b3;
    }

/* Scheduler Popup Styles */
.scheduler-popup-unique {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.popup-content-unique {
    background-color: #fff;
    margin: 3% auto;
    padding: 0;
    width: 800px;
    max-width: 90%;
    /* max-height: 100vh; */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInUnique 0.3s;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUnique {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-header-unique {
    padding: 20px 25px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .popup-header-unique h3 {
        font-weight: bold;
        color: #19376B;
        font-size: 20px;
        font-family: Arial, sans-serif;
        margin-bottom: 2px;
    }

.close-unique {
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

    .close-unique:hover {
        color: #555;
    }

.popup-body-unique {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.popup-footer-unique {
    padding: 20px 25px;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    text-align: right;
}

.form-group-unique {
    margin-bottom: 30px;
}

    .form-group-unique label {
        display: block;
        margin-bottom: 10px;
        font-weight: 500;
        color: rgb(33, 62, 113);
        font-size: 16px;
        color: bold;
    }

    .form-group-unique input[type="text"],
    .form-group-unique input[type="email"],
    .form-group-unique input[type="datetime-local"],
    .form-group-unique input[type="time"],
    .form-group-unique select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ced4da;
        border-radius: 6px;
        font-size: 16px;
        box-sizing: border-box;
    }

.radio-group-unique {
    display: flex;
    gap: 25px;
    margin-top: 10px;
    align-items: center;
}

.radio-option-unique {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-group-unique input[type="radio"] {
    /* width: 18px; */
    /* height: 18px; */
    margin: 0;
}

.radio-group-unique label {
    margin-bottom: 0;
    font-weight: 400;
}

.weekday-selector-unique {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.day-btn-unique {
    position: relative;
    width: 30px;
    height: 30px;
    text-align: center;
}

    .day-btn-unique input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

    .day-btn-unique label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        margin: 0;
        background-color: #f8f9fa;
        border: 1px solid #ced4da;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 14px;
    }

    .day-btn-unique input[type="checkbox"]:checked + label {
        background-color: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }

/* Updated Button Styles (Smaller Size) */
.btn-unique {
    padding: 8px 16px;
    border-radius: 6px;
    /* font-size: 13px; */
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-primary-unique {
    background-color: #213E71;
    color: white;
    border: 1px solid #6c757d;
}

    .btn-primary-unique:hover {
        background-color: #0b5ed7;
    }

.btn-secondary-unique {
    background-color: #213E71;
    color: white;
    border: 1px solid #6c757d;
    margin-right: 15px;
}

    .btn-secondary-unique:hover {
        background-color: #0b5ed7;
    }

.dataset-header-container-unique {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.datashape1-unique {
    margin: 0;
    /* font-size: 1.5rem; */
}

.dataset-header-button-unique {
    padding: 8px 16px;
    background-color: #213E71;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    /* font-size: 13px; */
    font-weight: 500;
}

    .dataset-header-button-unique:hover {
        background-color: #335ca1;
    }


.scheduler-icon {
    width: 16px;
    height: 16px;
    color: white; /* Icon color matches text */
}





/* Labels */
.datashape-label {
    display: block;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
    margin-top: 3px;
    /* margin-left:15px ; */
}

.datashape-label1 {
    display: block;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
    margin-top: 3px;
    margin-left: 9px;
    color: #3E4676;
}

.datashape-label2 {
    display: block;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
    margin-top: 3px;
    margin-right: 10px;
    color: #3E4676;
}

.datashape-label3 {
    display: block;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-left: 8px;
    color: #3E4676;
}

.file-format-header-container {
    margin-bottom: 20px;
}

.file-format-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
/* Inputs, Textareas, and Selects */
.datashape-input,
.datashape-textarea,
.datashape-select {
    width: 100%;
    padding: 8px;
    /* margin-top: 5px; */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Textarea Specific */
.datashape-textarea {
    height: 60px;
    resize: vertical;
}

/* Section Titles */
.datashape-section-title {
    /* margin-top: 10px; */
    font-size: 16px;
    font-weight: bold;
    color: #3E4676;
}
/* Section Titles */
.datashape-section1 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #3E4676;
}


/* Scope Container (Dropdowns) */
.datashape-scope {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-top: 25px;
}

/* Individual Dropdown Boxes */
.datashape-box {
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 150px;
    flex: 1; /* Makes boxes flexible */
    text-align: center;
}
/* Context Menu Styling */
.context-menu {
    display: none;
    position: absolute;
    background-color: #f2f2f2;
    border: 2px solid #4f5a62; /* Light Blue Border */
    padding: 5px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    min-width: 150px;
    list-style: none !important;
    border-radius: 5px;
    padding-left: 0 !important;
}



    /* Context Menu Items */
    .context-menu li {
        padding: 10px 15px;
        cursor: pointer;
        font-size: 14px;
        color: rgb(16, 15, 15); /* White Text */
        transition: background 0.3s;
    }

        /* Hover Effect */
        .context-menu li:hover {
            background-color: #3498db; /* Light Blue Hover */
        }


/* Dropdowns */
.datashape-select {
    width: 100%; /* Full width inside box */
    padding: 5px;
    font-size: 14px;
    margin-right: 40px;
    width: 200px;
}

/* Reduce Dropdown and Label Size */
.datashape-scope .datashape-label {
    font-size: 15px;
    margin-bottom: 10px;
    margin-left: 1px;
}

/* Fieldset Styling */
fieldset {
    border: 1px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
    padding: 20px; /* Inner spacing */
    margin: 20px 0; /* Spacing between fieldsets */
}

/* Container for file format options */
.file-format-container {
    display: flex; /* Flex for even spacing */
    flex-wrap: wrap; /* Allow wrapping */
    gap: 20px; /* Reduce excessive space */
    align-items: center; /* Align items */
    justify-content: flex-start; /* Align to the left */
    margin-left: 25px
}

/* Individual Option Styling */
.file-format-option {
    padding: 8px 12px; /* Adjust padding */
    color: black;
    margin: 5px 0; /* Adds vertical spacing */
    display: flex; /* Aligns radio with text */
    align-items: center;
    gap: 8px; /* Space between radio button and text */
    background-color: #f8f9fa;
    border-radius: 4px;
}

    .file-format-option:hover {
        background-color: #e9ecef;
    }

.upload-container {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.row-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.datashape-label {
    font-weight: bold;
    margin-right: 10px;
}

input[type="file"], select {
    padding: 5px;
    box-sizing: border-box;
    max-width: 100%; /* Ensures it doesn't overflow */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* margin-left: -4px; */
}

.row-container {
    /* display: flex; */
    justify-content: space-between;
    gap: 20px;
}

.file-input-container1 {
    flex: 1;
}



#checkbox-container {
    /* margin-top: 15px; */
}



/* Tab Styles */
.datashapetabs-tabs {
    display: flex;
    border-bottom: 2px solid #ccc;
}

.datashapetabs-tab {
    padding: 10px 15px;
    border: none;
    background-color: #f4f4f4;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 8px;
    margin-bottom: 10px;
}



    .datashapetabs-tab.active,
    .datashapetabs-tab:hover {
        background-color: #fff;
        border-bottom: 1px solid #007bff;
        color: #000;
    }


/* Tab Content Styles */
.datashapetabs-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
}

    .datashapetabs-tab-content.active {
        display: block;
    }
/* Wrapper for the table to make it scrollable both horizontally and vertically */
.table-wrapper {
    overflow: auto; /* Enables both horizontal and vertical scrolling */
    max-height: 400px; /* Adjust for vertical scroll limit */
    width: 100%; /* Full container width */
    border: 1px solid #ccc; /* Optional: Adds border around the table */
    display: block; /* Allows horizontal scrolling */
}

table {
    width: 100%; /* Table takes full width of the container */

    table-layout: auto; /* Allows cells to adjust size based on content */
    border-collapse: collapse; /* Collapses borders into a single line */
}

th, td {
    /* border: 1px solid #ddd; */
    padding: 8px; /* Proper padding for cell content */
    text-align: left;
}

.table-wrapper::-webkit-scrollbar {
    width: 10px;
    height: 5px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #213E71;
    border-radius: 5px;
}



.drag-handle {
    width: 20px; /* Set a small fixed width */
    text-align: center;
    cursor: grab; /* Use grab cursor to indicate draggable area */
    user-select: none; /* Prevent text selection */
    background-color: #f0f0f0; /* Light background for visibility */
}

    .drag-handle:active {
        cursor: grabbing; /* Change cursor when dragging */
    }

.dragging {
    opacity: 0.5;
    background-color: #f0f0f0;
}

.drop-target {
    border-top: 2px solid #007bff;
}





.form-container {
    display: flex;
    flex-wrap: wrap; /* Ensures all elements stay in one row */
    /* gap: 100px;  */
    align-items: center; /* Aligns items vertically */
    justify-content: flex-start; /* Aligns items to the left */
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column; /* Keeps label above the dropdown */
    align-items: flex-start;
    min-width: 120px; /* Adjust as needed */
}

    .form-group select, .form-group input[type="text"] {
        /* width: 120px; */
        padding: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 14px;
        box-sizing: border-box;
        height: 30px;
    }

.checkbox-container div {
    margin-bottom: 10px; /* Adds space between the checkboxes */
    margin-top: 10px;
    margin-bottom: 5px;
}



.checkbox-container label {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}


.save-button1 {
    display: block;
    margin-left: auto;
    margin-right: 0;
    padding: 10px 20px;
    background-color: #0d274e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    width: 100px;
}

    .save-button1:hover {
        background-color: #005a9e;
    }

/* Style for select dropdown */
#schema-dropdown {
    width: 120px; /* Adjust width as needed */

    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: white;
    cursor: pointer;
    margin-left: 2px;
    appearance: none; /* Removes default dropdown styling */
    -webkit-appearance: none;
    -moz-appearance: none;
}

#schema-dropdown {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M1.41 0.295L6 4.875L10.59 0.295L12 1.705L6 7.705L0 1.705L1.41 0.295Z" fill="%23333333"/></svg>') no-repeat;
    ;
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 12px;
}

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    color: #666;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.file-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .file-input-row .drop-zone {
        flex: 1;
        margin-top: 0; /* Remove top margin so it aligns with button */
    }

.hidden-input {
    display: none;
}



.schema-drop-zone:hover {
    border-color: #999;
}

.hidden-input {
    display: none;
}


.table-wrapper {
    margin-top: 20px;
    overflow-x: auto;
}

#schemaTable {
    width: 100%;
    border-collapse: collapse;
}

    #schemaTable th, #schemaTable td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }

    #schemaTable th {
        background-color: #f2f2f2;
    }



.scroll-container {
    width: 100%; /* Full width */
    overflow-x: auto; /* Horizontal scrolling */
}



#addRowButton {
    background-color: #3E4676; /* Green */
    color: white;
    border: none;
    padding: 10px 20px;
    /* font-size: 16px; */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    height: 40px
}

    #addRowButton:hover {
        background-color: #005a9e;
    }

.thick-dot::before {
    content: "•"; /* Bullet character */
    font-size: 18px; /* Adjust size for thickness */
    font-weight: bold;
    margin-right: 5px; /* Space after the dot */
    vertical-align: middle; /* Align vertically */
    display: inline-block;
}

/* Style for level 0 bullet */
.bullet {
    font-size: 18px; /* Adjust size */
    font-weight: bold;
    color: black;
    margin-right: 5px;
    vertical-align: middle; /* Align vertically */
    display: inline-block;
}


.required {
    color: red; /* Only the * will be red */
    font-weight: bold;
}

.file-input-container1 {
    margin: 15px 0;
}

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    position: relative;
    width: 80%;
}

    .drop-zone:hover {
        border-color: #666;
    }

    .drop-zone.dragover {
        border-color: #2196F3;
        background-color: #f0f8ff;
    }

.file-name {
    display: block;
    margin-top: 10px;
    color: #666;
}

.hidden-input {
    display: none;
}

.datashape-label {
    display: block;
    margin-bottom: 5px;
}

.schema-container {
    display: flex;
    gap: 11px;
    align-items: center;
}


.schema-drop-zone {
    flex: 1;
}

.container-wrapper {
    width: 555px;
}

.container-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    /* margin-bottom: 5px; */
}

.transaction-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-top: 15px;
}

.format-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    padding-right: 40px; /* Adjust this value to align with the HL7 button */
    margin-top: 10px;
    margin-bottom: 10px;
}

.container6 {
    background-color: #f2f2f2;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    /* margin-bottom: 20px; */
}

.transaction-text {
    color: #444;
    font-size: 16px;
    font-weight: 500;
    margin-top: 15px;
}

.button-container {
    display: flex;
    align-items: center;
}

.hl7-button {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 20px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 16px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #555;
    font-size: 16px;
}

    .action-btn i {
        font-size: 18px;
    }

.modal-footer .btn-primary {
    background-color: #0d274e;
    /* border-color: #0d6efd; */
}

.modal-footer .text-white {
    background-color: #0d274e;
    /* border-color: #0d6efd; */
}


.close-btn {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1; /* Keep above content */
}


    .close-btn:hover {
        color: #000;
        text-decoration: none;
    }



.calendar-container {
    width: 250px;
}

    .calendar-container button {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 16px;
        padding: 5px 10px;
    }

        .calendar-container button:hover {
            background-color: #f0f0f0;
            border-radius: 3px;
        }

    .calendar-container div[style*="grid"] > div:hover {
        background-color: #e0e0e0;
    }

.fake-calendar-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: white;
    cursor: pointer;
}

    .fake-calendar-input:hover {
        border-color: #aaa;
    }

/* Custom appearance for date input */
.form-group-unique input[type="date"] {
    position: relative;
    padding-right: 35px;
}

    .form-group-unique input[type="date"]::-webkit-calendar-picker-indicator {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        color: transparent;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%23333"><path d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>') no-repeat center;
        background-size: 16px;
        width: 25px;
        height: 25px;
        cursor: pointer;
    }

    /* Placeholder styling */
    .form-group-unique input[type="date"]:not(:focus):not(:valid)::before {
        content: attr(placeholder);
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        pointer-events: none;
    }

    /* Hide the default value display when empty */
    .form-group-unique input[type="date"]:not(:focus):not(:valid) {
        color: transparent;
    }

    /* Focus styles */
    .form-group-unique input[type="date"]:focus {
        outline: none;
        border-color: #4CAF50;
        box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    }

.form-group-unique input[type="date"] {
    width: 100%;
    padding: 13px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
}



.datascope-container {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    max-width: 100%;
    margin-bottom: 20px;
}

.datascope-title {
    color: #444;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
}

/* .datashape-label {
            font-weight: bold;
            color: #344767;
            margin-right: 10px;
            width: 120px;
        } */

.custom-select-container {
    position: relative;
    width: 230px;
    margin-right: 20px;
}

.custom-select-input {
    width: 100%;
    padding: 3px 30px 3px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M1.41 0.295L6 4.875L10.59 0.295L12 1.705L6 7.705L0 1.705L1.41 0.295Z" fill="%23333333"/></svg>') no-repeat;
    background-position: calc(100% - 10px) center;
    cursor: pointer;
}

    .custom-select-input:focus {
        outline: none;
        /* border-color: #80bdff; */
        /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
    }

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.custom-select-option {
    padding: 8px 10px;
    cursor: pointer;
}

    .custom-select-option:hover, .custom-select-option.highlighted {
        background-color: #f0f0f0;
    }

    .custom-select-option.selected {
        background-color: #e0e0ff;
    }

.text-input {
    width: 230px;
    padding: 3px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Specific styles for the header row checkbox */
.header-row-checkbox {
    width: 20px;
    height: 20px;
    min-width: 19px;
    min-height: 19px;
    vertical-align: middle;
    margin-right: 12px;
    /* margin-top: 4px; */
    cursor: pointer;
    accent-color: rgb(33, 62, 113);
    border-radius: 2px;
}



.related-tab-resources {
    font-family: Arial, sans-serif;
    margin: 20px 0;
}

.related-form-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* .related-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  cursor: pointer;
} */

/* .related-col-md-9 {
  flex: 0 0 75%;
  max-width: 75%;
  padding-right: 15px;
  padding-left: 15px;
} */

.related-col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
}

#related-space-border {
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 50px;
    padding: 8px 12px;
    background-color: #fff;
}

.related-form-container {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.related-close-form-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    font-weight: bold;
}

    .related-close-form-btn:hover {
        color: #000;
    }

.related-d-flex {
    display: flex;
}

.related-gap-3 {
    gap: 15px;
}

.related-mt-3 {
    margin-top: 15px;
}

.related-mt-4 {
    margin-top: 20px;
}

.related-fw-bolder {
    font-weight: 700;
}

.related-custom-multi-select {
    position: relative;
    width: 100%;
}

#related-multi-select-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
}

.related-multi-select-options {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    z-index: 1000;
    margin-top: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.related-dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .related-dropdown-item:hover {
        background-color: #f3f3f3;
    }

.related-add-new-option {
    color: #0066cc;
    border-bottom: 1px solid #eee;
}

.related-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-tag {
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.related-remove-tag {
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
}

    .related-remove-tag:hover {
        color: #cc0000;
    }

.bi {
    display: inline-block;
    margin-right: 8px;
    width: 14px;
}

.bi-plus-circle::before {
    content: "+";
}

.bi-check2::before {
    content: "✓";
}


.history-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding: 20px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

    .history-header h3 {
        margin: 0;
        font-size: 24px;
        color: #2c3e50;
    }

.history-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.history-filter, .history-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .history-filter label, .history-search label {
        font-weight: 500;
    }

    .history-filter select {
        padding: 8px 12px;
        border-radius: 4px;
        border: 1px solid #ddd;
        background-color: white;
    }

    .history-search input {
        padding: 8px 12px;
        border-radius: 4px;
        border: 1px solid #ddd;
        min-width: 200px;
    }

    .history-search button {
        padding: 8px 12px;
        background-color: #f0f0f0;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
    }

.history-timeline-container {
    display: flex;
    gap: 30px;
}

.history-timeline {
    flex: 2;
    border-right: 1px solid #eee;
    padding-right: 20px;
    max-height: 600px;
    /* overflow-y: auto; */
}

.history-detail-view {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
}

.history-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #9a9090;
    padding-bottom: 10px;
}

    .history-detail-header h4 {
        margin: 0;
        color: #2c3e50;
    }

    .history-detail-header button {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #777;
    }

.history-item {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #9a9090;
}

    .history-item:hover {
        background-color: #f5f5f5;
        border-color: #ddd;
    }

    .history-item.selected {
        background-color: #e6f2ff;
        border-left: 3px solid #4a90e2;
    }

.history-date {
    min-width: 120px;
    text-align: right;
    padding-right: 15px;
    color: #666;
}

    .history-date .date {
        display: block;
        font-weight: 500;
    }

    .history-date .time {
        display: block;
        font-size: 0.9em;
        color: #888;
    }

.history-details {
    flex: 1;
}

.history-action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.history-icon {
    color: #213E71;
    font-size: 18px;
}

.history-title {
    font-weight: 500;
    color: #2c3e50;
}

.history-user {
    color: #666;
    font-size: 0.9em;
    margin-left: auto;
}

.history-description {
    color: #555;
    font-size: 0.95em;
    line-height: 1.4;
}

.detail-section {
    margin-bottom: 20px;
}

    .detail-section h5 {
        margin: 0 0 8px 0;
        color: #555;
        font-size: 0.95em;
        text-transform: uppercase;
    }

    .detail-section p {
        margin: 0;
        padding: 8px 0;
        color: #333;
    }

#detail-changes {
    background-color: white;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    max-height: 200px;
    /* overflow-y: auto; */
}

#rollback-btn {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

    #rollback-btn:hover {
        background-color: #ffe8a1;
    }

.history-load-more {
    text-align: center;
    margin-top: 20px;
}

#confirmModalOkBtn {
    padding: 8px 16px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    display: flex !important;
    background: #213E71 !important;
    justify-content: center !important;
    min-width: 120px !important;
}

.btn-primary, .btn-secondary, .btn-danger {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    /* gap: 5px; */
}

.btn-primary {
    background-color: #213E71;
    color: white;
}

.btn-secondary {
    background-color: #213E71;
    color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .history-timeline-container {
        flex-direction: column;
    }

    .history-timeline {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 20px;
        max-height: none;
    }

    .history-detail-view {
        width: 100%;
    }
}

/* Unique CSS class names */
.data-spec-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: auto;
    width: 100%;
    box-sizing: border-box;
}

.data-spec-table {
    width: 100%;
    table-layout: auto; /* Changed from fixed to auto for better space distribution */
    border-collapse: collapse;
}

.data-spec-thead {
    background-color: #f2f2f2;
    color: #3E4676;
    position: sticky;
    top: 0;
}

.data-spec-th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
    white-space: nowrap; /* Prevent text wrapping in headers */
}

.data-spec-td {
    padding: 10px 15px;
    border-bottom: 1px solid #ecf0f1;
    vertical-align: top;
}

.data-spec-tr:hover {
    background-color: #f8f9fa;
}

.data-spec-drag-handle {
    cursor: move;
    text-align: center;
    width: 40px;
}

.data-spec-required {
    text-align: center;
    width: 80px;
}

.data-spec-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    background: transparent;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
}

    .data-spec-input:focus {
        outline: none;
        border-color: #3498db;
    }

.data-spec-checkbox {
    transform: scale(1.2);
    cursor: pointer;
}

/* Column width adjustments - removed fixed widths to allow natural distribution */
.data-spec-th:nth-child(2),
.data-spec-th:nth-child(3),
.data-spec-th:nth-child(4),
.data-spec-th:nth-child(5),
.data-spec-th:nth-child(7) {
    width: auto; /* Let the content determine the width */
    min-width: 100px; /* Set minimum widths as needed */
}

/* Optional: Add these if you want the table to stretch to full container width */
.data-spec-table {
    min-width: 100%;
}



* {
    /* font-family: Arial, Helvetica, sans-serif; */
}


p {
    /* font-family: Arial, Helvetica, sans-serif; */
    font-weight: 400;
}

#tree-card {
    height: 100vh;
    /* max-height: 1000px; */
    overflow: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    flex-shrink: 0;
}

#content-card {
    flex-grow: 1;
    border: 1px solid #ccc;
    padding: 20px;
    background: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: auto;
}




.tree-item {
    list-style: none;
}

.tree-content {
    cursor: pointer;
    display: flex;
    padding: 4px 0;
}

    .tree-content:hover {
        background: #f0f0f0;
    }
/* Add these rules */
.content-container {
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    min-width: 300px; /* Minimum width to prevent collapsing too much */
    max-width: 100%; /* Maximum width to prevent overflow */
    width: 100%; /* Ensure default width behavior */
}

#content-header {
    flex-shrink: 0; /* Keep header fixed */
}

#content-body {
    flex-grow: 1;
    overflow: auto;
    position: relative;
}

.content-main::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}


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

.content-main::-webkit-scrollbar-thumb {
    background: var(--bh-primary-bg-color);
    border-radius: 10px;
}

    .content-main::-webkit-scrollbar-thumb:hover {
        /* background: var(--bh-button-hover-bg-color); */
    }



.fixed-columns-scroller {
    height: calc(100% - 20px); /* Account for padding */
    overflow-x: auto;
}

.expander {
    width: 20px;
    display: inline-block;
}

.icon1 {
    margin: 3px;
    width: 30px;
    height: 30px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: #000;
}

    .icon1.mssql-systems {
        background-image: url('https://img.icons8.com/?size=512&id=laYYF3dV0Iew&format=png');
        background-size: cover;
        width: 28px;
        height: 28px;
    }

    .icon1.postgresql-systems {
        background-image: url('https://wiki.postgresql.org/images/6/61/PostgreSQL_Logo.1_Color_Black.png');
        width: 21px;
        height: 21px;
    }


    .icon1.file-systems {
        background-image: url('https://www.iconpacks.net/icons/2/free-file-icon-1453-thumb.png');
        width: 23px;
        height: 23px;
    }

    .icon1.mongodb-systems {
        background-image: url('https://cdn.iconscout.com/icon/free/png-256/free-mongodb-logo-icon-download-in-svg-png-gif-file-formats--technology-social-media-company-vol-5-pack-logos-icons-3146884.png');
        width: 23px;
        height: 23px;
    }

    .icon1.kafka-systems {
        background-image: url('https://svn.apache.org/repos/asf/kafka/site/logos/originals/png/ICON%20-%20Black%20on%20Transparent.png');
        width: 23px;
        height: 23px;
    }

.count {
    margin-left: 8px;
    color: #666;
    font-size: 0.9em;
}

.children {
    padding-left: 20px;
    display: none;
}

.expanded1 > .children {
    display: block;
}

/* Add these to your CSS */
.icon1.datashape-system {
    background-image: url(https://static.thenounproject.com/png/1473724-200.png);
    width: 21px;
    height: 21px;
}

.icon1.hierarchy {
    background-image: url(https://static.vecteezy.com/system/resources/previews/032/415/574/non_2x/hierarchy-structure-outline-icon-hierarchy-icons-collection-hierarchy-silhouette-png.png);
    width: 21px;
    height: 21px;
}

.icon1.flat-structure {
    background-image: url(https://cdn-icons-png.flaticon.com/512/1387/1387599.png);
    width: 21px;
    height: 21px;
}

.icon1.invoice-icon {
    background-image: url(https://cdn.iconscout.com/icon/free/png-256/free-invoice-icon-download-in-svg-png-gif-file-formats--bill-receipt-shopping-pack-e-commerce-icons-1323850.png?f=webp&w=256);
    width: 21px;
    height: 21px;
}

.icon1.invoice-detail {
    background-image: url(https://cdn.iconscout.com/icon/free/png-256/free-invoice-icon-download-in-svg-png-gif-file-formats--bill-receipt-shopping-pack-e-commerce-icons-1323850.png?f=webp&w=256);
    width: 21px;
    height: 21px
}

.icon1.payment-icon {
    background-image: url(https://png.pngtree.com/png-vector/20230407/ourmid/pngtree-online-payment-line-icon-vector-png-image_6692959.png);
    width: 21px;
    height: 21px;
}

.icon1.filefeed-icon {
    background-image: url(https://cdn-icons-png.freepik.com/512/10819/10819277.png);
    width: 21px;
    height: 21px;
}

.icon1.table::before {
    font-family: 'FontAwesome';
    content: '\f0ce';
    color: #525151;
    font-size: 1.2em;
}

.icon1.view {
    position: relative;
    display: inline-block;
}

    .icon1.view::before {
        font-family: 'FontAwesome';
        content: '\f022'; /* Table icon */
        color: #303030;
        font-size: 1.2em;
    }


.icon1.file::before {
    font-family: 'FontAwesome';
    content: '\f15b';
    color: #525151;
    font-size: 1.2em;
}

.icon1.collection::before {
    font-family: 'FontAwesome';
    content: '\f187';
    color: #525151;
    font-size: 1.2em;
}

.icon1.stream::before {
    font-family: 'FontAwesome';
    content: '\f0e8';
    color: #525151;
    font-size: 1.2em;
}

.icon1.column::before {
    font-family: 'FontAwesome';
    content: '\f0db';
    color: #525151;
    font-size: 1.2em;
}

.icon1.database::before {
    font-family: 'FontAwesome';
    content: '\f1c0';
    color: #525151;
    font-size: 1.2em;
}

.icon1.datashape::before {
    font-family: 'FontAwesome';
    content: '\f1b2';
    color: #525151;
    font-size: 1.2em;
}

.icon1.entity::before {
    font-family: 'FontAwesome';
    content: '\f0c8';
    color: #525151;
    font-size: 1.2em;
}

.icon1.hierarchy::before {
    font-family: 'FontAwesome';
    content: '\f0e8';
    color: #525151;
    font-size: 1.2em;
}

.icon1.datashape::before {
    background-image: url('https://cdn-icons-png.flaticon.com/512/162/162893.png');
    content: '';
    display: inline-block;
    width: 21px;
    height: 21px;
    background-size: contain;
}

.icon1.entity::before {
    background-image: url('https://static.thenounproject.com/png/511540-200.png');
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-size: contain;
}

.icon1.hierarchy::before {
    background-image: url('your-image-link-here');
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
}

/* Content card styling */
#content-header {
    /* border-bottom: 1px solid #eee; */
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #213e71;
}

.data-grid {
    width: 100%;
    border-collapse: collapse;
}

    .data-grid th {
        /* background-color: #f0f0f0; */
        text-align: left;
        padding: 8px;
        border: 1px solid #ddd;
    }

    .data-grid td {
        padding: 12.5px;
        border: 1px solid #ddd;
    }

    .data-grid tr:nth-child(even) {
        /* background-color: #f9f9f9; */
    }

    .data-grid thead {
        position: sticky;
        top: 0;
        z-index: 10;
    }

.property {
    font-weight: bold;
    color: #444;
    padding-right: 10px;
}

.value {
    color: #666;
}

.properties-list {
    list-style: none;
    padding: 0;
}

    .properties-list li {
        padding: 5px 0;
        border-bottom: 1px solid #eee;
    }



#dataset-selector {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#dataset-choice {
    width: 100%;
    padding: 8px;
    border: 1px solid #213E71;
    border-radius: 4px;
    background-color: white;
    color: #213E71;
    font-weight: bold;
}

.icon-container button {
    background-color: #dcdcdc; /* Light blue background */
    border: none;
    transition: transform 0.2s ease-in-out;
}

    .icon-container button:hover {
        transform: scale(1.1);
        background-color: #335ca1; /* Darker blue on hover */
    }

    .icon-container button i {
        color: #000;
    }

    .icon-container button:hover i {
        color: white;
    }



.property-checkbox {
    margin-left: 8px;
    vertical-align: middle;
}

.tree-container::-webkit-scrollbar,
.content-container::-webkit-scrollbar,
.fixed-columns-scroller::-webkit-scrollbar {
    display: none;
}

.tree-container,
.content-container,
.fixed-columns-scroller {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Resizable divider adjustments */
.resizable-divider {
    right: 0; /* Adjusted position */
    background: rgba(33, 62, 113, 0.2);
    /* width: 1px; */
    transition: background 0.2s;
}

    .resizable-divider:hover {
        background: #335ca1;
    }

/* Tree container adjustments */
.tree-container {
    overflow-x: hidden;
    resize: horizontal;
    /* min-width: 250px; */
    max-width: 600px;
    padding-right: 0; /* Remove padding for resizer */
}

/* Update existing styles to maintain layout */
.card-body {
    position: relative;
    overflow: hidden;
}

.tree-container, .content-container {
    height: calc(100vh - 1px);
}

/* Keep all headers stable */
.card-header {
    position: sticky;
    top: -0.5px;
    background: white;
    z-index: 1000;
    /* padding: 1rem; */
    margin: 0;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.05); */
}


#content-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    padding: 1rem;
    margin: 10px;
    /* border-bottom: 1px solid #ccc; */
}
/* First three columns sticky */
.data-grid th:nth-child(1),
.data-grid th:nth-child(2),
.data-grid th:nth-child(3),
.data-grid td:nth-child(1),
.data-grid td:nth-child(2),
.data-grid td:nth-child(3) {
    position: -webkit-sticky;
    position: sticky;
    background-color: white;
    z-index: 1;
}

/* First column */
.data-grid th:nth-child(1),
.data-grid td:nth-child(1) {
    left: 0;
    z-index: 2;
    min-width: 180px;
    max-width: 200px;
}

/* Second column */
.data-grid th:nth-child(2),
.data-grid td:nth-child(2) {
    left: 170px; /* Reduced from 150px */
    z-index: 2;
    min-width: 150px;
    max-width: 250px;
}

/* Third column */
.data-grid th:nth-child(3),
.data-grid td:nth-child(3) {
    left: 340px; /* Reduced from 350px (120 + 180) */
    z-index: 2;
    min-width: 150px;
    max-width: 250px;
}

/* Header styling */
.data-grid th:nth-child(1),
.data-grid th:nth-child(2),
.data-grid th:nth-child(3) {
    background-color: #F5F4F4;
    z-index: 3;
}

/* Alternating rows */
.data-grid tr:nth-child(even) td:nth-child(1),
.data-grid tr:nth-child(even) td:nth-child(2),
.data-grid tr:nth-child(even) td:nth-child(3) {
    /* background-color: #f9f9f9; */
}

/* Scroll container */
.scrollable-table {
    overflow-x: auto;
    max-width: calc(100vw - 60px); /* Accounts for padding/margins */
    min-width: 800px; /* Reduced minimum width */
}

/* Table sizing */
.data-grid {
    min-width: 1000px; /* Reduced from 1200px */
    max-width: 1400px;
    width: auto;
}

#dataDropdown {
    width: 340px;
    height: 37px;
    font-size: 14px;
}

/* Add this new CSS class for scrolling */
.fixed-columns-scroller {
    overflow-x: auto;
    max-width: calc(100vw - 60px);
    min-width: 800px;
    position: relative;
    background: linear-gradient(to right, white 550px, transparent 550px);
    background-attachment: local;
}

    .fixed-columns-scroller::-webkit-scrollbar {
        height: 8px;
        background: #f1f1f1;
    }

    .fixed-columns-scroller::-webkit-scrollbar-thumb {
        background: #213E71;
        border-radius: 4px;
    }

/* Keep existing sticky column styles, add shadow */
.data-grid th:nth-child(3),
.data-grid td:nth-child(3) {
    box-shadow: 2px 0 3px -1px rgba(0,0,0,0.1);
}
/* new sidebar functionality */
.item-checkbox, .parent-checkbox {
    width: 20px;
    height: 20px;
    min-width: 19px;
    min-height: 19px;
    vertical-align: middle;
    margin-right: 12px;
    margin-top: 4px;
    cursor: pointer;
    border-radius: 2px;
    accent-color: #213E71; /* Modern browser support for color */
}

    /* For better cross-browser consistency */
    .item-checkbox[type="checkbox"],
    .parent-checkbox[type="checkbox"] {
        /* Increase scale factor */
        /* margin: 8px 12px 8px 4px; */
    }

.checkbox-placeholder {
    width: 20px !important;
    height: 20px;
    min-width: 24px;
    min-height: 24px;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
}
/* Rename #sidebarToggleBtn to a more unique name */
/* Style for the arrow icon */
#dataSidebarToggleBtn {
    position: absolute;
    top: 94%; /* Position vertically centered */
    /* left: 10px; */
    transform: translateY(-19%) translateX(-50%);
    z-index: 1000;
    /* padding: 8px 6px; */
    background: #213E71;
    border: none;
    border-radius: 0 4px 4px 0; /* Rounded on right side only */
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 35px;
    /* width: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

/* Rotate arrow when sidebar is collapsed */
.tree-container.collapsed ~ #dataSidebarToggleBtn i,
.tree-container.collapsed + .content-container #dataSidebarToggleBtn i {
    transform: rotate(180deg);
}

/* Add transition for smooth rotation */
#dataSidebarToggleBtn i {
    transition: transform 0.3s ease;
}

#dataSidebarToggleBtn:hover {
    background: #335ca1;
}

/* Modify the existing .tree-container.collapsed rule */
.tree-container.collapsed {
    transform: translateX(-100%);
    position: absolute;
    z-index: -1; /* Ensures it goes behind other elements when collapsed */
    visibility: hidden; /* Helps prevent any potential interaction */
}

/* Add a transition for the content container */
.content-container {
    transition: flex 0.3s ease, width 0.3s ease;
}

/* Optional: Add a class for when the tree is collapsed to control content behavior */
.content-full-width {
    width: 100% !important;
    flex: 1 1 100% !important;
    margin-left: 0 !important;
}

/* Unique Control Panel Button Styles */
.data-panel-controls__btn {
    background: #213E71;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #1a3158;
    white-space: nowrap;
    flex-shrink: 0;
}

    .data-panel-controls__btn:hover {
        background: #335ca1;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        color: white;
    }

.data-panel-controls__search {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    /* width: 150px; */
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .data-panel-controls__search:focus {
        border-color: #213E71;
        outline: none;
        box-shadow: 0 0 5px rgba(33, 62, 113, 0.3);
    }

.data-panel-controls__container {
    display: flex;
    align-items: center;
    gap: 12px;
    /* overflow-x: auto; */
    padding: 2px 2px;
    width: 100%;
}


    .data-panel-controls__container::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }


    .data-panel-controls__container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .data-panel-controls__container::-webkit-scrollbar-thumb {
        background: var(--bh-primary-bg-color);
        border-radius: 10px;
    }

.content-main::-webkit-scrollbar-thumb:hover {
    /* background: var(--bh-button-hover-bg-color); */
}



.properties-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 20px auto;
    padding: 20px 20px 20px 20px; /* Added top padding for close button */
    border: 1px solid #888;
    /* width: 600px;
  max-height: 80vh;  */
    border-radius: 5px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal-content1 {
    background-color: #fefefe;
    margin: 20px auto;
    padding: 20px 20px 20px 20px; /* Added top padding for close button */
    border: 1px solid #888;
    width: 50%;
    /* max-height: 80vh;  */
    border-radius: 5px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.columns-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

    .columns-table th, .columns-table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: center;
    }

    .columns-table th {
        background-color: #f2f2f2;
        color: #213E71;
        font-weight: 600;
    }

    .columns-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .columns-table tr:hover {
        background-color: #f1f1f1;
    }

.close-btn {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1; /* Keep above content */
}


.modal-footer1 {
    text-align: right;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.close-btn1 {
    background-color: #213E71;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

    .close-btn1:hover {
        background-color: #335ca1;
    }

h4 {
    font-weight: bold;
    color: #3e4676;
    font-size: 18px;
    font-family: Arial, sans-serif
}

.column-item {
    display: block;
    margin: 10px 0;
    padding: 5px;
}

/* Add smooth scrolling behavior */
#columnList {
    max-height: 60vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

    /* Scrollbar styling */
    #columnList::-webkit-scrollbar {
        width: 8px;
    }

    #columnList::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    #columnList::-webkit-scrollbar-thumb {
        background: var(--bh-primary-bg-color);
        border-radius: 4px;
    }

        #columnList::-webkit-scrollbar-thumb:hover {
            /* background: var(--bh-button-hover-bg-color); */
        }

/* Larger checkboxes for both modals */
#propertiesModal input[type="checkbox"],
#columnsModal input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    accent-color: #213E71;
    transform: scale(1.3);
    margin-right: 8px;
}




.custom-close-btn {
    background: none;
    border: none;
    font-size: 1.7rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    margin-left: auto;
}

    .custom-close-btn:hover {
        opacity: 1;
    }




#overall {
    width: 100%;
    border: 1.5px solid transparent;
    /* border-image: linear-gradient(45deg,#153D77, #51A2FD ) 1; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mydatacontainer {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of cards if there's not enough space */
    justify-content: flex-start; /* Align cards to the left */
    align-items: flex-start; /* Ensure consistent vertical alignment */
    gap: 20px; /* Consistent spacing between cards */
    padding: 20px;
}

.section {
    width: 300px;
}

/*.section-header {
    background-color: #1a3d6d;
    color: white;
    margin-left:-10px;
    margin-bottom:10px;
    width:250px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}*/
.newcard {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 35px 20px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0px 12px 12px 12px;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

    .newcard:hover {
        background-color: #003366;
        cursor: pointer;
    }

.card.mandatory {
    border-color: blue;
}

.card .title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 13.5px;
    margin-left: 15px;
}

.newcard:hover .title {
    color: #fff;
}

.card .status {
    margin-top: 10px;
    font-weight: bold;
    /*    margin-left: 110px;*/
    font-size: 13px;
}

.newcard:hover .status {
    color: #fff;
}

.card .Requirement {
    font-size: 13px;
    color: rgb(0, 72, 255);
    margin-left: 15px;
}

.newcard:hover .Requirement {
    color: #51A2FD;
}

.card .OwnerType {
    font-size: 13px;
}

.newcard:hover .OwnerType {
    color: #fff;
}

.dependencies {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
    display: none;
}

    .dependencies ul {
        padding-left: 20px;
        margin: 5px 0;
        display: none;
    }



.export-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    .export-table-wrapper

{
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0; /* Optional border */
    border-radius: 6px; /* Optional rounded corners */
}

/* Custom Scrollbar Styling (Chrome, Edge, Safari) */
.export-table-wrapper::-webkit-scrollbar {
    height: 5px; /* Horizontal scrollbar height */
    width: 8px; /* Vertical scrollbar width (if needed) */
}

.export-table-wrapper::-webkit-scrollbar-track {
    background: #f5f5f5; /* Light gray track */
    border-radius: 4px;
}

.export-table-wrapper::-webkit-scrollbar-thumb {
    background: #213E71;
    border-radius: 4px;
}

border: 1px solid #e0e0e0; /* Optional border */
border-radius: 6px; /* Optional rounded corners */
}

/* Custom Scrollbar Styling (Chrome, Edge, Safari) */
.export-table-wrapper::-webkit-scrollbar {
    height: 5px; /* Horizontal scrollbar height */
    width: 8px; /* Vertical scrollbar width (if needed) */
}

.export-table-wrapper::-webkit-scrollbar-track {
    background: #f5f5f5; /* Light gray track */
    border-radius: 4px;
}

.export-table-wrapper::-webkit-scrollbar-thumb {
    background: #213E71;
    border-radius: 4px;
}

.dataset-explorer-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

.dataset-card-header {
    padding: 5px 28px;
    border-bottom: 1px solid #e8eaed;
}


.dataset-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin: 0;
}

.dataset-search-wrapper {
    display: flex;
    align-items: center;
    background-color: #f1f1f1;
    border: 1.5px solid #dadce0;
    border-radius: 20px;
    height: 40px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

    .dataset-search-wrapper:focus-within {
        border-color: #4285f4;
        box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    }

.dataset-search-input {
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    width: 280px;
    background: transparent;
    color: #202124;
}

    .dataset-search-input::placeholder {
        color: #5f6368;
    }

.dataset-search-action {
    padding: 12px 16px;
    border: none;
    background-color: #e8eaed;
    cursor: pointer;
    color: #5f6368;
    border-left: 1px solid #dadce0;
    transition: background-color 0.2s ease;
}

    .dataset-search-action:hover {
        background-color: #dadce0;
    }

/* .dataset-view-controls {
            display: flex;
            gap: 0;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #dadce0;
        } */

.dataset-view-btn {
    padding: 19px 32px !important;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 18px;
    font-weight: 520;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    color: black;
    border-right: 1px solid #dadce0;
    min-width: 76px !important; /* Adjust as needed */
    justify-content: center;
}

    .dataset-view-btn:last-child {
        border-right: none;
    }

    .dataset-view-btn.dataset-active {
        background-color: #B3D7EF;
        color: black;
    }

    .dataset-view-btn:hover:not(.dataset-active) {
        background-color: #f8f9fa;
    }

.dataset-controls-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dataset-entries-control label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5f6368;
    font-weight: 500;
}

.dataset-entries-select {
    padding: 8px 12px;
    border: 1.5px solid #dadce0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

    .dataset-entries-select:focus {
        border-color: #4285f4;
        box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    }

.dataset-action-controls {
    display: flex;
    gap: 12px;
}

.dataset-action-group {
    position: relative;
}

.dataset-action-btn {
    padding: 6px 12px;
    border: 1.5px solid #dadce0;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: #202124;
}

.dataset-filter-btn {
    background-color: #4285f4;
    color: white;
    border-color: #4285f4;
}

    .dataset-filter-btn:hover {
        background-color: #3367d6;
        border-color: #3367d6;
    }

.dataset-sort-btn:hover {
    background-color: #f8f9fa;
    border-color: #5f6368;
}

.dataset-action-icon {
    width: 12px;
    height: 12px;
}

.dataset-dropdown-panel {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 16px;
    min-width: 220px;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

.dataset-dropdown-content {
    margin-bottom: 12px;
}

.dataset-dropdown-submit {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

    .dataset-dropdown-submit:hover {
        background-color: #3367d6;
    }



.dataset-d-flex {
    display: flex;
    margin-left: 86%
}

.dataset-me-0 {
    margin-right: 0;
}

.dataset-align-middle {
    vertical-align: middle;
}

/* Responsive design */
@media (max-width: 768px) {
    .dataset-toggle-container {
        flex-direction: column;
        gap: 16px;
    }

    .dataset-controls-section {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .dataset-action-controls {
        justify-content: center;
    }
}

.dataset-toggle-container {
    display: flex;
    gap: 71px
}

.select2-container--open {
    z-index: 9999 !important;
}

.select2-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


.feature-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    .feature-box.inactive-feature {
        opacity: 0.7;
        background-color: #f9f9f9;
    }

    .feature-box h3 {
        margin-top: 0;
        color: #333;
    }

    .feature-box p {
        color: #666;
        margin-bottom: 12px;
    }

/* Specific styles for AI Capabilities section */
.ai-capabilities-section .feature-box {
    border-left: 4px solid #4285f4; /* Google blue */
}

.authentication-section .feature-box {
    border-left: 4px solid #34a853; /* Google green */
}

/* Toggle switch styling */
.switch {
    margin-top: 8px;
}

.dropdown-item.highlighted {
    background-color: #ededed;
    color: black;
}

.default-client-row {
    background-color: #e9f5ff;
    font-weight: bold;
}

.make-default-btn {
    margin-left: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: #007bff;
}

    .make-default-btn:hover {
        color: #0056b3;
    }

.navbar .nav-item .dropdown-menu {
    line-height: 1.5;
    z-index: 10000; /*This for signout button is not showing on dashboard page*/
}

/* Row with Textbox + Dropdown side-by-side */
#js-datascope-domains-add-form .form-row-2col {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: stacked */
    gap: 15px;
}

/* Desktop/Tablets: 2 columns */
@media (min-width: 768px) {
    #js-datascope-domains-add-form .form-row-2col {
        grid-template-columns: 1fr 1fr;
    }
}

/* Keep labels consistent */
#js-datascope-domains-add-form .form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

/* Ensures full width inputs */
#js-datascope-domains-add-form .form-control {
    width: 100%;
}

/* Right-align button row */
#js-datascope-domains-add-form .button-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}


/* Row with Textbox + Dropdown side-by-side */
#js-datascope-add-form .form-row-2col,
#js-datascope-domains-add-form .form-row-2col {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: stacked */
    gap: 15px;
}

/* Desktop/tablets: 2 columns */
@media (min-width: 768px) {
    #js-datascope-add-form .form-row-2col,
    #js-datascope-domains-add-form .form-row-2col {
        grid-template-columns: 1fr 1fr;
    }
}

/* Label styling */
#js-datascope-add-form .form-field label,
#js-datascope-domains-add-form .form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

/* Make inputs full width */
#js-datascope-add-form .form-control,
#js-datascope-domains-add-form .form-control {
    width: 100%;
}

/* Align Add button to the right */
#js-datascope-add-form .button-row,
#js-datascope-domains-add-form .button-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

/* Explore Datasets Styles */
.no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-top: 20px;
}



.checkbox-group.dynamic-input {
    border: none !important;
}


.checkbox-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .checkbox-field input {
        margin: 0;
    }



/* Reorganize the top section layout */
.datashape-name-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

/* Name field - full width at top */
.datashape-name-group {
    width: 100%;
}

    .datashape-name-group label {
        display: block;
        font-weight: bold;
        font-size: 15px;
        margin-bottom: 8px;
        color: #3E4676;
    }

    .datashape-name-group input {
        width: 50%; /* Half width as requested */
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 14px;
    }

/* Right side controls section */
.datashape-controls-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
    align-self: flex-end;
    margin-top: -80px; /* Position below name section */
}

/* AI Mode dropdown - smaller size */
#aiMode {
    width: 100px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

/* Scheduler button - small size */
#schedulerBtn {
    padding: 6px 12px;
    font-size: 13px;
    background-color: #0d274e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100px;
}

    #schedulerBtn:hover {
        background-color: #335ca1;
    }

/* Reorganize the top section layout */
.datashape-name-section {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    align-items: flex-start;
}

/* Left side - Name and ID fields */
.datashape-left-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.datashape-name-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .datashape-name-group label {
        display: block;
        font-weight: bold;
        font-size: 15px;
        color: #3E4676;
    }

    .datashape-name-group input {
        width: 50%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 14px;
    }

/* ID Fields Container */
.id-fields-container {
    display: none;
    padding: 12px;
    background-color: #f5f5f5;
    border-left: 3px solid #0d274e;
    border-radius: 4px;
    width: 100%;
}

.id-field-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.id-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .id-field-group label {
        font-size: 13px;
        color: #666;
        font-weight: 600;
    }

    .id-field-group input {
        background-color: #e8e8e8;
        color: #333;
        font-weight: 600;
        cursor: not-allowed;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

/* Right side controls section */
.datashape-controls-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
}

/* AI Mode dropdown - smaller size */
#aiMode {
    width: 100px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

/* Scheduler button - small size */
#schedulerBtn {
    padding: 6px 12px;
    font-size: 13px;
    background-color: #0d274e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100px;
}

    #schedulerBtn:hover {
        background-color: #335ca1;
    }
/* Reorganize the top section layout */
.datashape-name-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

/* Left side - Name and ID fields */
.datashape-left-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    width: 50%;
}

.datashape-name-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .datashape-name-group label {
        display: block;
        font-weight: bold;
        font-size: 15px;
        color: #3E4676;
    }

    .datashape-name-group input {
        width: 50%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 14px;
    }

/* ID Fields Container */
.id-fields-container {
    display: none;
    padding: 12px;
    background-color: #f5f5f5;
    border-left: 3px solid #0d274e;
    border-radius: 4px;
    width: 100%;
}

.id-field-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.id-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .id-field-group label {
        font-size: 13px;
        color: #666;
        font-weight: 600;
    }

    .id-field-group input {
        background-color: #e8e8e8;
        color: #333;
        font-weight: 600;
        cursor: not-allowed;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

/* Right side controls section - POSITIONED AT TOP */
.datashape-controls-right {
    position: absolute;
    top: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
}

/* AI Mode dropdown - smaller size */
#aiMode {
    width: 100px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

/* Scheduler button - small size */
#schedulerBtn {
    padding: 8px 12px;
    font-size: 13px;
    background-color: #0d274e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100px;
}

    #schedulerBtn:hover {
        background-color: #335ca1;
    }

/* Custom Category Container */
.custom-category-container {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.category-input-wrapper {
    position: relative;
    flex: 1;
}

.btn-add-category {
    padding: 8px 12px;
    background-color: #0d274e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: background-color 0.2s;
}

    .btn-add-category:hover {
        background-color: #335ca1;
    }

/* Add Category Modal Styles */
.add-category-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

    .add-category-modal.show {
        display: flex;
    }

.add-category-modal-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-category-modal-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0d274e;
}

.add-category-modal-body {
    margin-bottom: 20px;
}

    .add-category-modal-body label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
        font-size: 14px;
    }

    .add-category-modal-body input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        box-sizing: border-box;
    }

        .add-category-modal-body input:focus {
            outline: none;
            border-color: #0d274e;
            box-shadow: 0 0 4px rgba(13, 39, 78, 0.2);
        }

.add-category-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-modal-cancel,
.btn-modal-save {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-modal-cancel {
    background-color: #e0e0e0;
    color: #333;
}

    .btn-modal-cancel:hover {
        background-color: #d0d0d0;
    }

.btn-modal-save {
    background-color: #0d274e;
    color: white;
}

    .btn-modal-save:hover {
        background-color: #335ca1;
    }

    .btn-modal-save:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

/* Highlight when "Add New" option appears in dropdown */
.category-add-new-option {
    background-color: #f0f7ff;
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 8px;
    font-weight: 600;
    color: #0d274e;
}

    .category-add-new-option i {
        margin-right: 6px;
        color: #0d274e;
    }

/* Hide category options by default */
#category-options {
    display: none;
}

/* Hide scope domain options by default */
#scope-domain-options {
    display: none;
}

/* Hide scope options by default */
#scope-options {
    display: none;
}

#datascope-section .datashape-label {
    margin-left: 5px;
}

#datascope-section .custom-category-container .custom-select-options {
    width: 90% !important;
}

#datascope-section .custom-category-container .custom-select-input {
    width: 90% !important;
}

#importDefIdFields {
    display: inline-block;
}

.icons-container-right {
    display: flex;
    gap: 12px;
    margin-left: auto;
    align-items: center;
}

/* Auto Shape Modal - Label Left, Control Right - MINIMAL GAP & LEFT-ALIGN CHECKBOX */
.auto-shape-row {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Changed from space-between to flex-start */
    gap: 40px; /* Small controlled gap */
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .auto-shape-row:last-child {
        border-bottom: none;
    }

    .auto-shape-row label {
        font-weight: 600;
        color: #213E71;
        font-size: 14px;
        margin: 0;
        flex: 0 0 auto;
        width: auto;
        min-width: 180px; /* Fixed label width */
    }

    .auto-shape-row .auto-shape-select {
        flex: 1;
        min-width: 200px;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
        background-color: white;
        color: #333;
        transition: border-color 0.2s ease;
    }

        .auto-shape-row .auto-shape-select:focus {
            outline: none;
            border-color: #213E71;
            box-shadow: 0 0 0 3px rgba(33, 62, 113, 0.1);
        }

        .auto-shape-row .auto-shape-select:disabled {
            background-color: #f5f5f5;
            color: #999;
            cursor: not-allowed;
            opacity: 0.65;
        }

/* Checkbox positioning - LEFT-ALIGNED with dropdown controls */
.auto-shape-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #213E71;
    border: 1px solid #ccc;
    border-radius: 3px;
    flex-shrink: 0;
    margin-left:0px !important;
    /* Remove margin-left: auto or any positioning that pushes it right */
}

    .auto-shape-checkbox:checked {
        background-color: #213E71;
        border-color: #213E71;
    }

    .auto-shape-checkbox:disabled {
        cursor: not-allowed;
        opacity: 0.65;
    }

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .auto-shape-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

        .auto-shape-row label {
            width: 100%;
            min-width: unset;
        }

        .auto-shape-row .auto-shape-select {
            width: 100%;
            min-width: unset;
        }
}
/* Disabled control styling */
.disabled-control {
    opacity: 0.6 !important;
    pointer-events: none !important;
    background-color: #f5f5f5 !important;
    color: #999 !important;
}

    .disabled-control:disabled {
        background-color: #f0f0f0 !important;
        border-color: #ddd !important;
        cursor: not-allowed !important;
    }

/* ============================================================
   DESTINATION DETAILS - 4 ROWS x 2 COLUMNS LAYOUT
   ============================================================ */

.destination-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 40px;
    margin-bottom: 20px;
}

.destination-form-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .destination-form-item label {
        font-weight: 600;
        font-size: 14px;
        color: #0d274e;
        margin: 0;
        text-align: left;
        display: block;
    }

    .destination-form-item input,
    .destination-form-item select,
    .destination-form-item textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        font-family: Arial, sans-serif;
        color: #333;
        box-sizing: border-box;
        background-color: #fff;
    }

        .destination-form-item input:focus,
        .destination-form-item select:focus,
        .destination-form-item textarea:focus {
            outline: none;
            border-color: #0d274e;
            box-shadow: 0 0 0 3px rgba(13, 39, 78, 0.1);
        }

        .destination-form-item input::placeholder,
        .destination-form-item textarea::placeholder {
            color: #999;
        }

    .destination-form-item textarea {
        resize: vertical;
        min-height: 100px;
        font-family: 'Monaco', 'Menlo', monospace;
        font-size: 13px;
    }

    /* Full-width items for JSON fields (Row 4) */
    .destination-form-item.destination-full-width {
        grid-column: span 1;
    }

/* Responsive adjustments */
@media (max-width: 1200px) {
    .destination-details-grid {
        gap: 20px 30px;
    }
}

@media (max-width: 768px) {
    .destination-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .destination-form-item.destination-full-width {
        grid-column: span 1;
    }
}

/* Fieldset styling */
.datashapetabs-tab-content fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.datashapetabs-tab-content legend {
    font-size: 16px;
    font-weight: 600;
    color: #0d274e;
    padding: 0 10px;
    margin-bottom: 20px;
    margin-left: -10px;
}

/* Required asterisk styling */
.required-asterisk {
    color: #dc3545;
    margin-left: 2px;
}

/* General Styling for Select Dropdowns */
.styled-select {
    appearance: none; /* Remove default browser styling */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
    background: #F4F4F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat right 10px center;
    padding-right: 30px;
    border-radius: 4px; /* Rounded corners */
    color: #000;
}


/* Universal icon fixes */
i[class*="fa"], i[class*="feather"], i[class*="bi"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

svg {
  display: block;
  width: auto;
  height: 1em;
}

.email-item, .phone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f6f6f6;
    border-radius: 8px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

    .email-item span:first-child,
    .phone-item span:first-child {
        flex: 1 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Fixed pill-like badge for type label */
    .email-item .badge,
    .phone-item .badge {
        display: inline-block;
        max-width: 100px !important;
        width: 100px !important; /* visual default width; adjusts within min/max */
        padding: 6px 12px;
        text-align: center;
        border-radius: 25px;
        border: 1px solid #0d274e;
        background: transparent;
        color: #0d274e;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }

    /* Keep edit/delete buttons aligned to the right */
    .email-item .edi-btn,
    .email-item .del-btn,
    .phone-item .edi-btn,
    .phone-item .del-btn {
        flex: 0 0 auto;
    }

/* Address field alignment fix */
.security-details .row > .col-md-6:nth-child(1) .fields > .form-label {
    width: 40% !important;
}

.security-details .row > .col-md-6:nth-child(2) .fields > .form-label {
    width: 40% !important;
}

/* Ensure consistent label width for all fields within two-column layout */
.security-details .row .col-md-6 .fields > .form-label {
    display: inline-block;
    width: 40%;
    min-width: 120px;
    padding-right: 10px;
    box-sizing: border-box;
    vertical-align: top;
}

.security-details .row .col-md-6 .fields > .field-item {
    display: inline-block;
    width: calc(60% - 10px);
    vertical-align: top;
}

/* Add to your existing CSS file or in a <style> tag in Organization.cshtml */
#aboutCharCount {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}

#aboutCharCurrent {
    font-weight: 500;
    transition: color 0.3s ease;
}

#about {
    resize: vertical;
    min-height: 150px;
}

    #about.error-border {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }
/* Validation styling for email and phone inputs */
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .form-control.is-invalid:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

    .invalid-feedback.d-block {
        display: block;
    }

/* Validation success styling */
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.valid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #28a745;
}

/* Add to your existing CSS file or in a <style> tag */
.security-token-group {
    position: relative;
    display: flex;
    gap: 0;
}

/* ============================================
   FIX: Dropdown Menu Clipping in Card
   ============================================ */

/* Allow overflow for cards containing dropdowns */
.User-container .card {
    overflow: visible !important;
}

.User-container .card-body {
    overflow: visible !important;
}

/* Ensure table cells allow overflow */
.User-container table td {
    position: relative;
    overflow: visible !important;
}

/* Context Menu/Dropdown Styling - FIXED */
.dropdown-content {
    display: none;
    position: fixed !important; /* Changed from absolute to fixed */
    background: #ffffff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 99999 !important;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ddd;
}

    /* Show dropdown when active */
    .options-menu.active .dropdown-content,
    .dropdown-content.show {
        display: block !important;
    }

    /* Dropdown items styling */
    .dropdown-content a,
    .dropdown-content .toggle-container,
    .dropdown-content .lock-container {
        display: flex;
        align-items: center;
        padding: 10px;
        text-decoration: none;
        color: black;
        border-bottom: 1px solid #ddd;
        width: 100%;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .dropdown-content a:last-child,
        .dropdown-content .lock-container:last-child {
            border-bottom: none;
        }

        .dropdown-content a:hover,
        .dropdown-content .toggle-container:hover,
        .dropdown-content .lock-container:hover {
            background-color: #f5f5f5;
        }

/* Three dots menu button */
.options-menu {
    position: relative;
}

    .options-menu button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        padding: 5px 10px;
        color: #333;
    }

        .options-menu button:hover {
            background-color: rgba(0, 0, 0, 0.05);
            border-radius: 4px;
        }

/* Account Status Switch in Dropdown */
.toggle-container {
    justify-content: space-between;
}

    .toggle-container span {
        font-size: 14px;
    }

/* Lock/Unlock Icon Styling */
.lock-container {
    justify-content: space-between;
}

    .lock-container span {
        font-size: 14px;
    }

.lock-btn {
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #333;
}

    .lock-btn:hover {
        color: var(--bh-button-bg-color);
    }

/* Ensure DataTables wrapper doesn't clip */
.dataTables_wrapper {
    overflow: visible !important;
}

/* Ensure row doesn't clip dropdown */
.User-container table tbody tr {
    position: relative;
}

/* Resource Configuration Label Styling */
.resource-config-label {
    font-size: 20px;
    font-weight: 700;
    color: #213E71;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}
/* Lock/Unlock icon alignment fix */
.lock-btn,
.unlock-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 24px;
    height: 24px
}

    .lock-btn i,
    .unlock-btn i {
        font-size: 18px;
        line-height: 1;
    }

/* Ensure table cell containing lock icon is centered */
#organizationTable tbody tr td:nth-child(7) {
    text-align: center;
    vertical-align: middle;
}