/* stylelint-disable */

/* ==========================================================================
   Apollo.io | Ashby job board theme v4 (MDS + Brand Core colors)
   MDS structure and type with the new Brand Core palette, following the
   Color Migration Map decisions (2026-11-09):
   - Neutrals are Stone; black and sand-80 both become Stone 95.
   - Field borders Stone 50, disabled fills Stone 40, dividers Stone 20.
   - Errors: Red 50 borders and icons, Red 60 text.
   - Season Mix headlines, ABC Diatype for everything else. No mono.
   - 8px radius everywhere, no card shadows, 1px borders.
   Only :root and .ashby- classes are used (Ashby rejects anything else).
   ========================================================================== */

:root {
  /* --- Brand Core primitives -------------------------------------------
     Stone 30, Stone 50 and Red 60 come from the extended palette, which is
     for UI states only. */
  --brand-stone-00: #ffffff;
  --brand-stone-05: #f9f9f6;
  --brand-stone-10: #efefeb;
  --brand-stone-20: #e4e5d9;
  --brand-stone-30: #cccdbf;
  --brand-stone-40: #abad99;
  --brand-stone-50: #767862;
  --brand-stone-70: #4d4d41;
  --brand-stone-95: #252521;
  --brand-sun-30: #fbfabf;
  --brand-sun-40: #fbf500;
  --brand-red-50: #fa0026;
  --brand-red-60: #c2001d;

  /* --- Semantic roles -------------------------------------------------- */
  --apollo-text-header: var(--brand-stone-95);
  --apollo-text-body: var(--brand-stone-95);
  --apollo-text-muted: var(--brand-stone-50);
  --apollo-text-disabled: var(--brand-stone-30);
  --apollo-border-subtle: var(--brand-stone-20);
  --apollo-border-field: var(--brand-stone-50);
  --apollo-border-field-hover: var(--brand-stone-70);
  --apollo-surface: var(--brand-stone-00);
  --apollo-surface-muted: var(--brand-stone-05);
  --apollo-surface-hover: var(--brand-stone-10);

  /* Primary CTA: MDS yellow button. Pressed = Sun 40 + 10% black overlay
     (decision 5), applied in the button rule rather than as a color. */
  --apollo-cta-bg: var(--brand-sun-40);
  --apollo-cta-bg-hover: var(--brand-sun-30);
  --apollo-cta-text: var(--brand-stone-95);
  --apollo-cta-bg-disabled: var(--brand-stone-40);
  --apollo-cta-text-disabled: var(--brand-stone-95);
  --apollo-cta-pressed-overlay: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));

  /* MDS focus ring: 2px offset, 1px Stone 95 */
  --apollo-focus-ring: 0 0 0 2px var(--brand-stone-00), 0 0 0 3px var(--brand-stone-95);
  /* Floating layers (popups) only; cards stay flat */
  --apollo-shadow-popover: 0 8px 24px rgba(37, 37, 33, 0.08);
  --apollo-transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --apollo-radius: 8px;

  /* Fonts. The brand faces only render where they're installed or loaded;
     the fallbacks keep the same proportions otherwise. */
  --apollo-font-display: "Season Mix", "ABC Diatype", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --apollo-font-body: "ABC Diatype", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* --- Ashby variables ------------------------------------------------- */
  --colorAppBackground: var(--brand-stone-05);

  /* Keep in sync with Ashby admin theme settings */
  --colorPrimary900: #252521;
  --colorPrimary600: #4d4d41;

  --widthMaxContent: 1040px;
  --widthMaxJobBoard: 800px;
  --widthMaxSubscriptionPreferences: 640px;

  --borderRadiusContainer: var(--apollo-radius);
  --borderRadiusControl: var(--apollo-radius);
  --borderRadiusButton: var(--apollo-radius);

  --fontFamily: var(--apollo-font-body);
}


/* ==========================================================================
   1. Job board list
   ========================================================================== */

