/* Allgemeine Layout-Einstellungen */
body {
    font-family: Courier, sans-serif; /* Standard ist Courier */
    font-size: 14px;
	background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    display: flex;
    background-color: #912225;
	border-radius: 10px 10px 0 0; /* Oben links und oben rechts abrunden */
	color: white;
    text-align: bottom;
    font-family: inherit;
}

#logo {
    height: 40px; /* Höhe des Logos */
    margin: 5px 10px 10px 10px;
	width: auto; /* Breite wird proportional angepasst */
    margin-right: 20px; /* Abstand zum Titel */
}


header h1 {
    margin: 0;
    padding-top: 10px;
	font-size: 30px;
    font-family: inherit;
}

header h2 {
    margin: 0;
    font-size: 20px;
    font-family: inherit;
}

header h3 {
    margin: 0;
    font-size: 16px;
    font-family: inherit;
}

/* Hauptbereich */
main {
    max-width: 1000px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: inherit;
}

h1 {
    margin: 0;
    font-size: 24px;
    font-family: inherit;
}

h2 {
    margin: 0;
    font-size: 20px;
    font-family: inherit;
}

h3 {
    margin: 0;
    font-size: 16px;
    font-family: inherit;
}

label {
    font-size: 16px;
	font-weight: bold;
	font-family: inherit;
	font-size: inherit; 
}

/* Navigation und Links */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

ul li a {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
}

ul li a:hover {
    text-decoration: underline;
}

/* Buttons */
button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
}

button:hover {
    background-color: #0056b3;
}

/* Eingabefelder */
input[type="password"], input, button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
}

/* Passwort ändern Bereich */
.password-change-container {
    text-align: center;
}

/* Versteckte Elemente */
.hidden {
    display: none;
}

/* Nachricht (z. B. Fehler oder Erfolg) */
.message {
    color: red;
    text-align: center;
    font-family: inherit;
}

/* Abmelden-Button */
.btn-logout {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: inherit;
}

.btn-logout:hover {
    background-color: #c82333;
}

.upload-btn {
    padding: 8px 16px;
    font-size: 14px;
    background-color: green;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 170px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.upload-btn:hover {
    background-color: darkgreen;
}

.back-link {
	display: inline-block;
	margin-top: 20px;
	padding: 8px 15px;
	font-size: 14px;
	background-color: #6c757d; /* Grau */
	color: white;
	text-decoration: none;
	border-radius: 5px;
}
.back-link:hover {
	background-color: #5a6268; /* Dunkleres Grau */
}

select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    font-family: inherit;
}

select:focus {
    outline: none;
    border-color: #007bff;
}
	
textarea {
    width: 100%; /* Passt die Breite an das übergeordnete Element an */
    height: 150px; /* Fixe Höhe */
    resize: none; /* Benutzer kann die Größe nicht ändern */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
	font-family: inherit;
    font-size: 15px;
    box-sizing: border-box; /* Berücksichtigt Padding und Border bei der Breite */
}

.update {
	font-family: inherit;
}

/* Status */
.status-column {
	width: 156px;
	text-align: center; /* Zentriert den Inhalt der Spalte */
	vertical-align: middle; /* Vertikale Zentrierung innerhalb der Zelle */
	padding: 2px 0; /* Minimaler Abstand oben und unten */
}

/* Feste Breite für den farbigen Rahmen der Statusanzeige */
.status {
	display: inline-block; /* Macht das Element blockähnlich, damit width greift */
	width: 140px; /* Feste Breite, anpassen nach Bedarf */
	text-align: center; /* Zentriert den Text im Rahmen */
	padding: 4px 4px; /* Innenabstand */
	border-radius: 3px; /* Abgerundete Ecken */
	font-weight: bold;
}


/* Tabelle */
table {
	width: 100%;
	border-collapse: collapse; /* Entfernt doppelte Rahmen */
	margin-bottom: 2px;
	font-size: 12px; /* Einheitliche Schriftgröße */
}

/* Kopfzeilen und Zellen */
table th, table td {
	border: 1px solid #ddd;
	padding: 4px; /* Reduzierter Innenabstand */
	text-align: left;
	vertical-align: middle; /* Inhalte vertikal zentrieren */
}

/* Kopfzeile */
table th {
	background-color: #f4f4f4;
	font-weight: bold;
}
		
/* Footer */
/*
footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
    font-family: inherit;
}
*/
footer {
    text-align: center;
	padding-bottom: 10px;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

footer nav a {
    margin: 0 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

footer nav a:hover {
    text-decoration: underline;
}
