@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
:root {
    --bs-primary: #ffffff;
    --bs-secondary: #6c757d;
    --bs-info: #17a2b8;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    color: #000 !important;
}

.string-list-item{
    margin-bottom: 0.5em !important;
}

* {
    font-family: 'Inter'!important;
}

.modal-footer{
    border-top: none;
}

.radio-button {
    height: 3.5em; 
    text-align: center; 
    padding: 0.2em 1.4em; 
    white-space: 0; 
    display: flex;
    margin: 1px;
    align-items: center;
    justify-content: center;
    border-color: #64645e;
    color: #000;
    font-weight: 600;
    overflow-x: scroll
}

.btn-outline-primary {
    --bs-btn-color: #64645e;
    margin: 1px;
    --bs-btn-border-color: #64645e;
    --bs-btn-hover-color: #64645e;
    --bs-btn-hover-bg: #64645e;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #64645e;
    --bs-btn-active-border-color: #0d6efd;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-gradient: none;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: #fff;
    background-color: #64645e;
    border-color: #64645e;
    font-weight: 600
}

.btn-check:disabled+.btn, .btn-check[disabled]+.btn {
    opacity: .45;
    font-weight: 400
}

.custom-datalist{
    height:100px !important;
    max-height: 200px  !important;
    overflow-y: "scroll";
    background-color: "#eeeeee" !important;
    color: #616161 !important;
}

.container {
    background-color: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
    box-sizing: border-box;
}

.card {
    background-color: #fff;
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;

}

.card-body {
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.img {
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    margin: 12px;
}

.circle-btn {
    border-radius: 50% !important;
    width: 42px;
    height: 42px;
    padding: 0;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 50%;
    background-color: none;
    transform: translate(20%,-50%);
}

.circle-btn-nav {
    border-radius: 50% !important;
    width: 10px;
    height: 10px;
    padding: 0;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translate(20%,-70%);
}

p {
    margin: 0;
    color: #000;
    font-weight: 500;
}

.collapsible-details p{
    color: #1A53C6
}
.alert{
    font-size: small;
}

.custom-input {
    background-color: #eeeeee;
    color: #000000;
    padding: 0;
    border: none;
    display: flex;
}

.nlp-result{
    width: 100% !important;
    align-self:start;
    
}

.mobile-nlp-result{
    
    width: 100% !important;
    align-self:start;
    padding-left: 6% !important;
    padding-right: 6% !important;
}

.custom-input .Select-placeholder::before,
.custom-input .Select-value-label::before {
    content: url('/assets/db_icon.svg');
    margin-right: 8px;
}

.custom-input::placeholder {
    color: #64645e;
}

.dropdown-mobile{
    content: '▼';
    border: none;
    border-bottom: 2px solid black;
    border-radius: 0;
    margin-top: 10px;
    font-size: 16px
}

/* Custom styles for the tabs */
.custom-tabs .nav-item.show .nav-link,
.custom-tabs .nav-link.active {
    color: #000;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: bold;
    border-width: 0 0 3px 0;
    border-bottom-color: black;
}

.tab-outline {
    --bs-btn-color: #fff;
    margin: 1px;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #0d6efd;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-gradient: none;
    appearance: none;
}

.tab-check:checked+.tab, .tab.active, .tab.show, .tab:first-child:active, :not(.btn-check)+.tab:active {
    color: #000;
    background-color: #fff;
    border: none;
    border-bottom: 2px solid black; 
}

.custom-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #000;
}

.custom-tabs .nav-link.disabled {
    color: #6c757d;
}


.custom-input:focus {
    background-color: #eeeeee;
    color: #64645e;
    outline: none;
    box-shadow: none;
}

.upward-collapse-menu {
    position: absolute;
    bottom: 100%;
    width: 100%;
}

.sidebar-footer {
    margin-top: auto;
    position: relative;
}

.sidebar {
    justify-content: center;
    padding-right: 0%;
    height: '100vh';
    width: '100vw';
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    background-color: #f3f3ed;
    color: "white";
    font-size: 1.1rem;
}

.sidebar-open{
    height: 100vh;
    width: 16.67%;
    padding: 0;
    margin: 0;
    transition: width 0.2s;
}

.sidebar-close{
    height: 100vh;
    width: 4rem;
    padding: 0;
    margin: 0;
    transition: width 0.15s;
}

.sidebar-close .logo{
    display: none;
}

