/* --------------------------------------------------------------------------
   Upload buttons: "Upload file" (resume autofill) and "Upload File" (resume field)
   Paste at the very end of the job board's custom CSS in Ashby
   (Admin > Job Boards > Theme > Custom CSS). Added 3 Dec 2026.

   At rest: transparent (ink) fill, white border, white text and icon.
   On hover: white fill, ink text and ink icon.
   The autofill button has no Ashby class of its own, so it is reached through
   its panel's class plus the button element. !important beats Ashby's own
   secondary-button styles and the Primary 600/900 theme colours.
   -------------------------------------------------------------------------- */

.ashby-application-form-autofill-input-root button,
.ashby-application-form-input-file-dropzone-upload {
  color: #ffffff !important;
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* The paperclip's path carries its own fill, so it follows the text colour */
.ashby-application-form-autofill-input-root button svg path,
.ashby-application-form-input-file-dropzone-upload svg path {
  fill: currentColor !important;
}

.ashby-application-form-autofill-input-root button:hover,
.ashby-application-form-autofill-input-root button:active,
.ashby-application-form-input-file-dropzone-upload:hover,
.ashby-application-form-input-file-dropzone-upload:active {
  color: #111111 !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

.ashby-application-form-autofill-input-root button:focus-visible,
.ashby-application-form-input-file-dropzone-upload:focus-visible {
  outline: 2px solid #56e52e;
  outline-offset: 2px;
}
