@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root {
    --fd-font: Inter, sans-serif;
    --fd-radius: 6px;
    --fd-radius-card: 12px;
    --fd-chrome: #e7eef2;
    --fd-card: #ffffff;
    --fd-title: #101828;
    --fd-body: #475467;
    --fd-subtle: #667085;
    --fd-border: #d0d5dd;
    --fd-row-line: #eaecf0;
    --fd-row-hover: #f9fafb;
    --fd-accent: #2298d5;
    --fd-on-accent: #ffffff;
    --fd-filter-bg: #f2f4f7;
    --fd-accent-soft: #eff8fd;
    --fd-placeholder: #98a2b3;
    --fd-raised: #eaecf0;
    --fd-icon-filter: none;
    --fd-shadow: 0 1px 2px #1018280d;
    --fd-overlay-shadow: 0 4px 12px rgba(16, 24, 40, 0.12);
}

.dark-mode,
html:has(#app-root.dark-mode) {
    --fd-chrome: #0c111d;
    --fd-chrome-dark: #1d2939;
    --fd-card: #101828;
    --fd-title: #ffffff;
    --fd-body: #d9e0eb;
    --fd-subtle: #98a2b3;
    --fd-border: #344054;
    --fd-row-line: #1d2939;
    --fd-row-hover: #1d2939;
    --fd-filter-bg: #0c111d;
    --fd-accent-soft: #164c63;
    --fd-placeholder: #d0d5dd;
    --fd-raised: #344054;
    --fd-icon-filter: brightness(0) invert(1);
    --fd-shadow: 0 1px 2px #00000040;
    --fd-overlay-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.test-inter-font {
    font-family: "Inter", sans-serif !important;
    font-weight: 400 !important;
}

.test-roboto-font {
    font-family: "Roboto", sans-serif !important;
    font-weight: 400 !important;
}

html *,
html body *,
body *,
div, span, p, h1, h2, h3, h4, h5, h6, a, button, input, textarea, select, label {
    font-family: "Inter", sans-serif !important;
}

html * {
    font-family: "Inter", sans-serif !important;
}

html body {
    font-family: "Inter", sans-serif !important;
}

html,
html body,
#app-root,
#main-container {
    font-family: var(--fd-font) !important;
    background: var(--fd-chrome);
    color: var(--fd-title);
}

html,
html body {
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    overflow: hidden;
}

html.eda-embedded-frame,
html.eda-embedded-frame body {
    height: 100%;
    max-height: 100%;
}

#app-root {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

html.eda-embedded-frame #app-root {
    height: 100%;
    max-height: 100%;
}

#app-root #main-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
}

body {
    font-family: var(--fd-font) !important;
    margin: 0;
    padding: 0;
    background: var(--fd-chrome);
    color: var(--fd-title);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif !important;
}

input, textarea, select, button {
    font-family: "Inter", sans-serif !important;
}

.navbar, .navbar-brand, .btn, .form-control, .card, .card-header, .card-body, .card-title, .card-text {
    font-family: "Inter", sans-serif !important;
}

.Select-control, .Select-placeholder, .Select-value-label, .Select-arrow-zone, .Select-arrow, .Select-menu-outer, .Select-menu, .Select-option {
    font-family: "Inter", sans-serif !important;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.navbar {
    background-color: var(--fd-card);
    padding: 16px;
    box-shadow: var(--fd-shadow);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    color: var(--fd-title);
    font-weight: bold;
    font-size: 23.5px;
}

.navbar-brand:hover {
    color: #ffffff;
    text-decoration: none;
}

.jumbotron {
    background: var(--fd-accent);
    padding: 64px 32px;
    border-radius: var(--fd-radius-card);
    box-shadow: var(--fd-shadow);
    margin: 120px 20px 20px 20px;
    color: var(--fd-on-accent);
}

.jumbotron h1 {
    font-size: 47.5px;
    font-weight: bold;
    margin-bottom: 16px;
}

.jumbotron p {
    font-size: 18.5px;
    line-height: 1.8;
}

.counts-container {
    background: var(--fd-card);
    padding: 32px;
    border-radius: var(--fd-radius-card);
    box-shadow: var(--fd-shadow);
    margin: 20px 20px 40px 20px;
}

.count-box {
    text-align: center;
    padding: 20px;
    background-color: var(--fd-card);
    border-radius: var(--fd-radius-card);
    box-shadow: var(--fd-shadow);
    margin-bottom: 20px;
    border: 1px solid var(--fd-border);
}

.count-box h5 {
    font-size: 28.3px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--fd-accent);
}

.count-box p {
    font-size: 39.5px;
    font-weight: bold;
    margin: 0;
    color: var(--fd-title);
}

.main-content {
    margin: 280px 20px 20px 20px; 
}

