/* Progress of a direct upload (shared/_upload_progress), used by the TV upload forms. */

.upload-progress {
  display: grid;
  gap: 0.4rem;
}

.upload-progress__track {
  height: 0.6rem;
  border-radius: 999px;
  background: rgb(127 127 127 / 0.25);
  overflow: hidden;
}

.upload-progress__bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ff2800;
  transition: width 0.2s linear;
}

.upload-progress__status {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.upload-progress__hint {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.upload-progress--failed .upload-progress__bar {
  background: #888;
}

.form .upload-progress {
  max-width: 28rem;
  margin-top: 1rem;
}
