header {
    flex: 0 0 auto;
    background-color: #2a9df4;
    padding: 10px;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Schatteneffekt */
}
.copyright {
    font-size: 8px;
     text-align: left; 
     margin-top: 0px;
}
.headline-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 100%; 
    text-align: center; 
    margin-left: 0;
}
.tool-btn,
.btn, 
.nav-btn {
    padding: 2px 2px;
    margin: 2px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    transition: background-color 0.3s;
}
.tool-btn:hover,
.btn:hover, 
.nav-btn:hover {
    background-color: #1a78c2;
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
.tool-btn:disabled,
.btn:disabled,
.nav-btn:disabled {
    opacity: 50%;
    cursor: not-allowed;
    background-color: inherit;
}
.tool-btn:disabled:hover,
.btn:disabled:hover,
.nav-btn:disabled:hover {
    opacity: 50%;
    cursor: not-allowed;
    background-color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: inherit;
}
.action-btn {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}
.action-btn img {
    width: 250px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: border-color 0.3s;
}
.action-btn:hover img {
    border-color: #2a9df4;
}

.action-btn:hover {
    transform: scale(1.1);
}
.action-selection {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.action-btn p {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}
.btn, .nav-btn {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
}
.form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    /* border: 1px solid green; */
}

.form-group label {
    font-weight: bold;
    flex-shrink: 0; 
    text-align: left; 
    min-width: 110px;
}

.form-group input {
    flex: 1;
    min-width: 0px;
}

input[type="text"],
input[type="password"],
input[type="date"],
.editableDiv,
select {
    margin-top: 5px;
    padding: 10px 15px; /* Innenabstand */
    border-radius: 12px; /* Abgerundete Ecken */
    border: 2px solid #ccc; /* Standard-Grenze */
    background-color: #fff; /* Hintergrundfarbe */
    font-size: 16px; /* Schriftgröße */
    color: #333; /* Textfarbe */
    cursor: pointer; /* Cursor zeigt eine Auswahlmöglichkeit */
    transition: all 0.3s ease;
    appearance: none; /* Entfernt die Standard-Pfeilmarkierung (browserabhängig) */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%; /* Volle Breite des Containers */
    box-sizing: border-box; /* Berücksichtigt Padding und Border */
}

/* 3D-Effekt bei Fokus */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: #3498db; /* Veränderung der Randfarbe bei Fokus */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); /* Schatten für 3D-Effekt */
    transform: translateY(-2px); /* Hebt das Element leicht an */
}

/* Hover-Effekt */
input[type="text"]:hover,
input[type="password"]:hover,
input[type="date"]:hover,
.editableDiv:hover,
select:hover {
    border-color: #2980b9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1); 
    transform: translateY(-2px); 
}

/* Styling für das Dropdown-Pfeilsymbol */
select::after {
    content: ' ▼'; /* Dropdown-Pfeil */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%); /* Zentriert den Pfeil */
    font-size: 18px;
    color: #666; /* Graue Farbe für den Pfeil */
}

/* Styling für deaktivierte Combobox */
select:disabled, 
input:disabled,
.editableDiv:disabled {
    background-color: #f0f0f0; /* Hellerer Hintergrund für deaktivierte Combobox */
    border-color: #d3d3d3; /* Hellere Grenze */
    color: #aaa; /* Graue Schriftfarbe */
    cursor: not-allowed; /* Zeigt an, dass die Auswahl deaktiviert ist */
    box-shadow: none; /* Entfernt Schatten */
}
input[type="text"],
input[type="password"] {
    cursor: text; 
}
.editableDiv {
    flex: 1;
    /* padding: 10px 15px;
    border: 2px solid #ccc;
    border-radius: 12px; */
    min-height: 50px;
    max-height: 600px;
    overflow-y: auto;
    /* background-color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 2px; */
}