.sidebar,
.sidebar.bg-light {
    position: relative;
    right: auto;
    top: auto;
    align-self: stretch;
    width: 360px !important;
    max-width: 360px !important;
    flex: 0 0 360px !important;
    min-height: 0;
    background: var(--fd-filter-bg) !important;
    border: none !important;
    border-left: 1px solid var(--fd-border) !important;
    border-top: 1px solid var(--fd-border) !important;
    border-bottom: 1px solid var(--fd-border) !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    height: 100%;
    max-height: 100%;
    padding: 20px 16px 16px !important;
    box-shadow: var(--fd-overlay-shadow);
    border-radius: 16px 0 0 16px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.sidebar-break-line {
    border-bottom: 1px solid var(--fd-border);
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 0px;
}

.filter-section {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-section > .col-md-4,
.filter-section > .col-md-8 {
    width: auto;
    flex: 0 0 auto;
    padding: 0;
}

.filter-section > .col-md-8 {
    margin-left: auto;
}

.filter-heading {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 30px !important;
    letter-spacing: 0;
    color: var(--fd-title);
    padding: 0;
    margin: 0;
}
.filter-section-default {
    font-size: 13.50px;
    font-weight: 400;
    float: none;
    padding: 0;
    color: var(--fd-body);
    letter-spacing: -0.1px;
    line-height: 24px;
}
.filter-section-image {
    margin: 0;
    width: 18px;
    height: 18px;
    float: none;
    flex-shrink: 0;
}
.filter-section-card {
    height: 32px;
    position: static;
    right: auto;
    background: var(--fd-card);
    border-radius: var(--fd-radius);
    float: none;
    width: auto;
    min-width: 140px;
    font-size: 13.50px;
    border: 1px solid var(--fd-border);
    padding: 4px 8px;
    gap: 6px;
    font-weight: 400;
    color: var(--fd-title);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.filter-section-card:hover {
    background-color: var(--fd-row-hover);
    border: 1px solid var(--fd-border);
    cursor: pointer;
}

.sidebar-label {
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    margin-bottom: 4px;
    color: var(--fd-body);
    line-height: 18px;
    letter-spacing: 0;
}
.sidebar-heading {
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 4px;
    color: var(--fd-title);
    line-height: 20px;
    letter-spacing: 0;
}
.radio-items-inline {
    margin-bottom: 15px;
    margin-left: 5px;
    display: flex;
    gap: 25px;
}

.radio-items-block {
    margin-bottom: 15px;
    margin-left: 5px;
}

.sidebar .dropdown,
.sidebar-dropdown {
    margin-bottom: 10px;
    margin-top: 5px;
}

.sidebar .Select-control,
.sidebar-dropdown .Select-control {
    min-height: 36px !important;
    height: auto;
    border-radius: var(--fd-radius);
    border: 1px solid var(--fd-border);
    background-color: var(--fd-card);
}

.sidebar .Select-placeholder,
.sidebar-dropdown .Select-placeholder {
    font-size: 12px;
    color: var(--fd-placeholder);
}

.sidebar .Select-value-label,
.sidebar-dropdown .Select-value-label {
    font-size: 12px;
}

.sidebar-dropdown .Select-menu-outer .Select-menu .Select-option {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    padding: 8px 12px !important;
    min-height: 40px !important;
    height: auto !important;
    display: block !important;
    overflow: visible !important;
    text-overflow: initial !important;
    max-width: 100% !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--fd-title) !important;
    background-color: transparent !important;
    border: none !important;
    margin: 2px 0 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

.sidebar-dropdown .Select-option .Select-option-label,
.sidebar-dropdown .Select-option span,
.sidebar-dropdown .Select-option div {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    text-overflow: initial !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-dropdown .Select-menu-outer .Select-menu .Select-option:hover {
    background-color: var(--fd-accent-soft) !important;
    border-radius: 4px !important;
}

.sidebar-dropdown .Select-menu-outer .Select-menu .Select-option.is-focused {
    background-color: var(--fd-accent-soft) !important;
    border-radius: 4px !important;
}

.sidebar-dropdown .Select-menu-outer .Select-menu .Select-option.is-selected {
    background-color: var(--fd-accent-soft) !important;
    border-radius: 4px !important;
}

.sidebar-dropdown .Select-menu-outer {
    min-width: 300px !important;
    max-width: 500px !important;
    width: auto !important;
    z-index: 9999 !important;
}

.sidebar-dropdown .Select-menu-outer .Select-menu {
    padding: 8px 4px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
}

.slider-label {
    display: none !important;
    text-align: center;
    margin-top: 10px;
}

.add-plot-button {
    margin-top: 2px;
    width: 100%;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0%;
    background-color: var(--fd-accent);
    color: var(--fd-on-accent);
    border-radius: var(--fd-radius);
    border: 1px solid var(--fd-accent);
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 6px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-plot-button img {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.add-plot-button:hover {
    background-color: var(--fd-accent);
    color: var(--fd-on-accent);
    opacity: 0.92;
}

.plot-list-container {
    margin-top: 3px;
}


.sidebar .rc-slider-tooltip-inner {
    background-color: var(--fd-title);
    color: var(--fd-card);
    gap: 8px;
    padding: 4px;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 16px;
}

.rc-slider-handle
{
    background-color: var(--fd-accent);
    border: 2px solid var(--fd-accent);
}

.rc-slider-handle:hover {
    border: 2px solid var(--fd-accent);
}

.rc-slider-handle-dragging {
    border-color: var(--fd-accent) !important;
    box-shadow: 0 0 0 1px var(--fd-accent) !important;

}

.rc-slider-mark-text{
    font-size: 11.5px;
    font-weight: 400;
    line-height: 16px;
    color: var(--fd-subtle);
}
.rc-slider-track {
    background-color: var(--fd-accent);
}

.Select--multi .Select-value {
    margin: 2px 2px 2px 2px !important;
    background-color: #062D42;
    color: #ffffff !important;
    padding: 2px;
    padding-left: 4px;
    border-radius: 6px;
    border: 0 !important;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 16px;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
}

.Select--multi .Select-multi-value-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.Select--multi .Select-value-icon {
    color: var(--fd-subtle);
    border-radius: 50%;
    background-color: var(--fd-raised);
    width: 14px !important;
    height: 14px !important;
    font-size: 13.5px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2px;
    margin-right: 2px;
    padding: 0;
    position: relative;
}

.Select--multi .Select-value-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.Select--multi .Select-value-label {
    padding-right: 4px;
    color: #ffffff !important;
}

.Select--multi .Select-value-icon:hover {
    background-color: var(--fd-raised);
    color: var(--fd-title);
    cursor: pointer;
}

.Select--multi .Select-clear-zone {
    pointer-events: none;
}

.Select-clear {
    border-radius: 50%;
    background-color: var(--fd-subtle);
    font-size: 13.5px;
    line-height: 16px;
    color: var(--fd-card);
    width: 16px;
    height: 16px;
    cursor: pointer;
    pointer-events: auto;
    margin-right: 4px;
    padding-right: 1px;
}
.Select-clear:hover {
    background-color: var(--fd-title);
    color: var(--fd-card);
}

.Select-control {
    align-items: center !important;
    border-radius: var(--fd-radius);
    border: 1px solid var(--fd-border);
    font-size: 11.5px;
    font-weight: 400;
    background-color: var(--fd-card);
    padding-left: 2px;
    min-height: 36px;
}
.Select-control:hover {
    border: 1px solid var(--fd-border);
}
.Select-placeholder{
    padding: 12px;
    color: var(--fd-placeholder);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    text-align: left;
}

.Select-value {
    padding: 10px;
    color: var(--fd-title);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: left;
    width: auto;
    text-align: left;
}

.mt--16{
    margin-top: -16px !important;
}
.mt--30{
    margin-top: -30px !important;
}
.mt-16{
    margin-top: 16px !important;
}
.mt-8{
    margin-top: 8px !important;
}
.mt-4{
    margin-top: 4px !important;
}
.mt-26{
    margin-top: 26px !important;
}

.mb-16{
    margin-bottom:16px !important;
}
.mb-20{
    margin-bottom:20px !important;
}
.mb-40{
    margin-bottom:40px !important;
}
.mb-50{
    margin-bottom:50px !important;
}
.mb-36{
    margin-bottom:36px !important;
}

.h-80{
    height: 80vh !important;
}
.card-row{
    margin: 16px 4px 16px 4px;
}

.card-row-1{
    margin: 8px 4px 8px 4px;
}

.card {
    background: var(--fd-card);
    border-radius: var(--fd-radius-card);
    border: 1px solid var(--fd-border);
    padding: 12px 16px;
    box-shadow: none;
}

.card-col{
    padding: 0px 8px 0px 8px;
}

.card-col-1{
    padding: 8px 8px 8px 8px;
}

.histogram-kde-row {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    background: transparent;
    width: 100%;
    margin: 0 0 8px;
    padding: 0 8px;
}

.histogram-kde-spacer {
    display: none;
}

.card-histogram-kde {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 8px;
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
}

.card-header-histogram-kde{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 600 !important;
    background-color: transparent;
    color: var(--fd-title);
    border-radius: 0 !important;
    border: none;
    margin: 0 !important;
    padding: 0;
}

.correlation-row {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    background: transparent;
    width: 100%;
    margin: 0 0 8px;
    padding: 0 8px;
}

.card-correlation {
    background: transparent;
    border: none;
    border-radius: 0;
    width: auto !important;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0 8px;
}

.card-header-correlation{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: transparent;
    color: var(--fd-title);
    border-radius: 0 !important;
    border: none;
    padding: 0 0 8px;
    margin: 0 !important;
}

.card-header {
    position: relative;
    min-height: 32px;
    background-color: transparent;
    color: var(--fd-title);
    padding: 0 28px 8px 0;
    border-radius: 0 !important;
    border: none;
    gap: 8px;
    z-index: 9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 32px;
}

.composition-gradient-analysis-row .card-header 
{
    padding: 0 0px 8px 0 !important;
}

.card-title {
    font-size: 14px !important;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0;
    line-height: 20px;
    color: var(--fd-title);
}

.card-body {
    padding: 16px;
    min-height: 400px; 
}

#twodhistogram-plots-container .card-body,
#inventory-plots-container .card-body {
    min-height: 0 !important;
    padding: 0;
    overflow: visible;
}

#heatmap-scatter-plots-container .card-body,
#box-plot-section-container .card-body,
#treemap-card-container .card-body,
#bubble-plot-container .card-body,
#3d-plot-container .card-body {
    min-height: 0 !important;
    padding: 0;
    overflow: visible;
}

#twodhist-unified-loading
{
    margin-top: -42px !important;
}


.card .card-title {
    flex: 1 1 auto;
    max-width: calc(100% - 8px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.inventory-expand-btn,
.inventory-expand-btn.btn {
    flex-shrink: 0;
    padding: 0 !important;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
    color: inherit !important;
}

.inventory-expand-btn:hover,
.inventory-expand-btn:focus,
.inventory-expand-btn:active,
.inventory-expand-btn.btn:hover,
.inventory-expand-btn.btn:focus,
.inventory-expand-btn.btn:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

.inventory-expand-btn img {
    display: block;
    pointer-events: none;
    width: 16px !important;
    height: 16px !important;
    filter: brightness(0);
}

.preview-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.preview-modal-overlay.preview-modal-overlay--open {
    display: flex;
}

.preview-modal-content {
    position: relative;
    background-color: var(--fd-card);
    margin: auto;
    padding: 16px 16px 20px;
    border-radius: var(--fd-radius-card);
    min-width: 70vw;
    max-width: 70vw;
    width: 70vw;
    box-shadow: var(--fd-overlay-shadow);
    border: 1px solid var(--fd-border);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.preview-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 12px;
    z-index: 20;
    padding: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.preview-modal-close-btn img {
    display: block;
    pointer-events: none;
    width: 16px;
    height: 16px;
}

.preview-modal-header {
    display: flex;
    align-items: center;
    min-height: 24px;
    padding: 0 280px 8px 0;
    margin: 0;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.preview-modal-header .card-title,
.preview-modal-header #preview-modal-title {
    font-family: var(--fd-font);
    font-size: 16px !important;
    line-height: 24px;
    font-weight: 600;
    color: var(--fd-title);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-modal-body {
    padding: 0;
    min-height: 300px;
    box-sizing: border-box;
    overflow: visible;
}

.preview-modal-graph-wrap {
    height: 60vh;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

.preview-modal-graph-wrap .preview-modal-graph-inner,
.preview-modal-graph-wrap .js-plotly-plot {
    height: 100% !important;
    width: 100% !important;
    overflow: visible !important;
}

.preview-modal-graph-wrap .js-plotly-plot .plotly {
    overflow: visible !important;
}

.preview-modal-graph-wrap .js-plotly-plot .plotly .main-svg {
    margin-top: 0 !important;
}

.preview-modal-content--box.preview-modal-content,
.preview-modal-content--bubble.preview-modal-content {
    min-width: 90vw;
    max-width: 90vw;
    width: 90vw;
}

.preview-modal-content--box .preview-modal-graph-wrap .js-plotly-plot .plotly .main-svg,
.preview-modal-content--bubble .preview-modal-graph-wrap .js-plotly-plot .plotly .main-svg,
.preview-modal-content--three_d .preview-modal-graph-wrap .js-plotly-plot .plotly .main-svg {
    margin-top: 10px !important;
}

.card-text {
    background: var(--fd-card);
    border-radius: var(--fd-radius-card);
    border: 1px solid var(--fd-border);
    padding: 16px;
    margin: 16px;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--fd-body);
}

.main-content-area,
#graph-section {
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
    height: 100%;
    max-height: 100vh;
    padding: 0px 8px 16px;
    background: var(--fd-chrome);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.container-fluid {
    padding: 0 !important;
    --bs-gutter-x: 0 !important;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.container-fluid > .row.g-0 {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    flex: 1 1 auto;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    margin: 0;
}

.container-fluid > .row.g-0 > .col-md-10 {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    width: auto;
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.container-fluid > .row.g-0 > .sidebar,
.container-fluid > .row.g-0 > .col-md-2.sidebar {
    flex: 0 0 360px;
    min-height: 0;
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    .sidebar {
        display: none; 
    }

    .main-content {
        margin-top: 200px; 
    }

    .jumbotron {
        margin-top: 160px; 
    }
}

.accordion {
    border-radius: 0px !important;
    --bs-accordion-border-width: 0px !important;
    --bs-accordion-border-radius: 0px !important;
}

.accordion-body {
    padding: 0 !important;
    background: transparent !important;
}

.accordion-header {
    border-radius: 0px !important;
}

.accordion-button {
    display: none !important;
}

#auth-status, #data-status {
    margin: 10px;
    display: none;
    font-weight: bold;
}

.common-selector {
    display: flex;
    text-align: left;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--fd-border);
    border-radius: var(--fd-radius);
    height: 32px;
    background: var(--fd-filter-bg);
}

.common-selector .form-check {
    flex: 1;
    margin: 0;
    padding: 0;
    position: relative;
    border-right: 1px solid var(--fd-border);
    height: 32px;
}

.common-selector .form-check:last-child {
    border-right: none;
}

.common-selector .form-check-label {
    width: 100%;
    padding: 8px 0;
    background-color: transparent;
    color: var(--fd-body);
    cursor: pointer;
    text-align: center;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 16px;
    display: block;
}

.common-selector .form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.common-selector .form-check-label:hover {
    background-color: var(--fd-row-hover);
}

.common-selector .form-check-input:checked + .form-check-label {
    background-color: var(--fd-card) !important;
    color: var(--fd-title) !important;
    font-weight: 500 !important;
}

.fluid-phase-selector {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.fluid-phase-selector .form-check {
    height: 32px;
    margin-bottom: 8px;
    padding: 0;
    position: relative;
}

.fluid-phase-selector .form-check-label {
    width: 100%;
    padding: 8px 12px;
    background-color: var(--fd-card);
    border: 1px solid var(--fd-border);
    border-radius: var(--fd-radius);
    color: var(--fd-title);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 16px;
    display: block;
}

.fluid-phase-selector .form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.fluid-phase-selector .form-check-label:hover {
    background-color: var(--fd-row-hover);
}

.fluid-phase-selector .form-check-input:checked + .form-check-label {
    background-color: var(--fd-card) !important;
    color: var(--fd-accent) !important;
    border-color: var(--fd-accent);
    font-weight: 500;
}

.fluid-phase-selector .form-check-input:checked + .form-check-label::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 60%;
    transform: translateY(-50%);
    background-image: url('icons/tick.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
}

.common-selector [type="radio"]:checked ~ label,
.common-selector label[data-checked="true"],
.common-selector .radio-checked {
    width: 100%;
    background-color: var(--fd-accent-soft) !important;
    color: var(--fd-title) !important;
    font-weight: 500 !important;
}

.common-selector [checked],
.common-selector [aria-checked="true"] {
    background-color: var(--fd-accent-soft) !important;
    color: var(--fd-title) !important;
    font-weight: 500 !important;
}

[class*="RadioItem"][class*="active"],
[class*="radio"][class*="active"],
[class*="RadioItem--"][class*="checked"],
[class*="radio--"][class*="checked"] {
    background-color: var(--fd-accent-soft) !important;
    color: var(--fd-title) !important;
    font-weight: 500 !important;
}

.dash-radio-items label {
    cursor: pointer;
}
.radio-selected {
    background-color: var(--fd-accent-soft) !important;
    color: var(--fd-title) !important;
    font-weight: 500 !important;
}

#box-plot-section-container .js-plotly-plot .plotly .main-svg {
    margin-top: 0 !important;
}

#box-plot-section-container .card-body {
    min-height: 0 !important;
}

#bubble-plot-container .card-body {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
}

#bubble-plot-container .js-plotly-plot .plotly .main-svg {
    margin-top: 0 !important;
}

#heatmap-scatter-plots-container .pearson-graph .js-plotly-plot .plotly .main-svg,
#heatmap-scatter-plots-container .spearman-graph .js-plotly-plot .plotly .main-svg,
#treemap-plots-container .js-plotly-plot .plotly .main-svg,
#3d-plot-container .three-d-plot-graph .js-plotly-plot .plotly .main-svg {
    margin-top: 0 !important;
}

#bubble-plot-container .js-plotly-plot .plotly .user-select-none{
    margin-top: 0 !important;
}

.js-plotly-plot .plotly .main-svg {
    background-color: transparent !important;
    margin-top: 0;
}

.js-plotly-plot .plotly .user-select-none {
    margin-top: 0;
}

.js-plotly-plot .infolayer .gtitle,
.js-plotly-plot .g-gtitle,
.js-plotly-plot .gtitle {
    display: none !important;
}

.js-plotly-plot .plotly .bg {
    fill: var(--fd-filter-bg) !important;
}

.js-plotly-plot .plotly .modebar {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: -36px !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center;
    gap: 0 !important;
    visibility: visible !important;
}


.preview-modal-graph-wrap .js-plotly-plot .plotly .modebar {
    top: -32px !important;
    right: 36px !important;
    margin-top: 0 !important;
    height: 24px;
    z-index: 12;
}

.js-plotly-plot .plotly .ease-bg {
    transition: none !important;
    background-color: transparent !important;
}

.modebar--hover .ease-bg,
.modebar--hover .modebar-group {
    background-color: transparent !important;
}

.js-plotly-plot .plotly .ease-bg:hover {
    background-color: transparent !important;
}

.js-plotly-plot .plotly .modebar-btn path {
    fill: var(--fd-subtle) !important;
}

.js-plotly-plot .plotly .modebar-btn path[fill="none"] {
    fill: none !important;
    stroke: var(--fd-subtle) !important;
}

.js-plotly-plot .plotly .modebar-btn {
    border-radius: 4px;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    background-color: transparent !important;
}


.js-plotly-plot .plotly .modebar-btn:hover path {
    fill: var(--fd-title) !important;
}

.js-plotly-plot .plotly .modebar-btn:hover path[fill="none"] {
    fill: none !important;
    stroke: var(--fd-title) !important;
}

.js-plotly-plot .plotly .modebar {
    z-index: 1000 !important;
}

.js-plotly-plot .plotly .modebar-group {
    display: flex !important;
    align-items: center;
    opacity: 1 !important;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    float: none !important;
}

.js-plotly-plot .plotly .modebar-btn svg:hover {
    fill: var(--fd-title) !important;
}

.js-plotly-plot .plotly .modebar-btn svg
{
    top: 4px !important;
}


.default-plot{
    width: 100%;
    display: flex;
    padding: 4px;
    height: auto;
    margin-bottom: 15px;
    border-radius: var(--fd-radius);
    border: 1px solid var(--fd-border);
    font-size: 11.5px;
    font-weight: 400;
    color: var(--fd-body);
    background-color: var(--fd-card);
}

.default-plot-btn{
    position: absolute;
    right: 14px;
    margin-top: -2px;
    text-decoration: none;
    border: none !important;
    font-size: 11.5px;
    color: var(--fd-subtle) !important;
    background-color: transparent !important;
}


.bubble-plot-graph{
    margin-top: 0;
    margin-bottom: 0;
    height: 48vh;
    min-height: 360px;
    width: 100%;
}

.treemap-graph{
    margin-top: 0;
    height: 80vh;
    width: 100%;
}

.inventory-plot-graph{
    margin-top: 0;
    height: 48vh;
    min-height: 320px;
    width: 100%;
    margin-bottom: 0;
}

.twodhistogram-graph {
    margin-top: 0;
    height: 48vh;
    min-height: 320px;
    width: 100%;
    margin-bottom: 0;
}

#twodhistogram-plots-container .twodhistogram-graph .js-plotly-plot,
#twodhistogram-plots-container .twodhistogram-graph .js-plotly-plot .plotly {
    margin-top: 0 !important;
}

#twodhistogram-plots-container .twodhistogram-graph .js-plotly-plot .plotly .main-svg {
    margin-top: 0 !important;
}

#twodhistogram-plots-container .twodhistogram-graph .js-plotly-plot .plotly .modebar {
    top: 0;
    right: 10px !important;
    margin-top: -34px !important;
}

