.iron-file-upload-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.iron-file-upload-picker {
  display: inline-grid;
  grid-template-columns: minmax(0, auto) auto;
  align-items: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgb(from var(--white-border) r g b / 25%);
  border-radius: 0.18rem;
}

.iron-file-upload-picker:hover {
  border-color: rgb(from var(--white-border) r g b / 55%);
}

.iron-file-upload-select {
  min-width: 0;
}

.iron-file-upload-remove-column {
  display: flex;
  align-items: center;
}

.iron-file-upload-remove-column[hidden] {
  display: none;
}

.iron-file-upload .iron-file-upload-button {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  margin-bottom: 0;
  padding: 0.7rem 1rem;
  border: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 400;
  color: #fff !important;
  white-space: nowrap;
  cursor: pointer;
}

.iron-file-upload .iron-file-upload-button:hover {
  border-color: transparent;
  background: transparent;
  color: #fff !important;
}

.iron-file-upload-button [data-iron-file-label] {
  min-width: 0;
  color: #fff;
  font-size: inherit;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iron-file-upload-remove {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.iron-file-upload-remove:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.iron-file-upload-remove:focus-visible {
  outline: 1px solid rgb(from var(--white-border) r g b / 65%);
  outline-offset: 2px;
}

.iron-file-upload-help {
  display: block;
  margin: 0;
}

@media (max-width: 575px) {
  .iron-file-upload-row {
    grid-template-columns: 1fr;
  }
}
