/*styles.css*/
/* Hintergrund und allgemeine Einstellungen */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #f8f8f8;
    color: #2c3e50;
    font-family: Arial, sans-serif;
}

#header {
    background-color: #dcdcdc;
    color: #2c3e50;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

#header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width:;
    margin: 0 auto; /* Zentriert den Header-Content */
}

.header-left {
    flex: 1; /* Flexibilität für die automatische Anpassung */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-right {
    flex: 1; /* Flexibilität für die automatische Anpassung */
    display: flex;
    justify-content: center; /* Zentriere die Links */
    align-items: center;
}

.logo {
    width: 150px;  /* Eventuell verkleinern, um Platz zu sparen */
    margin-bottom: 5px;
}

.welcome-text {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.header-user {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.header-clock {
    font-size: 14px;
    color: #2c3e50;
}

/* Linkleiste */
#header-links {
    width: auto; /* Automatische Breite, um den restlichen Platz zu nutzen */
    background-color: #b0b0b0; /* Beispielhintergrundfarbe für die Linkleiste */
    padding: 10px;
    display: flex;
    justify-content: flex-end; /* Links am rechten Ende ausrichten */
    align-items: center;
}

#header-links a {
    color: #2c3e50;
    margin: 0 10px;
    text-decoration: none;
}

#header-links a:hover {
    color: #1f2937;
}

#header-links a:active {
    color: #3b4c5a;
}





/* Hauptbereich */
#main {
    background-color: #dcdcdc; /* Einfarbiger Hintergrund */
    background-image: url('pattern2.png'); /* Transparentes Musterbild */
    background-repeat: repeat; /* Musterbild wiederholen */
    background-size: 200px 200px; /* Optional: Größe des Musters anpassen */
    color: #2c3e50;
    text-align: center;
    margin-top: 40px;
    padding-top: 250px; /*150*/
    padding-bottom: 50px;
    padding-left: 30px;
    padding-right: 30px;
    min-height: 400px;
}

/* Fußzeile */
#footer {
    background-color: #dcdcdc;
    color: #2c3e50;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1000;
}

/* Links */
a {
    color: #2c3e50;
    margin: 0 10px;
    text-decoration: none;
}

a:hover {
    color: #1f2937;
}

a:active {
    color: #3b4c5a;
}

/* Tabellen */
table {
    margin: 0 auto;
    background-color: #f0f0f0;
    border-collapse: collapse;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    table-layout: fixed;
    width: 100%;
}

table th {
    background-color: #e0e0e0;
    color: #2c3e50;
    padding: 8px;
    text-align: left;
}

table tr:nth-child(even) {
    background-color: #f7f7f7;
}

table tr:nth-child(odd) {
    background-color: #ffffff;
}

table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: #2c3e50;
    white-space: nowrap;
	white-space: normal;
}



/* Eingabefelder */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #ccc;
    color: #2c3e50;
}


input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #ccc;
    color: #2c3e50;
}


/* Buttons */
input[type="submit"] {
    width: 100%;
    padding: 10px 20px;
    background-color: #b58900;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #cb4b16;
}

/* Select-Felder */
select.input-field {
    background-color: #ffffff;
    color: #2c3e50;
    border: 1px solid #ccc;
    padding: 10px;
	margin-top:10px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

select.input-field option {
    padding: 8px;
    background: #ffffff;
}

select.input-field:hover {
    border-color: #b58900;
}

select.input-field:focus {
    border-color: #cb4b16;
    outline: none;
}

/* Text und Überschriften */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    margin-bottom: 20px;
}


h2.produktliste {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}


p {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
}

.charakter-bild {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 5px;
}

.button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #0056b3;
}

.input-file {
    padding: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

/* Tabelle für ASTRO und KATAN */
.table-astro-katan {
    margin: 0 auto;
    background-color: #f0f0f0;
    border-collapse: collapse;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    table-layout: fixed;
    width: 100%;
}

.table-astro-katan th {
    background-color: #e0e0e0;
    color: #2c3e50;
    padding: 8px;
    text-align: left;
}

.table-astro-katan tr:nth-child(even) {
    background-color: #f7f7f7;
}

.table-astro-katan tr:nth-child(odd) {
    background-color: #ffffff;
}

.table-astro-katan td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: #2c3e50;
    word-wrap: break-word;
}

