body{font-family:Arial,sans-serif;background:#101010;color:#f1f1f1;margin:0;padding:20px}
a{color:#8ec5ff}
.card{max-width:980px;margin:0 auto 20px auto;background:#1b1b1b;border:1px solid #404040;border-radius:16px;padding:20px;box-shadow:0 0 18px rgba(0,0,0,.2)}
.auth-card{max-width:480px}
h1,h2{margin-top:0}
label{display:block;margin:12px 0 6px;font-weight:bold}
input,button{box-sizing:border-box}
input{width:100%;padding:11px;border-radius:10px;border:1px solid #555;background:#282828;color:#fff}
button,.btn{display:inline-block;margin-top:14px;background:#c60000;color:#fff;border:0;border-radius:10px;padding:11px 15px;text-decoration:none;cursor:pointer}
button:hover,.btn:hover{background:#a80000}
.alert{max-width:980px;margin:0 auto 20px auto;padding:12px;border-radius:12px}
.alert.error{background:#4b1414;border:1px solid #a93e3e}
.alert.success{background:#153c1a;border:1px solid #2f8a3a}
.admin-wrap{max-width:1200px;margin:0 auto}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1200px;margin:0 auto 20px auto}
pre{white-space:pre-wrap;background:#0f0f0f;border:1px solid #333;padding:12px;border-radius:12px;overflow:auto}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{border:1px solid #3c3c3c;padding:10px;text-align:left;vertical-align:top}
th{background:#242424}
.inline-form{display:flex;flex-wrap:wrap;gap:8px}
code{background:#242424;padding:2px 6px;border-radius:6px}
@media (max-width:800px){.grid-2{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}}
.table-wrap{width:100%;overflow:auto}
textarea{width:100%;padding:11px;border-radius:10px;border:1px solid #555;background:#282828;color:#fff;box-sizing:border-box;min-height:90px;resize:vertical}

/* Kompakter nur fuer Login/Registrierung */
body.auth-page{padding:4px !important;font-size:11px !important}
body.auth-page .card.auth-card, body.auth-page .auth-card{max-width:300px !important;padding:8px 10px !important;border-radius:10px !important;margin:8px auto !important}
body.auth-page h1{font-size:18px !important;margin:0 0 6px !important}
body.auth-page label{margin:5px 0 2px !important;font-size:12px !important}
body.auth-page input{padding:5px 7px !important;border-radius:6px !important;font-size:12px !important}
body.auth-page button,body.auth-page .btn{margin-top:6px !important;padding:6px 8px !important;border-radius:6px !important;font-size:12px !important}
body.auth-page p{margin:6px 0 0 !important;font-size:12px !important}
body.auth-page .alert{max-width:300px !important;margin:0 auto 8px auto !important;padding:6px !important;border-radius:8px !important;font-size:13px !important}

button.btn-green,.btn-green{background:#0f8f2f !important;color:#fff !important}
button.btn-green:hover,.btn-green:hover{background:#13a738 !important}
button.btn-red,.btn-red{background:#b30000 !important;color:#fff !important}
button.btn-red:hover,.btn-red:hover{background:#d00000 !important}
.alert.success{background:#124c20;color:#fff}
.button-link{display:inline-block;padding:10px 14px;border-radius:8px;background:#8b0000;color:#fff;text-decoration:none;margin-right:8px}
.button-link:hover{background:#a00000}
.danger-link{background:#444}
.danger-link:hover{background:#555}

.protection-card{max-width:700px;text-align:center}
.protection-card p{margin:0 0 12px}
.protection-form{max-width:520px;margin:0 auto}
.protection-form label{text-align:center}
