/* Sidebar text styling */
.sidebar-header {
    font-size: 1.125rem; /* 18px - reduced from 1.2em for better proportion */
    font-weight: 600; /* Semi-bold instead of bold for modern look */
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.sidebar-text {
    font-size: 0.875rem; /* 14px - reduced from 1.1em for better readability */
    line-height: 1.6; /* WCAG recommended line height */
    color: #495057;
}

/* Header with navigation menu container */
.header-with-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Horizontal Navigation Menu (inside header) */
.nav-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    height: 42px; /* Reduced to match smaller fonts */
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
}

/* Description container below navigation buttons */
.nav-description-container {
    min-height: 32px; /* Reduced to match smaller fonts */
    background-color: #f8f9fa;
    border-bottom: 3px solid #1971c2;
    padding: 6px 20px 14px; /* Extra bottom space for slider mark labels */
}

.nav-description {
    font-size: 0.875rem; /* 14px - using rem units */
    line-height: 1.5;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-description-column {
    flex-direction: column !important;
    align-items: center !important;
}

/* Individual description elements */
.nav-description-text {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

/* Toggle switches container */
.nav-toggles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.nav-toggle-switch {
    display: inline-flex;
}

.arbeitsmarkt-jump-slider {
    width: 320px;
    max-width: 42vw;
    margin-left: 8px;
    margin-bottom: 6px;
    --slider-track-bg: #e9ecef !important;
}

.arbeitsmarkt-jump-slider .mantine-Slider-mark,
.arbeitsmarkt-jump-slider .mantine-Slider-mark[data-active='true'],
.arbeitsmarkt-jump-slider .mantine-Slider-mark[data-filled='true'] {
    background-color: #ced4da !important;
    border-color: #ced4da !important;
    opacity: 1 !important;
}

.arbeitsmarkt-jump-slider .mantine-Slider-markLabel,
.arbeitsmarkt-jump-slider .mantine-Slider-markLabel[data-active='true'] {
    color: #6c757d !important;
}

.rentenrecht-jump-slider-wrap {
    width: fit-content;
    display: flex;
    justify-content: center;
    margin: 0 auto 6px;
}

.rentenrecht-jump-slider {
    width: 220px;
    max-width: 30vw;
    margin: 0;
    --slider-track-bg: #e9ecef !important;
}

.rentenrecht-jump-slider .mantine-Slider-mark,
.rentenrecht-jump-slider .mantine-Slider-mark[data-active='true'],
.rentenrecht-jump-slider .mantine-Slider-mark[data-filled='true'] {
    background-color: #ced4da !important;
    border-color: #ced4da !important;
    opacity: 1 !important;
}

.rentenrecht-jump-slider .mantine-Slider-markLabel,
.rentenrecht-jump-slider .mantine-Slider-markLabel[data-active='true'] {
    color: #6c757d !important;
}

.slider-bar-override {
    background-color: #e9ecef !important;
}

.arbeitsmarkt-jump-slider .mantine-Slider-markLabel {
    transform: translateY(8px);
}

.rentenrecht-jump-slider .mantine-Slider-markLabel {
    transform: translateY(8px);
}

.nav-menu-btn {
    flex: 1;
    max-width: 300px;
    height: 100%;
    border: none;
    background-color: #f8f9fa;
    color: #495057;
    font-size: 0.875rem; /* 14px - using rem units */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #dee2e6;
    padding: 8px 14px; /* Reduced to match smaller fonts */
    line-height: 1.4;
}

.nav-menu-btn:hover {
    background-color: #e9ecef;
    color: #1971c2;
}

.nav-menu-btn-active {
    background-color: #1971c2;
    color: #ffffff;
    font-weight: 600;
    border-bottom: 3px solid #1864ab;
}

.nav-menu-btn:last-child {
    border-right: none;
}

/* Dropdown menu styling for navigation */
.mantine-Menu-dropdown {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    padding: 0 !important;
}

.mantine-Menu-item {
    padding: 0 !important;
}

.mantine-Menu-item:hover {
    background-color: transparent !important;
}

/* Keep AppShell Header at the top */
.mantine-AppShell-header {
    height: auto !important; /* Dynamic height based on content */
}

/* Add padding to main content to account for header */
.mantine-AppShell-main {
    padding-top: 110px !important; /* Reduced to match smaller header */
}

/* Adjust navbar to account for header */
.mantine-AppShell-navbar {
    top: 128px !important; /* Reduced to match smaller header: 60px title + 42px buttons + 26px description */
}

.box-demography {
    background-color: rgba(15, 0, 15, 0.5);
    min-height: 500px;
    min-width: 600px;
    border: 4px solid black;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap : 20px;
    margin-bottom: 20px;
}

.box-arbeitsmarkt {
    background-color: rgba(15, 0, 15, 0.5);
    min-height: 900px;
    min-width: 600px;
    border: 4px solid black;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap : 20px;
}


.box-model {
    background-color: rgba(15, 0, 15, 0.5);
    min-height: 600px;
    min-width: 600px;
    border: 4px solid black;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap : 20px;
}

.box {
    height: 470px;
    width: 600px;
    background-color: rgb(66, 117, 206);
    font-size: 40pt;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0px 5px 0px;
}

.arbeitsmarkt__header {
    height: 30px;
    font-size: 15pt;
}

.arbeitsmarkt__chart {
    height: 270px;
    font-size: 15pt;
    display: flex;
}

.arbeitsmarkt__double_dial {
    height: 100px;
}

.arbeitsmarkt__dials {
    height: 100px;
    width: 300px;
    font-size: 10pt;
    justify-content: space-between;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
}

.arbeitsmarkt__control_LED {
    height: 50%;
    width: 300px;
    font-size: 10pt;
    justify-content: space-evenly;
    flex-shrink: 1;
    display: flex;
    align-items: center;
}

.knob_ticks {
    font-size: 10pt;
}

.slider {
    margin-top: 0pt !important;
}

/* Numbers on circle slider */
.daq-knob--light .scale {
    fill: #000000 !important;
    font-size: 8pt !important;
}

/* Not active numbers on slider */
.rc-slider-mark-text {
    color: #fff;
}

/* Active numbers on slider */
.rc-slider-mark-text-active {
    color: #212529;
}

/* LED Display SVG segment colors */
/* Target the active (lit) number segments in the seven-segment display */
.daq-leddisplay--light path[fill="#ABE2FB"] {
    fill: #000000 !important;
}

/* Target the active (lit) dot segments in the seven-segment display */
.daq-leddisplay--light circle[fill="#ABE2FB"] {
    fill: #000000 !important;
}

/* Circle slider active part */
.mLADG .track.progress {
    stroke: rgb(87, 87, 87) !important;
}

/* Line slider active part */
.rc-slider-track {
    background-color: rgb(87, 87, 87) !important;
}

/* Line slider pointer part */
.jcWfmW path {
    stroke: rgb(87, 87, 87) !important;
}

/* Circle slider pointer part */
.mLADG .knob .base, .mLADG .knob .indent {
    stroke: rgb(87, 87, 87) !important;
}

.model {
    height : 320px;
}

.model__chart {
    height: 270px;
    font-size: 15pt;
    display: flex;
}

.scenario-tabs {
  height: 80%;
  font-weight: bold;
  overflow-x: auto;
}

.scenario-section {
  display: flex;
  flex-direction: column;  /* stack top to bottom */
  align-items: center;     /* center all children by default */
}

.scenario-section > :first-child {
  align-self: flex-start;  /* override for first child */
}

/* Navbar scrolling styles */
#navbar {
  overflow-y: auto;
  max-height: calc(100vh - 128px);  /* Updated to match reduced header height */
  display: flex;
  flex-direction: column;
}

/* Sidebar header styles */
.sidebar-header {
  display: flex;
  align-items: center;
}

/* Section overlay for loading state */
#section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* Scenario tabs list full width */
#scenario-tabs-list {
  width: 100%;
}