.table-astro-katan td:nth-child(-n+3) {
    width: 60px;
    white-space: nowrap;
}

.table-astro-katan td:nth-child(n+4) {
    width: auto;
    word-wrap: break-word;
    white-space: normal;
}

/* Popup-Style */
#category-popup {
    position: absolute; /* Absolut positioniert relativ zu seinem nächstgelegenen positionierten Vorfahren, der #main ist */
    top: 40%; /* Zentriert das Popup vertikal */
    left: 50%; /* Zentriert das Popup horizontal */
    transform: translate(-50%, -50%); /* Verschiebt das Popup zurück, um genau in der Mitte zu sein */
    width: auto; /* Auto-Breite basierend auf dem Inhalt */
    display: flex; /* Aktiviert Flexbox für das Innere */
    justify-content: center; /* Zentriert Inhalte horizontal */
    align-items: center; /* Zentriert Inhalte vertikal */
    background-color: rgba(0, 0, 0, 0.5); /* Dunkler Hintergrund für das Popup */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Schatten für das Popup */
    z-index: 1001; /* Stellt sicher, dass das Popup über anderen Elementen liegt */
    border-radius: 2px; /* Runde Ecken */
    padding: 20px; /* Innenabstand */
}

/* Popup-Inhalt Style */
#category-popup .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}




/* Spezifischer Stil für Kategorientabellen */
.table-categories {
    width: 40%; /* Setzt die Breite der Tabelle auf 40% der Gesamtbreite */
    margin: 20px auto; /* Zentriert die Tabelle und gibt etwas Raum oben/unten */
}

.table-categories th, .table-categories td {
    text-align: left;
    padding: 8px;
}

/* Buttons im Kategorien-Popup für einheitliche Größe */
#category-popup button {
    margin-top: 10px;
    padding: 10px 20px;
}

/* Spezieller Style für den Abbrechen-Button im Kategorien-Popup */
#category-popup .cancel {
    background-color: #ff6347; /* Tomatenrot für den Abbrechen-Button */
    color: white;
}

.form-category {
    background-color: #f0f0f0;
    padding: 20px;
    margin: 10px auto;
    width: 60%; /* oder eine andere passende Breite */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.form-category input[type="text"], .form-category input[type="number"] {
    width: 90%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
}

.form-category input[type="submit"] {
    width: 95%;
    padding: 10px;
    background-color: #b58900;
    color: white;
    border: none;
    cursor: pointer;
}

.form-category input[type="submit"]:hover {
    background-color: #cb4b16;
}

.table-categories2 {
    width: 400px; /* Breite der gesamten Tabelle */
    margin: 0 auto; /* Zentriert die Tabelle auf der Seite */
}

.table-categories2 th, .table-categories2 td {
    padding: 5px; /* Abstand innerhalb der Zellen */
    text-align: left; /* Textausrichtung */
}

.input-steuersatz2 {
    width: 50%; /* Breite der Eingabefelder anpassen */
}



/* Produktformular spezifische Styles */
.produkt-table {
    width: 60%;
    margin: 20px auto;
    background-color: #ffffff;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.produkt-table th, .produkt-table td {
    padding: 12px;
    border-bottom: 1px solid #ccc;
}

.produkt-table input, .produkt-table select, .produkt-table button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}

