/* Grundlayout */
body {
  background: #121212;
  color: #ffffff;
  font-family: 'Satoshi', 'Poppins', sans-serif;
  margin: 0;
  padding: 2rem;
}

/* Formular-Elemente */
input, button, select {
  background: #1e1e1e;
  color: white;
  border: 1px solid #333;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  font-family: inherit;
  transition: background 0.3s ease, border-color 0.3s ease;
}

input:focus, select:focus, button:focus {
  outline: none;
  border-color: #b11b78;
}

/* Tabelle */
table {
  border-collapse: collapse;
  width: 100%;
  background-color: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1rem;
}

th, td {
  padding: 0.75rem 1rem;
  border: 1px solid #333;
  text-align: center;
}

th {
  background-color: #1f1f1f;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

tbody tr:hover {
  background-color: #262626;
}

tfoot td {
  background-color: #1c1c1c;
  font-weight: bold;
}

/* Links */
a, a:active {
  color: #b11b78;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #e43798;
  text-decoration: underline;
}

/* Spezifisch für erste Spalte (Kundennamen) */
td:first-child a,
td:first-child a:visited,
td:first-child a:active {
  color: #b11b78;
  font-weight: 600;
}

/* Header / Branding */
header {
  background-color: transparent;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}

header .logo-container img {
  height: 50px;
  width: auto;
}

/* Überschriften */
h1, h2 {
  font-weight: 600;
  margin: 1rem 0;
  color: #ffffff;
}

/* Buttons */
button {
  background-color: #b11b78;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #a0176e;
}

/* Navigationsleiste */
.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.main-nav a.nav-button {
  background-color: #1f1f1f;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease;
  display: flex;
  align-items: center; /* wichtig für vertikale Zentrierung */
}

.main-nav a.nav-button:hover {
  background-color: #2a2a2a;
  color: #b11b78;
}

.main-nav a.nav-button.active {
  background-color: #b11b78;
  color: white;
}

.dropdown {
  position: relative;
  display: flex; /* damit Höhe & Ausrichtung wie bei anderen Buttons */
  align-items: center;
}

.dropdown > a.nav-button {
  display: flex;
  align-items: center;
}

.dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1f1f1f;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  z-index: 1;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

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

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: #fff;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid #333;
}

.dropdown-content a:hover {
  background-color: #2a2a2a;
  color: #b11b78;
}