/* stylelint-disable */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Gloock&display=swap');

/* Shared Context Lab / Ashby job board theme */

:root {
    /* Brand colors */
    --colorPrimary900: #BEE84A;
    --colorPrimary600: #D0FF51;
    --colorAppBackground: #F6F5EC;

    /* Layout */
    --widthMaxJobBoard: 920px;

    /* Radius */
    --borderRadiusContainer: 16px;
    --borderRadiusControl: 12px;
    --borderRadiusButton: 999px;

    /* Typography */
    --fontFamily: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* 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: rgba(255, 253, 247, 0.72);
    border: 1px solid rgba(31, 31, 26, 0.10);
    border-radius: 16px;
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
    box-shadow: none;
}

/* Application autofill input's description. */
.ashby-application-form-autofill-input-description {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
}

/* 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(208, 255, 81, 0.14);
    border: 1px dashed #D0FF51;
    border-radius: 16px;
}

/* Application autofill input form's alert element. Can style [data-highlight] which can be 'negative' or 'positive'. */
.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
    background: rgba(208, 255, 81, 0.16);
    color: #1F1F1A;
    border-radius: 12px;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
    background: rgba(120, 35, 24, 0.08);
    color: #782318;
    border-radius: 12px;
}

/* Application autofill input's magic sparkles icon. */
.ashby-application-form-autofill-input-icon {
    color: #1F1F1A;
}

/* Application autofill input's pending state overlay element. */
.ashby-application-form-autofill-input-pending-layer[data-state="active"] {
    background: rgba(246, 245, 236, 0.8);
    border-radius: 16px;
}

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

