*  {
	margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: 'Inter', sans-serif;
    margin: 0;
	Padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
	width: 100%;
	background-color: #f4f4f9;
    color: #333;
}

/* Header-Layout */
header {
    flex: 0 0 auto;
    background-color: #2a9df4;
    padding: 10px;
    width: 100%;
    text-align: center;
    height: 130px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Schatteneffekt */
}
main {
    flex: 1 1 auto; /* Füllt den verbleibenden Platz */
    overflow: hidden; /* Verhindert Scrollen */
    display: flex; /* Ermöglicht Flexbox-Ausrichtung innerhalb des Main */
    flex-direction: column;
    background-color: #f7f7f7; /* Beispielhintergrund */
    padding: 10px;
}
footer {
    flex: 0 0 auto; /* Keine Skalierung, bleibt fixiert */
    width: 100%;
    background-color: #333; /* Beispielhintergrund */
    color: white;
    padding: 10px;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); /* Schatteneffekt */
}

.page-center {
    display: flex; /* Flexbox verwenden */
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
    align-content: center;
    height:100%; /* Füllt den verfügbaren Platz aus */
    width: 100%; /* Optional: Stellt sicher, dass die Breite des Containers voll genutzt wird */
    box-sizing: border-box; /* Berücksichtigt Padding und Border innerhalb der Dimensionen */
}
.page-top {
    display: flex; /* Flexbox verwenden */
    flex-direction: column;
    justify-content: flex-start; /* Start der horizontalen Achse (links) */
    align-items: flex-start; /* Start der vertikalen Achse (oben) */
    height: 100%; /* Füllt den verfügbaren Platz aus */
    width: 100%; /* Optional */
    box-sizing: border-box; /* Berücksichtigt Padding und Border innerhalb der Dimensionen */
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

#total-time {
    text-align: left;
    flex: 1; /* Nimmt den linken Raum ein */
}

#cycle-time {
    text-align: right;
    /* flex: 1;  Nimmt den rechten Raum ein */
	margin-right: 5px;
    font-size: 2em;
    font-weight: bold;
    background-color: #ddd;
    border:2px solid #333;
    border-radius: 20px;
    padding: 5px;
    text-align: right;
    margin-left: auto;
    display: inline-block;
}
#stat-Container {
    text-align: left;
    /* flex: 1;  Nimmt den rechten Raum ein */
	/* margin-left: 5px; */
    font-size: 0.8em;
    background-color: #2a9df4; /* #ddd;*/
    border:2px solid #333;
    border-radius: 20px;
    padding: 10px 15px;
    display: inline-block;
    margin-right: auto;
    margin-bottom: 1px;
}
#main-menu input[type="text"] {
    height: 24px; 
    padding: 10px 0px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-size: 14px; 
    box-sizing: border-box; 
    vertical-align: middle; 
}
h1 {
    /* flex: 2; */
    margin: 0;
}
#main-menu {
    margin-top: 10px; 
    display: flex;
    justify-content: right;
    width: 100%;
}

/* Positionierung der Seite unter dem Header */
header + main {
    margin-top: 20px; /* Abstand zwischen Header und Inhalt */
}

/* Styling der Header-Überschrift */
.header {
    position: absolute;   
    top: 90px;            
    left: 10px;           
}
.time-container {
    display: flex;
    flex-direction: column; /* Elemente untereinander */
    align-items: flex-start; /* Links ausrichten */
    min-width: 350px;
    padding: 10px;
}
.headline-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center; 
    width: 100%; /* Nimmt die gesamte Breite ein */
    text-align: center; /* Zentriert den Text */
    margin-left: 0;
}
.highlight {
    color: red;
    font-weight: bold; /* Optional: für bessere Sichtbarkeit */
}
.choice {
    color: blue;
    font-weight: bold; /* Optional: für bessere Sichtbarkeit */
}

.info-link {
    font-size: 16px;      /* Schriftgröße auf 16px setzen */
    color: blue;         /* Linkfarbe */
    text-decoration: none; /* Unterstreichung entfernen */
}

.info-link:hover {
    color: green;        /* Farbe bei Hover */
}