/* Optional: Platzhalter-ähnlicher Stil */
.editableDiv:empty:before {
    content: attr(placeholder);
    color: #aaa;
}
/* .editableDiv:hover {
    border-color: #2980b9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1); 
    transform: translateY(-1px); 
} */
/* Für Webkit-Browser (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;  /* Breite der vertikalen Scrollbar */
    height: 12px; /* Höhe der horizontalen Scrollbar */
}

::-webkit-scrollbar-track {
    /*background: #f1f1f1;  Hintergrund der Scrollbar */
    border-radius: 10px;
    margin: 4px; /* Abstand um die Scrollbar */
}

/* ::-webkit-scrollbar-thumb {
    background: #aaa; 
    border-radius: 10px;
    transition: background 0.3s ease;
    width: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #888; 
} */

::-webkit-scrollbar-thumb {
    background: #aaa; /* Farbe des Scrollbalkens */
    border-radius: 10px; /* Abgerundete Ecken für den Scrollbalken */
    transition: background 0.3s ease, box-shadow 0.3s ease; /* Übergang für Hintergrund und Schatten */
    width: 4px; /* Breite für den Scrollbalken */
    /*box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), inset -2px -2px 4px rgba(255, 255, 255, 0.5);  3D-Effekt */
}

::-webkit-scrollbar-thumb:hover {
    background: #888; /* Farbe des Scrollbalkens bei Hover */
     /*box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5), inset -4px -4px 8px rgba(255, 255, 255, 0.5); Verstärkter 3D-Effekt bei Hover */
}
/* Für Firefox */
.scrollable-element {
    scrollbar-width: thin; /* Dünne Scrollbar */
    scrollbar-color: #aaa #f1f1f1; /* Farbe des Scrollbalkens und des Tracks */
}

/* Um die Ecken in Firefox abzurunden, benötigen wir eine zusätzliche Lösung */
.scrollable-element::-webkit-scrollbar {
    border-radius: 10px; /* Abgerundete Ecken für Firefox */
}


.hidden {
    display: none !important;
}
/* Allgemeine Positionierungen */
.flex-vertical-align-top {
    display: flex;
    align-items: flex-start;
}
.flex-vertical-align-bottom{
    display: flex;
    align-items: flex-end;
}
.flex-vertical-align-center {
    display: flex;
    align-items: center;
    /* height: 100vh; */
}
.flex-horizontal-align-left {
    display: flex;
    justify-content: flex-start;
}
.flex-horizontal-align-right {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}
.flex-horizontal-align-center {
    display: flex;
    justify-content: center;
}
.flex-align-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.left-section {
    flex: 1; /* Nimmt den restlichen verfügbaren Platz ein */
}

.right-section {
    display: flex; /* Flexbox für die Buttons */
    gap: 10px; /* Abstand zwischen den Buttons */
    margin-left: auto;
    /* border: 1px solid red; */
}
.right-section button.solid-btn {
    background: none;
    border: none;
    font-size: 16px;
    padding: 10px 10px;
    cursor: pointer;
    color: #007BFF;
    margin-bottom: 20px;
}
.right-section button.solid-btn:hover {
    color: #2db666;
}
.strong {
    font-weight: bold;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
/* Popup-Inhalt */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    width: 400px;
    max-width: 90%;
}

.popup-content h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.popup-content label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.popup-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.popup-actions .btn-secondary {
    background-color: #6c757d;
    color: white;
}
/* Panels */
.stackpanel-horizontal {
    display: flex;
    flex: 1;
    flex-direction: row;
    gap: 10px;
    /* height: 100%; */
    overflow: hidden;
    /* border: 1px solid red;  */
}
.stackpanel-vertical {
    flex: 1;
    padding: 5px;
    display: flex;
    flex-direction: column; 
    height: 100%; 
    /* border: 1px solid blue; */
}
.inner-frame {
    padding: 5px;
    margin-top: 5px;
    border: 1px solid darkgray;
    border-radius: 8px;
    flex: 1; 
    display: flex;
    overflow: hidden;
   /* border: 1px solid blue; */
}
.inner-frame.modern-frame {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.inner-scroll-container {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
    height: 100%;
   /* border: 1px solid green; */
}
.scrollable-container {
    max-height: 300px; /* Maximale Höhe */
    overflow-y: auto; /* Vertikale Scrollbalken aktivieren */
    border: 1px solid #ccc; /* Optional: Rahmen für bessere Sichtbarkeit */
    padding: 5px; /* Innerer Abstand */
    background-color: #f9f9f9; /* Hintergrundfarbe für bessere Lesbarkeit */
    border-radius: 5px; /* Abgerundete Ecken */
    flex : 1;
}


.header-container {
    display: flex; /* Flexbox für die Anordnung */
    justify-content: space-between; /* Platz zwischen den Sektionen */
    align-items: center; /* Vertikale Ausrichtung */
    width: 100%; /* Volle Breite */
    flex-direction: row;
}
/* Basis-Styles für den Expander */
.expander {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 10px 0;
    overflow: hidden; /* Verhindert Überlauf bei geschlossener Ansicht */
    transition: border-color 0.3s;
}

.expander:hover {
    border-color: #007BFF; /* Leichte Hervorhebung beim Hover */
}

/* Header-Bereich des Expanders */
.expander-header {
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.expander-header:hover {
    background-color: #e6f3ff;
}

/* Titel- und Icon-Styling */
.expander-title {
    font-weight: bold;
}

.expander-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s;
}

/* Inhaltsbereich des Expanders */
.expander-content {
    max-height: 0; /* Inhalt initial verstecken */
    overflow: hidden;
    background-color: #fff;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px;
    color: #555;
}

/* Geöffneter Zustand */
.expander.open .expander-content {
    max-height: 300px; /* Höchstwert, abhängig vom Inhalt */
    padding: 10px 15px; /* Padding hinzufügen */
}

.expander.open .expander-icon {
    transform: rotate(45deg); /* "+" wird zu "×" */
}

.top-bar {
    display: flex;
    justify-content: space-between;
    margin: 0;
    width: 100%;
}
nav {
    display: flex;
    justify-content: left;
    margin: 10px 0;
    width: 100%;
}

.tabs {
    display: flex;
    justify-content: flex-start;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
    width: 100%;
}
.tabs button {
    background: none;
    border: none;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    color: #aaa;
}

.tabs button.active {
    border-bottom: 3px solid #007BFF;
    color: #007BFF;
    font-weight: bold;
}
/* Styling für die Tab-Inhalte */
.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9f9f9;
    height: 100%;
    overflow: hidden;
    margin-bottom: 5px;
}

.tab-content.active {
    display: block;
}

.highlight {
    color: red;
    font-weight: bold; /* Optional: für bessere Sichtbarkeit */
}
.choice {
    color: blue;
    font-weight: bold; /* Optional: für bessere Sichtbarkeit */
}
.option1 {
    color: rgb(48, 151, 48);
    font-weight: bold; /* Optional: für bessere Sichtbarkeit */
}
.option2 {
    color: orange;
    font-weight: bold; /* Optional: für bessere Sichtbarkeit */
}
.second-best {
    color: orange;
    font-weight: bold;
}
.replacement {
    color: orangered;
    font-weight: bold;
}
.selection {
    background-color: lightgreen;
    color: black;
    font-weight: bold;
}
.alteration {
    background-color: lightgray;
    border-radius: 12px;
}

.selectable-container {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
    height: 100%;
   /* border: 1px solid red;*/
}
.outer-frame {
    padding: 5px;
    margin-top: 5px;
    border: 1px solid darkgray;
    border-radius: 8px;
    flex: 1; 
    display: flex;
    overflow: hidden;
}
.bold {
    font-weight: bold;
}
.selectable-container li {
    padding: 10px;
    margin: 5px 0;
    background-color: #f1f1f1;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
}

.selectable-container li:hover {
    background-color: #d0e6ff;
}

.selectable-container li.selected {
    background-color: #a4d7ff;
    font-weight: bold;
}