/* Navigationslinks */
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.15s, color 0.15s;
  border-right: 2px solid transparent;
}
.nav-link:hover {
  background-color: #f3f4f6;
  color: #111827;
}
.nav-link.active {
  background-color: #eff6ff;
  color: #1d4ed8;
  border-right-color: #2563eb;
  font-weight: 500;
}

/* Abschnittstitel */
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

/* Eingabefelder */
.input-field {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
  background: white;
  color: #1f2937;
}
.input-field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
textarea.input-field {
  resize: vertical;
}

/* Buttons */
.btn-primary {
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background-color: #1d4ed8; }
.btn-primary:active { background-color: #1e40af; }

.btn-secondary {
  background-color: #f3f4f6;
  color: #374151;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid #d1d5db;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.15s;
  white-space: nowrap;
}
.btn-secondary:hover { background-color: #e5e7eb; }

.btn-success {
  background-color: #16a34a;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.15s;
  white-space: nowrap;
}
.btn-success:hover { background-color: #15803d; }

.btn-danger {
  background-color: transparent;
  color: #ef4444;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn-danger:hover {
  background-color: #fee2e2;
  color: #b91c1c;
}

/* Statistik-Karten */
.stat-card {
  border-radius: 0.5rem;
  border: 1px solid;
  padding: 1rem;
  text-align: center;
}

/* Toast-Benachrichtigungen */
.toast {
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  animation: slideIn 0.2s ease-out;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(1rem); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Listenzeilen */
.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1rem;
  border-bottom: 1px solid #f3f4f6;
}
.email-row:last-child { border-bottom: none; }
.email-row:hover { background-color: #f9fafb; }

/* Scrollbare Container */
.scroll-list {
  max-height: 24rem;
  overflow-y: auto;
}

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
}
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-red    { background: #fee2e2; color: #b91c1c; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-green  { background: #dcfce7; color: #15803d; }
.badge-gray   { background: #f3f4f6; color: #4b5563; }
