/* Novabook Ashby theme. Colour values mirror Framer tokens, 30 Nov 2026.
   Version 9: match submit icon to blue-contrast button text.
   Dark mode follows the iframe's prefers-color-scheme. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light dark;
  --nova-background: rgb(249,249,249);
  --nova-surface: rgb(252,252,252);
  --nova-subtle: rgb(240,240,240);
  --nova-border: rgb(217,217,217);
  --nova-border-hover: rgb(187,187,187);
  --nova-text: rgb(31,31,31);
  --nova-muted: rgb(99,99,99);
  --nova-accent: var(--nova-link);
  --nova-accent-hover: var(--nova-link);
  --nova-link: rgb(42,76,239);
  --colorAppBackground: transparent;
  background: transparent;
  --colorPrimary900: var(--nova-link) !important;
  --colorPrimary600: var(--nova-link) !important;
  --colorNeutral800: var(--nova-text);
  --colorNeutral900: var(--nova-text);
  --colorNeutral700: var(--nova-muted);
  --colorNeutral600: var(--nova-muted);
  --colorNeutral500: var(--nova-muted);
  --colorNeutral400: var(--nova-border-hover);
  --colorNeutral300: var(--nova-border);
  --colorNeutral200: var(--nova-border);
  --colorNeutral100: var(--nova-subtle);
  --colorNeutral000: var(--nova-surface);
  --nova-on-accent: #fff;
  --widthMaxContent: 1080px;
  --widthMaxJobBoard: 1080px;
  --widthMaxSubscriptionPreferences: 600px;
  --borderRadiusContainer: 18px;
  --borderRadiusControl: 999px;
  --borderRadiusButton: 999px;
  --fontFamily: 'Geist', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --nova-background: rgb(26,26,26);
    --nova-surface: rgb(20,20,20);
    --nova-subtle: rgb(35,35,35);
    --nova-border: rgb(58,58,58);
    --nova-border-hover: rgb(96,96,96);
    --nova-text: rgb(238,238,238);
    --nova-muted: rgb(179,179,179);
    --nova-accent-hover: var(--nova-link);
    --nova-link: rgb(144,179,255);
    --nova-on-accent: #fff;
  }
}
.ashby-job-board-heading, .ashby-department-heading,
.ashby-department-heading-level, .ashby-job-posting-heading,
.ashby-job-posting-brief-title, .ashby-job-posting-brief-department-heading,
.ashby-job-posting-brief-department-heading-level,
.ashby-application-form-question-title,
.ashby-application-form-section-header-title,
.ashby-application-form-autofill-input-title {
  color: var(--nova-text);
  font-family: var(--fontFamily);
  letter-spacing: -.01em;
}
.ashby-job-board-heading, .ashby-job-posting-heading {
  font-size: 35px;
  font-weight: 400;
  line-height: 1.15;
}
.ashby-department-heading, .ashby-job-posting-brief-title {
  font-size: 20px;
  font-weight: 500;
}
.ashby-job-posting-brief {
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--nova-border) !important;
  border-radius: 12px;
  background: var(--nova-surface);
  box-shadow: none;
  transition: background-color 120ms ease, border-color 120ms ease;
  color: var(--nova-text);
}
.ashby-job-posting-brief-details, .ashby-job-board-filters-label,
.ashby-job-board-heading-count, .ashby-application-form-question-description,
.ashby-application-form-section-header-description,
.ashby-application-form-autofill-input-description,
.ashby-application-form-input-file-dropzone-instructions {
  color: var(--nova-muted);
}
.ashby-job-posting-header, .ashby-job-posting-left-pane,
.ashby-job-posting-right-pane, .ashby-job-posting-description-container,
.ashby-application-form-container, .ashby-application-form-section-container,
.ashby-survey-form-container {
  background: transparent;
  color: var(--nova-text);
  border-color: var(--nova-border);
}
.ashby-job-posting-description {
  color: var(--nova-text);
  font-family: var(--fontFamily);
}
.ashby-job-board-filter,
.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-dropdown,
.ashby-application-form-input-autocomplete,
.ashby-application-form-input-autocomplete-popup,
.ashby-application-form-input-date,
.ashby-application-form-input-date-popup {
  background: var(--nova-surface);
  color: var(--nova-text);
  border: 1px solid var(--nova-border);
  border-radius: 6px;
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  box-shadow: none;
}
/* The outer autofill pane is layout only, not a second card. */
.ashby-application-form-autofill-pane {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Retain one restrained surface on the existing autofill control. */
.ashby-application-form-autofill-input-root {
  background: var(--nova-surface);
  color: var(--nova-text);
  border: 1px solid var(--nova-border);
  border-radius: 12px;
  box-shadow: none;
}
/* The CV uploader already has an outer drop target: keep its inner row bare. */
.ashby-application-form-input-file-dropzone {
  background: transparent !important;
  color: var(--nova-text);
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}
.ashby-application-form-input-radio-group-option,
.ashby-application-form-input-checkbox-group-option,
.ashby-application-form-input-yesno-option {
  color: var(--nova-text);
  border-color: var(--nova-border);
}
.ashby-application-form-input-radio-group-option[data-checked],
.ashby-application-form-input-checkbox-group-option[data-checked],
.ashby-application-form-input-yesno-option[aria-pressed='true'] {
  border-color: var(--nova-link);
}
.ashby-application-form-submit-button {
  background: var(--nova-accent);
  color: var(--nova-on-accent);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 500;
}
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab { color: var(--nova-muted); }
.ashby-job-posting-right-pane-overview-tab[aria-selected='true'],
.ashby-job-posting-right-pane-application-tab[aria-selected='true'] { color: var(--nova-link); }
@media (max-width: 600px) {
  .ashby-job-board-heading, .ashby-job-posting-heading { font-size: 28px; }
  .ashby-job-posting-brief { padding: 20px; }
}

/* Override Ashby's more specific first-card and hover rules. */
.ashby-job-posting-brief:hover {
  background: var(--nova-subtle) !important;
  border-color: var(--nova-border-hover) !important;
  box-shadow: none !important;
  transform: none !important;
}
.ashby-job-board-filter,
.ashby-application-form-input-text,
.ashby-application-form-input-date,
.ashby-application-form-input-autocomplete {
  min-height: 40px;
  padding: 8px 12px;
  box-sizing: border-box;
}
.ashby-job-board-filter { padding-right: 36px; }
.ashby-application-form-input-dropdown-select {
  background: transparent;
  color: var(--nova-text);
  border: 0;
  border-radius: 6px;
  min-height: 40px;
  padding: 8px 32px 8px 12px;
  font-family: var(--fontFamily);
  font-size: 16px;
  line-height: 24px;
  box-shadow: none;
}
.ashby-application-form-input-textarea { padding: 10px 12px; }
.ashby-job-board-filter:hover,
.ashby-application-form-input-text:hover,
.ashby-application-form-input-textarea:hover,
.ashby-application-form-input-dropdown:hover {
  border-color: var(--nova-border-hover);
}
.ashby-job-board-filter:focus,
.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus,
.ashby-application-form-input-dropdown-select:focus,
.ashby-application-form-input-autocomplete:focus {
  outline: 2px solid var(--nova-link);
  outline-offset: 1px;
}
.ashby-application-form-submit-button {
  min-height: 40px;
  padding: 8px 20px;
  font-family: var(--fontFamily);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  box-shadow: none;
  transition: background-color 120ms ease;
}
.ashby-application-form-submit-button:hover {
  background: var(--nova-accent-hover) !important;
  box-shadow: none;
}
.ashby-application-form-submit-button:focus {
  outline: 2px solid var(--nova-link);
  outline-offset: 3px;
}

/* Keep the title and its count centred as one heading. */
.ashby-job-board-heading {
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.ashby-job-board-filters-label {
  font-weight: 500 !important;
}
/* Match the filters' 12px inset and cancel Ashby's first-card negative margin.
   Explicit sizing keeps the border inside the same content edges on mobile. */
.ashby-job-posting-brief {
  margin: 0 12px 16px 12px !important;
  width: calc(100% - 24px);
  box-sizing: border-box;
  border: 1px solid var(--nova-border) !important;
  border-radius: 18px !important;
}
.ashby-job-board-filter,
.ashby-application-form-input-text,
.ashby-application-form-input-date,
.ashby-application-form-input-autocomplete,
.ashby-application-form-input-dropdown,
.ashby-application-form-input-dropdown-select {
  border-radius: 999px !important;
}
.ashby-job-board-filter,
.ashby-application-form-input-text,
.ashby-application-form-input-date,
.ashby-application-form-input-autocomplete {
  padding-left: 16px;
  padding-right: 16px;
}
.ashby-job-board-filter,
.ashby-application-form-input-dropdown-select {
  padding-left: 16px;
  padding-right: 36px;
}
/* Multiline fields and popup menus stay rounded rectangles. */
.ashby-application-form-input-textarea,
.ashby-application-form-input-autocomplete-popup,
.ashby-application-form-input-date-popup {
  border-radius: 12px;
}

/* Ashby's selected filter rule reads this variable for text and border.
   Use the same accent 11 mapping as the posting links and indicator. */
.ashby-job-board-filter {
  --colorPrimary600: var(--nova-link) !important;
}
/* Novabook grey 11: light rgb(99,99,99), dark rgb(179,179,179). */
.ashby-job-board-reset-filters-label {
  color: var(--nova-muted) !important;
  font-weight: 500;
  opacity: 1;
}

/* Default Ashby labels inherit neutral 11 through its neutral variables above. */
.ashby-job-board-back-to-all-jobs-button {
  color: var(--nova-link) !important;
}
/* Preserve Ashby's tab widths and slider travel, while centring their labels.
   The existing bottom border and slider both occupy the final 2px of the tab. */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  text-align: center !important;
  justify-content: center;
  font-weight: 500;
  border-bottom: 2px solid var(--nova-border) !important;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 12px;
  margin-bottom: -14px;
  text-decoration: none !important;
}
.ashby-job-posting-right-pane-tab-slider {
  background-color: var(--nova-link) !important;
  height: 2px;
  border-radius: 0;
  z-index: 1;
}

/* Restyle Ashby's existing upload buttons without changing their behaviour. */
.ashby-application-form-autofill-uploader,
.ashby-application-form-input-file-dropzone-upload {
  background: var(--nova-surface) !important;
  color: var(--nova-link) !important;
  border: 1px solid var(--nova-border) !important;
  border-radius: 999px;
  box-shadow: none !important;
  font-family: var(--fontFamily);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  padding: 8px 16px;
}
.ashby-application-form-autofill-uploader:hover,
.ashby-application-form-input-file-dropzone-upload:hover {
  background: var(--nova-subtle) !important;
  border-color: var(--nova-border-hover) !important;
}
.ashby-application-form-autofill-input-title {
  font-weight: 500;
}

/* Ashby places its brand variables inline on HTML. Root !important declarations
   above override those. Prose keeps blue 11 even inside the solid CTA container. */
.ashby-job-posting-description-container {
  --colorPrimary600: rgb(37,64,255);
  --colorPrimary900: rgb(31,56,221);
  --colorNeutral000: #fff;
}
.ashby-job-posting-description {
  --colorPrimary600: var(--nova-link) !important;
  --colorPrimary900: var(--nova-link) !important;
}
/* Solid action buttons use blue 9 with blue-contrast white text. */
.ashby-application-form-submit-button {
  background: rgb(37,64,255) !important;
  color: #fff !important;
}
.ashby-application-form-submit-button:hover {
  background: rgb(31,56,221) !important;
}

/* Ashby's button icons use neutral colour variables independently of text. */
.ashby-application-form-submit-button {
  --colorNeutral000: #fff;
  --colorNeutral800: #fff;
  --colorNeutral900: #fff;
  fill: currentColor;
  color: #fff !important;
}
