.DateInput {
    width: 6.7vw;
    height: 4.5vh;
    font-size: 0.85vw;
}
.DateInput_input {
    font-size: 1vw;
    width: 6.7vw;
    height: 4.5vh;
    text-align: center;
}
#turnover-slider {
    width: 30vw;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

#turnover-slider .rc-slider-rail {
    height: 0.5vh;
}

#turnover-slider .rc-slider-track {
    height: 0.5vh;
}

#turnover-slider .rc-slider-handle {
    width: 1.5vh;
    height: 1.4vh;
}

#turnover-slider .rc-slider-dot {
    width: 0.9vh;
    height: 0.9vh;
}
#turnover-slider .rc-slider-mark-text {
    font-size: 1.3vh;
}
#turnover-slider .rc-slider-tooltip-inner {
    font-size: 1.4vh;
}

#ecdf-slider, #threshold-ecdf, #threshold-entropy-slider{
    width: 30vw;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

#ecdf-slider .rc-slider-rail, #threshold-ecdf .rc-slider-rail, #threshold-entropy-slider .rc-slider-rail{
    height: 0.5vh;
}

#ecdf-slider .rc-slider-track, #threshold-ecdf .rc-slider-track, #threshold-entropy-slider .rc-slider-track{
    height: 0.5vh;
}

#ecdf-slider .rc-slider-handle, #threshold-ecdf .rc-slider-handle, #threshold-entropy-slider .rc-slider-handle{
    width: 1.5vh;
    height: 1.5vh;
}

#ecdf-slider .rc-slider-dot, #threshold-ecdf .rc-slider-dot, #threshold-entropy-slider .rc-slider-dot{
    width: 0.9vh;
    height: 0.9vh;
}
#ecdf-slider .rc-slider-mark-text, #threshold-ecdf .rc-slider-mark-text, #threshold-entropy-slider .rc-slider-mark-text{
    font-size: 1.3vh;
}
#ecdf-slider .rc-slider-tooltip-inner, #threshold-ecdf .rc-slider-tooltip-inner, #threshold-entropy-slider .rc-slider-tooltip-inner {
    font-size: 1.4vh;
}

.jsx-3201076643{
    font-size: 1.75vh;
}
.jsx-3201076643 .tab{
    height: 1.75vh;
}

.jsx-4017309047 .tab-container{
    height: 1.75vh;
}

[id$="-tab-null"] {
    height: 4.5vh;
    font-size: 1.75vh;
}

@font-face {
  font-family: 'SignalligenceFont';
  src: url('./JUST-Sans-Light.otf') format('opentype');
}

*:not(.no-custom-font):not(.no-custom-font *) {
  font-family: 'SignalligenceFont', sans-serif;
}
.no-custom-font, .no-custom-font, .mjx-container * {
    font-family: "Segoe UI", sans-serif !important;
}
.mesh-gradient-bg {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, rgba(30, 144, 255, 0.15) 0px, transparent 50%), /* Vaše modrá vlevo nahoře */
        radial-gradient(at 100% 100%, rgba(0, 0, 0, 0.05) 0px, transparent 50%),  /* Jemná tmavá vpravo dole */
        radial-gradient(at 80% 20%, rgba(30, 144, 255, 0.1) 0px, transparent 40%), /* Modrá skvrna vpravo nahoře */
        radial-gradient(at 20% 80%, rgba(200, 200, 200, 0.2) 0px, transparent 50%); /* Šedá skvrna vlevo dole */
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

.table, .table td, .table th {
    background-color: transparent !important;
}

.SingleDatePickerInput,
.SingleDatePickerInput_1 {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.DateInput,
.DateInput_1 {
    background-color: transparent !important;
}

.DateInput_input,
.DateInput_input_1 {
    background-color: transparent !important;
    font-size: 1.75vh;
}

.DateRangePickerInput,
.DateRangePickerInput_1 {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    display: flex;
    align-items: center;
}

/* STYLES FROM LAYOUT */
#hidden-div-for-triggers{
    display: none;
}

/* Settings */
#settings-button {
    font-size: 2vh;
    color: #333;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

#settings{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}

#settings-headline{
    text-align: center;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 2vh;
}

#settings-content{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Main header */
#logo{
    height: 2.1vw;
    margin: 0.5rem auto 0.5rem;
    display: block;
}

#days-in-database{
    font-size: 0.85vw;
}

/* Filters */
#filters-headline{
    font-size: 1vw;
    font-weight: bold;
    margin-bottom: -2vh;
    text-align: left;
    z-index: 1000;
}

#date-label{
    margin-right: 0.5rem;
    font-size: 0.85vw;
}

#filters-anomaly-label{
    margin-right: 0.5rem;
    font-size: 0.85vw;
}

#filters-anomaly-tooltip{
   font-size: 0.70vw;
}

#filters-anomaly{
    position: relative;
    margin-top: 2.5vh;
}

#filters-turnover-label{
    font-size: 0.85vw;
}

#filters-turnover-tooltip{
    font-size: 0.70vw;
}

#filters-turnover{
    position: relative;
    margin-top: 2.5vh;
}

#update-button{
    height: 4.1vh;
    font-size: 0.83vw;
    background-color: #0c6a89;
    color: white;
}

#filters{
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#filters-column{
    text-align: center;
    height: calc(50vh);
    overflow-y: auto;
    padding: 1rem 0.3rem 1rem 1rem;
    border-right: 2px solid #e0e0e0;
}

/* Main tabs*/
#node-report-output{
    padding-top: 1rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    height: calc(10vh);
    font-size: 1.68vh;
}

