/* stylelint-disable */

/**
 * Ashby job board / application embed — custom CSS (host at HTTPS; allowlist in Ashby Admin).
 * Includes explicit input/textarea/select color so typed text stays light on dark UI.
 */

/* 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: #ffffff;

    /*  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: rgba(255, 255, 255, 0.85);

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

    /*  The max width of the application form section */
    /* --widthMaxJobBoard: 800px; */

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

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

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

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

    --colorAppBackground: #1e1e1e;

    /* Override neutral colors for dark theme */
    --colorNeutral000: #1e1e1e;
}

/* 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 {
    color: #ffffff !important;
}

/* Application autofill input's description. */
.ashby-application-form-autofill-input-description {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* 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 {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px dashed rgba(255, 255, 255, 0.3) !important;
}

/* Application autofill input form's alert element. Can style [data-highlight] which can be 'negative' or 'positive'. */
.ashby-application-form-autofill-input-form-alert {
    border-radius: var(--borderRadiusControl) !important;
    color: #ffffff !important;
}

/* Application autofill input's magic sparkles icon. */
.ashby-application-form-autofill-input-icon {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* 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 {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Application autofill input's root element. Can style [data-state] which can be 'pending', 'drag', or 'default'. */
.ashby-application-form-autofill-input-root {
    background: #1e1e1e !important;
    color: #ffffff !important;
}

/* Application autofill input's title. */
.ashby-application-form-autofill-input-title {
    color: #ffffff !important;
}

/* Container element for application autofill input form. */
.ashby-application-form-autofill-pane {
    background: #1e1e1e !important;
    color: #ffffff !important;
}

/* The resume uploader to auto-fill the application form */
.ashby-application-form-autofill-uploader {
    color: #ffffff !important;
}

/* A container for displaying the custom message to the user */
.ashby-application-form-blocked-application-container {
    background: #1e1e1e !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: var(--borderRadiusContainer) !important;
}

/* A container for the application form. */
.ashby-application-form-container {
    background: #1e1e1e !important;
    color: #ffffff !important;
}

/* Parent color does not override Ashby’s control-level text color — set explicitly on inputs. */
.ashby-application-form-container input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.ashby-application-form-container textarea,
.ashby-application-form-container select {
    color: #ffffff !important;
}

.ashby-application-form-container input:not([type="checkbox"]):not([type="radio"]):not([type="file"])::placeholder,
.ashby-application-form-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.ashby-application-form-container input:-webkit-autofill,
.ashby-application-form-container input:-webkit-autofill:hover,
.ashby-application-form-container input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
}

/* A container for the failure message */
.ashby-application-form-failure-container {
    color: #ffffff !important;
}

/* A container for the label and input on an application form. */
.ashby-application-form-field-entry {
    color: #ffffff !important;
}

/* The description of each question on an application form. Will only show if a description is specified. */
.ashby-application-form-question-description {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* The title of each question on an application form. */
.ashby-application-form-question-title {
    color: #ffffff !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 {
    color: #ffffff !important;
}

/* The header for an application form section, possibly containing a title and description. */
.ashby-application-form-section-header {
    color: #ffffff !important;
}

/* The description for an application form section. May not exist if no description was specified. */
.ashby-application-form-section-header-description {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* The title for an application form section. May not exist for the default section. */
.ashby-application-form-section-header-title {
    color: #ffffff !important;
}

/* The application submission button. Will have loading and hover states that should be tested. */
.ashby-application-form-submit-button {
    color: #1e1e1e !important;
    border-radius: var(--borderRadiusButton) !important;
    width: 95% !important;
    margin: 0 auto !important;
}

/* A container for the success message */
.ashby-application-form-success-container {
    color: #ffffff !important;
}

/* The text message consent description. Displayed below phone number fields. Will only show if texting is enabled. */
.ashby-application-form-texting-consent-description {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* The heading of a department, which can have many teams under it. */
.ashby-department-heading {
    color: #ffffff !important;
}

/* The heading of a single team. */
.ashby-department-heading-level {
    color: #ffffff !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 {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: var(--borderRadiusButton) !important;
}

/* A select box element for filtering the job board. */
.ashby-job-board-filter {
    background: #1e1e1e !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: var(--borderRadiusControl) !important;
}

/* The 'Filters' label element in the job board. */
.ashby-job-board-filters-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* The heading of the entire job board. */
.ashby-job-board-heading {
    color: #ffffff !important;
}

/* The count of job postings on the job board. */
.ashby-job-board-heading-count {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* The 'Reset filters' label element in the job board. The reset filters label element in the job board. */
.ashby-job-board-reset-filters-label {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* The container of the job posting details pane. */
.ashby-job-posting-brief {
    /* This adds some space between posting briefings. */
    margin-bottom: 14px;
    background: #1b1b1b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--borderRadiusContainer) !important;
}

/* The heading of a department name. Departments group teams. */
.ashby-job-posting-brief-department-heading {
    color: #ffffff !important;
}

/* The heading of a single team. */
.ashby-job-posting-brief-department-heading-level {
    color: #ffffff !important;
}

/* The container for the details of the job posting, in the details pane. */
.ashby-job-posting-brief-details {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* The container for the list of job post briefings. */
.ashby-job-posting-brief-list {
    color: #ffffff !important;
}

/* The title of the job posting in the details pane. */
.ashby-job-posting-brief-title {
    color: #ffffff !important;
}

/* The main header on the job posting page */
.ashby-job-posting-header {
    background: #1e1e1e !important;
    color: #ffffff !important;
}

/* The heading of a job post */
.ashby-job-posting-heading {
    color: #ffffff !important;
}

/* The left pane of the job posting, with the job posting details */
.ashby-job-posting-left-pane {
    background: #1e1e1e !important;
    color: #ffffff !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* The right pane of the job posting, containing the tabs, overview, and application form */
.ashby-job-posting-right-pane {
    background: #1e1e1e !important;
    color: #ffffff !important;
}

.ashby-job-posting-right-pane p,
.ashby-job-posting-right-pane div,
.ashby-job-posting-right-pane ul,
.ashby-job-posting-right-pane ol,
.ashby-job-posting-right-pane li,
.ashby-job-posting-right-pane h1,
.ashby-job-posting-right-pane h2,
.ashby-job-posting-right-pane h3,
.ashby-job-posting-right-pane h4,
.ashby-job-posting-right-pane h5,
.ashby-job-posting-right-pane h6 {
    color: #ffffff !important;
}

/* The application tab in the right pane of the job posting */
.ashby-job-posting-right-pane-application-tab {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* The overview tab in the right pane of the job posting */
.ashby-job-posting-right-pane-overview-tab {
    background: #1e1e1e !important;
    color: rgba(255, 255, 255, 0.85) !important;
    --colorNeutral000: #1e1e1e !important;
}

/* Override container background in overview tab */
.ashby-job-posting-right-pane-overview-tab div,
.ashby-job-posting-right-pane-overview-tab section,
.ashby-job-posting-right-pane-overview-tab article {
    background-color: #1e1e1e !important;
}

/* Ensure SVG elements remain white in overview tab, especially inside buttons */
.ashby-job-posting-right-pane-overview-tab svg,
.ashby-job-posting-right-pane-overview-tab svg *,
.ashby-job-posting-right-pane-overview-tab button svg,
.ashby-job-posting-right-pane-overview-tab button svg * {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* The tabs slider in the right pane of the job posting */
.ashby-job-posting-right-pane-tab-slider {
    background: rgba(255, 255, 255, 0.35) !important;
}

/* A container for any surveys specified for this application form. */
.ashby-survey-form-container {
    background: #1e1e1e !important;
    color: #ffffff !important;
}
