/* stylelint-disable */
@font-face {
  font-family: "Endra Sans Text 400";
  /* This is ripped from our website, if the cdn address changes simply inspect website and get new url */
  src: url(https://cdn.prod.website-files.com/67a5e8c83de2b6b24e8c08e8/67a5e8c83de2b6b24e8c091c_Endra-Sans-Text-400.woff2)format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* These variables can be used to control values throughout the job board. */
:root {
  /*  Darker primary color
    WARNING - This can be set in the Ashby admin under theme settings!
    If you modify, you should make sure your colors work with the settings there. */
  --colorPrimary900: #f9dd4a;

  /*  Lighter primary color
    WARNING - This can be set in the Ashby admin under theme settings!
    If you modify, you should make sure your colors work with the settings there. */
  --colorPrimary600: #f9dd4a;

  /*  The max width of the job board container */
  /* ashby adds margins equivalent to 2x spacingSmall  */
  --widthMaxJobBoard: calc(1024px + (var(--spacingSmall) + var(--spacingSmall))* 2);


  /*  Container border radius */
  --borderRadiusContainer: 8px;

  /*  Border radius of control elements (e.g. input boxes) */
  --borderRadiusControl: 8px;

  /*  Button border radius */
  --borderRadiusButton: 8px;

  /*  Font families */
  --fontFamily: "Endra Sans Text 400", "Whitney SSm", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  /* Invert the default colors to get dark mode and change colors to tailwinds neutral color scheme.
   * Except for neutral 000 that matches the black of the website
   * */
  --colorNeutral000: black;
  --colorNeutral100: #171717;
  --colorNeutral200: #262626;
  --colorNeutral300: #404040;
  --colorNeutral400: #525252;
  --colorNeutral500: #737373;
  --colorNeutral600: #a3a3a3;
  --colorNeutral700: #d4d4d4;
  --colorNeutral800: #e5e5e5;
  --colorNeutral900: #fafafa;

  --colorAppBackground: var(--colorNeutral000);

  --bakground: var(--colorNeutral000);
  --bakground-foreground: var(--colorNeutral900);
  --muted: #ffffff33;
  --muted-foreground: #efefef8c;

  --destructive: oklch(0.704 0.191 22.216);

  /* --positive: oklch(72.3% 0.219 149.579); */
  --positive: var(--colorPrimary900);
}

body {
  color: var(--colorNeutral900)
}

footer {
  display: none !important;
}

/* The container of the job posting details pane. */
.ashby-job-posting-brief {
  /* This adds some space between posting briefings. */
  margin-bottom: 10px;
}

/* Application autofill input's base layer element. This contains standard copy, a CTA button, and potential validation alerts. */
.ashby-application-form-autofill-input-base-layer {}

/* Application autofill input's description. */
.ashby-application-form-autofill-input-description {}

/* Application autofill input's drag state overlay element. Can style [data-state] which can be 'active' or 'hidden'. */
.ashby-application-form-autofill-input-drag-layer {}

/* Application autofill input form's alert element. Can style [data-highlight] which can be 'negative' or 'positive'. */
.ashby-application-form-autofill-input-form-alert {}

/* Application autofill input's magic sparkles icon. */
.ashby-application-form-autofill-input-icon {}

/* Application autofill input's pending state overlay element. Can style [data-state] which can be 'active' or 'hidden'.
.ashby-application-form-autofill-input-pending-layer {}

/* Application autofill input's root element. Can style [data-state] which can be 'pending', 'drag', or 'default'. */
.ashby-application-form-autofill-input-root {}

/* Application autofill input's title. */
.ashby-application-form-autofill-input-title {}

/* Container element for application autofill input form. */
.ashby-application-form-autofill-pane {}

/* The resume uploader to auto-fill the application form */
.ashby-application-form-autofill-uploader {}

/* A container for displaying the custom message to the user */
.ashby-application-form-blocked-application-container {}

/* A container for the application form. */
.ashby-application-form-container {
  &>div[data-highlight=negative] {
    background-color: color-mix(in oklab, var(--destructive) 20%, transparent);
    border: 1px solid color-mix(in oklab, var(--destructive) 80%, transparent);

    &>h2 {
      color: var(--destructive);
    }

    &>ul {
      color: var(--destructive);
    }
  }
}

/* A container for the failure message */
.ashby-application-form-failure-container {}

/* A container for the label and input on an application form. */
.ashby-application-form-field-entry {
  &>textarea {
    color: var(--colorNeutral900)
  }

  &>input {
    border: 1px solid var(--muted-foreground)
  }
}

/* The description of each question on an application form. Will only show if a description is specified. */
.ashby-application-form-question-description {}

/* The title of each question on an application form. */
.ashby-application-form-question-title {}

/* A single section on the Ashby application form. All questions will be wrapped in sections, though the default section may not have a title. */
.ashby-application-form-section-container {}

/* The header for an application form section, possibly containing a title and description. */
.ashby-application-form-section-header {}

/* The description for an application form section. May not exist if no description was specified. */
.ashby-application-form-section-header-description {}

/* The title for an application form section. May not exist for the default section. */
.ashby-application-form-section-header-title {}

/* The application submission button. Will have loading and hover states that should be tested. */
.ashby-application-form-submit-button {}

/* A container for the success message */
.ashby-application-form-success-container {
  background-color: color-mix(in oklab, var(--positive) 20%, transparent);
  border: 1px solid color-mix(in oklab, var(--positive) 80%, transparent);

  &>h2 {
    color: var(--positive) !important;
  }

  &>p {
    color: var(--positive);
  }

}

/* The text message consent description. Displayed below phone number fields. Will only show if texting is enabled. */
.ashby-application-form-texting-consent-description {}

/* The heading of a department, which can have many teams under it. */
.ashby-department-heading {
  border-bottom: 1px solid var(--muted);
  padding-bottom: 0.5rem;
}

/* The heading of a single team. */
.ashby-department-heading-level {
  color: var(--muted-foreground);
  font-size: 1rem;
  font-family: "Endra Sans Text 400", Arial, sans-serif;
  line-height: 1.5;
}

/* The button which allows users to navigate from an individual posting back to the list of all job postings. */
.ashby-job-board-back-to-all-jobs-button {}

/* A select box element for filtering the job board. */
.ashby-job-board-filter {}

/* The 'Filters' label element in the job board. */
.ashby-job-board-filters-label {}

/* The heading of the entire job board. */
.ashby-job-board-heading {
  font-size: 0;

  &::after {
    content: "Open positions";
    letter-spacing: -.02em;
    font-weight: 500;
    line-height: 1;
    font-size: 3rem;
  }

}

/* The count of job postings on the job board. */
.ashby-job-board-heading-count {
  color: var(--muted-foreground);
  display: none;
}

/* The 'Reset filters' label element in the job board. The reset filters label element in the job board. */
.ashby-job-board-reset-filters-label {}

/* The heading of a department name. Departments group teams. */
.ashby-job-posting-brief-department-heading {}

/* The heading of a single team. */
.ashby-job-posting-brief-department-heading-level {}

/* The container for the details of the job posting, in the details pane. */
.ashby-job-posting-brief-details {
  color: var(--muted-foreground);
}

/* The container for the list of job post briefings. */
.ashby-job-posting-brief-list {}

/* The title of the job posting in the details pane. */
.ashby-job-posting-brief-title {
  color: var(--bakground-foreground);
}

/* The main header on the job posting page */
.ashby-job-posting-header {}

/* The heading of a job post */
.ashby-job-posting-heading {}

/* The left pane of the job posting, with the job posting details */
.ashby-job-posting-left-pane {}

/* The right pane of the job posting, containing the tabs, overview, and application form */
.ashby-job-posting-right-pane {}

/* The application tab in the right pane of the job posting */
.ashby-job-posting-right-pane-application-tab {}

/* The overview tab in the right pane of the job posting */
.ashby-job-posting-right-pane-overview-tab {}

/* The tabs slider in the right pane of the job posting */
.ashby-job-posting-right-pane-tab-slider {}

/* A container for any surveys specified for this application form. */
.ashby-survey-form-container {}
