/* Upload in Ashby: Admin > Job Boards > Theme > Custom CSS.
   This stylesheet only changes application forms. */
@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600&display=swap");

html:has(.ashby-application-form-container) {
  --fontFamily: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --colorAppBackground: transparent;
  --colorPrimary600: #52653d !important;
  --colorPrimary900: #2c3b24 !important;
  --borderRadiusControl: 6px;
  --borderRadiusButton: 6px;
}

body:has(.ashby-application-form-container) {
  background: transparent;
  color: #282a23;
  font-family: var(--fontFamily);
}

.ashby-application-form-container,
.ashby-application-form-autofill-pane {
  background: transparent;
  color: #282a23;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--fontFamily);
}

.ashby-application-form-autofill-input-root {
  background: #edf0df80;
  border: 1px solid #cbd2b8;
  border-radius: 6px;
  box-shadow: none;
}

.ashby-application-form-container .ashby-application-form-question-title {
  color: #282a23;
  font-family: var(--fontFamily);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.ashby-application-form-autofill-input-title,
.ashby-application-form-section-header-title {
  color: #282a23;
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.ashby-application-form-autofill-input-description,
.ashby-application-form-question-description {
  color: #626657;
  font-family: var(--fontFamily);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* Keep text controls separate from file, checkbox and radio inputs. */
.ashby-application-form-container .ashby-application-form-input-text,
.ashby-application-form-container textarea,
.ashby-application-form-container select {
  background-color: #fffdf7;
  border: 1px solid #c8ccbe;
  border-radius: 6px;
  box-shadow: none;
  color: #282a23;
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  padding: 10px 12px;
  min-height: 44px;
}

.ashby-application-form-container input::placeholder,
.ashby-application-form-container textarea::placeholder {
  color: #7a7d71;
  font-weight: 400;
  opacity: 1;
}

.ashby-application-form-container .ashby-application-form-input-text:focus,
.ashby-application-form-container textarea:focus,
.ashby-application-form-container select:focus {
  border-color: #52653d;
  outline: 2px solid #52653d40 !important;
  outline-offset: 1px;
}

.ashby-application-form-container .ashby-application-form-field-entry button,
.ashby-application-form-autofill-pane button {
  background: transparent;
  border: 1px solid #9aa78b;
  border-radius: 6px;
  box-shadow: none;
  color: #465936;
  font-family: var(--fontFamily);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  min-height: 44px;
  padding: 10px 16px;
}

.ashby-application-form-container .ashby-application-form-field-entry button:hover,
.ashby-application-form-autofill-pane button:hover {
  background: #edf0df;
  border-color: #52653d;
}

.ashby-application-form-submit-button {
  background: #e1e7c9;
  color: #2c3b24;
  border: 1px solid #7f8a68;
  border-radius: 6px;
  box-shadow: none;
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
  min-height: 48px;
  padding: 12px 22px;
}

.ashby-application-form-submit-button:hover {
  background: #d2ddaf;
  color: #2c3b24;
  border-color: #52653d;
}

.ashby-application-form-submit-button svg { fill: currentColor; }

.ashby-application-form-submit-button:focus-visible,
.ashby-application-form-container button:focus-visible,
.ashby-application-form-autofill-pane button:focus-visible {
  outline: 2px solid #52653d;
  outline-offset: 3px;
}