.rectegorize-info {
    font-size: 16px;      /* Schriftgröße auf 16px setzen */
    color: red;         /* Linkfarbe */
    text-decoration: none; /* Unterstreichung entfernen */
}
.right-align {
    display: block; /* Macht den Button zu einem Block-Element */
    margin-left: auto; /* Automatischer linker Rand */
    margin-right: 0; /* Kein rechter Rand */
}
footer.navigation {
    background-color: #ddd;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}




.copy-btn {
    padding: 5px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 10px;
    
    border-radius: 5px;
    background-color: #2a9df4;
    color: white;
    transition: background-color 0.3s;
    display: block; /* Macht den Button zu einem Block-Element */
    margin-left: auto; /* Automatischer linker Rand */
    margin-right: 0; /* Kein rechter Rand */
}

.copy-btn:hover {
    border-color: #000000;
}
nav {
    display: flex;
    justify-content: flex-end; /* Button nach rechts schieben */
    align-items: center;
}


.categories-container div {
    width: 30%;
}

.categories-container ul {
    list-style-type: none;
    padding: 0;
}

.categories-container li {
    padding: 10px;
    margin: 5px 0;
    background-color: #f1f1f1;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.categories-container li:hover {
    background-color: #d0e6ff;
}

.categories-container li.selected {
    background-color: #a4d7ff;
    font-weight: bold;
}
/* Grundlayout */
/* Flex-Container für Seite 4 + 5 */
.flex-container { /* definiert den Arbeitsbereich für page-top Elemente */
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 20px;
    width: 100%;
	box-sizing: border-box; 
    min-height: 0;
}
.static-section {
    position: sticky;
    bottom: 0; 
    width: 100%; /* Füllt die gesamte Breite */
    background-color: #f9f9f9; /* Heller Hintergrund */
    padding: 10px 20px;
    border-top: 1px solid #ddd; /* Dünne Trennlinie */
    display: flex; /* Anordnung der Kinder-Elemente */
    justify-content: space-between; /* Elemente links und rechts anordnen */
    align-items: center; /* Zentriert die Inhalte vertikal */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    flex-direction: row;
}

.section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow: hidden;
    border-left: 1px solid #ccc;
    box-sizing: border-box;
}
.section h3 {
    flex-shrink: 0; /* Überschrift behält ihre Größe */
    margin: 0;
    padding-bottom: 10px; /* Optionaler Abstand */
}

.section ul,
.section div {
    flex: 1; /* Nimmt den restlichen Platz ein */
    overflow-y: auto; /* Aktiviert den Scrollbalken */
    margin-bottom: 60px;
}
.section:first-child {
    border-left: none;
}

h1, h2, h3 {
    /*margin-bottom: 10px;
    font-size: 1.2em;
    text-align: center; */
	margin: 0;
	text-align: center;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
}

ul li:hover {
    background-color: #d0e6ff;
}

ul li.selected {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
	border-radius: 5px;
	padding: 10px;
}

#instructions-area {
    white-space: pre-wrap; /* Arbeitsanweisungen formatiert anzeigen */
    font-family: monospace;
    background: #f4f4f4;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow-y: auto;
    height: 100%; /* Arbeitsanweisungen sollen immer den Bereich füllen */
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* Zwei Spalten auf kleineren Bildschirmen */
    }
}
.selected {
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    padding: 5px;
}

/* Verstecke die Checkbox visuell, aber lasse sie interaktiv */
input[type="checkbox"] {
    display: none;
}

/* Stil für das Label, das die Checkbox repräsentiert */
.checkbox-text {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Blaue Hintergrundfarbe */
    color: white; /* Weißer Text */
    border: none;
    border-radius: 5px; /* Abgerundete Ecken */
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effekt beim Hovern */
.checkbox-text:hover {
    background-color: #0056b3; /* Dunkleres Blau beim Hovern */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Aktivierter Zustand der Checkbox */
input[type="checkbox"]:checked + .checkbox-text {
    background-color: #28a745; /* Grün für den aktiven Zustand */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}


#instructions-summary, #email-template, #notice-template, #instruction-template {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    
}
#instructions-summary h3, #email-template h3, #notice-template h3, #instruction-template h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}
.horizontal-align {
    display: flex;
    flex-direction: row;
}


#email-textarea, #notice-textarea {
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
#status-bar-container {
    position: absolute;   
    top: 90px;            
    left: 400px;
}
.header-banner {
    background-color: #0056b3;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-banner h1 {
    font-size: 2rem;
}

/* Zentriertes Formular */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 100px); /* Platz für Header */
}

.login-form {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.login-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.login-form .btn-submit {
    width: 100%;
    padding: 10px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form .btn-submit:hover {
    background-color: #003d80;
}
form label, form input, form select, form button {
    display: block;
    margin-bottom: 15px;
}
form label {
    font-weight: bold;
}
form fieldset {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Abstand zwischen den Elementen */
}
.error-message {
    color: red;
    margin-bottom: 15px;
    font-size: 1.5em;
    padding: 20px;
    text-align: center;
}

.retry-link {
    text-align: center;
    margin-top: 10px;
}

.retry-link a {
    color: blue;
    text-decoration: underline;
    font-size: 1.2em;
}

.retry-link a:hover {
    color: darkblue;
}
#email-template {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Inhalte rechtsbündig anordnen */
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease-in-out;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #007BFF; /* Blaues Highlight bei Fokus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

button {
    background-color: #007BFF; /* Blau */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3; /* Dunkleres Blau bei Hover */
}
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: #007BFF; /* Modernes Blau für die Checkbox */
    cursor: pointer;
    border-radius: 4px; /* Leichte Abrundung für modernen Look */
    transition: background-color 0.3s ease;
}

label {
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    display: flex;
    align-items: center;
    margin: 10px 0;
}
/* Grundstil für das Dropdown */
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 16px;
    outline: none;
    appearance: none; /* Entfernt Standard-Pfeil in modernen Browsern */
    cursor: pointer;
    transition: all 0.3s ease;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"><path fill="%23333" d="M0 0l5 6 5-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
}