#twodhistogram-plots-container .card-header.inventory-card-header {
    padding: 0 36px 4px 0;
}

#box-plot-section-container .card-header.inventory-card-header,
#heatmap-scatter-plots-container .card-header.inventory-card-header,
#bubble-plot-container .card-header.inventory-card-header,
#3d-plot-container .card-header.inventory-card-header {
    padding: 0 36px 4px 0;
}

#heatmap-scatter-plots-container .js-plotly-plot .plotly .modebar,
#bubble-plot-container .js-plotly-plot .plotly .modebar,
#3d-plot-container .js-plotly-plot .plotly .modebar {
    top: 0 !important;
    right: 32px !important;
    margin-top: -36px !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: 24px;
    align-items: center;
}

#box-plot-section-container .js-plotly-plot .plotly .modebar-group,
#heatmap-scatter-plots-container .js-plotly-plot .plotly .modebar-group,
#bubble-plot-container .js-plotly-plot .plotly .modebar-group,
#3d-plot-container .js-plotly-plot .plotly .modebar-group {
    flex-direction: row !important;
    float: none !important;
}

#box-plot-section-container .js-plotly-plot .plotly .modebar-btn svg,
#heatmap-scatter-plots-container .js-plotly-plot .plotly .modebar-btn svg,
#bubble-plot-container .js-plotly-plot .plotly .modebar-btn svg,
#3d-plot-container .js-plotly-plot .plotly .modebar-btn svg,
#twodhistogram-plots-container .js-plotly-plot .plotly .modebar-btn svg {
    top: 0 !important;
}

