* {
    box-sizing: border-box;
}
body {
  font-family: Arial;
  background: #0f172a;
  color: white;
  padding: 30px;
}

h1 {
  color: orange;
  text-align: center;
}

.card {
  background: #1e293b;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}

#chart {
  width: 100%;
  height: 240px;
  display: block;
  border-radius: 12px;
  background: #0b1220;
}

.card canvas{
  max-width: 100%;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

input,
select,
button {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 16px;
  border-radius: 6px;
}

button {
  background: #10b981;
  border: none;
  cursor: pointer;
  line-height: normal;
}

.btn-delete {
  background: #ef4444;
  color: white;
}

.btn-delete:hover {
  background: #dc2626;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #334155;
}
/* Kennzahlen-Kachel */
.stats {
  padding: 28px;
}

/* Zeilenlayout */
.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(148,163,184,0.18);
}

.stat-row:last-child {
  border-bottom: none;
}

/* Label links */
.stat-label {
  color: rgba(226,232,240,0.75);
  font-size: 14px;
}

/* Wert rechts (hervorgehoben) */
.stat-value {
  font-weight: 700;
  font-size: 16px;
  color: #e2e8f0;
}

.grid > .card {
    display: flex;
    flex-direction: column;
}

