/*@import url('https://fonts.googleapis.com/css2?family=Signika+Negative:wght@300..700&display=swap');*/

html,
body {
    height: 100% !important;
    font-optical-sizing: auto;
    /* font-weight: <weight>; */
    font-style: normal;
    font-size: 18ox;
    font-family: var(--font-family-sans-serif);
}

[class*=ag-theme-] {
    font-family: var(--font-family-sans-serif) !important;

}

::-webkit-scrollbar {
    height: 5px;
    width: 5px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--theme-color);
    -webkit-border-radius: 1ex;
    /* -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75); */
}

::-webkit-scrollbar-corner {
    background: #000;
}

.trace-log-container {
    padding: 20px;
    overflow: auto !important;
    height: calc(100% - 85px);
    width: 99%;
    font-family: var(--font-family-sans-serif);
    font-size: 11px;
}

:root {
    --bg-color-h: 213;
    --bg-color-s: 64%;
    --bg-color-l: 40%;
    --bg-alpha: 0.1;
    --c-bg: hsl(var(--bg-color-h), var(--bg-color-s), 95%);
    --c-bg-opaque: hsl(var(--bg-color-h) calc(100% - 10%) 43% / 0.05);
}

.glass-effect,
.glass-effect:focus {
    background: var(--c-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    /* Apply blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari support */
    color: var(--theme-color) !important;
    /* Text color */
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 3px !important;
}

.glass-effect:hover {
    border-radius: 3px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#breadcrumb-list {
    font-size: 13px;
}

.trace-log-container .traceCopy {
    font-size: 14px;
    font-weight: 600;
}


/* Get All Details Grid Data Start */
.trace-grid-data .traceId,
.trace-grid-data .userId {
    cursor: pointer;
    color: #183aab;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.trace-grid-data {
    width: 100%;
    min-height: 50vh;
    height: 60vh; /* Initial height, will be overridden by JS based on row count */
    overflow: auto;
}

.trace-grid-data .custom-cell {
    text-align: left;
}

.trace-grid-data .star-cell {
    cursor: pointer;
    font-size: 25px;
    color: gold;
}

.trace-grid-data .unselected-star {
    color: lightgray;
}

.trace-grid-data .ag-cell {
    border-radius: 5px;
    height: 30px !important;
    padding: 0 18px;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 30px !important;
    text-align: left;
    cursor: pointer;
    color: #666;
    font-weight: 500;
}

.trace-grid-data .id-cell,
#scoreGrid .id-cell {
    background-color: var(--c-bg);
    color: var(--theme-color);
    font-weight: bold;
    border-radius: 5px;
    height: 30px;
    margin: 5px;
    display: flex;
    margin: 5px;
    align-items: center;
    justify-content: center;
    padding: 2px 2px !important;
}

.trace-grid-data .metadata-input {
    width: 100%;
    box-sizing: border-box;
}

.trace-grid-data .highlight-row {
    background-color: #e0f7fa;
    /* Light blue background for selected rows */
}

.trace-grid-data .ag-row {
    display: flex;
    align-items: center;
}

.trace-grid-data .ag-root.ag-layout-normal,
.trace-grid-data .ag-root.ag-layout-auto-height {
    flex: 1 1 auto;
    width: 100% !important;
}

.trace-grid-data .ag-header {
    display: flex;
    width: 100% !important;
    min-width: 100% !important;
    white-space: nowrap;
}

/* .agGridStylingContainer #quickFilterInput {
    padding: 5px;
    width: 300px;
    border-radius: 5px;
    border: 2px solid #8d8d8d75;
    margin: 0;
    margin-left: 5px;
    height: 35px;
}

.agGridStylingContainer #quickFilterInput:focus {
    background-color: #fff;
    border-color: #80bdff;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, 0.25);
    color: #495057;
    outline: 0;
} */

.agGridStylingContainer .speacingBtn>button {
    height: 27px;
    width: 30px;
    border: none;
    border-radius: 5px;
    background-color: unset;
    cursor: pointer;
    font-size: 15px;
}

.agGridStylingContainer .speacingBtn .active {
    background-color: rgba(195, 199, 201, 0.712) !important;
}

.agGridStylingContainer .speacingBtn {
    border: 2px solid #8d8d8d75;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
;
    padding: 5px;
    border-radius: 5px;
    width: max-content;
}

.agGridStylingContainer .filterContainer {
    display: flex;
}

