/* stylelint-disable */

/* Custom Ashby Job Board Styling for Spaitial */
/* Based on Ashby's full-job-board.css template with Spaitial brand colors */

/* These variables can be used to control values throughout the job board. */
:root {
    /*  Darker primary color - Spaitial Blue (replaces darkorange) */
    --colorPrimary900: #008FEF;

    /*  Lighter primary color - Spaitial Green highlight (replaces orange) */
    --colorPrimary600: #02D985;

    /*  The max width of the job board container */
    --widthMaxJobBoard: 1200px;

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

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

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

    /*  Font families - match Spaitial's Roboto */
    --fontFamily: 'Roboto', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Helvetica', 'Arial', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;

    /* Background color - Spaitial dark navy (replaces #f7f8fa) */
    --colorAppBackground: #020f20;
  }

/* Custom Styling for Bold Blue Text */

/* Make job titles bold and white */
.ashby-job-posting-brief-title,
.ashby-job-posting-brief-title a {
  font-weight: 700 !important;
  color: rgb(248, 250, 252) !important;
}

.ashby-job-board-heading,
.ashby-job-board-heading a,
.ashby-job-posting-heading {
  font-weight: 700 !important;
  color: rgb(248, 250, 252) !important;
}

.ashby-job-posting-brief-department-heading,
.ashby-job-posting-brief-department-heading-level,
.ashby-job-board-heading-count {
  color: rgb(248, 250, 252) !important;
}

/* White links with gradient hover effect */
.ashby-job-posting-brief-title a,
.ashby-job-posting-brief a {
  color: rgb(248, 250, 252) !important;
  transition: all 0.2s ease !important;
}

