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

h1 {
  text-align: center;
}

#status {
  margin: 20px 0;
}

#status p {
  font-size: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  transition: background-color 0.3s, color 0.3s;
}

table th {
  background-color: #eee;
  color: #333;
}


table td.color-cell {
  background-color: transparent !important;
  color: inherit !important;
}


body.transition-enabled {
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
  background-color: #1e1e1e;
  color: #f1f1f1;
}

table th {
  background-color: #eee;
  color: #333;
}

body.dark-mode table {
  background-color: #2e2e2e;
}

body.dark-mode table th {
  background-color: #444;
  color: #ccc;
  border: 1px solid #555;
}

body.dark-mode table td {
  background-color: #333;
  border: 1px solid #555;
}

dialog {
  background-color: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  max-width: 800px;
  text-align: left;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, color 0.3s;
}

dialog h3 {
  margin-top: 0;
}

dialog button {
  margin-top: 20px;
}

body.dark-mode dialog {
  background-color: #1e1e1e;
  color: #f1f1f1;
  border: 1px solid #555;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

button, .btn {
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#log-box {
  margin-top: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}


body.dark-mode #log-box {
  background-color: #2e2e2e;
  border: 1px solid #555;
  color: #f1f1f1;
}

#logs {
  font-family: monospace;
  font-size: 14px;
  color: #333;
}

body.dark-mode #logs {
  color: #ccc;
}

#menubar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ddd;
  padding: 10px 20px;
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode #menubar {
  background-color: #333;
  color: #f1f1f1;
}

#dark-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

#dark-mode-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.dropdown {
  position: relative;
}

.dropdown-button {
  background-color: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode .dropdown-button {
  background-color: #444;
  color: #f1f1f1;
  border: 1px solid #555;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 150px;
  z-index: 1000;
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode .dropdown-content {
  background-color: #444;
  border: 1px solid #555;
}

.dropdown-content a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode .dropdown-content a {
  color: #f1f1f1;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

body.dark-mode .dropdown-content a:hover {
  background-color: #555;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.log-button {
  background-color: #f4f4f4;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode .log-button {
  background-color: #444;
  color: #f1f1f1;
  border: 1px solid #555;
}

.footer {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 0;
  width: 99%;
  background-color: #f4f4f4;
  color: #333;
}

body.dark-mode .footer {
  background-color: #1e1e1e;
  color: #f1f1f1;
}

.footer .row {
  justify-content: center;
}

.footer a {
  color: #007bff; /* Farbe der Links */
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}