/* Hover-Effekt */
select:hover {
    border-color: #007BFF;
    background-color: #ffffff;
}

/* Fokus-Effekt */
select:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    background-color: #ffffff;
}

/* Dropdown-Pfeil */
select::-ms-expand {
    display: none; /* Versteckt den Standard-Pfeil in IE */
}

/* Für die Auswahl der Optionen (in manchen Browsern sichtbar) */
option {
    padding: 10px;
    background-color: #ffffff;
    color: #333;
    font-size: 16px;
}

/* Für einheitlichen Stil in Safari */
select:focus option {
    background-color: #ffffff;
}
/*  *********************************************************************************************
    ******************* Radio-Button ************************************************************
    ********************************************************************************************* */
/* Gruppierung der Radiobuttons */
.radio-group {
    display: flex;
    gap: 20px; /* Abstand zwischen den Optionen */
    justify-content: center; /* Zentriert die Gruppe */
    margin-bottom: 20px; /* Abstand zum nächsten Bereich */
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 10px;
}

/* Stil für Radiobutton-Labels */
.radio-label {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Radiobutton und Text */
    font-size: 1rem;
    cursor: pointer; /* Zeigt an, dass der Bereich klickbar ist */
    color: #333; /* Textfarbe */
    transition: color 0.3s ease; /* Animation beim Hover */
}

.radio-label:hover {
    color: #007bff; /* Blaue Farbe beim Hover */
}

/* Verstecken der Standard-Radiobuttons */
.radio-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #007bff;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    margin: 0;
}

/* Styling für den inneren Kreis (bei Auswahl) */
.radio-label input[type="radio"]:checked::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
}

td {
    text-align: left;          /* Inhalte linksbündig */
    padding: 2px;            /* Innenabstand für bessere Lesbarkeit */
}

tr {
    border-bottom: 1px solid #333333; /* Trennlinie unter jeder Zeile */
}

table {
    border-collapse: separate; /* Verhindert, dass die Ränder der Zellen zusammengeführt werden */
    border-spacing: 25px;      /* Abstand zwischen den Spalten */
}
.editable-area {
    border: 1px solid #ccc; 
    padding: 10px; 
    width: 100%; 
    min-height: 200px;
}
.js-code {
    color:rgba(75, 118, 163, 1)
}
.md-code {
    color:rgba(136, 28, 118, 1)
}
/*  *********************************************************************************************
    ************************* Individuelle Feldbeschreibungen ***********************************
    ********************************************************************************************* */

#assistant-container  { /*#summery-container*/
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    
    height: 100%; 
}
#checkbox-wrapper {
    display: flex;
    flex: 1;
    justify-content: space-between; /* Label und Button trennen */
    align-items: center; /* Vertikale Zentrierung */
    width: 100%; /* Volle Breite des Containers */
}

#open-popup-btn {
    margin-left: auto; /* Drückt den Button ganz nach rechts */
}

/* Leicht graue Hinterlegung für die Container-Div */
.status-bar-container {
    background-color: transparent; /* #e7e5e5; /* Hellgrau */
    padding: 2px; /* Innenabstand */
    border-radius: 5px; /* Abgerundete Ecken */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Leichter Schatten für 3D-Effekt */
    display: flex; /* Flexbox aktivieren */
    align-items: center; /* Vertikale Zentrierung */
    justify-content: center; /* Optional: Horizontale Zentrierung */
    height: 40px;
    margin-bottom: 3px;
}

/*
ul li {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
}*/
/* UL als horizontale Leiste */
.status-bar {
    display: flex; /* Flexbox für horizontale Ausrichtung */
    list-style-type: none; /* Entfernt die Standard-Aufzählungspunkte */
    margin: 0; /* Entfernt äußeren Abstand */
    padding: 0; /* Entfernt inneren Abstand */
    gap: 5px; /* Abstand zwischen den Bildern */
    align-items: center; /* Vertikale Zentrierung */
    justify-content: center; /* Optional: Horizontale Zentrierung */
}
.status-bar ul {
    align-items: center; /* Zentriert das Bild vertikal */
    justify-content: center; /* Zentriert das Bild horizontal */
}
.status-bar li {
    display: flex; /* Sorgt dafür, dass das li genau so groß ist wie der Inhalt */
    align-items: center; /* Zentriert das Bild vertikal */
    justify-content: center; /* Zentriert das Bild horizontal */
    padding: 2px; /* Definierter Rand */
}
/* Für die Bilder innerhalb der UL */
.status-bar li img {
    display: block; /* Entfernt vertikales Padding oder Margin durch Inline-Bild */
    width: 32px; /* Setzt die Breite des Bildes */
    height: 32px; /* Setzt die Höhe des Bildes */
}
p.tribute {
    margin: 5px 10px;
    text-align: center; 
    font-size: 12px;;
}