#heatmap-scatter-plots-container .card .card-body {
    min-height: 0 !important;
    padding: 0;
    overflow: visible;
}

#box-plot-section-container .card .card-body {
    min-height: 0 !important;
    padding: 0;
    overflow: visible;
}

#3d-plot-container .three-d-plot-graph {
    margin-top: 0;
    height: 48vh;
    min-height: 320px;
    width: 100%;
    margin-bottom: 0;
}

.twodhist-card-body-wrap {
  position: relative;
}

.twodhist-card-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 200px;
  background: color-mix(in srgb, var(--fd-card) 92%, transparent);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.twodhist-card-loading-content {
  text-align: center;
}

.twodhist-card-loading-spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  border: 2px solid var(--fd-border);
  border-top-color: var(--fd-accent);
  border-radius: 50%;
  animation: twodhist-spin 0.8s linear infinite;
}

.twodhist-card-loading-text {
  font-size: 12px;
  color: var(--fd-subtle);
}

.twodhist-loading-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 240px;
  background: color-mix(in srgb, var(--fd-card) 94%, transparent);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.twodhist-placeholder-content {
  text-align: center;
}

.twodhist-placeholder-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border: 3px solid var(--fd-border);
  border-top-color: var(--fd-accent);
  border-radius: 50%;
  animation: twodhist-spin 0.8s linear infinite;
}

