/* ============================================================
 *  Peerly — Upload Progress
 *  v2.0.0 — Material 3 (Linear Progress Indicator)
 * ============================================================ */

.upload-progress-bubble {
  max-width: 340px;
  padding: 12px 14px;
  opacity: 0.95;
}

.upload-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.upload-icon {
  font-size: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  color: var(--md-on-surface-variant);
}
.upload-icon i { line-height: 1; }
.upload-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.upload-name {
  font-size: var(--md-body-small-size);
  line-height: var(--md-body-small-line);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upload-size {
  font-size: var(--md-label-small-size);
  line-height: var(--md-label-small-line);
  opacity: 0.7;
}

.upload-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(208, 188, 255, 0.2);
  border-radius: var(--md-shape-full);
  overflow: hidden;
}
.upload-progress-fill {
  height: 100%;
  background: var(--md-primary);
  border-radius: var(--md-shape-full);
  transition: width var(--md-transition-fast);
}

.upload-progress-pct {
  display: block;
  text-align: right;
  font-family: var(--md-font-family);
  font-size: var(--md-label-small-size);
  line-height: var(--md-label-small-line);
  font-weight: 500;
  margin-top: 4px;
  opacity: 0.9;
}