/* Application autofill input's title. */
.ashby-application-form-autofill-input-title {
    font-family: "Gloock", serif;
    color: #1F1F1A;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* Container element for application autofill input form. */
.ashby-application-form-autofill-pane {
    background: transparent;
}

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

/* A container for displaying the custom message to the user */
.ashby-application-form-blocked-application-container {
    background: rgba(255, 253, 247, 0.72);
    border: 1px solid rgba(31, 31, 26, 0.10);
    border-radius: 16px;
    color: #1F1F1A;
}

/* A container for the application form. */
.ashby-application-form-container {
    background: transparent;
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
}

/* A container for the failure message */
.ashby-application-form-failure-container {
    background: rgba(120, 35, 24, 0.05);
    border: 1px solid rgba(120, 35, 24, 0.12);
    border-radius: 16px;
    color: #782318;
}

/* A container for the label and input on an application form. */
.ashby-application-form-field-entry {
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
}

/* The description of each question on an application form. Will only show if a description is specified. */
.ashby-application-form-question-description {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
}

/* The title of each question on an application form. */
.ashby-application-form-question-title {
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
}

/* A single section on the Ashby application form. */
.ashby-application-form-section-container {
    background: transparent;
}

/* The header for an application form section, possibly containing a title and description. */
.ashby-application-form-section-header {
    background: transparent;
    border-bottom: 1px solid rgba(31, 31, 26, 0.10);
    padding-bottom: 10px;
    margin-bottom: 14px;
}

/* The description for an application form section. */
.ashby-application-form-section-header-description {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
}

/* The title for an application form section. */
.ashby-application-form-section-header-title {
    color: #1F1F1A;
    font-family: "Gloock", serif;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* The application submission button. Will have loading and hover states that should be tested. */
.ashby-application-form-submit-button {
    background: #D0FF51;
    border: 1px solid #D0FF51;
    border-radius: 999px;
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    box-shadow: none;
    transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.ashby-application-form-submit-button:hover {
    background: #BEE84A;
    border-color: #BEE84A;
    color: #1F1F1A;
    transform: translateY(-1px);
}

/* A container for the success message */
.ashby-application-form-success-container {
    background: rgba(208, 255, 81, 0.12);
    border: 1px solid rgba(208, 255, 81, 0.4);
    border-radius: 16px;
    color: #1F1F1A;
}

/* The text message consent description. Displayed below phone number fields. */
.ashby-application-form-texting-consent-description {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
}

/* The heading of a department, which can have many teams under it. */
.ashby-department-heading {
    color: #1F1F1A;
    font-family: "Gloock", serif;
    line-height: 1.1;
}

/* The heading of a single team. */
.ashby-department-heading-level {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

/* 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;
    border: 1px solid rgba(31, 31, 26, 0.12);
    border-radius: 999px;
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
}

/* A select box element for filtering the job board. */
.ashby-job-board-filter {
    background: #FFFDF7;
    border: 1px solid rgba(31, 31, 26, 0.12);
    border-radius: 12px;
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
    box-shadow: none;
}

/* The 'Filters' label element in the job board. */
.ashby-job-board-filters-label {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
}

/* The heading of the entire job board. */
.ashby-job-board-heading {
    color: #1F1F1A;
    font-family: "Gloock", serif;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

/* The count of job postings on the job board. */
.ashby-job-board-heading-count {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
}

/* The 'Reset filters' label element in the job board. */
.ashby-job-board-reset-filters-label {
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
}

/* The container of the job posting details pane. */
.ashby-job-posting-brief {
    margin-bottom: 14px;
    background: rgba(255, 253, 247, 0.72);
    border: 1px solid rgba(31, 31, 26, 0.10);
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: none;
    transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
}

.ashby-job-posting-brief:hover {
    border-color: rgba(31, 31, 26, 0.18);
    transform: translateY(-1px);
}

/* The heading of a department name. Departments group teams. */
.ashby-job-posting-brief-department-heading {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}

/* The heading of a single team. */
.ashby-job-posting-brief-department-heading-level {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
}

/* The container for the details of the job posting, in the details pane. */
.ashby-job-posting-brief-details {
    color: #5E5B52;
    font-family: "DM Sans", sans-serif;
}

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

/* The title of the job posting in the details pane. */
.ashby-job-posting-brief-title {
    color: #1F1F1A;
    font-family: "Gloock", serif;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

/* The main header on the job posting page */
.ashby-job-posting-header {
    border-bottom: 1px solid rgba(31, 31, 26, 0.10);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

/* The heading of a job post */
.ashby-job-posting-heading {
    color: #1F1F1A;
    font-family: "Gloock", serif;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

/* The left pane of the job posting, with the job posting details */
.ashby-job-posting-left-pane {
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
}

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

/* The application tab in the right pane of the job posting */
.ashby-job-posting-right-pane-application-tab {
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
}

/* The overview tab in the right pane of the job posting */
.ashby-job-posting-right-pane-overview-tab {
    color: #1F1F1A;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
}

/* The tabs slider in the right pane of the job posting */
.ashby-job-posting-right-pane-tab-slider {
    background: #D0FF51;
    border-radius: 999px;
    height: 3px;
}

/* A container for any surveys specified for this application form. */
.ashby-survey-form-container {
    background: transparent;
    color: #1F1F1A;
}


/* Added spacing between content paragraphs */
.ashby-job-posting-left-pane p,
.ashby-job-posting-right-pane p,
.ashby-job-posting-brief-details p {
    margin-top: 0;
    margin-bottom: 24px;
    line-height: 1.65;
}

.ashby-job-posting-left-pane p:last-child,
.ashby-job-posting-right-pane p:last-child,
.ashby-job-posting-brief-details p:last-child {
    margin-bottom: 0;
}

/* Make resume autofill area feel less crowded */
.ashby-application-form-autofill-pane {
    margin-bottom: 24px;
}

.ashby-application-form-autofill-uploader {
    padding: 16px;
    border-radius: 16px;
}

.ashby-application-form-autofill-input-root {
    padding: 4px;
}

.ashby-application-form-autofill-input-base-layer {
    padding: 18px;
    line-height: 1.5;
}

.ashby-application-form-autofill-input-title {
    margin-bottom: 8px;
}

.ashby-application-form-autofill-input-description {
    display: block;
    margin-top: 6px;
    margin-bottom: 12px;
    line-height: 1.55;
}

.ashby-application-form-autofill-input-form-alert {
    margin-top: 10px;
}

