.right-menu {
    position: fixed;
    right: 0;
    top: 70px;
    width: 30vw;
    z-index: 4000;
    height: calc(100vh - 70px - 59px);
}

.search-table-cell-max-width {
    --max-width: 300px;
    max-width: var(--max-width);
    min-width: var(--max-width);
    width: var(--max-width);
}
.no-border-right {
    border-right: none;
}

.custom-tooltip .tooltip-inner {
    max-width: none; /* Allow dynamic width */
    white-space: normal; /* Allow wrapping */
    text-align: left;
    cursor: text; /* Enable text selection */
    padding: 10px;
}

/* Tooltip content container */
.tooltip-content {
    overflow: auto;
    resize: horizontal;
    min-width: 150px;
    max-width: 600px;
    border: 1px solid #ccc;
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
}

/* Text inside tooltip */
.tooltip-text {
    font-family: monospace;
    user-select: text;
    margin: 0;
    flex-grow: 1; /* Allows content to expand */
}

.no-border-top {
    border-top: none;
}

.no-border-bottom {
    border-bottom: none !important;
}

.light-border-bottom {
    border-bottom: 1px solid var(--bs-gray-400);
}

.light-border-top {
    border-top: 1px solid var(--bs-gray-400);
}
.search-table {
    z-index: 1;
    overflow: auto;
}
.search-table table {
    border-collapse: separate;
    border-spacing: 0;
}

.search-table thead {
    position: sticky;
    top: -1px;
    background-color: #f8f9fa;
    z-index: 1;
}

.search-table thead th button {
    font-size: 1.5em;
}

.search-table-cell-min-width {
    --min-width: 300px;
    min-width: var(--min-width);
}

.quickfilter-searchbar {
    font-size: 1em;
}

.quickfilter-searchbar.dropdown-menu .dropdown-item:nth-child(1):active,
.quickfilter-searchbar.dropdown-menu .dropdown-item:last-child:active {
    background-color: var(--bs-body-bg);
}

.search-pagination-button {
    font-size: 1.5rem;
    padding: 0;
}

.search-pagination-page-button {
    padding: 2px;
}

.search-table {
    overflow-y: auto;
    overflow-x: auto;
    max-width: 100%;
}

.search-table table thead th {
    position: relative;
}

.search-pagination-page-button {
    font-size: 1.0rem;
    margin-left: 2px;
    margin-right: 2px;
    height: 40px;
    width: 40px;
    white-space: nowrap;
}

.search-button-bar-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 50%;
}

.search-button-bar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
}

.input-highlight-primary-soft {
    background-color: rgba(var(--bs-primary-rgb), 0.15); /* Soft, light version of primary */
    border-color: var(--bs-primary);                     /* Primary border color */
    color: var(--bs-primary);                            /* Optional: Primary text color */
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--bs-primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.right-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    z-index: 10000; /* Ensures it overlaps other elements */
    display: none;
}

.resizer {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-table .vue-table {
    display: grid;
    grid-template-columns: var(--grid-cell-sizes);
    gap: 0; /* No gap between items to mimic table borders */
    border-collapse: collapse; /* Mimic Bootstrap's table look */
}

.search-table .vue-table .table-cell, .vue-table .table-header {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #dee2e6; /* Row separator */
}

.box-shadow-right {
    box-shadow: 5px 0px 5px rgba(0, 0, 0, 0.2);
}

.box-shadow-left {
    box-shadow: -5px 0px 5px rgba(0, 0, 0, 0.2);
}

.resizer:hover {
    border-left: 2px solid var(--bs-primary);
}

.resizer-cell {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    background-color: transparent;
}

/* Hover effect for resizer */
.table-header:hover .resizer-cell {
    background-color: #ddd;
}

.entry-info {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: var(--bs-light-primary);
    padding: 8px 0;
}

.entry-info span {
    display: inline-block;
}

.entry-info strong {
    color: var(--bs-primary); /* Modern blue accent */
    font-weight: 600;
}

.resizer::before {
    content: '⋮⋮'; /* Vertical dots symbol */
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.page-content {
    margin-top: 0px !important;
}

.right-panel.active {
    display: block; /* Show the panel when clicked */
}

.property-panel {
    padding: 16px;
}
.property-header {
    font-weight: bold;
    color: #333;
}
.property-item {
    background-color: var(--bs-gray-100);;
    border: 1px solid var(--bs-gray-200);
    border-radius: 0px;
    padding: 8px 12px;
    margin-bottom: 8px;
}

.property-item.active-value {
    border-color: var(--bs-primary);;
}

.property-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
}
.icon-button:hover {
    color: red;
}
.add-property {
    color: var(--bs-primary);
    font-weight: 500;
    cursor: pointer;
}
.collapse-button {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
}

div.table-cell {
    z-index: 0;
}

div.table-header {
    position: sticky !important;
    z-index: 1;
    top: 0;
    text-align: center;
    font-weight: bold;
    background-color: var(--bs-gray-200); /* Light gray background */
}

.footer {
    position: fixed;
}

div.sticky-start {
    position: sticky !important;
    left: calc(var(--sticky-start-left) - 1px); /* Sticky for horizontal scrolling */
}

.table-header.sticky-start {
    z-index: 3; /* Higher z-index to keep headers above the content */
    top: 0px;
}

.table-cell.sticky-start {
    z-index: 2; /* Higher z-index to keep headers above the content */
    background: white !important;
}

.table-header.sticky-end {
    z-index: 3; /* Higher z-index to keep headers above the content */
    top: 0px;
    border-left: 1px solid var(--bs-gray-400);
}

.table-cell.sticky-end {
    z-index: 2; /* Higher z-index to keep headers above the content */
    background: white !important;
}

.daterangepicker {
    z-index: 99999;
}

.breadcrumb-badge {
    border: 1px solid var(--bs-body-color);
    border-radius: 4px;
    padding: 2px 4px;
    white-space: nowrap;
}

div.sticky-end {
    position: sticky !important;
    right: 0;
}

td.sticky-start {
    position: sticky;
    left: calc(var(--sticky-start-left) - 1px); /* Sticky for horizontal scrolling */
}

td.sticky-end {
    position: sticky;
    right: 0;
}

.select2-results__option--selected {
    background-color: #f0f8ff; /* Light blue highlight */
    color: #000; /* Black text for better contrast */
    font-weight: bold;
}

.select2-selection__choice {
    text-wrap: auto;
}
.table-header .sort.active {
    color: var(--bs-primary);
}

.truncate-text {
    white-space: nowrap; /* Prevent line breaks */
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Add "..." to clipped text */
    display: block; /* Ensure the element behaves as a block or inline-block */
}

.table-header i {
    color: var(--bs-body-color);
}

.table-header i:hover {
    box-shadow: var(--bs-body-color) 0px 0px 5px;
}

.explanation-content {
    font-weight: bolder;
    font-style: italic;
}

.vs__selected {
    background-color: var(--bs-soft-primary);
    color: var(--bs-body-color);
}

.vs__dropdown-option--highlight {
    background: var(--bs-soft-primary);
    color: var(--bs-body-color);
}

.structure-select .vs__dropdown-option {
    padding: 0;
}

.structure-select-option {
    padding: 0.2rem 1rem;
}

.vs--searchable .vs__dropdown-toggle {
    cursor: pointer;
}