.sidebar-close .collapse-logo{
    width: 80%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    aspect-ratio: 1;
    margin: 10px auto 10px auto;
}

.sidebar-close .dataset-container{
    display: none;
}

.sidebar-open .logo{
    width: 60%;
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 3001/865;
}

.sidebar-open .collapse-logo{
    display: none;
}

.sidebar-open #sidebar-toggle {
    background-image: url('sidebar_close.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sidebar-close #sidebar-toggle {
    background-image: url('sidebar_open.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sidebar-close .nav_item p{
    display: none;
}

.sidebar-close #home-toggle{
    display: flex;
    justify-content: center;
}

.sidebar-close #admin-toggle{
    display: flex;
    justify-content: center;
}


.sidebar-close #admin-collapse .nav_item{
    display: flex;
    justify-content: center;
}

.sidebar-close #admin-collapse{
    background: #cecece;
    margin : 0 10px 0 10px;
    border-radius: 10px;
}

.sidebar-close #sidebar-collapse-notch{
    display: flex;
    justify-content: center;
}

 #sidebar-collapse-notch{
    display: none;
 }

.sidebar-close #login-button span{
    display: none;
}

.sidebar-close #login-button img{
    margin-right: 13px;
}

.sidebar-close #logout-button img{
    margin-left: 13px;
}

.sidebar-close #login-button{
    display: flex;
    justify-content: center;
}

.sidebar-close #logout-button{
    display: flex;
    justify-content: center;
}

.sidebar-close #logout-button span {
    display: none;
    justify-content: center;
}

.sidebar-close .user-information{
    width: 4rem !important;
    display: flex;
    justify-content: center;
}

.sidebar-open .logo-container {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px auto;
}

.sidebar-close .logo-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sidebar-toggle {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#sidebar-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Optional hover effect */
}

.display-4 {
    color: #fff;
    width: 90%;
    height: auto;
}

.Select.has-value.Select--single > .Select-control .Select-value .Select-value-label, .Select.has-value.is-pseudo-focused.Select--single > .Select-control .Select-value .Select-value-label {
    color: #64645e !important;
    font-size: medium;

}

.nav-pills .nav-link {
    margin: 0%;
    font-weight:400;
    color: #616161;
    vertical-align: middle;
    width: 100%;
    align-items: center;
    padding: 0rem;
}

.sidebar-close .nav-pills .nav-link {
    justify-content: center;
}

.img{
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    
    margin-bottom: 0.8rem;
}

.nav-link.active, .nav-pills .nav-link.active {
    background-color: transparent;
    color: #000;
    font-weight:500 ;
    display: flex;
    width: 100%;
    border-radius: 0%;
    flex-direction: row;
    vertical-align: middle;
    align-items: center;
}

.nav-pills{
    width: 100%;
}

.nav_item {
    display: flex;
    justify-content: start;
    background-color: none;
    vertical-align: middle;
    vertical-align: middle;
    align-items: center;
    user-select: none
}


.btn-primary {
    --bs-btn-color: #64645e !important;
    --bs-btn-bg: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #64645e;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
    text-align: start;
    
}


.login-button{
    padding-left: 10%;
}

datalist {
    position: absolute;
    width: calc(100% - 2px); 
    max-height: 200px;
    overflow-y: auto; 
    border: 1px solid #ccc; 
    border-top: none; 
    box-shadow: 0px 4px 6px -1px rgba(0,0,0,0.1); 
    z-index: 1000; 
}

datalist option {
    padding: 8px; 
    cursor: pointer; 
    background-color: white; 
}

datalist option:hover {
    background-color: #f8f8f8; 
}


.Select__menu {
    background-color: #fff;  
}

.Select__menu-list {
    background-color: #fff;  
}

.Select__option {
    color: #ffffff;  
}

.Select__option--is-selected {
    background-color: #555555;  
}

.Select__option--is-focused {
    background-color: #444444;  
}

.col-auto{
    width:100%
}

/* assets/style.css */
@media (max-width: 768px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100%;
        background-color: #343a40; /* or any color that matches your theme */
        z-index: 1025;  /* Ensures it is above most other content */
    }

    .navbar-toggler {
        display: block; /* Ensure the toggler is always visible on small screens */
    }

    .Select-control{
        border: none;
    }
}
.tooltip{
    position: absolute;
    z-index: 10000 !important;
    padding: 0% !important;
    background-color: white !important;
    text-align: start !important;
    opacity: 100;
}
.hint-button{
    background-color: #fff !important;
    text-align: start !important;

}


