:root{
  --bg:#0b0f16;
  --panel:#0f1623;
  --panel2:#111b2b;
  --text:#e9eef7;
  --muted:#a9b4c7;
  --line:#1c2a42;
  --accent:#7c5cff;
  --accent2:#00d4ff;
  --good:#2ee59d;
  --bad:#ff4d6d;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font: 14px/1.4 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(124,92,255,.25), transparent 55%),
              radial-gradient(900px 500px at 90% 0%, rgba(0,212,255,.18), transparent 55%),
              var(--bg);
}

a{color:inherit; text-decoration:none}
.app{max-width:1100px; margin:0 auto; padding:18px 14px 30px}
.topbar{
  display:flex; gap:14px; align-items:center; justify-content:space-between;
  padding:14px 14px;
  background: rgba(15,22,35,.75);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.brand{display:flex; gap:12px; align-items:center}
.logo{
  width:38px; height:38px; border-radius:14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px rgba(124,92,255,.28);
}
.brandname{font-weight:800; letter-spacing:.2px}
.brandsub{color:var(--muted); font-size:12px; margin-top:2px}

.tabs{
  display:flex; gap:8px; flex-wrap:wrap;
  margin-top:12px;
  padding:8px;
  background: rgba(15,22,35,.55);
  border:1px solid var(--line);
  border-radius:18px;
}
.tab{
  padding:9px 12px;
  border-radius:14px;
  color:var(--muted);
  border:1px solid transparent;
  transition: .15s ease;
}
.tab:hover{background: rgba(124,92,255,.08); color:var(--text)}
.tab.active{
  color:var(--text);
  background: rgba(124,92,255,.16);
  border-color: rgba(124,92,255,.25);
}

.content{margin-top:14px}
.grid{display:grid; gap:12px}
@media(min-width:900px){
  .grid.cols-3{grid-template-columns: 1.2fr .9fr .9fr}
  .grid.cols-2{grid-template-columns: 1fr 1fr}
}

.card{
  background: linear-gradient(180deg, rgba(15,22,35,.85), rgba(15,22,35,.65));
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:14px;
}
.card h2{margin:0 0 10px; font-size:14px; color:var(--muted); font-weight:700}
.kpi{font-size:26px; font-weight:900; letter-spacing:.2px}
.kpi small{font-size:13px; color:var(--muted); font-weight:700}
.row{display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between}
.muted{color:var(--muted)}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.btn{
  appearance:none; border:1px solid rgba(124,92,255,.35);
  background: rgba(124,92,255,.18);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
  transition:.15s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(124,92,255,.24)}
.btn.ghost{border-color: var(--line); background: rgba(255,255,255,.04)}
.btn.danger{border-color: rgba(255,77,109,.4); background: rgba(255,77,109,.14)}

input,select{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(10,14,22,.65);
  color:var(--text);
  outline:none;
}
label{display:block; margin:10px 0 6px; color:var(--muted); font-weight:700}
.formgrid{display:grid; gap:10px}
@media(min-width:900px){ .formgrid.two{grid-template-columns: 1fr 1fr} }

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 8px;
}
.table th{
  text-align:left;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  padding:0 10px;
}
.table td{
  padding:12px 10px;
  background: rgba(255,255,255,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.table tr td:first-child{border-left:1px solid var(--line); border-radius:14px 0 0 14px}
.table tr td:last-child{border-right:1px solid var(--line); border-radius:0 14px 14px 0}

.alert{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,212,255,.10);
  color:var(--text);
}
.footer{margin-top:14px; color:var(--muted); font-size:12px; text-align:center}

/* Mülltonne-Button */
.icon-btn{
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #ff4d6d;
  padding: 0 6px;
}
.icon-btn:hover{
  color: #ff7a8f;
}
