/* Upload and production dialogs share the same compact desktop layout. */
.job-meter-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 6px;
  font-size: 12px;
  color: #647081;
}
#job-percent {
  color: #455bc8;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
#job-progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 3px;
  appearance: none;
  background: #e8ebf2;
  color: #637af6;
  accent-color: #637af6;
}
#job-progress::-webkit-progress-bar { background: #e8ebf2; border-radius: 3px; }
#job-progress::-webkit-progress-value { background: #637af6; border-radius: 3px; }
#job-progress::-moz-progress-bar { background: #637af6; border-radius: 3px; }
#job-steps { margin: 14px 0; }
#job-steps li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 41px;
  padding: 8px 12px 8px 47px;
  border-radius: 9px;
  font-size: 14px;
  color: #647081;
}
#job-steps li::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 19px;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 1.5px solid #c1c9d7;
  border-radius: 50%;
  background: white;
  transform: translateY(-50%);
  box-sizing: border-box;
}
#job-steps li::after {
  content: "";
  position: absolute;
  left: 23.5px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #d2d9e5;
  z-index: 0;
}
#job-steps .done { color: #303847; }
#job-steps .done::before {
  content: "✓";
  display: grid;
  place-content: center;
  left: 18px;
  width: 13px;
  height: 13px;
  border: 0;
  background: #637af6;
  color: white;
  font: 700 9px/1 system-ui, sans-serif;
}
#job-steps li:first-child::after { top: 50%; height: 50%; }
#job-steps li:last-child::after { height: 50%; }
#job-steps .done::after { background: #637af6; }
#job-steps .current:not(:first-child)::after { background: linear-gradient(#637af6 50%, #d2d9e5 50%); }
#job-steps .current { background: #eff2ff; color: #222c3b; }
#job-steps .current::before {
  left: 17px;
  width: 15px;
  height: 15px;
  border: 2px solid #637af6;
  background: radial-gradient(circle, #637af6 2.5px, white 3px);
}

#upload-dialog .photo-picker {
  align-content: center;
  gap: 5px;
  min-height: 104px;
  background: #fafbfe;
  color: #273348;
  border: 1.5px dashed #a8b6ce;
  border-radius: 13px;
  box-shadow: none;
  transform: none;
}
#upload-dialog .photo-picker:hover { border-color: #788ab0; }
#upload-dialog .photo-picker.dragging {
  border-color: #536ee4;
  background: #eef2ff;
  color: #364dbd;
}
.photo-picker .picker-drag, .photo-picker.dragging .picker-idle { display: none; }
.photo-picker.dragging .picker-drag { display: block; }
#upload-dialog .photo-picker svg { width: 22px; height: 22px; color: #627189; }
#upload-dialog .photo-picker small { color: #677385; }
#upload-dialog .photo-picker strong { font-size: 14px; }
#upload-dialog .photo-error { margin-top: 8px; color: #993a39; font-size: 13px; }
.photo-picker[aria-disabled="true"] { cursor: default; }
.photo-thumbnail { position: relative; min-width: 0; }
.photo-thumbnail img { display: block; }
.photo-thumbnail .remove-photo {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-content: center;
  width: 21px;
  min-width: 0;
  height: 21px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #202733;
  color: white;
  font: 500 15px/1 system-ui, sans-serif;
  box-shadow: none;
  transform: none;
}
@media (hover: hover) {
  .photo-thumbnail .remove-photo { opacity: 0; }
  .photo-thumbnail:hover .remove-photo, .photo-thumbnail:focus-within .remove-photo { opacity: 1; }
}
#upload-dialog #redeem-submit {
  background: transparent;
  color: #465bc8;
  box-shadow: none;
}

.photo-guide { margin: 12px 0 0; }
.photo-guide figcaption { margin-bottom: 6px; color: #647081; font-size: 12px; }
.photo-guide img { display: block; width: 100%; aspect-ratio: 6 / 1; border-radius: 8px; }

#upload-dialog .processing-consent { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; font-size: 13px; font-weight: 400; }
#upload-dialog #processing-permission { appearance: auto; width: 16px; height: 16px; min-height: 16px; flex: none; margin: 2px 0; padding: 0; accent-color: #465bc8; }
