.file-root {
  position: relative;
  width: 100%;
}

.file-root > input {
  position: absolute;
  margin: 0;
  padding: 0;
  left: 1em;
  top: 1.2em;
  width: calc(100% - 2em);
  opacity: 0;
  visibility: hidden;
}

.file-drop-label {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3.5em;
  position: relative;
}

.browse-label {
  margin-left: 4px;
  text-decoration: underline;
  text-decoration-color: var(--flex-text-primary-dark);
  line-height: inherit;
}

.cursor-pointer {
  cursor: pointer;
}

.file-list > ul {
  padding: 0;
  margin: 0;
}

.file-item {
  list-style: none;
}

.file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5em 0;
}

.file-list > u {
  margin-top: 0
}

.file-desc {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.file-desc:hover > span { 
  color: var(--flex-bg-primary);
}

.file-desc > div {
  margin-right: 10px;
}

.file-desc > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.delete-file {
  display: flex;
  background-color: transparent;
  border: 0;
  font-size: 0.9rem;
  color: #666;
  outline: none;
  outline: none !important;
  cursor: pointer;  
}

.delete-file:hover {
  color: var(--flex-bg-danger);
}

.drag-enter {
  background-color: var(--flex-bg-light-dark);
  border-radius: var(--flex-border-radius-default);
}

.file-uploading > .file-info {
  overflow: hidden;
}

.file-uploading > .file-info > .file-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-uploading > .file-info > .file-size {
  font-size: var(--flex-text-xs);
}

.file-uploading > .uploading-info {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  color: var(--flex-main-color);
}

.uploading-info > div {
  display: flex;
} 

.uploading-info > div > .uploading-label {
  font-size: var(--flex-text-sm);
}

.uploading-info > div > .uploading-icon {
  font-size: var(--flex-text-xl);
}

.f-file-hidden-required {
  padding: 0;
  width: 1px;
  border: 0;
  height: 1px;
  font-size: 1px;
  list-style: none;
  margin: 0;
  margin-left: -1px;
  outline: none;
  cursor: none;
  pointer-events: none;
  opacity: 0; 
  visibility: unset !important;
}