.twodhist-unified-loading-body {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.twodhist-placeholder-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--fd-title);
}

.twodhist-placeholder-subtitle {
  margin: 0;
  font-size: 14px;
  color: #666;
}

@keyframes twodhist-spin {
  to { transform: rotate(360deg); }
}

.threed-plots-area {
  position: relative;
  margin: 4px;
  margin-top: 34px;
  padding: 0;
}

.threed-loading-placeholder {
  margin: 0;
  padding: 0;
  width: 100%;
}

.threed-placeholder-body {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.threed-placeholder-content {
  text-align: center;
  margin: 0;
  padding: 16px;
}

.threed-placeholder-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    border: 3px solid var(--fd-border);
    border-top-color: var(--fd-accent);
    border-radius: 50%;
  animation: twodhist-spin 0.8s linear infinite;
}

.threed-placeholder-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--fd-title);
}

.threed-plot-container {
  margin: 0;
  padding: 0;
  width: 100%;
}

.three-d-plot-graph .js-plotly-plot .plotly .main-svg {
    margin-top: 15px !important;
}

#3d-plot-container .three-d-plot-graph .js-plotly-plot .plotly .main-svg {
    margin-top: 0 !important;
}

.pearson-graph .js-plotly-plot .plotly .main-svg{
    margin-top: 0 !important;
}

