* { box-sizing: border-box; }
body { font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; margin: 0; background: #0f1115; color: #e8e9ee; }
a { color: #8ab4ff; text-decoration: none; }
a:hover { text-decoration: underline; }
header { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: #161922; border-bottom: 1px solid #232634; }
.brand { font-weight: 700; }
nav a { margin-left: 16px; color: #c5c8d4; }
nav a.logout { color: #ff7676; }
main { padding: 24px; max-width: 1400px; margin: 0 auto; }
h1 { margin-top: 0; }
input, select, textarea, button {
  font: inherit; border-radius: 6px; border: 1px solid #2c3040;
  background: #1b1e2a; color: #e8e9ee; padding: 8px 10px;
}
textarea { width: 100%; font-family: ui-monospace, Menlo, monospace; }
button { cursor: pointer; background: #2c3247; border-color: #3a4060; }
button:hover { filter: brightness(1.15); }
button.primary { background: #3a6dff; border-color: #3a6dff; color: white; }
button.danger { background: #5a1c1c; border-color: #7a2a2a; color: #ffd0d0; padding: 4px 8px; }
button.ok { background: #1f5a32; border-color: #2c7a48; }
button.warn { background: #5a3a1c; border-color: #b6892b; color: #ffe7b3; }
button.on { background: #1f5a32; border-color: #2c7a48; }
button.off { background: #5a3a1c; border-color: #7a5a2a; }
.summary { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.summary .card { background: #161922; padding: 12px 16px; border-radius: 8px; min-width: 140px; border: 1px solid #232634; }
.summary .card span { display: block; color: #8a8f9e; font-size: 12px; }
.summary .card strong { font-size: 22px; }
.summary .card.ok { border-left: 4px solid #2c7a48; }
.summary .card.warn { border-left: 4px solid #b6892b; }
.summary .card.mute { opacity: 0.7; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.actions form.search { display: flex; gap: 8px; }
table.bookings { width: 100%; border-collapse: collapse; background: #131622; border-radius: 8px; overflow: hidden; }
table.bookings th, table.bookings td { padding: 10px; border-bottom: 1px solid #232634; text-align: left; vertical-align: middle; font-size: 14px; }
table.bookings th { background: #1a1e2a; font-weight: 600; }
table.bookings tr.status-bezahlt { background: rgba(44, 122, 72, 0.12); }
table.bookings tr.status-abwarten { background: rgba(120, 120, 220, 0.10); }
table.bookings tr.status-storniert { opacity: 0.6; }
table.bookings tr.status-error { background: rgba(180, 40, 40, 0.18); }
.actions-cell { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
form.inline { display: inline-flex; gap: 4px; align-items: center; margin: 0; }
.empty { text-align: center; color: #8a8f9e; padding: 30px; }
fieldset { border: 1px solid #232634; border-radius: 8px; margin-bottom: 18px; padding: 14px; }
fieldset legend { padding: 0 6px; color: #8ab4ff; }
fieldset label { display: block; margin-top: 10px; color: #c5c8d4; font-size: 13px; }
fieldset input[type=text] { width: 100%; }
.info { padding: 12px; border-radius: 6px; background: #1f3a5a; margin: 12px 0; }
.info.ok { background: #1f5a32; }
.error { color: #ff8080; margin-top: 8px; }
.hint { color: #8a8f9e; font-size: 13px; margin-top: 8px; }
.centered { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-card { background: #161922; padding: 32px; border-radius: 12px; min-width: 320px; border: 1px solid #232634; display: flex; flex-direction: column; gap: 12px; }
.login-card h1 { margin: 0; }
.login-card p { margin: 0 0 8px; color: #8a8f9e; }
code { background: #1b1e2a; padding: 1px 6px; border-radius: 4px; }