.hint-button:hover{
    background-color: #f2e6fe !important;
}

.highlighted-word-style:hover{
    background-color: #e6d4f9;
}

.custom-button {
    background-color: #eeeeee; 
    border: 1px solid #c0c0c0; 
    margin: 0.2rem;
    color: #000000;
    width:70%;
    text-align: center;
    border-radius: 3rem;
    font-weight: 700;
}

.custom-button:hover {
    background-color: #f0f0f0; 
    color: #404040;
}

.custom-button:active {
    background-color: #a0a0a0; 
    color: #f0f0f0; 
}

a.custom-button {
    text-decoration: none;
}

.page-button {
    background-color: #eee; 
    border: none; 
    color: #000;
    width:fit-content;
    text-align: center;
    border-radius: 3rem;
    padding: 0.5rem 2rem;
    font-weight: 500;
}

.input-placeholder::placeholder {
    color: #6C757D !important;
    opacity: 1;
}

.input-placeholder .Select-placeholder {
  color: #6C757D !important;
}

.page-button:hover {
    background-color: #202020; 
    color: #eee;
}

.page-button:active {
    background-color: #a0a0a0; 
    color: #f0f0f0; 
}

.page-button:disabled{
    background-color: #424242; 
    color: #eee; 
}

a.page-button {
    text-decoration: none;
}

.page-submit-button {
    background-color: #000; 
    border: none; 
    color: #fff;
    width:fit-content;
    text-align: center;
    border-radius: 3rem;
    padding: 0.5rem 2rem;
    font-weight: 500;
}

.page-submit-button:hover {
    background-color: #202020; 
    color: #eee;
}

.page-submit-button:active {
    background-color: #a0a0a0; 
    color: #f0f0f0; 
}

.page-submit-button:disabled{
    background-color: #424242; 
    color: #eee; 
}

a.page-submit-button {
    text-decoration: none;
}

#suggestions-container {
    border: 1px solid #ccc;
    max-height: 100px;
    overflow-y: auto;
    position: absolute;
    background: white;
    z-index: 1000;
    width: 100%;
}

.suggestion {
    padding: 10px;
    cursor: pointer;
    border: none;
}

.suggestion:hover {
    background-color: #f2e6fe !important;
}

.tab-check{
    appearance: none;
}

.tabs_style{
    display: flex;
    justify-content: start;
    background-color: #f3f4f9;
    border-radius: 5px;
    padding: 0;
    white-space: 0;

}
.tab_style{
    flex: 1;
    overflow-x: hidden;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 !important;
    background-color: #e0e0e0
}
.active_tab_style {
    background-color: #007bff;
    color: #fff
}

.row{
    --bs-gutter-x:0;
}

#toast-message {
    z-index: 5000 !important
}

#connection-table {
    width: 100%
}

#connection-information > div {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.tooltip-inner{
    text-align: left;
}

.export {
    overflow: visible;
    position: relative;
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    z-index: 1400;
    margin-bottom: 15px;
    font-size:0;
}
.export::before {
    content: 'Result';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    padding-left: 10px;
    font-size: 20px;
    padding-left: 32px;
}
.export::after {
    content: '';
    background-image: url('/assets/download_icon_black.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 2px;
    left: 0;
    width: 80%;
    height: 80%;
    z-index: 0;
    padding-left: 160px;
}


.custom-datepicker input {
    font-size: 12px;
}

.custom-datepicker .DateInput_input__focused {
    font-size: 12px;
}

.overview-custom-date-range button::before{
    content: none !important;
    display: none !important;
}

.overview-date-dropdown > div{
    width: 100% !important;
}

.sidebar-close .tooltip-container {
  position: relative;
  display: inline-block;
}

.sidebar-close .tooltip-container .tooltiptext,
 .sidebar-close .tooltip-container .toggletooltiptext{
  display: block !important;
  visibility: hidden;
  width: fit-content;
  padding: 5px 10px 5px 10px !important;
  white-space: nowrap;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  top: 5px;
  left: 105%;
  z-index: 1;
  font-size: 12px;
}

.sidebar-close .tooltip-container:hover .tooltiptext,
 .sidebar-close .tooltip-container:hover .toggletooltiptext{
  visibility: visible;
}

.sidebar-open .tooltip-container {
  position: relative;
  display: flex;
}

.sidebar-open #sidebar-toggle .toggletooltiptext {
  display: block !important;
  visibility: hidden;
  width: fit-content;
  padding: 5px 10px 5px 10px !important;
  white-space: nowrap;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  top: 5px;
  left: 105%;
  z-index: 1;
  font-size: 12px;
}

