/* === Gemeinsame Navigation === */
.navbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar .spacer {
  flex: 1;
}

/* === Logout Button (EXAKT EIN STYLE) === */
.nav-logout {
  appearance: none;
  border: 1px solid #d1d5db;
  background: linear-gradient(#ffffff, #f3f4f6);
  color: #111827;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.nav-logout:hover {
  background: #f9fafb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav-logout:active {
  transform: translateY(1px);
}
/* ===== Standard Business Tabelle ===== */

.table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.table th {
  background-color: #f4f6f8;
  border-bottom: 2px solid #d0d7de;
  padding: 10px;
  text-align: left;
  font-weight: 600;
}

.table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e6e6e6;
}

/* Zebra Effekt */
.table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* Hover Effekt */
.table tbody tr:hover {
  background-color: #eef5ff;
}

/* Optional: Öffnen Button schöner */
.table a {
  text-decoration: none;
  color: #0066cc;
  font-weight: 500;
}

.table a:hover {
  text-decoration: underline;
}
/* ===== Tabellen PRO Style ===== */

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d0d7de;
}

.table th {
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  padding: 10px;
}

.table td {
  border: 1px solid #e1e4e8;
  padding: 9px 10px;
}

/* Zebra */
.table tbody tr:nth-child(even) {
  background: #fafbfc;
}

/* Hover */
.table tbody tr:hover {
  background: #eef5ff;
}

/* Anklickbare Zeile */
.table tbody tr.clickable {
  cursor: pointer;
}

/* MARKIERTES Projekt */
.table tbody tr.selected {
  background: #dbeafe !important;
  border-left: 4px solid #2563eb;
}

/* Deutliches Hover-Highlight */
.table tbody tr.clickable:hover {
  background: #e6f0ff;
  box-shadow: inset 3px 0 0 #2563eb;
}

/* Hover-Vormarkierung für klickbare Tabellenzeilen */
.table tbody tr.clickable:hover {
  background: #e6f0ff !important;
  box-shadow: inset 4px 0 0 #2563eb !important;
}

/* Rechnung-Markierung (global, server gespeichert) */
tr.invoice-marked {
  background: #c9f7c9 !important;
}
tr.invoice-marked td {
  background: transparent;
}
.invoice-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