/* MDS headlineL */
.ashby-job-board-heading {
  font-family: var(--apollo-font-display);
  font-size: 2.5rem;
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--apollo-text-header);
}

.ashby-job-board-heading-count {
  color: var(--apollo-text-muted);
}

/* MDS bodyS, muted */
.ashby-job-board-filters-label {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--apollo-text-muted);
}

/* Text color is dark on purpose: Ashby renders the inner control white */
.ashby-job-board-filter {
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--apollo-text-body);
  background-color: var(--apollo-surface);
  border: 1px solid var(--apollo-border-field);
  border-radius: var(--borderRadiusControl);
  transition: border-color var(--apollo-transition);
}

.ashby-job-board-filter:hover {
  border-color: var(--apollo-border-field-hover);
}

.ashby-job-board-filter:focus,
.ashby-job-board-filter:focus-within {
  outline: none;
  border-color: var(--brand-stone-95);
}

/* MDS TextLink */
.ashby-job-board-reset-filters-label {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  color: var(--brand-stone-95);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.ashby-job-board-reset-filters-label:hover {
  color: var(--brand-stone-50);
}

/* MDS headlineS */
.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
  font-family: var(--apollo-font-display);
  font-size: 1.75rem;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--apollo-text-header);
  border-bottom: 1px solid var(--apollo-border-subtle);
  padding-bottom: 12px;
}

/* MDS subheadM */
.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading-level {
  font-family: var(--apollo-font-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--apollo-text-header);
}

.ashby-job-posting-brief-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* MDS Card (white): flat, 8px radius. No padding override: keeps cards
   aligned with Ashby's default grid. */
.ashby-job-posting-brief {
  text-decoration: none;
  background-color: var(--apollo-surface);
  border: 1px solid var(--apollo-border-subtle);
  border-radius: var(--borderRadiusContainer);
  transition: border-color var(--apollo-transition), background-color var(--apollo-transition);
}

.ashby-job-posting-brief:hover {
  border-color: var(--brand-stone-95);
}

/* MDS subheadM */
.ashby-job-posting-brief-title {
  font-family: var(--apollo-font-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--apollo-text-header);
}

/* MDS bodyS, muted */
.ashby-job-posting-brief-details {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--apollo-text-muted);
}


/* ==========================================================================
   2. Job posting page
   ========================================================================== */

/* MDS tertiary button */
.ashby-job-board-back-to-all-jobs-button {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--brand-stone-95);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--apollo-transition);
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: var(--brand-stone-50);
}

.ashby-job-posting-header {
  border-bottom: 1px solid var(--apollo-border-subtle);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

/* MDS headlineM */
.ashby-job-posting-heading {
  font-family: var(--apollo-font-display);
  font-size: 2.25rem;
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--apollo-text-header);
}

.ashby-job-posting-left-pane {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--apollo-text-muted);
}

.ashby-job-posting-right-pane {
  font-family: var(--apollo-font-body);
}

/* MDS bodyM */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--apollo-text-muted);
  transition: color var(--apollo-transition);
}

.ashby-job-posting-right-pane-overview-tab:hover,
.ashby-job-posting-right-pane-application-tab:hover {
  color: var(--apollo-text-header);
}

.ashby-job-posting-right-pane-tab-slider {
  background-color: var(--brand-stone-95);
}

.ashby-job-posting-description-container {
  font-family: var(--apollo-font-body);
}

/* MDS bodyM, opened up for long-form reading */
.ashby-job-posting-description {
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--apollo-text-body);
}


/* ==========================================================================
   3. Application form: containers and sections
   ========================================================================== */

.ashby-application-form-container,
.ashby-survey-form-container {
  font-family: var(--apollo-font-body);
  background-color: var(--apollo-surface);
  border-radius: var(--borderRadiusContainer);
  padding: 32px;
}

.ashby-survey-form-container {
  margin-top: 32px;
}