.spearman-graph .js-plotly-plot .plotly .main-svg{
    margin-top: 0 !important;
}

.inventory-plot-graph .js-plotly-plot .plotly .main-svg{
    margin-top: 0 !important;
}

.inventory-plot-graph .js-plotly-plot .plotly .modebar,
.depth-graph .js-plotly-plot .plotly .modebar,
.pearson-graph .js-plotly-plot .plotly .modebar,
.spearman-graph .js-plotly-plot .plotly .modebar,
.twodhistogram-graph .js-plotly-plot .plotly .modebar{
    right: 0 !important;
}

.three-d-plot-graph .js-plotly-plot .plotly .modebar,
.bubble-plot-graph .js-plotly-plot .plotly .modebar 
{
    top: -15px !important;
    right: -16px !important;
}

.treemap-graph .js-plotly-plot .plotly .main-svg{
    margin-top: 0 !important;
}

.depth-graph .js-plotly-plot .plotly .main-svg{
    margin-top: 40px !important;
}

.depth-graph .js-plotly-plot .plotly .user-select-none{
    margin-top: -95px !important;
}

.depth-x-dropdown-cont{
    position: relative;
    width: 100%;
    height: 50px;
    background-color: var(--fd-card);
    z-index: 9;
}

.pearson-graph{
    height: 60vh;
    width: 100%;
}

