/* kleine Ergänzungen zu Tailwind */
body { font-feature-settings: "ss01"; }

.card {
  background: white;
  border: 1px solid #ececef;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 15, 20, 0.03), 0 1px 12px rgba(15, 15, 20, 0.04);
}
input[type=text], input[type=email], input[type=password], input[type=date],
input[type=number], input[type=tel], input[type=url], select, textarea {
  width: 100%;
  border: 1px solid #dcdce1;
  border-radius: 0.6rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  border-color: #6366f1;
}
label.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #52525b;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #6366f1, #4f46e5);
  color: white;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.15), 0 4px 12px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover { background: linear-gradient(180deg, #5457ee, #4338ca); }
.btn-secondary { background: #f4f4f5; color: #27272a; border-color: #e4e4e7; box-shadow: none; }
.btn-secondary:hover { background: #e4e4e7; }
.btn-danger { background: #fef2f2; color: #b91c1c; border-color: #fecaca; box-shadow: none; }
.btn-danger:hover { background: #fee2e2; }

table.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
table.data-table th { text-align: left; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #71717a; padding: 0.6rem 0.85rem; border-bottom: 1px solid #ececef; }
table.data-table td { padding: 0.7rem 0.85rem; border-bottom: 1px solid #f4f4f5; }
table.data-table tbody tr { transition: background-color 0.1s ease; }
table.data-table tbody tr:hover { background-color: #fafafa; }

.badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em; }
.badge-entwurf { background: #f4f4f5; color: #52525b; }
.badge-versendet { background: #e0e7ff; color: #4338ca; }
.badge-bezahlt { background: #dcfce7; color: #15803d; }
.badge-storniert { background: #fee2e2; color: #b91c1c; }
