/* Nabdi v1.8.0 — Backup Center */
.backup-page-head{align-items:flex-end;gap:24px}.backup-page-head .eyebrow{font-size:.78rem;font-weight:800;color:var(--brand-primary);margin-bottom:5px}.backup-primary-actions{display:flex;gap:10px;flex-wrap:wrap}.backup-create-form{margin:0}.backup-create-form button{min-height:56px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;padding:10px 18px}.backup-create-form button small{font-size:.68rem;font-weight:500;opacity:.72}.backup-create-form button.is-busy{opacity:.72;cursor:wait;pointer-events:none}
.backup-flash{display:flex;gap:10px;align-items:center;border-radius:12px;padding:12px 15px;margin:0 0 16px;border:1px solid}.backup-flash.success{background:#ecfdf3;color:#067647;border-color:#abefc6}.backup-flash.error{background:#fff1f0;color:#b42318;border-color:#fecdca}.backup-flash strong{white-space:nowrap}
.backup-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.backup-stat{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;min-height:108px;display:flex;flex-direction:column;gap:5px;box-shadow:0 1px 2px rgba(16,24,40,.02)}.backup-stat>span{font-size:.78rem;color:var(--muted);font-weight:700}.backup-stat>strong{font-size:1.32rem;color:var(--brand-dark);overflow-wrap:anywhere}.backup-stat>small{color:var(--muted)}
.backup-info-banner{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.backup-info-banner>div{border:1px solid #cae8e5;background:#f5fcfb;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}.backup-info-banner strong{color:#087f75}.backup-info-banner span{font-size:.82rem;color:#475467;line-height:1.8}.backup-info-banner code,.backup-security-note code{direction:ltr;display:inline-block}
.backup-history-card,.backup-policy-card{overflow:hidden}.backup-table-scroll{overflow:auto;max-width:100%;border:1px solid var(--border);border-radius:12px}.backup-table{min-width:1260px;width:100%;border-collapse:collapse}.backup-table th,.backup-table td{position:static!important;top:auto!important;vertical-align:top;white-space:nowrap}.backup-table td small{display:block;color:var(--muted);font-size:.69rem;margin-top:4px}.backup-row.status-failed{background:#fffafa}.backup-row.status-running{background:#f7fbff}.backup-type,.backup-status,.integrity{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800;border:1px solid transparent}.backup-type.full{background:#eafbf7;color:#06776c}.backup-type.database{background:#eef4ff;color:#2952a3}.backup-status.completed,.integrity.verified{background:#ecfdf3;color:#067647;border-color:#abefc6}.backup-status.running{background:#eff8ff;color:#175cd3;border-color:#b2ddff}.backup-status.failed,.integrity.corrupt,.integrity.missing{background:#fff1f0;color:#b42318;border-color:#fecdca}.backup-status.deleted,.backup-status.pruned,.integrity.unchecked{background:#f2f4f7;color:#475467;border-color:#e4e7ec}.backup-error{max-width:260px;white-space:normal;color:#b42318!important;line-height:1.45}.checksum{font-size:.72rem;background:#f4f6f8;border:1px solid #eaecf0;border-radius:6px;padding:4px 6px;direction:ltr}.backup-actions{display:flex;gap:5px;align-items:center}.backup-actions form{margin:0}.btn.compact,button.compact{padding:6px 9px;min-height:auto;font-size:.74rem}.empty-state{padding:36px 16px;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--muted)}.empty-state strong{color:var(--brand-dark)}
.backup-policy-form{align-items:end}.backup-policy-form label small{display:block;color:var(--muted);font-weight:400;margin-top:5px}.backup-cron-box{background:#0d1f31;color:#d9f3ef;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px}.backup-cron-box strong{color:#fff}.backup-cron-box code{direction:ltr;text-align:left;display:block;background:#081725;color:#c7f7ed;border-radius:8px;padding:10px;overflow:auto;white-space:nowrap}.backup-cron-box span{font-size:.76rem;color:#9db3c4}.backup-security-note{margin-top:16px}
@media(max-width:1100px){.backup-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-info-banner{grid-template-columns:1fr}}@media(max-width:700px){.backup-page-head{align-items:stretch}.backup-primary-actions{flex-direction:column}.backup-primary-actions form,.backup-primary-actions button{width:100%}.backup-stats-grid{grid-template-columns:1fr 1fr}.backup-stat{min-height:96px}.backup-info-banner{grid-template-columns:1fr}}@media(max-width:480px){.backup-stats-grid{grid-template-columns:1fr}}
