.attachment-uploader__open-button {
  font-size: 20px;
  border: none;
  background: none;

  &:before {
    font-family: zocksiconfont, serif;
    content: '\e804';
  }

  label {
    display: none;
  }
}

.attachment-uploader__open-button:hover {
  cursor: pointer;
}

.attachment-uploader__open-button:disabled {
  cursor: not-allowed;
}

.attachment-uploader__file-input {
  display: none;
}

.attachment-display__container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.attachment-display__remove-button {
  border: none;
  background: white;

  &:before {
    font-family: zocksiconfont, serif;
    content: '\e80f';
  }

  label {
    display: none;
  }
}

.attachment-display__remove-button:hover {
  cursor: pointer;
  background: lightgrey;
  border-radius: 10px;
}

.attachment-display__name {
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.attachment-display__error {
  color: var(--zocks-error-medium);
}
