/* Dodatki do style.css dla panelu administracyjnego */
.admin-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pane { margin-top: 6px; }
.panel h3 { font-size: 18px; margin: 0 0 10px; }
.muted { color: var(--muted); }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.out { margin-top: 14px; font-size: 14px; }
.out ul { color: var(--muted); font-size: 13px; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.btn:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }
.otp-one { font-family: var(--mono) !important; font-size: 26px !important; letter-spacing: .4em; text-align: center; }
.qr { background: #fff; padding: 14px; border-radius: 12px; width: max-content; margin: 0 auto 16px; }
.qr img, .qr canvas { display: block; }
.setup-done { padding: 26px; }
.setup-done h3 { margin-top: 18px; }
.setup-done pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; overflow-x: auto; font-family: var(--mono); font-size: 13px; white-space: pre-wrap; word-break: break-all; }
.st .chip { padding: 2px 10px; margin-left: 6px; font-size: 12px; }

.logout-form { margin: 0 0 0 8px; }
.logout-form .btn-ghost { background: none; color: var(--text); cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; }

/* tabela zdjęć magnesów */
.tbl-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.tbl-tools .search { flex: 1 1 280px; }
.tbl-tools .chip b { font-family: var(--mono); font-weight: 500; opacity: .75; }
.tbl-wrap { padding: 0; max-height: 70vh; overflow: auto; }
.mtable { width: 100%; border-collapse: collapse; }
.mtable thead th { position: sticky; top: 0; z-index: 1; background: var(--card); }
.mtable td { vertical-align: middle; padding: 8px 12px; }
.mtable img, .mtable .ph-empty { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; display: grid; place-items: center; background: var(--bg-2); font-size: 11px; color: var(--muted); font-family: var(--mono); }
.mtable td b { display: block; font-weight: 600; max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtable td small { color: var(--muted); font-size: 12.5px; }
.mtable tr.nofoto { background: color-mix(in srgb, var(--brzydki) 6%, transparent); }
.mtable tbody tr { cursor: default; }
.btn.sm { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
.bulk { margin-top: 22px; }
.bulk summary { cursor: pointer; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 700px) { .mtable th:nth-child(4), .mtable td:nth-child(4) { display: none; } .mtable td b { max-width: 180px; } }