.agGridStylingContainer .filterContainer #filterBtn,
.agGridStylingContainer .filterContainer #clockBtn {
    margin-left: 10px;
    background-color: unset;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    position: relative;
    padding: 0 10px;
    width: max-content !important;
    display: flex;
    align-items: center;
}

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

.search-container #searchBtn {
    padding: 3px;
    height: 34px;
    width: 40px;
    margin-left: -7px;
    border-radius: 0 5px 5px 0px;
    border: none;
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;; */
    cursor: pointer;
    background-color: var(--theme-color);
    color: #fff;
}

.speacingBtn i.fa.fa-pause {
    rotate: 90deg;
}

.speacingBtn .fa {
    color: #666;
}

#trace-log-all-details-container label,
.trace-log-info-container h2 {
    font-size: 30px;
    height: auto;
    font-weight: bold;
}

.trace-log-container .breadcrumb {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    margin-bottom: 15px;
}

.trace-log-container .breadcrumb span {
    margin-right: 5px;
}

.trace-log-container .breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.trace-log-container .breadcrumb a:hover {
    text-decoration: underline;
}

#clockBtn:hover,
#colckBtn select:hover,
select#timeFilter:hover {
    cursor: pointer;
}

#clockBtn label,
#clockBtn .clockIcon {
    font-size: 16px;
    margin: 0;
    position: absolute;
    left: 10px;
    /* Adjust to desired distance from the left */
    top: 52%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    /* Icon color */
}

#clockBtn #timeFilter {
    height: 38px;
    margin: 0;
    border: 1px solid #ccc;
    /* Border for select */
    border-radius: 4px;
    /* Rounded corners */
    background-color: #fff;
    /* Background color */
    font-weight: 700;
    outline: unset;
    padding: 8px 30px;
    /* Space for the icon */
    appearance: none;
    /* Hide default arrow */
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari */
    color: #666;
    /* Text color */
    border: 2px solid #8d8d8d75;
}

#clockBtn #timeFilter:focus {
    background-color: #fff;
    border-color: #80bdff;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, 0.25);
    color: #495057;
    outline: 0;
}

#clockBtn .dropdown-icon {
    position: absolute;
    right: 20px;
}

.shortingContainer {
    display: flex;
    color: #666;
}

.shortingContainer .dropdown {
    display: block;
    text-align: center;
    margin-left: 10px;
    border-radius: 5px;
    border: 2px solid #8d8d8d75;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
;
    width: 100px;
    background-color: unset;
    font-weight: 600;
    padding: 10px 0;
    margin-right: 10px;
}

.shortingContainer #columnVisibilityButton {
    color: #666;
    font-weight: 700;
}

.shortingContainer .dropdown>button {
    border: none;
    background-color: unset;
}

.shortingContainer .dropdown {
    position: relative;
    display: inline-block;
}

.shortingContainer .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    height: 200px;
    padding: 0 10px;
    overflow: auto;
    z-index: 99;
}

.shortingContainer .dropdown-content label {
    padding: 5px;
    display: block;
}

.shortingContainer .dropdown.show .dropdown-content {
    display: block;
}

#columnVisibilityDropdown label {
    font-size: 14px;
}

.ag-header-container .ag-header-cell-comp-wrapper .ag-header-cell-text {
    color: #666;
}

.ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within,
.ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),
.ag-ltr .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,
.ag-ltr .ag-cell-range-single-cell,
.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,
.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,
.ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),
.ag-rtl .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,
.ag-rtl .ag-cell-range-single-cell,
.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle {
    border: none !important;
}

#clockBtn label,
.timeFilter {
    -webkit-tap-highlight-color: transparent;
    outline: none !important;
}

/* Get All Details Grid Data End */


/* tab css */

/* Container for tabs */
.trace-details-tab-container {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    border-bottom: 1px solid #ccc7c7;
    padding: 10px 10px 0px 0px;
    float: right;
    justify-content: end;
    font-size: 14px;
    font-weight: 600;
}

/* Style for tab buttons */
.trace-tab-button,
.details-tab-link {
    cursor: pointer;
    margin-right: 10px;
    padding: 5px 10px 0px 0px;

}

.trace-tab-button.active,
.trace-tab-button:hover {
    border-bottom: 4px solid var(--theme-color);
}

/* Content sections */
.tab-content {
    display: none;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 5px;
}

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

/* Tree and Timeline container start */
#treeContainer,
#timelineContainer {
    width: 100%;
    height: 400px;
    border: 1px solid #ccc;
    overflow: auto;
}

/* Tree Container css start */

.trace-tree-container {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.tree-details-container {
    width: 75%;
    /* display:flex; */
}

.trace-details-tab-container {
    height: 3rem;
}

.tree-container {
    width: calc(100% - 75%);
}

/* Tree and Timeline container end */

/* Jstree Css start */

.tree-container .jstree-anchor,
#timeline-jstree-container .jstree-anchor {
    height: auto !important;
    white-space: normal !important;
    width: 90%;
    padding: 6px;
    margin-bottom: 4px;
}

.tree-container .jstree-default-large .jstree-anchor,
#timeline-jstree-container .jstree-default-large .jstree-anchor {
    line-height: 30px;
}

/* Change the background color of the selected node */
.tree-container .jstree-default .jstree-clicked,
#timeline-jstree-container .jstree-default .jstree-clicked {
    background: #f1f5f9;

}

/* Change the background color of the hovered node */
.tree-container .jstree-default .jstree-hovered,
#timeline-jstree-container .jstree-default .jstree-hovered {
    background-color: #f8fafc !important;
    width: 90%;
    padding: 6px;
}

.tree-container .traceType,
#timeline-jstree-container .traceType {
    padding: 5px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 5px;
}

.tree-container .traceName,
#timeline-jstree-container .traceName {
    font-weight: 600;
    color: #555;
}

.tree-container .traceTime,
#timeline-jstree-container .traceTime {
    font-size: 0.80rem;
    color: #454545;
}


/* jstree css end */


/* chandan css */

hr {
    margin: 0 !important;
}

.tree-details-container .trace-observation-details {
    min-height: 60vh;
    height: auto;
    padding: 0 0 20px 0 !important;
}

.tree-details-container .tableBorder {
    border: 1px solid #ccc7c7;
    border-radius: 10px;
}

.tableBorder .previewToggler {
    display: flex;
    justify-content: flex-end;
    padding: 10px 10px 0px 10px;
    font-size: 14px;
    font-weight: 600;
}

.previewToggler .details-tab-link.active {
    border-bottom: 4px solid var(--theme-color);
}

.tableBorder .tab-content {
    display: none;
}

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

/* trace heading common part  */
.preview-container .traceContainer p {
    margin: 0 !important;
}

.traceHeadingContainer #data_createdAt {
    margin-bottom: 5px !important;
}

.traceContainer .traceHeadingContainer {
    display: flex;
    align-items: flex-end;
    margin: 5px 0px 5px 0px;
}

.traceContainer .traceHeadingContainer p {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    padding: 6px;
    border-radius: 12px
}

.traceContainer .traceHeadingContainer h6 {
    margin: 0.5rem !important;
}

.traceContainer .traceHeadingContainer label {
    height: 30px;
}

.traceContainer .teaceLabelContainer>label {
    padding: 2px 10px;
    border: 1px solid #ccc7c7;
    border-radius: 12px;
    font-weight: 700;
    height: 25px;
}

/* trace heading common part -end */

/* preview part  */

.previewContentDetails .previewMetadataContainer,
.previewContentDetails .previewOutputContainer,
.previewContentDetails .previewInputContainer {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.previewContentDetails .previewInputContainer label,
.previewContentDetails .previewOutputContainer label,
.previewContentDetails .previewMetadataContainer label {
    font-size: 14px;
    font-weight: 600;
}

.previewContentDetails .previewMetadataContainer i,
.previewContentDetails .previewOutputContainer i,
.previewContentDetails .previewInputContainer i {
    cursor: pointer;
}

#previewContent .previewOutputDetails {
    background-color: #d7f5d775 !important;
}


.previewContentDetails .outputAns,
.previewContentDetails .inputAns {
    font-family: var(--font-family-sans-serif);
    border: 1px solid #ddd;
    padding: 10px;
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 20px !important;
    border: none;
}

/* end */


/* Trace label background */

.bluedBackgroundColor {
    background-color: #dbeafe;
}

.orangeBackgroundColor {
    background-color: #ffedd5;
}

.grayBackgroundColor {
    background-color: #e2e8f0;
}

/* Timeline Trace css start */


.tree-chart-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.tree-chart-container #timeline-echarts-container>div,
.tree-chart-container #timeline-echarts-container canvas,
.tree-chart-container #timeline-echarts-container {
    width: 100% !important;
}

.trace-timeline-container {
    border: 1px solid #ccc7c7;
;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 10px;
}

.trace-log-info-container .trace-timeline-container .jstree-anchor .traceTime {
    display: none;
}


/* Timeline Trace css end */

/* score grid section */
#scoreGrid .ag-center-cols-viewport {
    overflow: auto;
    width: 99%;
}

/* score grid section-end */


/* #clockBtn {
    position: relative;
    padding: 0 10px;
    width: max-content !important;

} */

.ag-tooltip {
    background-color: #fff;
    color: #080808;
    padding: 5px;
    border-radius: 3px;
}

.trace-observation-details .json-string {
    overflow-wrap: break-word;
}



/* filter button content */
#filterOptionContainer {
    gap: 10px;
    display: flex;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 5px;
}


#filterOptionContainer .filter-option button i {
    color: #555;
    font-size: 18px;
}


#filterOptionContainer .filter-option button,
#filterOptionContainer .filter-option label {
    font-size: 15px;
    margin: 0;
    display: flex;
}

#resetFilterOption {
    /* border-radius: 50%; */
    border: none;
    padding: 0;
    background-color: unset;
}

#filterOptionContainer .filter-option label {
    background-image: url("images/icons/idInput.png");
}

/* filter button content-end */


/* search bar design css */
.filterContainer .search-wrapper {
    width: 600px;
    margin: auto;
}

.search-wrapper .search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #8d8d8d75;
    border-radius: 6px;
    overflow: visible;
    position: relative;
}

/* Dropdown trigger */
.search-bar .search-type {
    position: relative;
    min-width: 200px;
    /* border-right: 1px solid #ddd; */
    border-right: 2px solid #8d8d8d75;
}

.search-bar .search-type button {
    width: 100%;
    background: transparent;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    color: #555;
    font-size: 12px;
}

/* Chevron */
.search-bar .search-type .selectDropDownIcon {
    position: absolute;
    right: 11px;
    top: 11px;
    color: #555;
}


/* Dropdown */
.search-bar .search-type .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 9999;
}

.search-bar .search-type .dropdown div {
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
}

.search-bar .search-type .dropdown div:hover {
    background: #f1f1f1;
}

/* Input */
.search-bar .search-input {
    flex: 1;
}

.search-bar .search-input input {
    width: 100%;
    border: none;
    padding: 0 12px;
    outline: none;
    font-size: 12px;
    margin: 0;
    font-family: var(--font-family-sans-serif);
}

/* Button */
.search-bar .search-btn {
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 16px;
    height: 36px;
    width: 45px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    background: var(--theme-color);
    color: #fff;
    border-radius: 0 6px 6px 0;
    position: absolute;
    left: 35em;
}

/* search bar design css-end */

/* delete action button */
/* Wrapper */
.actions-wrapper {
    position: relative;
    display: inline-block;
    border: 2px solid #8d8d8d75;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 5px;
    border-radius: 5px;
    width: max-content;
}


/* Main button */
.actions-btn {
    background: #fff;
    color: #555;
    border: unset;
    /* padding: 10px 14px; */
    /* border-radius: 12px; */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}


.actions-btn i {
    font-size: 12px;
    opacity: 0.8;
}

/* Dropdown */
.shortingContainer .actions-dropdown {
    display: none;
    position: absolute;
    top: 115%;
    right: 0;
    /* width: 190px; */
    background: #ffffff;
    border: 2px solid #8d8d8d75;
    /* border-radius: 12px; */
    /* padding: 6px; */
    /* display: none; */
    z-index: 1000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    height: 40px;
}

/* Dropdown item */
#actionsDropdown .dropdown-item {
    width: 100%;
    background: transparent;
    border: none;
    color: #555;
    padding: 8px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
}

#actionsDropdown .dropdown-item:hover {
    background: #c1c1c1;
    border-radius: 0;
}

#actionsDropdown .dropdown-item i {
    color: var(--theme-color);
}

/* Disabled state */
#actionDeleteWrapper .actions-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* delete action button-end */

/* scroll fixes for trace details */
.trace-observation-details .json-string {
    overflow-wrap: break-word;
}

.trace-tree-container .tree-details-container,
.trace-tree-container .tree-container {
    height: calc(75vh - 46px) !important;
    overflow-y: scroll;
    overflow-x: hidden;
}

.trace-tree-container .tree-container {
    width: calc(100% - 70%) !important;
}

/* scroll fixes for trace details-end */

.trace-log-info-container .backToMain:hover {
    cursor: pointer;
}

#trace-log-all-details-container #hiddenContainer {
    height: 100vh;
    width: 100vw;
    position: absolute;
    background-color: transparent;
    z-index: 9;
    top: 0;
    left: 0;
}