/*
 * Nansen dark theme for the Ashby job board (jobs.ashbyhq.com/nansen)
 * Colours taken from nansen.ai (30 Oct 2026):
 *   background #06080B · panels #0B1017 · text #FFFFFF / light greys · accent (mint) #00FFA7
 * Upload: Ashby Admin → Job Boards → Theme (Job Board) → Job Board Options → Custom CSS.
 * Ashby only accepts :root variables, its own "ashby-" classes and at-rules
 * (element selectors such as body, p, a or select are rejected), so text that has no
 * ashby- class is recoloured through Ashby's neutral colour variables below.
 * Class reference: https://www.ashbyhq.com/job_board_example_css/full-job-board.css
 */

:root {
  /* Page background */
  --colorAppBackground: #06080B;

  /* Ashby's text greys, flipped to light greys so unclassed text (board intro, footer) is readable */
  --colorNeutral800: #FFFFFF;
  --colorNeutral700: #D7DAE0;
  --colorNeutral600: #A8AEBD;

  --borderRadiusContainer: 12px;
  --borderRadiusControl: 8px;
  --borderRadiusButton: 8px;
}

/* ---------- Job board (list page) ---------- */
.ashby-job-board-heading,
.ashby-job-board-heading-count,
.ashby-department-heading,
.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading,
.ashby-job-posting-brief-department-heading-level {
  color: #FFFFFF !important;
}

.ashby-job-board-filters-label,
.ashby-job-posting-brief-details {
  color: #A8AEBD !important;
}

.ashby-job-board-reset-filters-label {
  color: #00FFA7 !important;
}

/* Ashby paints the filter boxes with a white background-image layer, so clear it */
.ashby-job-board-filter {
  background-color: #0B1017 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.ashby-job-posting-brief {
  background-color: #0B1017 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ashby-job-posting-brief:hover {
  border-color: #00FFA7 !important;
}

.ashby-job-posting-brief-title {
  color: #FFFFFF !important;
}

/* ---------- Job posting page ---------- */
.ashby-job-board-back-to-all-jobs-button {
  color: #00FFA7 !important;
}

.ashby-job-posting-header,
.ashby-job-posting-heading {
  color: #FFFFFF !important;
}

.ashby-job-posting-left-pane {
  color: #D7DAE0 !important;
}

.ashby-job-posting-right-pane,
.ashby-job-posting-description-container,
.ashby-application-form-container {
  background-color: #06080B !important;
  color: #FFFFFF !important;
}

.ashby-job-posting-description {
  color: #D7DAE0 !important;
}

/* Overview / Application tabs */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  color: #FFFFFF !important;
}

.ashby-job-posting-right-pane-tab-slider {
  background-color: #00FFA7 !important;
}

/* ---------- Application form ---------- */
.ashby-application-form-section-container {
  background-color: #0B1017 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.ashby-application-form-section-header-title,
.ashby-application-form-question-title {
  color: #FFFFFF !important;
}

.ashby-application-form-section-header-description,
.ashby-application-form-question-description,
.ashby-application-form-texting-consent-description {
  color: #A8AEBD !important;
}

.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-date,
.ashby-application-form-input-dropdown,
.ashby-application-form-input-dropdown-select,
.ashby-application-form-input-autocomplete,
.ashby-application-form-input-file-dropzone,
.ashby-application-form-autofill-input-root {
  background-color: #06080B !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus {
  border-color: #00FFA7 !important;
}

.ashby-application-form-input-autocomplete-popup,
.ashby-application-form-input-date-popup {
  background-color: #0B1017 !important;
  color: #FFFFFF !important;
}

.ashby-application-form-input-yesno-option,
.ashby-application-form-input-radio-group-option-label,
.ashby-application-form-input-checkbox-group-option-label,
.ashby-application-form-input-file-dropzone-instructions,
.ashby-application-form-input-file-item-name,
.ashby-application-form-autofill-input-title,
.ashby-application-form-autofill-input-description {
  color: #FFFFFF !important;
}

.ashby-application-form-input-yesno-option {
  background-color: #06080B !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Buttons: mint with near-black text (contrast 15:1) */
.ashby-application-form-submit-button,
.ashby-application-form-input-file-dropzone-upload,
.ashby-application-form-input-education-add {
  background-color: #00FFA7 !important;
  color: #06080B !important;
  border-color: #00FFA7 !important;
}

.ashby-application-form-submit-button:hover,
.ashby-application-form-input-file-dropzone-upload:hover {
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #06080B !important;
}

/* Messages */
.ashby-application-form-success-container,
.ashby-application-form-failure-container,
.ashby-application-form-blocked-application-container,
.ashby-application-blocking-disclosure {
  background-color: #0B1017 !important;
  color: #FFFFFF !important;
}