.ashby-application-form-section-container {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--apollo-border-subtle);
}

.ashby-application-form-section-container:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ashby-application-form-section-header {
  margin-bottom: 24px;
}

/* MDS subheadL */
.ashby-application-form-section-header-title {
  font-family: var(--apollo-font-body);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--apollo-text-header);
}

.ashby-application-form-section-header-description {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--apollo-text-muted);
  margin-top: 8px;
}

.ashby-application-form-field-entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.ashby-application-form-question-title {
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--apollo-text-header);
}

.ashby-application-form-question-description,
.ashby-application-form-texting-consent-description {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--apollo-text-muted);
}


/* ==========================================================================
   4. Application form: inputs
   ========================================================================== */

/* MDS InputField */
.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-date,
.ashby-application-form-input-autocomplete,
.ashby-application-form-input-dropdown-select {
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--apollo-text-body);
  background-color: var(--apollo-surface);
  border: 1px solid var(--apollo-border-field);
  border-radius: var(--borderRadiusControl);
  transition: border-color var(--apollo-transition);
}

.ashby-application-form-input-text:hover,
.ashby-application-form-input-textarea:hover,
.ashby-application-form-input-date:hover,
.ashby-application-form-input-autocomplete:hover,
.ashby-application-form-input-dropdown-select:hover {
  border-color: var(--apollo-border-field-hover);
}

.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus,
.ashby-application-form-input-dropdown-select:focus,
.ashby-application-form-input-date:focus-within,
.ashby-application-form-input-autocomplete:focus-within {
  outline: none;
  border-color: var(--brand-stone-95);
}

.ashby-application-form-input-text:disabled,
.ashby-application-form-input-textarea:disabled,
.ashby-application-form-input-dropdown-select:disabled {
  background-color: var(--apollo-surface-muted);
  border-color: var(--apollo-border-subtle);
  color: var(--apollo-text-disabled);
  cursor: not-allowed;
}

.ashby-application-form-input-textarea {
  min-height: 120px;
  line-height: 1.5;
  resize: vertical;
}

/* Autocomplete */
.ashby-application-form-input-autocomplete[aria-expanded="true"] {
  border-color: var(--brand-stone-95);
}

.ashby-application-form-input-autocomplete-popup {
  font-family: var(--apollo-font-body);
  background-color: var(--apollo-surface);
  border: 1px solid var(--apollo-border-subtle);
  border-radius: var(--borderRadiusControl);
  box-shadow: var(--apollo-shadow-popover);
  padding: 4px;
}

.ashby-application-form-input-autocomplete-popup-empty,
.ashby-application-form-input-autocomplete-popup-loading {
  font-size: 0.875rem;
  color: var(--apollo-text-muted);
  padding: 8px 12px;
}

.ashby-application-form-input-autocomplete-popup-result {
  font-size: 0.875rem;
  color: var(--apollo-text-body);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.ashby-application-form-input-autocomplete-popup-result:hover,
.ashby-application-form-input-autocomplete-popup-result[aria-selected="true"] {
  background-color: var(--apollo-surface-hover);
  color: var(--apollo-text-header);
}

/* Checkbox and radio groups */
.ashby-application-form-input-checkbox-group,
.ashby-application-form-input-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ashby-application-form-input-checkbox-group-option,
.ashby-application-form-input-radio-group-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: var(--apollo-surface);
  border: 1px solid var(--apollo-border-subtle);
  border-radius: var(--borderRadiusControl);
  cursor: pointer;
  transition: border-color var(--apollo-transition), background-color var(--apollo-transition);
}

.ashby-application-form-input-checkbox-group-option:hover,
.ashby-application-form-input-radio-group-option:hover {
  background-color: var(--apollo-surface-muted);
}

.ashby-application-form-input-checkbox-group-option[data-checked],
.ashby-application-form-input-radio-group-option[data-checked] {
  border-color: var(--brand-stone-95);
  background-color: var(--apollo-surface-muted);
}

