* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #333;
  padding: 20px;
  text-align: center;
}

.logo {
  max-width: 200px;
  height: auto;
  width: 120px; /* Vereinheitlichung der Logogröße */
}

nav {
  background-color: #f8f9fa;
  padding: 20px;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}

nav ul li {
  flex: 1 1 auto;
}

nav ul li a {
  display: block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background-color: #0056b3;
  color: white;
}

/* Back Button Styles */
.back-button {
  background-color: #6c757d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #5a6268;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
  }
}

/* Header Styles */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 
}

.logo-container {
  flex: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;

  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
 
}

.main-nav ul li a:hover {
  background-color: #007bff;
  color: white;
}

.back-button-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.back-button {
  background-color: #6c757d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #5a6268;
}


/* Dashboard Styles */
.dashboard-container {
    padding: 20px;
    text-align: center;
}

.stats-cards {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: #007bff;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    margin: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chart-section {
    margin-top: 40px;
}

canvas {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .stats-cards {
        flex-direction: column;
        align-items: center;
    }
}


body {
  font-family: Arial, sans-serif;
  margin: 20px;
  padding: 0;
  background-color: #f4f4f4;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.status-open { background-color: red; color: white; }
.status-done { background-color: green; color: white; }
th, td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

a:hover {
  background-color: #218838;
}



/* Stil für den Body der Login-Seite */
.login-body {
  background-color: #1a1a1a; /* Dunkler Hintergrund */
  color: #f0f0f0; /* Helle Schriftfarbe */
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}
.login-head {
  color: #f0f0f0; /* Helle Schriftfarbe */
}


/* Container für das Login-Formular */
.login-container {
  background-color: #2a2a2a; /* Etwas hellerer Hintergrund für den Container */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 95%;
  text-align: center;
  max-width: 800px;     /* Maximale Breite auf 800px begrenzen */
  margin: 0 auto; 
}
.login-container a {
  display: block;           /* Damit der Link als Blockelement behandelt wird */
  width: 95%;               /* Schaltfläche nimmt 70% der Containerbreite ein */
  margin: 20px auto;        /* Zentriert den Link und fügt vertikalen Abstand hinzu */
  padding: 25px;            /* Erhöht den Innenabstand für einen größeren Button-Effekt */
  text-align: center;       /* Zentriert den Text innerhalb des Buttons */
  background-color: #007bff;/* Beispielhafter Button-Hintergrund */
  color: #fff;              /* Textfarbe weiß */
  text-decoration: none;    /* Entfernt den Unterstrich */
  border-radius: 10px;       /* Abgerundete Ecken */
  font-size: 3em;         /* Größere Schrift für bessere Lesbarkeit */
}



/* Stil für die Fehlermeldung */
.error {
  color: red;
  margin-bottom: 15px;
}

/* Stil für die Schaltfläche */
.blue-button {
  background-color: #007bff; /* Blaue Hintergrundfarbe */
  color: white; /* Weiße Schriftfarbe */
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  gap: 5px;
}

/* Hover-Effekt für die Schaltfläche */
.blue-button:hover {
  background-color: #0056b3; /* Dunkleres Blau bei Hover */
}

.button-group {
  display: flex;
  flex-direction: column; /* Um die Buttons untereinander anzuordnen */
  gap: 10px; /* Abstand zwischen den Buttons */
}

button:disabled {
  background-color: #cccccc; /* Grau für deaktivierte Buttons */
  cursor: not-allowed; /* Zeigt an, dass der Button nicht klickbar ist */
}

button {
  cursor: pointer;
  padding: 10px 20px;
  background-color: #007BFF; /* Blaue Farbe für den Button */
  color: white;
  border: none;
  border-radius: 5px;
}

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


.menu-toggle {
  display: none; /* Standardmäßig ausblenden */
}

/* Medienabfrage für mobile Geräte */
@media (max-width: 768px) {
  .menu-toggle {
      display: block; /* Button anzeigen */
  }


}


.filter-cell {
  text-align: center; /* Zentriert den Inhalt in der Zelle */
}

.uhrzeit {
  font-weight: bold; /* Macht die Uhrzeit fett */
  color:chocolate;
}

.benutzer {
  font-size: smaller; /* Macht den Benutzernamen kleiner */
  color: blue; /* Optional: Setzt eine andere Farbe für den Benutzernamen */
}
.month-navigation {
  margin: 20px 0;
  text-align: center;
}

.month-navigation a {
  margin: 0 10px;
  text-decoration: none;
  color: #ffffff; /* Beispiel für eine Farbe */
  font-size: 16px; /* Schriftgröße anpassen */
  text-align: center;
}

.month-navigation a:hover {
  text-decoration: underline;
  text-align: center;
}

.button-container {
  text-align: center; /* Zentriert die Buttons innerhalb des Containers */
  margin-bottom: 20px; /* Abstand unter den Buttons */
}


table {
  width: 100%; /* Tabelle auf volle Breite setzen */
  table-layout: fixed; /* Feste Breite für die Spalten */
}

th, td {
  text-align: center; /* Zentriere den Text in den Zellen */
  padding: 10px; /* Abstand innerhalb der Zellen */
  border: 1px solid #ccc; /* Rahmen für die Zellen */
}

th {
  background-color: #f2f2f2; /* Hintergrundfarbe für Header */
}

/* Setze eine fixe Breite für die Datumsspalte und die Anlagenspalten */
td:first-child, th:first-child {
  width: 20%; /* Breite für die Datumsspalte */
}

td:not(:first-child), th:not(:first-child) {
  width: 15%; /* Breite für alle anderen Spalten */
}

.popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Dunkler Hintergrund */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Über anderen Elementen angezeigt */
}