.produkt-button {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.produkt-button:hover {
    background-color: #45a049;
}

.date-input, .select-input {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.select-produkt-dropdown {
    background-color: #f8f8f8;
    border: 1px solid #dcdcdc;
    color: #333;
}

.artikel-button {
    background-color: #f44336; /* Red */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.artikel-button:hover {
    background-color: #da190b;
}

/* Container für das gesamte Formular und die Auswahl */
.product-load-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Container für die Produktauswahl */
.product-selection {
    flex: 1;
    margin-right: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

.product-select, .product-copy-select {
    margin-bottom: 10px;
}

.product-load-button, .product-copy-button {
    padding: 10px 20px;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

.product-load-button {
    background-color: #4CAF50; /* Grüne Farbe */
}

.product-load-button:hover {
    background-color: #45a049; /* Dunkleres Grün */
}

.product-copy-button {
    background-color: orange; /* Orange Farbe für den Kopier-Button */
}

.product-copy-button:hover {
    background-color: darkorange; /* Dunkleres Orange */
}

/* Container für das Produktformular */
.produkt-table {
    flex: 2;
    width: 100%;
    background-color: #ffffff;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.produkt-table th, .produkt-table td {
    padding: 12px;
    border-bottom: 1px solid #ccc;
}

.produkt-table input, .produkt-table select, .produkt-table button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}

.produkt-button {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.produkt-button:hover {
    background-color: #45a049;
}

.date-input, .select-input {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.select-produkt-dropdown {
    background-color: #f8f8f8;
    border: 1px solid #dcdcdc;
    color: #333;
}

/* Bereich für die Bilderanzeige */
.product-image-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
}

.product-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.product-images div {
    position: relative;
    width: 100px;
    margin-bottom: 20px;
}

.product-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

.product-images a {
    display: block;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #000;
}

.product-images .delete-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
}






/*CSS der Anzeige der Barverkäufe*/
.direkt {
    width: 100%;
    border-collapse: collapse;
    table-layout:; /* Stellt sicher, dass die Spalten gleichmäßig aufgeteilt werden */
}

.direkt th, .direkt td {
    border: 1px solid black;
    padding: 10px;
    vertical-align: top;
}

.table-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Abstand zwischen den Boxen */
}

.direkt-div {
    height: 500px; /* Festgelegte Höhe */
    overflow-y: scroll; /* Fügt vertikalen Scrollbalken hinzu, falls Inhalt die Höhe überschreitet */
    background-color: #f0f0f0; /* Hintergrundfarbe für die Div-Box */
    padding: 10px; /* Innenabstand */
    border: 1px solid #ccc; /* Rahmen für die Div-Box */
}

/* Linke Box */
.links {
    width: 35%;
    text-align: right; /* Inhalt rechts ausrichten */
}

/* Rechte Box */
.rechts {
    width: 50%;
    text-align: left; /* Inhalt links ausrichten */
}


/* Stil für die rote Umrandung (JS)*/
.highlighted {
	border: 2px solid red;
}


/*Tabellen für die Lager*/

/* Layout für die Lagerbestandstabellen */
.lager-container {
    display: flex;
    justify-content: space-around; /* Gleichmäßiger Abstand zwischen den Tabellen */
    padding: 20px;
}

.lager-tabelle {
    flex: 1; /* Jede Tabelle nimmt den gleichen Anteil an Raum ein */
    margin: 10px; /* Etwas Abstand zwischen den Tabellen */
    overflow-x: auto; /* Ermöglicht das Scrollen, wenn die Tabelle zu breit ist */
}

.lager-tabelle table {
    width: 100%; /* Die Tabelle füllt den verfügbaren Platz aus */
    border-collapse: collapse; /* Entfernt doppelte Ränder */
}

.lager-tabelle th, .lager-tabelle td {
    border: 1px solid #ccc; /* Leichte Grenzen für bessere Sichtbarkeit */
    padding: 8px; /* Abstand innerhalb der Zellen */
    text-align: left; /* Linksbündiger Text */
}

.lager-tabelle th {
    background-color: #f4f4f4; /* Ein leicht grauer Hintergrund für Header */
}

/* Responsive Anpassungen können hinzugefügt werden, falls benötigt */



.lager-transfer {
    width: 800px;
    border-collapse: collapse; /* Entfernt doppelte Linien zwischen Zellen */
    table-layout: fixed; /* Ermöglicht es uns, die Breite der Spalten zu kontrollieren */
}

.lager-transfer th, .lager-transfer td {
    padding: 8px; /* Gibt Inhalt ein wenig Raum */
    border: 1px solid #ccc; /* Fügt eine leichte Grenze hinzu */
    text-align: left; /* Linksbündiger Text */
}

.lager-transfer th#id, .lager-transfer td#id {
    width: 5%; /* Gibt der ID-Spalte eine feste Breite */
}

.lager-transfer th#reih, .lager-transfer td#reih {
    width: 8%; /* Gibt der ID-Spalte eine feste Breite */
}