.ashby-application-form-input-checkbox-group-option[data-disabled],
.ashby-application-form-input-radio-group-option[data-disabled] {
  background-color: var(--apollo-surface-muted);
  color: var(--apollo-text-disabled);
  cursor: not-allowed;
}

.ashby-application-form-input-checkbox-group-option-checkbox,
.ashby-application-form-input-radio-group-option-radio {
  accent-color: var(--brand-stone-95);
  flex-shrink: 0;
}

.ashby-application-form-input-checkbox-group-option-label,
.ashby-application-form-input-radio-group-option-label {
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--apollo-text-body);
}

/* Date picker */
.ashby-application-form-input-date-popup {
  font-family: var(--apollo-font-body);
  background-color: var(--apollo-surface);
  border: 1px solid var(--apollo-border-subtle);
  border-radius: var(--borderRadiusContainer);
  box-shadow: var(--apollo-shadow-popover);
  padding: 16px;
  color: var(--apollo-text-body);
}

.ashby-application-form-input-date-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ashby-application-form-input-date-popup-header-button {
  background: transparent;
  border: 1px solid var(--apollo-border-subtle);
  border-radius: 4px;
  color: var(--apollo-text-header);
  padding: 4px 8px;
  cursor: pointer;
}

.ashby-application-form-input-date-popup-header-button:hover {
  background-color: var(--brand-stone-20);
  border-color: var(--brand-stone-95);
}

.ashby-application-form-input-date-popup-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--apollo-text-header);
}

/* Dropdown */
.ashby-application-form-input-dropdown {
  position: relative;
}

.ashby-application-form-input-dropdown[data-disabled] {
  color: var(--apollo-text-disabled);
  cursor: not-allowed;
}

.ashby-application-form-input-dropdown-icon {
  color: var(--apollo-text-muted);
  pointer-events: none;
}

.ashby-application-form-input-dropdown-select {
  appearance: none;
  cursor: pointer;
}

/* Education history */
.ashby-application-form-input-education-entry {
  background-color: var(--apollo-surface-muted);
  border-radius: var(--borderRadiusContainer);
  padding: 16px;
  margin-bottom: 8px;
}

.ashby-application-form-input-education-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--apollo-text-muted);
  margin-bottom: 12px;
}

.ashby-application-form-input-education-entry-delete {
  background: transparent;
  border: none;
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  color: var(--apollo-text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.ashby-application-form-input-education-entry-delete:hover {
  color: var(--brand-red-60);
}

/* MDS secondary button, dashed to read as "add" */
.ashby-application-form-input-education-add {
  width: 100%;
  background: transparent;
  border: 1px dashed var(--apollo-border-field);
  border-radius: var(--borderRadiusButton);
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  color: var(--brand-stone-95);
  padding: 12px 20px;
  cursor: pointer;
  transition: border-color var(--apollo-transition), background-color var(--apollo-transition);
}

.ashby-application-form-input-education-add:hover {
  border-color: var(--brand-stone-95);
  background-color: var(--brand-stone-20);
}

/* File upload */
.ashby-application-form-input-file {
  font-family: var(--apollo-font-body);
}

.ashby-application-form-input-file-dropzone {
  background-color: var(--apollo-surface-muted);
  border: 1px dashed var(--apollo-border-field);
  border-radius: var(--borderRadiusContainer);
  padding: 32px 16px;
  text-align: center;
  transition: border-color var(--apollo-transition), background-color var(--apollo-transition);
}

.ashby-application-form-input-file-dropzone:hover {
  border-color: var(--brand-stone-95);
  background-color: var(--brand-stone-10);
}

.ashby-application-form-input-file-dropzone-instructions {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--apollo-text-muted);
}

/* MDS secondary button, small */
.ashby-application-form-input-file-dropzone-upload {
  background-color: transparent;
  border: 1px solid var(--brand-stone-95);
  border-radius: var(--borderRadiusButton);
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  color: var(--brand-stone-95);
  padding: 10px 16px;
  margin-top: 12px;
  cursor: pointer;
  transition: background-color var(--apollo-transition);
}

.ashby-application-form-input-file-dropzone-upload:hover {
  background-color: var(--brand-stone-20);
}

.ashby-application-form-input-file-dropzone-upload:active {
  background-color: var(--brand-stone-30);
}

.ashby-application-form-input-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background-color: var(--apollo-surface);
  border: 1px solid var(--apollo-border-subtle);
  border-radius: var(--borderRadiusControl);
  padding: 8px 16px;
  margin-top: 8px;
}

