/* static/admin.css */ .form-error { margin: 0 0 1rem; padding: .5rem .75rem; color: var(--text); background: var(--surface); border: 1px solid #d14343; border-radius: 8px; font-size: .95rem; } .admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; } .admin-head h2 { margin: 0; } .admin-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; } .admin-actions form { margin: 0; } .button { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; color: var(--accent-text); background: var(--accent); border-radius: 6px; text-decoration: none; } button.secondary { min-height: 2.75rem; color: var(--text); background: transparent; border-color: var(--border); } .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .75rem; margin-bottom: 1.5rem; } .stat { display: flex; flex-direction: column; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; } .stat-value { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; } .stat-label { color: var(--muted); font-size: .9rem; } .table-wrap { overflow-x: auto; margin-bottom: 1rem; } table { width: 100%; border-collapse: collapse; } th, td { padding: .5rem .75rem; text-align: left; border-bottom: 1px solid var(--border); } th { color: var(--muted); font-size: .85rem; font-weight: 600; white-space: nowrap; } td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; } .person { margin-bottom: .5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; } .person summary { padding: .75rem 1rem; cursor: pointer; font-weight: 600; } .person .table-wrap { margin: 0; padding: 0 .5rem .5rem; } .muted, .empty { color: var(--muted); font-weight: 400; } .form label { display: block; margin-bottom: .25rem; margin-top: 1rem; font-size: .9rem; color: var(--muted); } .form input, .form button { width: 100%; font-size: 1rem; /* mind. 16px, sonst zoomt iOS beim Fokussieren hinein */ min-height: 2.75rem; /* gut mit dem Daumen treffbar */ } .form button { margin-top: 1rem; } .file-upload { display: flex; align-items: center; gap: 0.75rem; position: relative; } /* Das echte Input bleibt für Tastatur und Screenreader erreichbar, ist aber unsichtbar */ .file-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; } .file-button { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); cursor: pointer; font: inherit; transition: background 0.15s, border-color 0.15s; } .file-name { color: var(--text); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }