/* Backup progress: scoped to the new card; existing controls stay unchanged. */
.bp-card { padding: 24px 28px 0; margin-bottom: 20px; overflow: hidden; }
.bp-heading, .bp-heading-title, .bp-mainline, .bp-footer, .bp-transfer-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bp-heading-title { justify-content: flex-start; gap: 12px; }
.bp-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; color: #347fbb; background: #eaf4fe; }
.bp-icon svg { width: 25px; height: 25px; }
.bp-heading h3 { font-size: 17px; margin: 0; }
.bp-heading p { margin: 4px 0 0; color: #718399; font-size: 12px; }
.bp-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; background: #e9f4ff; border-radius: 20px; font-size: 12px; color: #2875b2; white-space: nowrap; }
.bp-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bp-status.is-complete { background: #edf7f3; color: #278167; }
.bp-status.is-warn { background: #fff2e4; color: #a56a1b; }
.bp-mainline { margin-top: 26px; margin-bottom: 21px; }
.bp-mainline h4 { font-size: 20px; margin: 0 0 6px; }
.bp-mainline p { font-size: 12px; color: #718399; margin: 0; }
.bp-step-count { white-space: nowrap; color: #718399; font-size: 13px; }
.bp-step-count strong { color: #206ca6; font-size: 34px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bp-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 25px; }
.bp-step-track { display: block; height: 9px; background: #edf2f7; border-radius: 8px; position: relative; overflow: hidden; }
.bp-steps .is-done .bp-step-track { background: #63a4d6; }
.bp-steps .is-current .bp-step-track { background: #8abce2; }
.bp-steps .is-current .bp-step-track::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 0%, #3a8dcb 50%, transparent 100%); transform: translateX(-100%); animation: bp-flow 2.1s ease-in-out infinite; }
.bp-step-label { margin-top: 12px; color: #8795a5; display: flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; }
.bp-step-label b { font-size: 11px; display: grid; place-items: center; border-radius: 50%; width: 20px; height: 20px; background: #f0f4f8; font-weight: 500; }
.is-done .bp-step-label, .is-current .bp-step-label { color: #2b719f; }
.is-done .bp-step-label b { background: #eaf4fb; }
.is-current .bp-step-label { font-weight: 600; }
.is-current .bp-step-label b { background: #498fca; color: #fff; }
.bp-percent { white-space: nowrap; color: #347daf; }
.bp-percent strong { font-size: 34px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bp-percent span { font-size: 15px; margin-left: 4px; }
.bp-transfer-track { height: 12px; background: #edf2f7; border-radius: 10px; overflow: hidden; }
.bp-transfer-fill { height: 100%; display: block; border-radius: inherit; background: repeating-linear-gradient(115deg, #579bd1 0, #579bd1 12px, #6eaddc 12px, #6eaddc 24px); background-size: 53px 100%; animation: bp-stripes 1.5s linear infinite; transition: width 1s ease; }
.bp-transfer-fill.is-complete { animation: none; background: #579bd1; }
.bp-transfer-fill.is-indeterminate { animation: bp-flow 2.1s ease-in-out infinite; }
.bp-transfer-caption { font-size: 12px; color: #718399; margin: 13px 0 25px; }
.bp-transfer-caption strong { color: #285575; font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-divider { margin: 0 7px; color: #b2bfca; }
.bp-footer { padding: 14px 0; border-top: 1px solid #e6eef6; font-size: 12px; color: #718399; }
.bp-footer strong { color: #345d7d; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.bp-dot { margin: 0 8px; color: #b2bfca; }
.bp-checkmark { color: #4c8c77; }
.bp-failed .bp-step-track::after, .bp-failed .bp-transfer-fill { animation: none !important; }
@keyframes bp-flow { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes bp-stripes { to { background-position: 53px 0; } }
@media (max-width: 760px) {
  .bp-card { padding: 18px 16px 0; margin-bottom: 16px; }
  .bp-icon { width: 38px; height: 38px; border-radius: 11px; }
  .bp-heading h3 { font-size: 16px; }
  .bp-heading p { font-size: 11px; }
  .bp-heading-title { gap: 9px; }
  .bp-mainline { margin-top: 22px; margin-bottom: 18px; gap: 8px; }
  .bp-mainline h4 { font-size: 17px; }
  .bp-mainline p { font-size: 11px; line-height: 1.5; max-width: 185px; }
  .bp-step-count { font-size: 11px; }
  .bp-step-count strong, .bp-percent strong { font-size: 28px; }
  .bp-steps { gap: 5px; margin-bottom: 21px; }
  .bp-step-track { height: 7px; }
  .bp-step-label { flex-direction: column; gap: 6px; font-size: 10px; margin-top: 10px; }
  .bp-step-label b { width: 18px; height: 18px; }
  .bp-footer { font-size: 11px; gap: 8px; padding: 12px 0; }
  .bp-footer strong { font-size: 11px; }
  .bp-dot { margin: 0 5px; }
  .bp-transfer-caption { font-size: 11px; align-items: flex-start; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
  .backup-heading-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-step-track::after, .bp-transfer-fill { animation: none !important; transition: none !important; }
}

.bp-stale .bp-step-track::after, .bp-stale .bp-transfer-fill { animation: none !important; }
.bp-failure-detail { color: #a56a1b; font-size: 12px; overflow-wrap: anywhere; }