.lager-transfer th#name, .lager-transfer td#name {
    width: 15%; /* Breite für die Namensspalte */
}

.lager-transfer th#description, .lager-transfer td#description {
    width: 60%; /* Doppelte Breite für die Beschreibungsspalte */
}


/*Lagereinträge Formatierung*/
.lager_eintraege th, .lager_eintraege td {
    padding: 8px; /* Standard padding, um den Inhalt der Tabelle besser sichtbar zu machen */
    text-align: left; /* Standardausrichtung */
    border-bottom: 1px solid #ccc; /* Fügt eine Linie unter jeder Zeile für bessere Trennung hinzu */
}

.lager_eintraege th#pos, .lager_eintraege td#pos {
    width: 5%; /* Breite der Positionsspalte */
}

.lager_eintraege th#titel, .lager_eintraege td#titel {
    width: 20%; /* Breite der Titelspalte */
}

.lager_eintraege th#isbn, .lager_eintraege td#isbn {
    width: 15%; /* Breite der ISBN-Spalte */
}

.lager_eintraege th#anzahl, .lager_eintraege td#anzahl {
    width: 20%; /* Breite der Anzahlspalte */
}

.lager_eintraege th#anmerkung, .lager_eintraege td#anmerkung {
    width: 50%; /* Breite der Anmerkungsspalte */
}


/* Grundlegender Stil für das Protokoll-Formular */
.protokoll-style select,
.protokoll-style input[type="date"] {
    padding: 8px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px; /* Oder eine andere passende Breite, je nach Bedarf */
}

/* Stil für den Löschen-Button */
.protokoll-button {
    padding: 8px 16px;
    background-color: #f44336; /* Rotes Thema für Löschen */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
}

.protokoll-button:hover {
    background-color: #d32f2f; /* Dunkleres Rot beim Hover */
}

.table-content-based {
    table-layout: auto;
    width: 100%; /* oder 1200px, je nach Bedarf */
}

.table-content-based th,
.table-content-based td {
    white-space: nowrap; /* Stellt sicher, dass der Inhalt nicht umbricht */
}

.table-preisverwaltung {
    width: 100%;
    border-collapse: collapse;
}

