.operation-progress {
  width: min(430px, calc(100vw - 40px));
  box-sizing: border-box;
  border: 0;
  border-radius: 18px;
  padding: 30px;
  color: #173252;
  background: #fff;
  box-shadow: 0 24px 80px #0c1b3155;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
}
.operation-progress::backdrop { background: #0c1b3188; }
.operation-progress__symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 28px;
  font-weight: 700;
}
.operation-progress h2 { margin: 0 0 12px; font-size: 22px; }
.operation-progress__message { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.operation-progress__track { height: 12px; margin-top: 22px; border-radius: 12px; background: #e8eef6; overflow: hidden; }
.operation-progress__track i { display: block; height: 100%; width: 0; border-radius: inherit; background: #2563eb; transition: width .2s ease; }
.operation-progress__percent { display: block; margin: 12px 0; font-size: 26px; }
.operation-progress__estimate { color: #64748b; font-size: 12px; line-height: 1.5; }
.operation-progress .primary-button { width: 100%; margin-top: 15px; }
.operation-progress [hidden] { display: none !important; }
.operation-progress.is-success .operation-progress__symbol { color: #15803d; background: #dcfce7; }
.operation-progress.is-success .operation-progress__track i { background: #16a34a; }
.operation-progress.is-error .operation-progress__symbol { color: #b91c1c; background: #fee2e2; }
.operation-progress.is-error .operation-progress__track i { background: #dc2626; }
@media (prefers-reduced-motion: reduce) {
  .operation-progress__track i { transition: none; }
}