.popup-content {
  background-color: #333; /* Dunkles Popup */
  padding: 20px;
  border-radius: 10px; /* Abgerundete Ecken */
  color: white; /* Weißer Text */
  text-align: center;
  border: 2px solid white; /* Weißer Rahmen um das Popup */
}

.popup-content button {
  background-color: blue; /* Blaue Buttons */
  color: white; /* Weißer Text auf Buttons */
  border: none; /* Kein Rand */
  padding: 10px 20px; /* Polsterung der Buttons */
  border-radius: 5px; /* Abgerundete Ecken */
  cursor: pointer; /* Hand-Cursor beim Überfahren */
  margin: 5px; /* Abstand zwischen den Buttons */
}

.popup-content button:hover {
  background-color: darkblue; /* Dunkelblauer Hintergrund beim Überfahren */
}

#beschreibung {
  text-align: left;
  margin-bottom: 20px;
}

h1 {
  color: black; /* Weißer Text für die Überschrift */
}

h2 {
  color: white; /* Weißer Text für die Überschrift */
}


h3 {
  color: white; /* Weißer Text für die Überschrift */
}


body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
}

.logo-container {
    flex: 1;
    text-align: center;
}

.logo-container.left {
    text-align: left; /* Linkes Logo nach links */
}

.logo-container.right {
    text-align: right; /* Rechtes Logo nach rechts */
}

.logo {
    height: 50px; /* Passt die Größe des Logos an */
}

.nav-container {
    flex: 2;
    text-align: center; /* Links zentrieren */
    background-color: #333;
}

.nav-container a {
    margin: 5 15px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.nav-container a:hover {
    color: #007BFF; /* Farbe beim Hover */
}

hr {
    margin-top: 10px;
}

.success-message {
  color: red;
  margin-top: 20px; /* Platz oberhalb der Nachricht */
  font-weight: bold;
  text-align: center;
}

.popup {
  width: 50%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 80%;
  overflow-y: auto;
}
.popup h2 {
  margin-top: 0;
}
.popup label {
  display: block;
  font-weight: bold;
  margin-top: 10px;
}
.popup .checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.popup textarea {
  width: 100%;
  height: 60px;
  margin-top: 5px;
}
.popup button {
  margin-top: 10px;
}