.th-preisverwaltung, .td-preisverwaltung {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.input-preisverwaltung, .input-datum-verwaltung, .button-preisverwaltung {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.button-preisverwaltung {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.button-preisverwaltung:hover {
    background-color: #45a049;
}

/* Stil für die Passwörter und Zugangsdaten */
.zugangsdaten-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #f7f7f7;
}

.zugangsdaten-table th, .zugangsdaten-table td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: left;
}

.zugangsdaten-table th {
    background-color: #0066cc;
    color: #ffffff;
}

.zugangsdaten-table td {
    background-color: #ffffff;
    color: #333;
}

.zugangsdaten-input, .zugangsdaten-select, .zugangsdaten-button {
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #ccc;
}

.zugangsdaten-input[type="text"], .zugangsdaten-input[type="email"], .zugangsdaten-input[type="password"] {
    width: 100%;
}

.zugangsdaten-select {
    width: 100%;
    background-color: #f8f8f8;
}

.zugangsdaten-button {
    background-color: #4CAF50; /* Grüne Farbe */
    color: white;
    border: none;
    cursor: pointer;
}

.zugangsdaten-button:hover {
    background-color: #45a049; /* Dunkleres Grün */
}

.zugangsdaten-button-delete {
    background-color: #f44336; /* Rote Farbe für Löschen */
    color: white;
    border: none;
    cursor: pointer;
}

.zugangsdaten-button-delete:hover {
    background-color: #d32f2f; /* Dunkleres Rot beim Hover */
}

.zugangsdaten-search {
    padding: 10px;
    border: 1px solid #ccc;
    width: 300px;
    margin-bottom: 10px;
}

.zugangsdaten-add-btn {
    padding: 10px 20px;
    background-color: #007bff; /* Blaue Farbe */
    color: white;
    border: none;
    cursor: pointer;
    margin-left: 20px;
}

.zugangsdaten-add-btn:hover {
    background-color: #0056b3; /* Dunkleres Blau beim Hover */
}

/* CSS für zentrierte Tabellen mit verschiedenen Breiten */

.table-width-300 {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}


.table-width-400 {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}



.table-width-500 {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.table-width-600 {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.table-width-800 {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.table-width-1000 {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}




/* Bereich Entwicklung und Plots */
.entwicklungen-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.entwicklungen-liste {
    flex: 1;
    background-color: #f0f0f0;
    padding: 20px;
    border: 1px solid #ccc;
    margin-right: 10px;
    height: auto;
    overflow-y: auto; /* Ermöglicht Scrollen, falls zu viele Einträge */
}

.entwicklungen-tabelle {
    width: 100%;
    border-collapse: collapse;
}

.entwicklungen-tabelle th, .entwicklungen-tabelle td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
    word-wrap: break-word; /* Fügt Zeilenumbruch hinzu */
    white-space: normal; /* Stellt sicher, dass der Text in der Zelle umbricht */
}

.entwicklungen-tabelle th {
    background-color: #e0e0e0;
}

.entwicklungen-form {
    flex: 1;
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #ccc;
    margin-left: 10px;
}

.entwicklungen-form .form-group {
    margin-bottom: 10px;
}

.entwicklungen-form input[type="text"], .entwicklungen-form select, .entwicklungen-form textarea, .entwicklungen-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.entwicklungen-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.entwicklungen-form input[type="submit"]:hover {
    background-color: #45a049;
}


/* Notizen Cards */
.notizen-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.notiz-card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.notiz-card img.notiz-bild {
    max-width: 100%;
    max-height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.notiz-card h2 {
    font-size: 1.5em;
    margin: 10px 0;
}

.notiz-card p {
    font-size: 1em;
    margin: 10px 0;
}

.notiz-card form {
    margin-top: 10px;
}

.notiz-card label {
    display: flex;
    align-items: center;
}

.notiz-card input[type="checkbox"] {
    margin-right: 5px;
}

/* to-do-liste*/
    .tast_layout .form-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .tast_layout .input-field {
        flex: 1 1 calc(33% - 10px);
        min-width: 150px;
    }
    .tast_layout .button {
        flex: 1 1 100%;
    }
	
/* Container für die Charakter-Cards */
.charaktere-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Einzelne Charakter-Card */
.charakter-card {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.charakter-card-bild {
    width: 150px;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
}

.charakter-card-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.charakter-card-button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
	margin-top: 10px;
}

.charakter-card-button:hover {
    background-color: #0056b3;
}

/* Container für das Suchfeld */
.suchfeld-container {
    width: 600px;
    margin: 20px auto; /* Zentriert den Container */
    text-align: center; /* Text zentrieren */
}

.suchfeld-table {
    width: 100%;
    table-layout: fixed;
}

.suchfeld-table td:nth-child(1) {
    width: 60%;
}

.suchfeld-table td:nth-child(2) {
    width: 3%;
	
}

.suchfeld-table td:nth-child(3) {
    width: 30%;
}

/* Eingabefeld für die Suche */
.suchfeld-input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle; /* Vertikal zentrieren */
}

/* Icon zum Löschen des Suchfeldes */
.suchfeld-clear {
    cursor: pointer;
    color: #888;
}

.suchfeld-clear:hover {
    color: #000;
}

/* Such-Button */
.suchfeld-button {
    padding: 10px 20px;
    background-color: #b58900;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    vertical-align: middle; /* Vertikal zentrieren */
}

.suchfeld-button:hover {
    background-color: #cb4b16;
}

/*Texte parsen*/

.parsen-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

/* Linke Sektion */
.left-section {
    display: flex;
    flex: 1.5;
    background-color: #e0e0e0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Linker Bereich der linken Sektion */
.left-left {
    flex: 1;
    padding-right: 10px;
    border-right: 1px solid #ccc;
}

/* Rechter Bereich der linken Sektion */
.left-right {
    flex: 1.5;
    padding-left: 10px;
    overflow-y: auto;
}

/* Mittlere Sektion */
.middle-section {
    flex: 2;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Rechte Sektion */
.right-section {
    flex: 1.5;
    background-color: #f0f0f0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Custom Buttons */
.custom-button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.custom-button:hover {
    background-color: #0056b3;
}

/* E-Book Vorschau */
.ebook-preview {
    width: 100%;
    height: 800px; /*600*/
    border: 1px solid #ccc;
}

/* Bilder Container */
#image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#image-container img {
    max-width: 100px;
    max-height: 100px;
}

.button-group {
    display: flex;
    gap: 10px;
}

.header-clock {
    font-size: 16px;
    color: #2c3e50;
    margin-top: 5px;
}


/*Episoden-Verwaltung*/

.episode-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.episode-table th, .episode-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    white-space: nowrap;
}

.episode-table th {
    background-color: #f0f0f0;
}

.episode-table td {
    background-color: #ffffff;
}

.episode-table .input-field {
    width: 100px;
    padding: 5px;
    margin: 0;
    box-sizing: border-box;
}

.episode-table select.input-field {
    width: 160px;
}

.episode-table .button {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.episode-table .button:hover {
    background-color: #0056b3;
}


/* E-Book zusammenstellen*/

.ebook-setup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-buttons {
    margin-bottom: 20px;
}

.file-windows {
    display: flex;
    align-items: center;
}

.file-window {
    width: 300px;
    height: 400px;
    border: 1px solid #ccc;
    overflow-y: scroll;
    padding: 10px;
}

.arrow-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 20px;
}

.arrow-btn {
    margin: 10px 0;
    padding: 10px;
}

/* Container für die Produktkarten */
.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Einzelne Produktkarte */
.product-card {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    width: 200px; /* Breite auf 200px gesetzt */
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bild in der Produktkarte */
.product-card img.product-image {
    width: 100%; /* Breite des Bildes auf 100% der Kartenbreite gesetzt */
    height: auto; /* Automatische Höhe basierend auf der Bildbreite */
    margin-bottom: 10px;
}

/* Preisfeld und Button in der Produktkarte */
.product-card p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Preis ändern Button */
.price-change-button {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
}

.price-change-button:hover {
    color: #0056b3;
}

#progressContainer {
    width: 500px;
    height: 30px;
    background: #e0e0e0;
    margin: 0 auto;
    position: relative;
}

#progressBar {
    height: 100%;
    width: 0;
    background: #007bff;
}



/* CSS für den Suchbereich */
.textsuche-header {
    text-align: center;
    margin-top: 20px;
    color: #2c3e50;
}

.progress-treffer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 20px auto;
}

.result-count {
    font-size: 18px;
    color: #2c3e50;
}

.ergebnis-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 20px auto;
    gap: 20px;
}

.ergebnis-links, .ergebnis-mitte, .ergebnis-rechts {
    flex: 1;
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    max-height: 500px;
    overflow-y: auto;
    min-width: 0;
}

.ergebnis-links {
    margin-right: 10px;
}

.ergebnis-mitte {
    margin: 0 10px;
}

.ergebnis-rechts {
    margin-left: 10px;
}

.content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.treffer-block {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    background-color: #f9f9f9;
}

.treffer-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.result-button {
    width: 30px;
    height: 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
}

.result-button:hover {
    background-color: #0056b3;
}

.highlight {
    background-color: yellow;
    font-weight: bold;
}

/* Fortschrittsbalken */
#progressContainer {
    width: 50%;
    height: 10px;
    background: #e0e0e0;
    position: center;
}

#progressBar {
    height: 100%;
    width: 0;
    background: #007bff;
    transition: width 0.5s;
}

/*Datei-Upload in Suchfunktion*/
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
}



.tight-text {
    line-height: 1.2; /* Reduzierter Zeilenabstand */
    margin-top: -5px;  /* Optional: weniger Abstand zum h2 */
}











