/* stylelint-disable */

/* These variables can be used to control values throughout the job board. */
:root {
    /*  The max width of the job board container */
    --widthMaxJobBoard: auto;

    /*  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: 6px;

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

    /*  Font families */
    --fontFamily: "Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    --colorAppBackground: #FFFAF5;

    /*  Custom focus ring color — sky blue accent. */
    --colorFocusRing: rgba(80, 171, 218, 0.45);
}

*:focus-visible {
    box-shadow: 0 0 0 3px var(--colorFocusRing) !important;
    outline: none !important;
}

/* 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 {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    margin-left: 24px;
}

/* Application autofill input's description. */
.ashby-application-form-autofill-input-description {
    color: #7C6E67;
}

/* 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[data-state="active"] {
    background: rgba(80, 171, 218, 0.18);
    border-radius: 6px;
}

/* Application autofill input form's alert element. Can style [data-highlight] which can be 'negative' or 'positive'. */
.ashby-application-form-autofill-input-form-alert {
    font-size: 13px;
    line-height: 1.45;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
}
.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
    background: #E6F0E9;
    color: #1F5A3F;
}
.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
    background: #F4DFDB;
    color: #782E25;
}

/* 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[data-state="active"] {
    background: rgba(255, 250, 245, 0.85);
    border-radius: 6px;
}
@media (min-width: 768px) {
/* Application autofill input's root element. Can style [data-state] which can be 'pending', 'drag', or 'default'. */
.ashby-application-form-autofill-input-root {
    padding-inline: 0 !important;
    /* background: #F0E9E2;
    border: 1px dashed rgba(0, 48, 71, 0.28); */
}
}
.ashby-application-form-autofill-input-root[data-state="drag"] {
    background: rgba(80, 171, 218, 0.18);
    border-color: #50ABDA;
    border-style: solid;
}
.ashby-application-form-autofill-input-root[data-state="pending"] {
    border-style: solid;
    border-color: rgba(0, 48, 71, 0.14);
}

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

/* Container element for application autofill input form. */
.ashby-application-form-autofill-pane {
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .ashby-application-form-autofill-input-root {
        padding: 24px !important;
        background-color: #FFF !important;
        
    }
    .ashby-application-form-autofill-uploader {
        padding: 0;
        margin: 0;
    }
}

/* A container for displaying the custom message to the user */
.ashby-application-form-blocked-application-container {
    padding: 24px;
    border-radius: 16px;
    background: #F0E9E2;
    color: #003047;
    border: 1px solid rgba(0, 48, 71, 0.08);
}

/* A container for the application form. */
.ashby-application-form-container {
    border-radius: 16px;
    margin-top: 16px;
}

/* A container for the failure message */
.ashby-application-form-failure-container {
    padding: 24px;
    border-radius: 16px;
    background: #F4DFDB;
    border: 1px solid #DDB0A9;
    color: #782E25;
}

/* A container for the label and input on an application form. */
.ashby-application-form-field-entry {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ashby-application-form-field-entry input, .ashby-application-form-field-entry textarea {
    padding: 12px 16px;
}

.ashby-application-form-field-entry input:focus-visible,
.ashby-application-form-field-entry textarea:focus-visible {
    box-shadow: 0 0 0 3px var(--colorFocusRing);
    border-color:#50ABDA !important;
    outline: none !important;
}

/* The description of each question on an application form. Will only show if a description is specified. */
.ashby-application-form-question-description {
    color: #7C6E67;
    margin-top: 4px;
}

/* The title of each question on an application form. */
.ashby-application-form-question-title {
    margin-bottom: 4px;
}

/* 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;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 48, 71, 0.08);
}
.ashby-application-form-section-container:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* The header for an application form section, possibly containing a title and description. */
.ashby-application-form-section-header {
    margin-bottom: 20px;
}

/* The description for an application form section. May not exist if no description was specified. */
.ashby-application-form-section-header-description {
    color: #7C6E67;
    margin: 0;
}

/* 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 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #FFFAF5;
    background: #003047;
    border: 0;
    box-sizing: border-box !important;
    border-radius: 6px;
    padding: 14px 22px;
    margin: 8px;
    cursor: pointer;
    width: calc(100% - 16px);
}
.ashby-application-form-submit-button:hover {
    background: #002033;
}
.ashby-application-form-submit-button:active {
    transform: scale(0.98);
}
.ashby-application-form-submit-button:disabled,
.ashby-application-form-submit-button[aria-disabled="true"] {
    opacity: 0.4;
    cursor: not-allowed;
}
.ashby-application-form-submit-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--colorFocusRing);
}

/* A container for the success message */
.ashby-application-form-success-container {
    padding: 24px;
    border-radius: 16px;
    background: #E6F0E9;
    border: 1px solid #B7D2C1;
    color: #1F5A3F;
}

/* The text message consent description. Displayed below phone number fields. Will only show if texting is enabled. */
.ashby-application-form-texting-consent-description {
    color: #7C6E67;
    margin-top: 6px;
}

/* The heading of a department, which can have many teams under it. */
.ashby-department-heading {
    padding: 0 16px;
    margin: 12px 0 6px;
}

/* The heading of a single team. */
.ashby-department-heading-level {
    margin: 12px 0 6px;
    padding: 0;
    border: 0;
}

/* 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 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #003047;
    background: transparent;
    border: 0;
    padding: 4px;
    margin-left: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    border-radius: 6px;
}
.ashby-job-board-back-to-all-jobs-button svg {
    margin: 0 !important;
}

.ashby-job-board-back-to-all-jobs-button:hover {
    color: #002033 !important;
    text-decoration: underline;
    text-decoration-color: #50ABDA;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    background: transparent;
    box-shadow: none;
    
}

.ashby-job-board-back-to-all-jobs-button:hover svg {
    fill: #002033;
}
.ashby-job-board-back-to-all-jobs-button:focus-visible {
    outline: none;
    box-shadow: none;
}

/* hack: Using undocumented selectors. This might break in the future. */
@media (min-width: 768px) {
    [class^="_filters_"] {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    [class^="_filtersHeader_"] {
        justify-content: start;
    }
    
    [class^="_filterContainer"] {
        max-width: fit-content;
    }
}

/* A select box element for filtering the job board. */
.ashby-job-board-filter {
    font-size: 14px !important;
    font-weight: 500;
    color: #003047;
    background: #FFF;
    border: 1px solid rgba(0, 48, 71, 0.14) !important;
    border-radius: 6px;
    padding: 8px 12px;
    padding-right: 2.5em; /* offset for the dropdown arrow icon */
    cursor: pointer;
}
.ashby-job-board-filter:hover {
    background-color: #f5f8f9;
    border-color: #003047 !important;
}
.ashby-job-board-filter:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--colorFocusRing);
    border-color: #50ABDA !important;
}