.arbeitsmarkt__knob {
    height: 70px;
    width: 290px;
    font-size: 15pt;
    justify-content: center;
    align-items: center;
    flex-shrink: 1;
    display: flex;
}

.custom-slider .HandleLabel {
    font-size: 20px !important;
}
/* body {
    font-family: "Open Sans", sans-serif;
    background-color: #061E44;
}

h6 {
    margin-top: 0;
} */

/* .app__container {
    margin: 10% 5%;
    color: #C4CDD5;
    background-color: #082255;
} */

/* .app__header {
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.app__header__title {
    letter-spacing: 0.23rem;
}

.app__header__title--grey {
    color: #C4CDD5;
}

.app__menu__img {
    height: 50px;
    width: auto;
}

.app__content {
    display: flex;
    margin-top: 20px;
}

.wind__speed__container {
    display: flex;
    flex-direction: column;
    background-color: #082255;
    border-radius: 0.55rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.graph__title {
    color: #fff !important;
    letter-spacing: 0.3rem !important;
    padding: 25px 25px 0px 25px;
    margin-bottom: 0px !important;
    font-size: 1em;
}

.slider {
    padding: 15px;
}

.auto__checkbox {
    margin-right: 10px;
}

.auto__label {
    color: #DFE3E8;
}

.auto__container {
    display: flex;
    justify-content: space-between;
    color: #DFE3E8;
    padding: 0px 15px;
}

.auto__p {
    margin-bottom: 0;
}

.graph__container {
    background-color: #082255;
    border-radius: 0.55rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.first {
    margin-bottom: 15px;
}

.second {
    margin-top: 15px;
}

.histogram__direction {
    margin-left: 15px;
}

#wind-direction {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 600px) {
    .histogram__direction {
        margin: 15px 0px 20px 0px;
    }
    .app__content {
        display: block;
    }    
    .app__menu__img {
        height: 30px;
        width: auto;
    }
    .app__header {
        display: flex;
        flex-direction: column;
    }
    .app__header__desc {
        order: 1;
        text-align: center;
    }
    .app__header__logo {
        order: 0;
    }
    .app__header__title {
        font-size: 1.5em;
        padding-top: 15px;
    }
} */
