.app-attachment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.app-attachment__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

.app-attachment__label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.781rem;
  background: #ffffff;
  color: #005eb1;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5rem;
}

.app-attachment__input:focus-visible + .app-attachment__label {
  border-radius: 0.312rem;
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.app-attachment__icon {
  display: block;
  width: 1.375rem;
  height: 1.1875rem;
  flex: 0 0 auto;
}

.app-attachment__status {
  color: #525252;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.app-attachment--disabled .app-attachment__label {
  background: #eeeeee;
  color: #626262;
  cursor: not-allowed;
}

.app-attachment--disabled .app-attachment__icon {
  opacity: 0.55;
}

@media (forced-colors: active) {
  .app-attachment__label {
    border-color: ButtonText;
    background: ButtonFace;
    color: LinkText;
  }

  .app-attachment__input:focus-visible + .app-attachment__label {
    outline-color: Highlight;
  }
}