/* The 'Filters' label element in the job board. */
.ashby-job-board-filters-label {
    font-weight: 700;
    font-size: 12px;
    color: #7C6E67;
    margin-right: 12px;
}

/* The heading of the entire job board. */
.ashby-job-board-heading {
    display: none;
}

/* The count of job postings on the job board. */
.ashby-job-board-heading-count {
    font-weight: 400;
    color: #7C6E67;
    font-size: 0.55em;
    margin-left: 8px;
}

/* The 'Reset filters' label element in the job board. The reset filters label element in the job board. */
.ashby-job-board-reset-filters-label {
    font-size: 14px;
    font-weight: 500;
    color: #003047;
    cursor: pointer;
}
.ashby-job-board-reset-filters-label:hover {
    color: #002033;
    text-decoration: underline;
    text-decoration-color: #50ABDA;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.ashby-job-board-reset-filters-label:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--colorFocusRing);
    border-radius: 6px;
}

/* The container of the job posting details pane. */
.ashby-job-posting-brief {
    /* This adds some space between posting briefings. */
    margin: 0;
    padding: 20px 24px;
    border: 1px solid rgba(0, 48, 71, 0.08);
    border-top: 1px solid rgba(0, 48, 71, 0.08) !important;
    border-radius: 16px;
    cursor: pointer;
    background: #FFF;
    box-shadow: 0 2px 6px var(--colorNeutralShadow) !important;
}
.ashby-job-posting-brief:hover {
    background: #F0E9E2;
    border-color: rgba(0, 48, 71, 0.14) !important;
}
.ashby-job-posting-brief:active {
    transform: scale(0.998);
}
.ashby-job-posting-brief:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--colorFocusRing);
}

/* The heading of a department name. Departments group teams. */
.ashby-job-posting-brief-department-heading {
    margin: 12px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 48, 71, 0.08);
}

/* The heading of a single team. */
.ashby-job-posting-brief-department-heading-level {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    margin: 24px 0 8px;
    padding: 0;
    border: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* The container for the details of the job posting, in the details pane. */
.ashby-job-posting-brief-details {
    font-size: 14px;
    color: #7C6E67;
    line-height: 1.45;
}

/* The container for the list of job post briefings. */
.ashby-job-posting-brief-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
}

.ashby-job-posting-brief-list a:focus-visible {
    box-shadow: none !important;
}

.ashby-job-posting-brief-list a:focus-visible .ashby-job-posting-brief {
    outline: 3px solid var(--colorFocusRing);
    border-color: #50ABDA !important;
}

/* The title of the job posting in the details pane. */
.ashby-job-posting-brief-title {
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 6px;
}

/* The main header on the job posting page */
.ashby-job-posting-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 48, 71, 0.08);
}

/* The heading of a job post */
.ashby-job-posting-heading {
    margin: 0 0 24px;
}

@media (max-width: 768px) {
    [role="tabpanel"] {
        background: #FFF;
        box-shadow: 0 2px 6px var(--colorNeutralShadow);
        border-radius: 0 0 16px 16px;
        padding: 12px 16px;
        border: 1px solid rgba(0, 48, 71, 0.08);
    }
    [role="tabpanel"] .ashby-application-form-container {
        box-shadow: none !important;
        padding: 0 
    }
    [role="tabpanel"] > * {
        box-shadow: none !important;
    }
}

@media (min-width: 768px) {
    /* The left pane of the job posting, with the job posting details */
    .ashby-job-posting-left-pane {
        padding: 0 16px;
        margin-top: 0 !important;
        background-color: var(--colorAppBackground);
    }


    /* The right pane of the job posting, containing the tabs, overview, and application form */
    .ashby-job-posting-right-pane {
        border: 1px solid rgba(0, 48, 71, 0.08);
        border-radius: 16px;
        background-color: #FFF;
        padding: 8px;
    }
}

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