
/* Gilt für alle Tabellenzellen */
table.dataTable tbody td {
  background-color: #fff;
  padding: 5px 8px;
  font-size: 0.95rem;
  border-bottom: 1px solid #e0e0e0;
}

table.dataTable tbody tr:hover {
  background-color: #d8e8f9;
}

td[contenteditable="true"] {
  background-color: #f9f9f9;
  transition: background-color 0.2s ease;
}

td[contenteditable="true"]:focus {
  outline: 2px solid #4a90e2;
  background-color: #ffffff;
}

table.dataTable {
  border-collapse: collapse;
  width: 100%;
  font-family: sans-serif;
  font-size: 0.95rem;
}

table.dataTable thead th {
  background-color: #eaeaea;
  border-bottom: 2px solid #ccc;
  padding: 8px;
}

table.dataTable thead input {
  width: 100%;
  box-sizing: border-box;
  padding: 3px;
  font-size: 0.9rem;
}

.deleteBtn {
  color: red;
  font-size: 1.1rem;
}

/* Letzte Spalte im readonly-Modus ausblenden */
body:not([data-mode="rw"]) td:last-child,
body:not([data-mode="rw"]) th:last-child {
  display: none;
}

table.dataTable tbody td:nth-child(5) {
  text-align: center !important;
}
