﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
/* Loader Animation*/
/* MDESIGN-Farben */
:root {
    --mdesign-blue: #005B9F;
    --mdesign-light-blue: #3899EC;
    --mdesign-orange: #F39200;
    --mdesign-gray: #F6F6F6;
    --mdesign-dark-gray: #343A40;
    --mdesign-border: #E0E0E0;
    --mdesign-input: #FFFFFF;
    --mdesign-success: #28A745;
    --mdesign-warning: #FFC107;
    --mdesign-danger: #DC3545;
    --mdesign-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --mdesign-radius: 10px;
}
.bi-info-circle-fill {
    color: #005B9F;
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

    .bi-info-circle-fill:hover {
        color: #3899EC; /* Hellere Variante f�r Hover (--mdesign-light-blue) */
        transform: scale(1.15);
        filter: drop-shadow(0 2px 4px rgba(0, 91, 159, 0.35));
    }

    .bi-info-circle-fill:active {
        transform: scale(0.92);
        transition: all 0.1s ease-out;
    }


/* Loader Animation*/

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00325B;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #009EE3;
        -webkit-animation: spin 3s linear infinite;
        animation: spin 3s linear infinite;
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: var(--mdesign-gray);
        -webkit-animation: spin 1.5s linear infinite;
        animation: spin 1.5s linear infinite;
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Loader Animation*/


/* iPhone-like styling */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    width: 100vw;
    overflow: hidden;

    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 
}

.login-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #00325B !important; /* MDesign Prim�rfarbe */
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in-out;
}

.login-form {
    width: 90%;
    max-width: 400px;
    background: #fff;
    padding: 2rem;
    border-radius: 8px; /* Weniger abgerundet f�r ein modernes Design */
    box-shadow: 0 8px 24px rgba(27, 110, 194, 0.12); /* Leichter Schatten in Markenfarbe */
    animation: slideUp 0.8s ease-in-out;
    border-top: 4px solid #009ee3; /* MDesign Akzentlinie */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 1rem;
    color: #495057; /* Dunkelgrau f�r bessere Lesbarkeit */
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.875rem 0.5rem 0.875rem;
    font-size: 1.05rem;
    border: 1px solid #ced4da;
    border-radius: 999px;
    transition: all 0.3s ease-in-out;
    background-color: #f8f9fa; /* Leicht grauer Hintergrund */
}

    .form-input:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(27, 110, 194, 0.25); /* Schlankerer Fokus-Effekt */
        border-color: #00325B !important;
        background-color: #fff; /* Wei�er Hintergrund bei Fokus */
    }

.form-button {
    width: 100%;
    padding: 0.875rem;
    font-size: 1.1rem;
    color: #fff;
    background: #009ee3 !important; /* MDesign Prim�rfarbe */
    border: none;
    border-radius: 15rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 1.5rem;
    font-weight: 600;
}

    .form-button:hover {
        background: #1861ac; /* Dunklere MDesign-Farbe f�r Hover */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(27, 110, 194, 0.3);
    }

    .form-button:active {
        transform: translateY(0);
        box-shadow: none;
    }

.error-message {
    color: #dc3545; /* Fehlerfarbe beibehalten */
    font-size: 0.95rem;
    margin-top: 1.5rem;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
    background-color: rgba(220, 53, 69, 0.05); /* Sehr leichter Hintergrund f�r Fehlermeldungen */
}


/* Media Queries f�r Desktop-Optimierung */
@media (min-width: 992px) {
    .login-title {
        font-size: 2.5rem; /* Noch gr��ere �berschrift auf sehr gro�en Bildschirmen */
    }

    .login-form {
        padding: 2.5rem;
        max-width: 450px; /* Etwas breiter auf sehr gro�en Bildschirmen */
    }

    /* Zus�tzlicher Effekt: leichtes Schweben */
    .login-form {
        transform: translateY(0);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .login-form:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
        }
}

/* Bestehende Animationen beibehalten */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chart-accordion .accordion-item {
    border: 1px solid #dbe6f4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(19, 43, 77, 0.08);
    background: #fff;
    margin-bottom: 1rem;
}

.chart-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.chart-accordion .accordion-button {
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    color: #1f2d3d;
    font-weight: 700;
    box-shadow: none;
}

.collapse {
    visibility: visible !important;
}

.collapse:not(.show) {
    display: none;
}

.chart-accordion .accordion-button:not(.collapsed) {
    color: #0d6efd;
    background: linear-gradient(180deg, #ffffff, #eef5ff);
}

.chart-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
    border-color: rgba(13, 110, 253, 0.22);
}

.chart-accordion .accordion-body {
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    padding: 1rem;
}

.chart-accordion-body > div {
    width: 100%;
}


/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.module-img {
    width: 100%;
    height: 50%;
}