.spearman-graph{
    height: 60vh;
    width: 100%;
}

.three-d-plot-graph{
    margin-top: 0;
    height: 60vh;
    width: 100%;
    margin-bottom: 0;
}

.Select-clear-zone:not(:empty) ~ .Select-arrow-zone,
.Select-clear-zone.is-visible ~ .Select-arrow-zone,
.Select-clear-zone[style*="display: block"] ~ .Select-arrow-zone,
.Select-clear-zone:not([style*="display: none"]) ~ .Select-arrow-zone {
    display: none !important;
}

.Select-control:has(.Select-clear-zone:not(:empty)) .Select-arrow-zone {
    display: none !important;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #00000033;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00000055;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #00000033 transparent;
}


.shimmer-container {
  width: 100%;
  overflow: hidden;
}

.shimmer {
  animation-duration: 2.2s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: shimmer;
  animation-timing-function: linear;
  background: linear-gradient(to right, #f6f7f8 8%, #edeef1 18%, #f6f7f8 33%);
  background-size: 1200px 100%;
}

@keyframes shimmer {
  0% {
    background-position: -1200px 0;
  }
  100% {
    background-position: 1200px 0;
  }
}

.shimmer-card {
  height: 300px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.shimmer-header {
  height: 40px;
  width: 70%;
  margin-bottom: 16px;
  border-radius: 4px;
}

.shimmer-body {
  height: 360px;
  border-radius: 4px;
}

.analysis-shimmer-container {
  display: none;
  position: relative;
}

.shimmer-row {
  display: flex;
  flex-wrap: wrap;
  margin: 4px 4px 4px 4px;
}

.shimmer-col {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 8px;
}

.shimmer-col-100 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 8px;
  }

.one-shimmer-row{
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    margin-left: 4px !important;
    margin-right: 4px !important;
}

@media (max-width: 768px) {
  .shimmer-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.composition-gradient-analysis-row {
    padding-bottom: 16px;
    width: 100%;
    height: calc(100vh - 30px);
    min-height: 600px;
}

.depth-card {
    height: 100%;
    min-height: 700px;
    padding-bottom: 0px !important;
}

.depth-y-dropdown
{
    margin-top: 10px !important;
}

.depth-x-dropdown
{
    margin-bottom: 10px !important;
}

.depth-card .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.depth-card .card-body {
    flex: 1;
    padding: 0px;
    display: flex;
    flex-direction: column;
}

.depth-graph {
    flex: 1;
    height: 100% !important;
    min-height: 500px;
}

.depth-graph .js-plotly-plot {
    height: 100% !important;
}

.depth-graph .js-plotly-plot .plotly {
    height: 100% !important;
}

.depth-graph .js-plotly-plot .plotly .main-svg {
    height: 100% !important;
}

.depth-card .card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    cursor: help;
}

.truncated-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    cursor: help;
}

.no-padding-right{
    padding-right: 0px !important;
}

#composition-gradient-analysis-section {
    width: 100%;
    padding: 0 12px;
}

#depth-container
{
    padding-bottom: 155px;
}