.sidebar-open #sidebar-toggle:hover .toggletooltiptext {
  visibility: visible;
}

.sidebar-open .tooltiptext{
    display: none;  
}


.dropdown-item{
    display: block;
}

.custom-dropdown-menu .dropdown-toggle::after {
    display: none;
    border: none !important;
    top: 0; 
}

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

.custom-dropdown-menu .dropdown-menu {
    display: none;
    border: none !important;
    position: absolute;
    top: 0; 
    margin-top: 0;
    margin-left: 0;
    background-color: #fff;
    border-radius: 8px; 
}

.custom-dropdown-menu:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    border: none !important;
}

.dropdown-group {
    display: none;
}

.dropdown-container:hover .dropdown-group {
    display: block;
}

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

.dropdown-trigger {
    cursor: pointer;
    font-size: 1.5em;
}

.dropdown-group {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    width: 200%;
}

.radio-items .dash-radioitems-container input[type="radio"] {
    display: none;
}

.radio-items .dash-radioitems-container label {
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0; 
}

.radio-items .dash-radioitems-container label:hover {
    background-color: #ddd;
}

.radio-items .dash-radioitems-container input[type="radio"]:checked + label {
    background-color: #007bff;
    color: #fff;
}

.radio-items {
    position: relative;
    z-index: 10000;
    background-color: #eee;
    padding: 0.5em;
    border-radius: 2em;
    display: none; 
}

.chart-selector:hover .radio-items,
.chart-selector:focus .radio-items,
.chart-selector:active .radio-items {
    display: block;
}

.chart-selector {
    position: relative;
    display: inline-block;
}

.chart-selector img {
    cursor: pointer;
    margin-left: 0;
}

.mobile-chart-selector{
    margin-right: 6%;
    margin-left: 6%;
}

.mobile-chart-selector:hover .radio-items,
.mobile-chart-selector:focus .radio-items,
.mobile-chart-selector:active .radio-items {
    display: block;
}

.mobile-chart-selector {
    position: relative;
    display: inline-block;
}

.mobile-chart-selector img {
    cursor: pointer;
    margin-left: 0;
}

.chart-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: fit-content; 
    height: fit-content; 
}

.hover-text {
    display: none;  
    font-weight: bold;
    font-size: 12px;
    font-weight: 500;
    transition: display 0.3s ease;  
}

.chart-option:hover .hover-text {
    display: flex; 
}


.chart-icon {
    height: 24px;
    width: 24px; 
    object-fit: cover;
}

