/* Body und HTML-Einstellungen */
html, body {
  font-family: Arial, sans-serif;
  background-color: #333;
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Hauptbereich */
main {
  flex: 1; /* Dehnt den Main-Inhalt aus, damit der Footer am unteren Rand bleibt */
  padding: 20px; /* Platz für Inhalte innerhalb des Main-Bereichs */
  box-sizing: border-box;
  overflow-y: auto; /* Scrollbar nur bei Bedarf */
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
  margin-top: auto; /* Positioniert den Footer korrekt bei wenig Inhalt */
  width: 100%;
  box-sizing: border-box;
}

/* Footer-Text */
footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer-Links */
footer a {
  color: #4CAF50;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


header {
  background-color: #444;
  padding: 10px;
  text-align: right;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

button {
  background-color: #5c9dff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

button:hover {
  background-color: #3b7cc2;
}

input {
  padding: 10px;
  border: 1px solid #555;
  background-color: #222;
  color: white;
}

#notificationIcon {
  display: inline-block;
  margin-left: 20px;
  cursor: pointer;
}

/* Filter und Suchleiste */
#controls {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

#filterStatus {
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
}

/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
  padding: 8px;
  text-align: left;
  border: 1px solid #555;
}

th {
  background-color: #333;
  color: white;
}

td {
  background-color: #222;
  color: white;
}

/* Hover-Effekt */
tbody tr:hover {
  background-color: #444;
}

.hidden {
  display: none;
}