/* Shared by the workspace and public resume comparison form. */
.upload-resume-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.upload-resume-progress {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.upload-resume-progress[hidden] {
  display: none;
}

.upload-resume-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9d9d9;
}

.upload-resume-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #111111;
  transition: width 0.18s ease;
}

.upload-resume-progress-value {
  min-width: 0;
  color: #596272;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.upload-resume-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 2px solid #111111;
  border-radius: 6px;
  background: #ffffff;
  min-width: 0;
  min-height: 62px;
  box-shadow: none;
  transition: none;
}

.upload-resume-item:hover {
  background: #fafafa;
  box-shadow: none;
}

.upload-resume-empty {
  min-height: 62px;
  padding: 14px 12px;
  border: 2px dashed #111111;
  border-radius: 8px;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: none;
}

.upload-resume-empty[data-empty-slots="2"] {
  min-height: 136px;
}

.upload-resume-empty[data-empty-slots="3"] {
  min-height: 210px;
}

.upload-resume-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  display: grid;
  align-items: center;
  justify-content: center;
  border: 2px solid #111111;
}

.upload-resume-avatar svg {
  stroke: currentColor;
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.upload-resume-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upload-resume-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111111;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 750;
}

.upload-resume-size {
  color: #596272;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 650;
  white-space: nowrap;
}

.upload-resume-remove {
  width: 28px;
  height: 28px;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 28px;
  padding: 0;
  opacity: 1;
  box-shadow: 3px 3px 0 #111111;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.upload-resume-remove svg {
  width: 12px !important;
  height: 12px !important;
  stroke-width: 2.6;
  transform: none;
  transform-origin: center;
}

.upload-resume-remove:hover {
  background: #c94f55;
  color: #ffffff;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #111111;
}

.upload-resume-remove:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #111111;
}

.upload-resume-remove:disabled {
  background: #d9d9d9;
  color: #111111;
  box-shadow: 2px 2px 0 #111111;
  opacity: 1;
  cursor: default;
  transform: none;
}