a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #00325B !important;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #00325B !important;
  border-color: #1861ac;
}

/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v20-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-300.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-300italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/open-sans-v20-latin-300italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-300italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-300italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v20-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/open-sans-v20-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-600 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v20-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-600.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-600italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/open-sans-v20-latin-600italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-600italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-600italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v20-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-700.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/open-sans-v20-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-700italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-800 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/open-sans-v20-latin-800.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-800.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-800italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 800;
    src: url('../fonts/open-sans-v20-latin-800italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-800italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-800italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-800italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-800italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-800italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}



/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
/*Image scaling styles*/
.image-ad
{
    height:88px;
    margin-top:10px;
    margin-left:10px;
    margin-right:10px;
    width:120px;
}

/*Container Function*/
.container-fluid{
    width:90%;
}
.container-inputoutput{
    width:100%;
}
.background-search {
    width:32%;
    border-radius: 32px;
    box-shadow: 0 8px 16px 0 #e0e2e4;
    background-color: #ffffff;
}

.front-search {
    width:90%;
    font-family: Roboto;
    font-size: 16px;
    color: #000000;
}

@media screen and (max-width:780px) {
    .resizevanish {
        display:none;
    }
}

.navbar-custom {
    height:5%;
}

.container-calc {
    display:flex;
    width:60%;
}

.inoutputheadliner {
    font-family: Roboto;
    font-size: 26px;
    font-weight: 300;
}

.ParamGroupHeader {
    font-family: Roboto;
    font-size: 14px;
    font-weight: bold;
    background-color: #f8f8f8;
}
.OutputGroup {
    font-family: Roboto;
    font-size: 15px;
    background-color: #f8f8f8;
}

.InputName {
    width: 50%;
    font-size: 15px;
    font-family: Roboto;
}

.ParamSymbol {
    font-family:Roboto;
    font-size:15px;
    width:16px;
}

.ParamInput {
    font-family: Roboto;
    font-size: 15px;

}
.ParamUnit {
    width: 5%;

    font-size: 15px;
    font-family: Roboto;
}

.ParamOutput {
    font-family: Roboto;
    font-size: 15px;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    border: none;
    background-color: transparent;
}

    .ParamOutput:focus {
        outline: none;
        box-shadow: none;
        border: none;
    }

    /* F�r Elemente, die mit disabled-Attribut versehen werden k�nnten */
    .ParamOutput:disabled,
    .ParamOutput[readonly] {
        opacity: 1;
        background-color: transparent;
        color: inherit;
    }



.ParamEmtpy {
    width:100%;
    height:100%;
    background-color:#f8f8f8;
}

.btn-success {
    border-radius: 8px;
    background-color: #4aa50d;
}

.btn-default {
    border-radius: 8px;
}
select.minimal {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

select.minimal:focus {
    background-image: linear-gradient(45deg, green 50%, transparent 50%), linear-gradient(135deg, transparent 50%, green 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    outline: 0;
}
.ParamDropdown {
    font-family: Roboto;
    font-size: 15px;
    margin-right:3rem;
    width: 40%;
    appearance: none;
    background-color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .ParamDropdown:focus {
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Verbessere das Styling f�r minimal-Klasse (f�r den Drop-Down-Pfeil) */
select.ParamDropdown.minimal {
    background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
    background-position: calc(100% - 15px) center, calc(100% - 10px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 30px; /* Platz f�r den Pfeil lassen */
    border-radius:15px;
}

/* Hover-Effekt f�r Dropdowns */
.ParamDropdown:hover {
    border-color: #ced4da;
    background-color: #f8f9fa;
}

/* Dropdown-Option-Styling */
.ParamDropdown option {
    padding: 8px;
    background-color: white;
    border-radius: 15px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    min-width:5rem;
}

.modulEinfuehrungHeader {
    font-family:Roboto;
}
.modulEinfuehrungText {
    font-family: Roboto;
    font-size: 16px;
}

summary {
    position: relative;
    cursor: pointer;
}

    summary::marker {
        color: transparent;
    }

    summary::after {
        content: '\276D';
        position: absolute;
        color: black;
        font-size: 24px;
        right: 1em;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: all 0.5s;
    }

details[open] summary::after {
    color: black;
    transform: translateY(-50%) rotate(-90deg);
}

details summary {
    height: 2.5em;
    display: flex;
    align-items: center;
}

.ParamGroupHeaderText {
    margin-left: 1em;
    line-height: normal;
    vertical-align: middle;
    font-family: Roboto;
    font-weight: bold;
}
details ul{
    padding-left:0;
}

iframe:focus{
    min-height:525px;
    height:100%;
    width:100%;
}

.ParamRange {
    font-family: Roboto;
    font-size: 12px;
    width: 150px;
}

.ParamDropdown {
    font-family: Roboto;
    font-size: 15px;
    width: 250px;
}



.content-box {
    display: block;
    overflow: hidden;
    margin-top: 10px;
}

.content-inner {
    padding: 16px;
    background-color: #f1f1f1;
    border-radius: 8px;
}

.module-grid {
    display: grid;
    grid-template-rows: repeat(2, auto); /* 4 pro Spalte */
    overflow-x: scroll;
    overflow-y: hidden;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 12px 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .module-grid li {
        margin: 0;
        padding: 0;
    }


/* Module laden 1  */
.load-module {
    width: 98%;
    display: flex;
    gap: 2rem;
    padding: 0;
}

.collapsible {
    cursor: pointer;
    width: auto;
}

.content-box {
    display: block;
    overflow: hidden;
    margin-top: 10px;
}

.content-inner {
    padding: 16px;
    background-color: #f1f1f1;
    border-radius: 8px;
}

.module-grid {
    display: grid;
    grid-template-rows: repeat(2, auto);
    overflow-x: scroll;
    overflow-y: hidden;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 12px 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .module-grid li {
        margin: 0;
        padding: 0;
    }

.module-tile {
    width: 100%;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    background: #f7f7f7;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

    .module-tile:hover {
        background: #ececec;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    .module-tile:focus-visible {
        outline: 2px solid #1976d2;
        outline-offset: 2px;
    }

    .module-tile[aria-pressed="true"] {
        background: #dfefff;
        border-color: #5a9cff;
    }

.module-tile-title {
    font-weight: 600;
    font-size: 1rem;
}

.module-tile-info {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    width: 100%;
}

.module-tile-sub {
    font-size: 0.85rem;
    color: #666;
}

.module-tile-subdate {
    font-size: 0.85rem;
    color: #666;
    text-align-last: right;
}


/* Chart collapsible headers: match feature group dropdown bar style */
.chart-collapse-btn {
    font-family: Roboto;
    font-size: 14px;
    font-weight: bold;
    background-color: #f8f8f8 !important;
    border: none !important;
    color: inherit !important;
    width: calc(100% + 2rem) !important;
    text-align: left !important;
    padding: 0 2.5rem 0 1rem !important;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    margin: 0 -1rem !important;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.chart-collapse-btn::after {
    content: '\276D';
    position: absolute;
    color: black;
    font-size: 24px;
    right: 1em;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: all 0.5s;
}

.chart-collapse-btn[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(-90deg);
}

.chart-collapse-btn h5 {
    margin: 0 !important;
    display: inline;
    cursor: pointer;
    font-family: Roboto;
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    color: inherit;
}

/* Compact spacing between collapsible bars in output section */
#outputdiv details.list-group {
    margin: 0 0 1px 0 !important;
}

#outputdiv #sensitivityChartMount,
#outputdiv #predictRadarMount,
#outputdiv #targetPerformanceMount {
    margin: 1px 0 0 0 !important;
    padding: 0 !important;
}

#outputdiv #sensitivityChartMount .card,
#outputdiv #predictRadarMount .card,
#outputdiv #targetPerformanceMount .card {
    margin: 0 !important;
    padding: 0 !important;
}

#outputdiv #sensitivityChartMount .card > .card-body,
#outputdiv #predictRadarMount .card > .card-body,
#outputdiv #targetPerformanceMount .card > .card-body {
    margin: 0 !important;
    padding: 0 !important;
}

#outputdiv .chart-collapse-btn {
    width: 100% !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
}

#outputdiv .output-drag-handle {
    cursor: grab !important;
}

#outputdiv .output-drag-handle:active {
    cursor: grabbing !important;
}

#outputdiv .output-reorder-item.output-reorder-item-dragging {
    opacity: 0.75;
}

#outputdiv .output-reorder-item.output-reorder-item-over {
    outline: 1px dashed #0d6efd;
    outline-offset: 2px;
}


/*  Neu für Calc page Hilfe text*/
.help-wrapper {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.help-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1rem;
    color: #343a40;
}

.help-header-icon {
    font-size: 1.1rem;
}

.help-body {
    padding: 20px;
    background: #ffffff;
}

.help-image-wrap .help-image {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Der eigentliche Textinhalt */
.help-text {
    color: #212529;
    line-height: 1.75;
    font-size: 0.95rem;
}

    .help-text p {
        margin-bottom: 12px;
    }

    .help-text ul {
        padding-left: 20px;
        margin-bottom: 12px;
    }

        .help-text ul li {
            margin-bottom: 6px;
        }

    .help-text b, .help-text strong {
        color: #0d6efd; /* Bootstrap-Blau -- oder deine Akzentfarbe */
        font-weight: 600;
    }

    .help-text i {
        color: #6c757d;
        font-style: italic;
    }