.ashby-job-posting-brief-title a:hover,
.ashby-job-posting-brief a:hover {
  background: linear-gradient(135deg, #008FEF 0%, #02D985 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Apply button gradient with Spaitial colors */
.ashby-application-form-submit-button {
  background: linear-gradient(135deg, #008FEF 0%, #02D985 100%) !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

.ashby-application-form-submit-button:hover {
  background: linear-gradient(135deg, #02D985 20%, #008FEF 100%) !important;
  transform: scale(1.02);
}

/* ======================================== */
/* DOCUMENTED ASHBY CSS CLASS SELECTORS */
/* These can be customized later as needed */
/* ======================================== */

/* 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 {
  background: transparent !important;
  border-radius: var(--borderRadiusControl, 10px) !important;
  border: none !important;
  color: rgb(248 250 252) !important;
}

/* 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 {
  background: transparent !important;
  border-radius: var(--borderRadiusControl, 10px) !important;
  border: none !important;
  box-shadow: none !important;
}

/* Application autofill input's title. */
.ashby-application-form-autofill-input-title {
  color: rgb(248 250 252) !important;
  font-weight: 600 !important;
}

/* Container element for application autofill input form. */
.ashby-application-form-autofill-pane {
  background: transparent !important;
  color: rgb(248 250 252) !important;
}

/* Style the Upload button inside the autofill pill */
.ashby-application-form-autofill-input-base-layer button {
  background-color: #020f20 !important;
  color: rgb(248 250 252) !important;
  border: 1px solid rgba(148, 163, 184, 0.45) !important;
}

/* The resume uploader to auto-fill the application form */
.ashby-application-form-autofill-uploader {
  background: rgba(0, 143, 239, 0.06) !important;
  border: 2px dashed rgba(0, 143, 239, 0.35) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  text-align: center !important;
  color: rgb(248 250 252) !important;
}

/* 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 {
  background: transparent !important;
  color: rgb(248 250 252) !important;
  padding: 24px !important;
  border-radius: 12px !important;
}

/* A container for the failure message */
.ashby-application-form-failure-container {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  color: rgb(248 250 252) !important;
}

/* A container for the label and input on an application form. */
.ashby-application-form-field-entry {
  margin-bottom: 20px !important;
}

/* Style form inputs, textareas, and selects */
.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
  background: rgba(0, 143, 239, 0.06) !important;
  border: 1px solid rgba(0, 143, 239, 0.35) !important;
  border-radius: 10px !important;
  color: rgb(248 250 252) !important;
  padding: 12px !important;
}

.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
  border-color: rgba(0, 143, 239, 0.65) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 143, 239, 0.15) !important;
}

.ashby-application-form-field-entry input::placeholder,
.ashby-application-form-field-entry textarea::placeholder {
  color: rgb(148 163 184) !important;
  opacity: 0.7 !important;
}

/* The description of each question on an application form. Will only show if a description is specified. */
.ashby-application-form-question-description {
  color: rgb(203 213 225) !important;
  font-size: 14px !important;
  margin-top: 4px !important;
}

/* The title of each question on an application form. */
.ashby-application-form-question-title {
  color: rgb(248 250 252) !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

/* 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 {
  margin-bottom: 32px !important;
}

/* 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 {
  color: rgb(203 213 225) !important;
  margin-bottom: 16px !important;
}

/* The title for an application form section. May not exist for the default section. */
.ashby-application-form-section-header-title {
  color: rgb(248 250 252) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin-bottom: 8px !important;
}

/* The application submission button. Will have loading and hover states that should be tested. */
/* Already customized above with gradient */

/* A container for the success message */
.ashby-application-form-success-container {
  background: rgba(2, 217, 133, 0.15) !important;
  border: 1px solid rgba(2, 217, 133, 0.35) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  color: rgb(248 250 252) !important;
}

/* 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 {
  color: rgb(248 250 252) !important;
  font-weight: 600 !important;
}

/* The heading of a single team. */
.ashby-department-heading-level {
  color: rgb(248 250 252) !important;
  font-weight: 600 !important;
}

/* 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. */
/* Already customized above with bold blue */

/* The count of job postings on the job board. */
.ashby-job-board-heading-count {}

/* 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 container of the job posting details pane. */
.ashby-job-posting-brief {
    /* This adds some space between posting briefings. */
    margin-bottom: 10px;
    background: linear-gradient(120deg, rgba(0,143,239,0.12), rgba(2,217,133,0.08)) !important;
    border: 1px solid rgba(0, 143, 239, 0.35) !important;
    padding: 16px !important;
    border-radius: 12px !important;
}

.ashby-job-posting-brief:hover {
  background: linear-gradient(120deg, rgba(0,143,239,0.2), rgba(2,217,133,0.14)) !important;
  border-color: rgba(0, 143, 239, 0.55) !important;
}

.ashby-job-posting-left-pane {
  background: #020f20 !important;
  color: rgb(248 250 252) !important;
}

.ashby-job-posting-right-pane {
  background: #020f20 !important;
  color: rgb(248 250 252) !important;
}

/* Global page background inside the Ashby iframe / hosted board */
body {
  background-color: #020f20 !important;
}

/* Ensure the Overview tab content doesn’t keep a white card background */
.ashby-job-posting-right-pane > div,
.ashby-job-posting-right-pane [role="tabpanel"] {
  background: transparent !important;
}

/* Also clear any nested card-style backgrounds in the Overview tab */
.ashby-job-posting-right-pane section,
.ashby-job-posting-right-pane article {
  background: transparent !important;
}

.ashby-job-board-filter {
  border-color: rgba(0, 143, 239, 0.55) !important;
  background: rgba(0, 143, 239, 0.06) !important;
  color: rgb(248 250 252) !important;
}

/* Filter labels and reset link text */
.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
  color: rgb(203 213 225) !important;
}

/* 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: rgb(203 213 225) !important;
  font-size: 15px !important; /* Subtle increase from default ~13-14px, maintains compact look */
}

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

/* The title of the job posting in the details pane. */
/* Already customized above with bold blue */

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

/* The heading of a job post */
/* Already customized above with bold blue */

/* 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 {
  color: rgb(203 213 225) !important;
  border-bottom: 2px solid transparent !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ashby-job-posting-right-pane-application-tab:hover {
  color: rgb(248 250 252) !important;
}

.ashby-job-posting-right-pane-application-tab[aria-selected="true"] {
  color: #008FEF !important;
  border-bottom-color: #008FEF !important;
}

/* The overview tab in the right pane of the job posting */
.ashby-job-posting-right-pane-overview-tab {
  color: rgb(203 213 225) !important;
  border-bottom: 2px solid transparent !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ashby-job-posting-right-pane-overview-tab:hover {
  color: rgb(248 250 252) !important;
}

.ashby-job-posting-right-pane-overview-tab[aria-selected="true"] {
  color: #008FEF !important;
  border-bottom-color: #008FEF !important;
}

/* Default body copy in both panes – reduce remaining gray text */
.ashby-job-posting-left-pane p,
.ashby-job-posting-left-pane li,
.ashby-job-posting-right-pane p,
.ashby-job-posting-right-pane li {
  color: rgb(226 232 240) !important;
}

/* Links inside the job details content */
.ashby-job-posting-right-pane a {
  color: #02D985 !important;
}

.ashby-job-posting-right-pane a:hover {
  color: #008FEF !important;
}

/* 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 {}