#node-details-output{
    height: calc(38vh);
    overflow-y: auto;
    padding: 0.5rem 0.5rem 2.5rem;
    font-size: 1.68vh;
}

.custom-tab {
    background-color: rgba(255, 255, 255, 0.5) !important;
    font-size: 1.60vh;
}

.custom-tab--selected {
    background-color: rgba(255, 255, 255, 0) !important;
}

#graph-date-range-picker{
    width: 100%;
}

#node-time-series{
     overflow-y: auto;
}

#open-modal-btn{
    margin-top: 15vh;
    font-size: 2vh;
    height: 5vh;
}

#root-cause-output{
    width: 100%;
    min-height: 20vh;
    max-height: calc(50vh);
    overflow-y: auto;
    text-align: center;
}

#graph-column{
    padding: 1rem;
}

/* Top section */
#top-section{
    height: calc(50vh);
    overflow: hidden;
    position: relative;
    transition: height 0.3s ease-in-out;
}

/* Results table */
#table-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4vh;
    border-bottom: 1px solid #e0e0e0;
}

#anomaly-table-headline{
    font-size: 0.9vw;
    font-weight: bold;
    color: #1a2a40;
    padding-left: 1rem;
    display: flex;
    align-items: center;
}

#table-status-info{
    font-size: 0.75vw;
    color: #6c757d;
    display: flex;
    align-items: center;
    padding-right: 1rem;
}

#analyze-button{
    height: 4.1vh;
    font-size: 0.83vw;
    background-color: #0c6a89;
    color: white;
    border-color: #0c6a89;
}

#analyze-button-div{
    text-align: center;
}

#toggle-table-btn{
    position: fixed;
    bottom: 0.5rem;
    left: 0.5rem;
    width: 5vh;
    height: 5vh;
    border-radius: 50%;
    background-color: #364954;
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 1.75vh;
}

.previous-next-container {
    padding-right: 10vh !important;
    height: 5vh; !important;
}

/* Bottom section */
#bottom-section{
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-top: 2px solid #e0e0e0;
    transition: all 0.3s ease-in-out;
}

/* Root-cause graph */
#root-title{
    font-size:2.5vh;
}

#root-header{
    height: 6vh;
}

.custom-tab-explore {
    padding: 1rem !important;
}

.custom-tab-label {
    color: gray !important;
}

.custom-tab-active {
    color: black !important;
}

#edge-headline{
    font-size: 1.8vh;
}

#edge-info{
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 5vh;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 1.5vh;
}

#node-headline{
    font-size: 1.8vh
}

#graph-node-details-pane{
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: calc(36vh);
    overflow-y: auto;
    font-size: 1.5vh;
}

#node-detail-action-button{
    background-color: #0c6a89;
    color: white;
    border-color: #0c6a89;
    height:3.5vh;
    font-size: 1.5vh;
}

#root-anomaly-label{
    font-size: 0.85vw;
    margin: 0;
}

#root-entropy-label{
    font-size: 0.85vw;
    margin: 0;
}

#root-controls{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20vh;
    text-align: center;
    padding: 2vh 0;
}

#report{
    overflow-y: auto;
    font-size: 1.5vh
}

#tabs-content{
    margin-top:0.3rem;
}

#root-modal-body{
    padding: 0;
    height: 80vh;
}

#root-legend-node-headline{
    font-weight: bold
}

#root-legend-node-text{
    display: flex;
    justify-content: space-between;
    font-size: 1.3vh;
    margin-bottom: 0.25rem;
}

#root-legend-node-gradient{
    height: 1.7vh;
    background: linear-gradient(to right, gray, yellow, red);
    border-radius: 5px;
    border: 1px solid #ccc;
}

#root-legend-node{
    width: 30%;
    padding-right: 0.5rem;
}

#root-legend-edge-headline{
    font-weight: bold
}

#root-legend-edge-text{
    display: flex;
    justify-content: space-between;
    font-size: 1.3vh;
    margin-bottom: 0.25rem;
}

#root-legend-edge-gradient{
    height: 1.7vh;
    background: linear-gradient(to right, red, lightgray);
    border-radius: 5px;
    border: 1px solid #ccc;
}

#root-legend-edge{
    width: 30%;
    padding-left: 0.5rem;
}

#close-modal-btn{
    background-color:#364954;
    border-color: #364954;
    height:4.2vh;
    font-size: 1.65vh;
}

#root-footer-div{
    display: flex;
    justify-content: center;
    width: 100%;
}

#root-footer{
    height: 7vh;
}

/* Chatbot */
#chat-icon{
    color: #ffffff
}

#toggle-chat-btn{
    position: fixed;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 7vh;
    height: 7vh;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 3vh;
    z-index: 9999;
    cursor: pointer;
}

#chat-container{
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    width: 90vw;
   /* max-width: 400px;*/
    height: 50vh;
   /* max-height: 500px;*/
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
    display: none;
    z-index: 9999;
}

#resize-chat-btn{
    position: absolute;
    left: 0.5rem;
    z-index: 10000;
    background: transparent;
    border: none;
    font-size: 2.5vh;
    cursor: pointer;
}

#chatbot-type{
    position: absolute;
    width: 10vw;
    font-size: 1.3vh;
    right: 1rem;
    top: 0.4rem;
}

#chat-spinner{
    width: 4vh;
    height: 4vh;
}

#chat-loading-overlay{
    display: none;
}

#chat-component-div{
    height: 100%;
    overflow-y: auto;
    padding-top: 3rem;
    z-index: 1;
    font-size:1.6vh;
}

#chat-header{
    height: 100%;
    position: relative;
}


/*Main div*/
#main-div{
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}