/* Verwaltungsbereich – ergänzt assets/css/style.css */
body.admin { padding-bottom: 0; font-size: 16px; }
.a-top { background: var(--navy); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px var(--gutter); }
.a-brand { color: #fff; font-weight: 800; text-decoration: none; }
.a-brand:hover { color: var(--accent-light); }
.a-top-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 15px; }
.a-top-right a { color: #fff; }
.a-user { color: #CBD5E1; }
.a-linkbtn { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; padding: 6px 0; font-size: inherit; }
.a-top .a-linkbtn { color: #fff; }
.a-danger { color: var(--bad) !important; }
.a-layout { display: flex; flex-wrap: wrap; align-items: flex-start; min-height: calc(100vh - 60px); }
.a-side { flex: 0 0 240px; background: #fff; border-right: 1px solid var(--line); padding: 16px 12px 32px; align-self: stretch; }
.a-side ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.a-side a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.a-side a:hover { background: var(--soft); }
.a-side a[aria-current="page"] { background: var(--navy); color: #fff; }
.a-side-h { margin: 18px 12px 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.a-count { background: var(--bad); color: #fff; border-radius: 999px; font-size: 12px; padding: 1px 8px; }
.a-main { flex: 1 1 600px; min-width: 0; padding: 28px var(--gutter) 64px; display: flex; flex-direction: column; gap: 18px; max-width: 1200px; }
.a-h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.a-h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.a-intro { color: var(--text-2); max-width: 820px; }
.a-empty { background: #fff; border: 1px dashed var(--line-2); border-radius: 16px; padding: 18px; color: var(--muted); }
.a-muted { color: var(--muted); font-size: 14px; }
.a-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.a-form { display: flex; flex-direction: column; gap: 16px; }
.a-form .a-card { display: flex; flex-direction: column; gap: 14px; }
.a-login { max-width: 420px; }
.a-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: start; }
.a-span { grid-column: 1 / -1; }
.a-field { display: flex; flex-direction: column; gap: 6px; }
.a-field label { font-weight: 700; font-size: 15px; }
.a-field input[type="text"], .a-field input[type="url"], .a-field input[type="number"], .a-field input[type="password"],
.a-field input[type="date"], .a-field input[type="datetime-local"], .a-field select, .a-field textarea {
  font: inherit; padding: 10px 12px; min-height: 44px; border: 1.5px solid #94A3B8; border-radius: 10px; background: #F8FAFC; color: var(--ink); width: 100%;
}
.a-field textarea { resize: vertical; }
.a-field input:focus, .a-field select:focus, .a-field textarea:focus { border-color: var(--accent); background: #fff; }
.a-hint { font-size: 13px; color: var(--muted); }
.a-check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.a-check input { width: 20px; height: 20px; accent-color: var(--accent); }
fieldset { margin: 0; min-width: 0; }
.a-i18n, .a-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.a-i18n legend, .a-box legend, .a-inline legend { font-weight: 800; padding: 0 6px; }
.a-inline { border: 0; border-bottom: 1px solid #EEF2F6; padding: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.a-inline legend { float: left; width: 100%; padding: 0 0 6px; }
.a-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.a-radio { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; cursor: pointer; min-height: 40px; }
.a-radio input { width: 18px; height: 18px; margin: 0; }
.a-radio-ok:has(input:checked) { background: var(--ok-bg); border-color: var(--ok); color: var(--ok-text); }
.a-radio-bad:has(input:checked) { background: var(--bad-bg); border-color: var(--bad); color: var(--bad-text); }
.a-radio-ok input { accent-color: var(--ok); } .a-radio-bad input { accent-color: var(--bad); }
details summary { cursor: pointer; font-weight: 600; color: var(--accent-dark); padding: 4px 0; }
details[open] > .a-field { margin-top: 8px; }
.a-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.a-actions form { margin: 0; }
.a-sticky-actions { position: sticky; bottom: 0; background: rgba(245,247,250,.96); padding: 12px 0; display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); z-index: 5; }
.a-flash { border-radius: 12px; padding: 12px 16px; font-weight: 600; border: 1px solid; }
.a-flash ul { margin: 6px 0 0 18px; font-weight: 500; }
.a-flash-ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-text); }
.a-flash-err { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad-text); }
.a-flash-info { background: var(--info-bg); border-color: var(--info-line); color: var(--info-text); }
.a-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.a-table { width: 100%; font-size: 15px; }
.a-table th, .a-table td { padding: 10px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid #EEF2F6; }
.a-table thead th { background: var(--soft); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.a-table tbody tr:hover { background: #FAFBFD; }
.a-table tr:last-child td { border-bottom: 0; }
.a-unread td { font-weight: 700; }
.a-row-actions { white-space: nowrap; text-align: right !important; }
.a-row-actions > * { display: inline-block; margin-left: 12px; }
.a-row-actions form { margin: 0 0 0 14px; }
.a-thumb { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; }
.a-current { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.a-current img { max-width: 220px; max-height: 120px; border-radius: 8px; border: 1px solid var(--line); }
.a-stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.a-stat { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.a-stat:hover { border-color: var(--accent); color: var(--ink); }
.a-stat-n { font-size: 30px; font-weight: 800; color: var(--navy); }
.a-message { background: var(--soft); border-radius: 12px; padding: 16px; margin: 16px 0; white-space: normal; }
@media (max-width: 800px) {
  .a-side { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .a-side ul { flex-direction: row; flex-wrap: wrap; }
  .a-side-h { width: 100%; margin: 10px 4px 4px; }
}
