/* 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;
}

.requests-container {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

section {
  width: 45%;
  background-color: #444;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

h2 {
  text-align: center;
}

ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

li {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #555;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button.reject {
  background-color: #E53935;
}

button.edit {
  background-color: #FFC107;
}

/* Allgemeines Modal-Styling */
.modal {
  display: none; /* Modal ist standardmäßig unsichtbar */
  position: fixed;
  z-index: 1; /* Sitzt über anderen Elementen */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Scrollen, falls nötig */
  background-color: rgba(0, 0, 0, 0.4); /* Halbtransparenter Hintergrund */
  padding-top: 60px;
}
/* Modal-Inhalt */
.modal-content {
  background-color: #222;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  position: relative; /* Damit der Close-Button positioniert werden kann */
  border-radius: 5px;
}

/* Close Button */
.modal-content > .close {
  color: white;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 25px;
  padding: 5px;
  cursor: pointer;
}

.modal-content > .close:hover,
.modal-content > .close:focus {
  color: #f44336;
  text-decoration: none;
  cursor: pointer;
}

/* Formular-Elemente */
.modal-content > form {
  display: grid;
  grid-template-columns: 1fr; /* Eine Spalte */
  gap: 15px;
  margin-top: 10px;
}

.modal-content > label {
  font-weight: bold;
  margin-bottom: 5px;
}

.modal-content > input, textarea, select {
  padding: 10px;
  border: 1px solid #555;
  background-color: #222;
  color: white;
}



.modal-content > textarea {
  resize: vertical;
  min-height: 200px;
}

.modal-content > button {
  background-color: #5c9dff;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
}

.modal-content > button:hover {
  background-color: #3b7cc2;
}

table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

th, td {
  border: 1px solid #555;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #333;
  color: white;
}

td {
  background-color: #222;
  color: white;
}

.hidden {
  display: none;
}