
/* assets/css/style.css - dunkles UI */
:root{--bg:#0f1424;--bg-alt:#141a2e;--panel:#1b2240;--text:#e6e8f0;--muted:#9aa3b2;--primary:#4da3ff;--green:#4dd28a;--yellow:#ffc857;--danger:#ff5a5a;--border:#2a3458}
*{box-sizing:border-box}body.dark{background:linear-gradient(180deg,#0b1020,#11162a);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;margin:0}
.layout{display:grid;grid-template-columns:260px 1fr 320px;min-height:100vh}
.sidebar{background:var(--bg-alt);border-right:1px solid var(--border);padding:20px}
.sidebar .brand{font-weight:700;margin-bottom:16px}
.sidebar nav a{display:block;color:var(--text);text-decoration:none;padding:10px;border-radius:8px;margin-bottom:6px}
.sidebar nav a.active,.sidebar nav a:hover{background:var(--panel)}
.sidebar .btn.block{display:block;text-align:center;background:var(--primary);color:#091224;padding:10px;border-radius:8px;font-weight:600}
.content{padding:24px}.content-header{display:flex;justify-content:flex-end;margin-bottom:16px}
.searchbar{display:flex;gap:8px}.searchbar input,.searchbar select{background:var(--bg-alt);border:1px solid var(--border);color:var(--text);padding:10px;border-radius:8px}
.searchbar .btn{background:var(--panel);color:var(--text);border:1px solid var(--border);padding:10px 12px;border-radius:8px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.card{background:var(--panel);border:1px solid var(--border);border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.card-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid var(--border)}
.card-body{padding:16px}.card-actions{padding:16px;border-top:1px solid var(--border)}
.badge{background:var(--bg-alt);color:var(--text);padding:6px 10px;border-radius:999px;border:1px solid var(--border);font-size:.85rem}
.ticket-card.status-offen .badge{background:rgba(77,210,138,.15);color:var(--green)}
.ticket-card.status-in-bearbeitung .badge{background:rgba(255,200,87,.15);color:var(--yellow)}
.ticket-card.status-erledigt .badge{background:rgba(77,210,138,.15);color:var(--green)}
.meta{display:flex;gap:16px;color:var(--muted);font-size:.9rem}
.rightbar{background:var(--bg-alt);border-left:1px solid var(--border);padding:20px}
.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:16px}
.stats{list-style:none;margin:0;padding:0}.stats li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed var(--border)}.stats li:last-child{border-bottom:none}
.form{display:flex;flex-direction:column;gap:10px}
.form input,.form textarea,.form select{background:var(--bg-alt);border:1px solid var(--border);color:var(--text);padding:10px;border-radius:8px}
.btn{display:inline-block;background:var(--bg-alt);color:var(--text);border:1px solid var(--border);padding:10px 12px;border-radius:8px;text-decoration:none}
.btn.primary{background:var(--primary);color:#091224;border:none}.btn.danger{background:var(--danger);color:#131a2b;border:none}
.alert{padding:10px;border-radius:8px}
.alert-error{background:rgba(255,90,90,.15);border:1px solid #ff7a7a;color:#ffd0d0}
.login-container{max-width:420px;margin:10vh auto;background:var(--panel);padding:24px;border:1px solid var(--border);border-radius:12px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.muted{color:var(--muted)}.sep{height:1px;background:var(--border);margin:12px 0}.actions{display:flex;gap:8px}