.ashby-application-form-input-file-item-name {
  font-size: 0.875rem;
  color: var(--apollo-text-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ashby-application-form-input-file-item-delete {
  background: transparent;
  border: none;
  color: var(--apollo-text-muted);
  cursor: pointer;
}

.ashby-application-form-input-file-item-delete:hover {
  color: var(--brand-red-60);
}

/* Yes/No: MDS ButtonToggle */
.ashby-application-form-input-yesno {
  display: flex;
  gap: 4px;
  padding: 4px;
  background-color: var(--brand-stone-10);
  border-radius: 12px;
}

.ashby-application-form-input-yesno[data-disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.ashby-application-form-input-yesno-option {
  flex: 1;
  background-color: var(--apollo-surface);
  border: 1px solid var(--apollo-border-subtle);
  border-radius: var(--borderRadiusButton);
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--apollo-text-body);
  padding: 12px 20px;
  cursor: pointer;
  transition: border-color var(--apollo-transition), background-color var(--apollo-transition), color var(--apollo-transition);
}

.ashby-application-form-input-yesno-option:hover {
  background-color: var(--apollo-surface-muted);
}

.ashby-application-form-input-yesno-option[aria-pressed="true"] {
  background-color: var(--brand-stone-95);
  border-color: transparent;
  color: var(--brand-stone-00);
}

.ashby-application-form-input-yesno-option[aria-pressed="true"]:hover {
  background-color: var(--brand-stone-70);
}


/* ==========================================================================
   5. Application form: autofill
   ========================================================================== */

.ashby-application-form-autofill-pane {
  background-color: var(--apollo-surface);
  border-radius: var(--borderRadiusContainer);
  padding: 24px;
  margin-bottom: 32px;
}

.ashby-application-form-autofill-input-root {
  position: relative;
  width: 100%;
  border-radius: var(--borderRadiusContainer);
  overflow: hidden;
}

.ashby-application-form-autofill-input-root[data-state="pending"] {
  opacity: 0.8;
  pointer-events: none;
}

.ashby-application-form-autofill-input-base-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background-color: var(--apollo-surface-muted);
  border: 1px dashed var(--apollo-border-field);
  border-radius: var(--borderRadiusContainer);
  transition: border-color var(--apollo-transition), background-color var(--apollo-transition);
}

.ashby-application-form-autofill-input-base-layer:hover {
  border-color: var(--brand-stone-95);
  background-color: var(--brand-stone-10);
}

/* MDS subheadS */
.ashby-application-form-autofill-input-title {
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--apollo-text-header);
}

.ashby-application-form-autofill-input-description {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--apollo-text-muted);
}

.ashby-application-form-autofill-input-icon {
  color: var(--brand-stone-95);
  flex-shrink: 0;
}

.ashby-application-form-autofill-input-drag-layer,
.ashby-application-form-autofill-input-pending-layer {
  background-color: var(--brand-stone-10);
  border: 1px dashed var(--brand-stone-95);
  border-radius: var(--borderRadiusContainer);
}

.ashby-application-form-autofill-input-drag-layer[data-state="hidden"],
.ashby-application-form-autofill-input-pending-layer[data-state="hidden"] {
  display: none;
}