.depth-card .card-body .Select-control {
    min-height: 32px !important;
    height: 32px !important;
    font-size: 10.5px !important;
    border: 1px solid rgba(0,0,0,0.4) !important;
    border-radius: 4px !important;
    background-color: var(--fd-card) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

.depth-card .card-body .Select-placeholder {
    font-size: 10.5px !important;
    line-height: 30px !important;
    color: var(--fd-title) !important;
    padding: 0 8px !important;
}

.depth-card .card-body .Select-value-label {
    font-size: 10.5px !important;
    line-height: 30px !important;
    padding: 0 8px !important;
    color: var(--fd-title) !important;
}

.depth-card .card-body .Select-arrow-zone {
    width: 26px !important;
    padding: 0 4px !important;
}

.depth-card .card-body .Select-arrow {
    border-color: #666 transparent transparent !important;
    border-width: 5px 5px 0 !important;
    margin-top: 3px !important;
}

.depth-x-dropdown-container .Select-menu-outer {
    position: absolute !important;
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 2px !important;
    transform: none !important;
    max-height: 200px !important;
}

.depth-x-dropdown-container .Select-menu {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.depth-x-dropdown-container .Select-arrow {
    border-color: transparent transparent #666 !important;
    border-width: 0 5px 5px !important;
    margin-top: -2px !important;
    margin-bottom: 3px !important;
}

.depth-x-dropdown .Select-menu-outer {
    position: absolute !important;
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 2px !important;
    max-height: 200px !important;
}

.depth-x-dropdown .Select-menu {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.depth-x-dropdown .Select-arrow {
    border-color: transparent transparent #666 !important;
    border-width: 0 5px 5px !important;
    margin-top: -2px !important;
    margin-bottom: 3px !important;
}

.depth-card .card-body .depth-x-dropdown-container .Select-menu-outer,
.depth-card .card-body .depth-x-dropdown .Select-menu-outer {
    position: absolute !important;
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 2px !important;
    transform: none !important;
    max-height: 200px !important;
}

.depth-card .card-body .depth-x-dropdown-container .Select-menu,
.depth-card .card-body .depth-x-dropdown .Select-menu {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.depth-card .card-body .depth-x-dropdown-container .Select-arrow,
.depth-card .card-body .depth-x-dropdown .Select-arrow {
    border-color: transparent transparent #666 !important;
    border-width: 0 5px 5px !important;
    margin-top: -2px !important;
    margin-bottom: 3px !important;
}

.depth-card .card-body > div:first-child > div:nth-child(2) .Select-menu-outer,
.depth-card .card-body div[style*="transform: translateX(-50%)"] .Select-menu-outer {
    position: absolute !important;
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 2px !important;
    max-height: 200px !important;
}

.depth-card .card-body > div:first-child > div:nth-child(2) .Select-menu,
.depth-card .card-body div[style*="transform: translateX(-50%)"] .Select-menu {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.depth-card .card-body > div:first-child > div:nth-child(2) .Select-arrow,
.depth-card .card-body div[style*="transform: translateX(-50%)"] .Select-arrow {
    border-color: transparent transparent #666 !important;
    border-width: 0 5px 5px !important;
    margin-top: -2px !important;
    margin-bottom: 3px !important;
}

.depth-card .card-body .Select-menu-outer {
    font-size: 10.5px !important;
    border: 1px solid rgba(0,0,0,0.4) !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    z-index: 1001 !important;
    background-color: var(--fd-card) !important;
    max-height: 160px !important;
}

.depth-card .card-body .Select-menu {
    max-height: 160px !important;
    overflow-y: auto !important;
}

.depth-card .card-body .Select-option {
    font-size: 10.5px !important;
    padding: 6px 8px !important;
    line-height: 1.3 !important;
    background-color: transparent !important;
}

.depth-card .card-body .Select-option:hover {
    background-color: var(--fd-row-hover) !important;
}

.depth-card .card-body .Select-option.is-selected {
    background-color: var(--fd-accent) !important;
    color: var(--fd-on-accent) !important;
}

.depth-card .card-body > div:first-child {
    position: relative !important;
    height: 100% !important;
}

.depth-card .card-body .Select-control:hover {
    border-color: var(--fd-border) !important;
}

.depth-card .card-body .Select-control.is-focused {
    border-color: var(--fd-accent) !important;
    box-shadow: 0 0 0 1px var(--fd-accent) !important;
}

.depth-x-dropdown-container .Select-menu-outer,
.depth-x-dropdown .Select-menu-outer,
.depth-card .card-body .depth-x-dropdown-container .Select-menu-outer,
.depth-card .card-body .depth-x-dropdown .Select-menu-outer,
.depth-card .card-body > div:first-child > div:nth-child(2) .Select-menu-outer,
.depth-card .card-body div[style*="transform: translateX(-50%)"] .Select-menu-outer {
    position: absolute !important;
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 2px !important;
    transform: none !important;
    max-height: 180px !important;
    border: 1px solid rgba(0,0,0,0.4) !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    z-index: 1001 !important;
    background-color: var(--fd-card) !important;
}

.depth-x-dropdown-container .Select-menu,
.depth-x-dropdown .Select-menu,
.depth-card .card-body .depth-x-dropdown-container .Select-menu,
.depth-card .card-body .depth-x-dropdown .Select-menu,
.depth-card .card-body > div:first-child > div:nth-child(2) .Select-menu,
.depth-card .card-body div[style*="transform: translateX(-50%)"] .Select-menu {
    max-height: 180px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    font-size: 10.5px !important;
}

.sidebar .Select-menu-outer {
    position: absolute !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    z-index: 2000 !important;
    max-height: 200px !important;
    min-width: 100% !important;
    width: auto !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 4px !important;
}

.sidebar .Select-control:last-child .Select-menu-outer,
.sidebar .Select-control:nth-last-child(-n+3) .Select-menu-outer {
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 2px !important;
}

.sidebar #treemap-feature-dropdown .Select-menu-outer {
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 2px !important;
}

.sidebar .Select-menu-outer.dropdown-upward {
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 2px !important;
}

.Select-menu-outer {
    background: var(--fd-card);
    border: 1px solid var(--fd-border);
    border-radius: var(--fd-radius);
}

.accordion-item {
    background: transparent;
    border: none;
}

.preview-modal-close-btn img {
    filter: var(--fd-icon-filter);
}
