.buchhaltung { max-width: 800px; margin: 2rem auto; font-family: sans-serif; }

.buchhaltung-summary {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.summary-card {
  flex: 1;
  background: #f7f7f7;
  padding: 1rem;
  border-radius: .5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.summary-card h3 { margin-bottom: .5rem; font-size: 1rem; color: #333; }
.summary-card p  { font-size: 1.25rem; font-weight: bold; }

.buchhaltung-form {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}
.buchhaltung-form input,
.buchhaltung-form select,
.buchhaltung-form button {
  padding: .5rem;
  border: 1px solid #ccc;
  border-radius: .25rem;
}

.buchhaltung-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.buchhaltung-table th,
.buchhaltung-table td {
  padding: .5rem;
  border: 1px solid #ddd;
  text-align: left;
}
.type-einnahme { background: rgba(0,128,0,0.1); }
.type-ausgabe { background: rgba(255,0,0,0.1); }

/* Dashicon-Buttons */
.btn-delete,
.btn-edit {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  margin: 0 .3rem;
  color: #333;
  vertical-align: middle;
}
.btn-delete:hover { color: #a00; }
.btn-edit:hover   { color: #066; }

.buchhaltung-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.5);
  justify-content:center;
  align-items:center;
}
.buchhaltung-modal.show { display: flex; }
.buchhaltung-modal-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: .5rem;
  position: relative;
}
.buchhaltung-modal-close {
  position: absolute;
  top: .5rem; right: .75rem;
  cursor: pointer;
  font-size: 1.2rem;
}