.ashby-application-form-autofill-input-drag-layer[data-state="active"],
.ashby-application-form-autofill-input-pending-layer[data-state="active"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ashby-application-form-autofill-uploader {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  color: var(--brand-stone-95);
  text-decoration: underline;
  cursor: pointer;
}

.ashby-application-form-autofill-input-form-alert {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 12px 16px;
  border-radius: var(--borderRadiusControl);
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
  background-color: var(--apollo-surface);
  border: 1px solid var(--brand-red-50);
  color: var(--brand-red-60);
}

.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
  background-color: var(--apollo-surface-muted);
  border: 1px solid var(--apollo-border-subtle);
  color: var(--apollo-text-body);
}


/* ==========================================================================
   6. Submit and result states
   ========================================================================== */

/* MDS yellow button, large */
.ashby-application-form-submit-button {
  width: 100%;
  min-height: 56px;
  background-color: var(--apollo-cta-bg);
  border: none;
  border-radius: var(--borderRadiusButton);
  font-family: var(--apollo-font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--apollo-cta-text);
  padding: 12px 24px;
  cursor: pointer;
  transition: background-color var(--apollo-transition);
}

.ashby-application-form-submit-button:hover {
  background-color: var(--apollo-cta-bg-hover);
}

.ashby-application-form-submit-button:active {
  background-color: var(--apollo-cta-bg);
  background-image: var(--apollo-cta-pressed-overlay);
}

.ashby-application-form-submit-button:disabled {
  background-color: var(--apollo-cta-bg-disabled);
  background-image: none;
  color: var(--apollo-cta-text-disabled);
  cursor: not-allowed;
}

.ashby-application-form-success-container {
  font-family: var(--apollo-font-body);
  font-size: 1rem;
  line-height: 1.4;
  background-color: var(--apollo-surface);
  border-radius: var(--borderRadiusContainer);
  color: var(--apollo-text-body);
  padding: 32px;
  text-align: center;
}

.ashby-application-form-failure-container,
.ashby-application-form-blocked-application-container,
.ashby-application-blocking-disclosure {
  font-family: var(--apollo-font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  background-color: var(--apollo-surface);
  border: 1px solid var(--brand-red-50);
  border-radius: var(--borderRadiusContainer);
  color: var(--brand-red-60);
  padding: 16px 24px;
}


/* ==========================================================================
   7. Accessibility
   ========================================================================== */

.ashby-application-form-submit-button:focus-visible,
.ashby-application-form-input-yesno-option:focus-visible,
.ashby-application-form-input-file-dropzone-upload:focus-visible,
.ashby-application-form-input-education-add:focus-visible,
.ashby-job-board-back-to-all-jobs-button:focus-visible,
.ashby-job-board-reset-filters-label:focus-visible,
.ashby-job-posting-right-pane-overview-tab:focus-visible,
.ashby-job-posting-right-pane-application-tab:focus-visible {
  outline: none;
  box-shadow: var(--apollo-focus-ring);
}

@media (prefers-reduced-motion: reduce) {
  .ashby-job-posting-brief,
  .ashby-job-board-filter,
  .ashby-job-board-back-to-all-jobs-button,
  .ashby-application-form-submit-button,
  .ashby-application-form-input-text,
  .ashby-application-form-input-textarea,
  .ashby-application-form-input-date,
  .ashby-application-form-input-autocomplete,
  .ashby-application-form-input-dropdown-select,
  .ashby-application-form-input-yesno-option,
  .ashby-application-form-input-checkbox-group-option,
  .ashby-application-form-input-radio-group-option,
  .ashby-application-form-input-file-dropzone,
  .ashby-application-form-input-file-dropzone-upload,
  .ashby-application-form-input-education-add,
  .ashby-application-form-autofill-input-base-layer,
  .ashby-job-posting-right-pane-overview-tab,
  .ashby-job-posting-right-pane-application-tab {
    transition: none;
  }
}
