.base-file-input {
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #20222a;
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  user-select: none;
  border-radius: 12px;
  border: 1px solid var(--neutral-lighter, #d9d9de);
  cursor: pointer;
}

.base-file-input:hover,
.base-file-input:focus {
  outline: 1px solid #dfe8f0;
}

.base-file-input__validation-message {
  font-size: 12px;
  line-height: 15px;
  color: #af0000;
}

.base-file-input-error,
.base-file-input-error:hover,
.base-file-input-error:focus {
  outline: 1px solid #af0000;
}

.base-file-input__input {
  display: none;
}

.base-file-input__left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.base-file-input__left-icon,
.base-file-input__right-icon {
  width: 24px;
  height: 24px;
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  flex: 0 0 auto;
}

.base-file-input__left-icon {
  background-image: url("./img/paperclip.ac22fa1b2dd8.svg");
}

.base-file-input__right-icon {
  display: none;
  background-image: url("./img/trash.26a6f5f4ed65.svg");
}

.base-file-input__right-icon--show {
  display: inherit;
}

.base-file-input__placeholder {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
