/* Zusätzliche Styles, die über Tailwind hinausgehen */
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }

.sidebar-link.active {
  background-color: #1e40af;
  color: white;
}
.sidebar-link:hover:not(.active) {
  background-color: #334155;
}

.card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
}

table.data-table th {
  background: #f1f5f9;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #475569;
  letter-spacing: 0.03em;
}
table.data-table td, table.data-table th {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
table.data-table tbody tr:hover {
  background: #f8fafc;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

input.form-input, select.form-input, textarea.form-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.875rem;
}
input.form-input:focus, select.form-input:focus, textarea.form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.spinner {
  border: 3px solid #e2e8f0;
  border-top: 3px solid #2563eb;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-sm {
  border: 2px solid #e2e8f0;
  border-top: 2px solid #2563eb;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.toast {
  animation: slideIn 0.25s ease-out;
}
@keyframes slideIn {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media print {
  .no-print { display: none !important; }
  body { background: white !important; }
}