/* Apply styles specifically to this RadioItems */
.radio-items label {
    background-color: transparent;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

/* Style for the selected radio item */
.radio-items label:has(> input[type="radio"]:checked){
    background-color: #fff !important; /* White for selected */
    color: black !important; /* Change text color to white */
}

.graph-container .slice {
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  
  /* Only fade other slices if there is a hovered slice */
.graph-container :hover:has(.slice:hover) .slice:not(:hover) {
    opacity: 0.3 !important;
    transform: scale(0.8) tr;;
}
  
  
  /* Only apply stroke to the path of the hovered slice */
.graph-container:hover:has(.slice:hover) .slice:hover path {
    opacity: 1 !important;
}

  /* Add initial animation to slices */
.pielayer .slice {
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    animation: sliceAnimation 1s ease-out forwards;
  }
  
  /* Delay each slice animation for a staggered effect */
.pielayer .slice:nth-child(1) {
    animation-delay: 0.1s;
}
  
.pielayer .slice:nth-child(2) {
    animation-delay: 0.2s;
}
  
.pielayer .slice:nth-child(3) {
    animation-delay: 0.3s;
}
  
.pielayer .slice:nth-child(4) {
    animation-delay: 0.4s;
}
  
  /* Keyframes for the slice appearance animation */
@keyframes sliceAnimation {
    0% {
      opacity: 0;
      transform: scale(0);
    }
    100% {
      opacity: 1;
      transform: scale(1.05);
    }
}

.pielayer .slicetext {
    font-size: 0.9em !important; /* Adjust the size as needed */
    font-weight: 500; /* Makes the text bold */

}

.graph-container .pielayer .slice path:hover {
    fill: currentColor; /* Ensure the slice's color remains unchanged */
    stroke: #000; /* Black outer stroke */
    stroke-width: 2px !important; /* Width of the stroke */
    stroke-dasharray: 100 0 !important; /* Stroke only the outer circumference */
    stroke-linecap: round !important; /* Smooth edges for the stroke */
  }
  

.loading-component .dash-spinner {
    /* Remove default spinner appearance */
    background: none;
    border: none;
    box-shadow: none;
    width: 400px; /* Container width */
    height: fit-content; /* Height to accommodate three lines */
    position: relative;
    /* Centering the spinner */
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

/* Update widths for pseudo-elements */
.loading-component .dash-spinner::before,
.loading-component .dash-spinner::after {
    content: "";
    display: block;
    width: 0; /* Start from 0 width for left-to-right animation */
    height: 20px;
    margin-top: 10px;
    background: linear-gradient(
        to right,
        #e0e0e0 0%,
        #f0f0f0 20%,
        #e0e0e0 40%,
        #e0e0e0 100%
    );
    background-size: 1000px 100%;
    border-radius: 50px;
    animation: shimmer-animation 1.5s infinite linear, 
               load-from-left 0.6s ease-out forwards; /* Add the animation */
}

/* Move the first line up to remove the margin on the first one */
.loading-component .dash-spinner::before {
    margin-top: 0;
    width: 0; /* Start from 0 width */
    height: 20px;
    animation: shimmer-animation 1.5s infinite linear, 
               load-from-left 0.6s ease-out forwards; /* Add the animation */
    max-width: 400px;
}

.loading-component .dash-spinner::after {
    width: 0; /* Start from 0 width */
    height: 20px;
    animation: shimmer-animation 1.5s infinite linear, 
               load-from-left 0.8s ease-out forwards; /* Slightly delay the second line */
    max-width: 250px; /* Make the second line shorter (80% of the container width) */
}

/* Shimmer animation keyframes */
@keyframes shimmer-animation {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Left-to-right load animation keyframes */
@keyframes load-from-left {
    0% {
        width: 0;
    }
    100% {
        width: 100%; /* Full width of the parent element */
    }
}

.loading-component .dash-default-spinner-rect1,
.loading-component .dash-default-spinner-rect2,
.loading-component .dash-default-spinner-rect3,
.loading-component .dash-default-spinner-rect4,
.loading-component .dash-default-spinner-rect5 {
    display: none !important;
}

.loading-component > div {
    justify-content: flex-start !important; /* Override default */
    align-items: flex-start !important;
}

.collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.description-success {
    color: #1A53C6;
    font-weight: bold;
}

.description-failure {
    color: red;
    font-weight: bold;
}

.toggle-arrow {
    font-size: 0.8em;
    color: #555;
}

.collapsible-details {
    margin: 0.5em 0 0 1em;
    padding: 0;
    list-style: disc;
    color: #1A53C6 !important;
}


.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner table {
    border-collapse: collapse;
    --accent: black !important;
    --border: lightgrey;
    --text-color: #3c3c3c;
    --hover: #fdfdfd;
    --background-color-ellipses: #fdfdfd;
    --faded-text: #fafafa;
    --faded-text-header: #b4b4b4;
    --selected-background: rgba(255, 65, 54, 0.2);
    --faded-dropdown: #f0f0f0;
    --muted: #c8c8c8;
}

.my-custom-table .dash-header th {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* text on the left side, icon will move to the right */
}

.loading-parent > div {
    justify-content: start !important;
}

.custom-modal-loading-spinner {
    z-index: 1500 !important;
}

.sidebar-dataset-dropdown{
    width: 100%;
}

.sidebar-close .css-15spxq3-menu{
    top: -2.2em;
    left: 100%;
    position: absolute;
    width: 12vw;
    z-index: 1000;
    background-color: rgb(255, 255, 255);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 4px 11px;
    margin-bottom: 8px;
    margin-top: 8px;
    box-sizing: border-box;
    max-height: 300px;
    overflow: scroll;
    animation: slideInFromRight 0.3s ease-out forwards;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(10%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sidebar-close .dataset-hr{
    border: 0.1px solid black;
    width: 80%;
    margin-bottom: 0;
    margin-top: 12px;
    opacity: 0.2 !important;
    align-self: center;
}

.sidebar-open .dataset-hr{
    display: none;
}

.smart-dropdown{
    width: 100%;
}