/* stylelint-disable */

/* ============================================================
   Primary gold: #BDA770
   Background:   #FFFFFF (white)
   Surface:      #F9F9F9 (off-white panels)
   Text/ink:     #111111 (near-black)
   Font:         Inter (Google Fonts)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Primary gold — fixed, do not alter */
    --colorPrimary900: #BDA770;
    --colorPrimary600: #BDA770;

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

    /* Border radii */
    --borderRadiusContainer: 6px;
    --borderRadiusControl: 6px;
    --borderRadiusButton: 4px;

    --spacingNormal: 12px;

    /* Typography — Inter */
    --fontFamily: "Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI",
                  "Helvetica", "Arial", sans-serif;

    /* Background */
    --colorAppBackground: #ffffff;

    /* Semantic tokens */
    --colorInk: #111111;
    --colorInkMuted: #555555;
    --colorSurface: #F9F9F9;
    --colorBorder: #E0D9CC;
    --colorGold: #BDA770;
    --colorGoldLight: rgba(189, 167, 112, 0.15);
    --colorBlack: #111111;
}

/* ── Global font application ── */
body,
[class*="ashby"] {
    font-family: var(--fontFamily);
    background: transparent;
    background-color: transparent;
}

/* ============================================================
   JOB BOARD — Headings & counts
   ============================================================ */

.ashby-job-board-heading {
    font-family: var(--fontFamily);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--colorBlack);
    border-bottom: 2px solid #BDA770;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 40px;
}

.ashby-job-board-heading-count {
    font-family: var(--fontFamily);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--colorInkMuted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Filters ── */

.ashby-job-board-filters-label {
    font-family: var(--fontFamily);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--colorInkMuted);
}

.ashby-job-board-filter {
    font-family: var(--fontFamily);
    background-color: #ffffff;
    border: 1px solid var(--colorBorder);
    border-radius: var(--borderRadiusControl);
    color: var(--colorInk);
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    transition: border-color 0.15s ease;
}

.ashby-job-board-filter:focus {
    outline: none;
    border-color: #BDA770;
    box-shadow: 0 0 0 3px rgba(189, 167, 112, 0.2);
}

.ashby-job-board-reset-filters-label {
    font-family: var(--fontFamily);
    font-size: 0.8rem;
    color: #000;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.ashby-job-board-reset-filters-label:hover {
    opacity: 0.8;
}

/* ── Back button ── */

.ashby-job-board-back-to-all-jobs-button {
    font-family: var(--fontFamily);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #BDA770;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.3rem 0;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.ashby-job-board-back-to-all-jobs-button:hover {
    opacity: 0.75;
}

/* ============================================================
   DEPARTMENT & TEAM HEADINGS
   ============================================================ */

.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
    font-family: var(--fontFamily);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(189, 167, 112, 0.3);
}

/* ============================================================
   JOB POSTING BRIEF (list cards)
   ============================================================ */

.ashby-job-posting-brief {
    background-color: #ffffff;
    box-shadow: 0 0 0 1px var(--colorBorder) !important;
    border: none !important;
    border-radius: var(--borderRadiusContainer);
    padding: 1rem 1.25rem;
    margin-bottom: 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.ashby-job-posting-brief:hover {
    box-shadow: 0 0 0 3px var(--colorBorder) !important;
    background-color: #ffffff;
}

.ashby-job-posting-brief-title {
    font-family: var(--fontFamily);
    font-size: 1rem;
    font-weight: 600;
    color: var(--colorBlack);
    margin-bottom: 0.2rem;
}

.ashby-job-posting-brief-details {
    font-family: var(--fontFamily);
    font-size: 0.85rem;
    color: var(--colorInkMuted);
}

.ashby-job-posting-brief-list {
    margin-top: 0.5rem;
    padding: var(--spacingSmall);
}

/* ============================================================
   JOB POSTING PAGE — Layout panes
   ============================================================ */

.ashby-job-posting-header {
    background: #fff;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.ashby-job-posting-heading {
    font-family: var(--fontFamily);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--colorBlack);
    line-height: 1.2;
    border-bottom: 2px solid #BDA770 !important;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

[class*="_container_f7cvd_28"]{
    margin: var(--spacingLarge) var(--spacingNormal);
}

@media (max-width: 769px) {
    .ashby-job-posting-brief {
      margin-top: 0;
    }
    .ashby-job-posting-heading {
        font-size: 1.4rem;
    }
    .ashby-job-board-heading {
        font-size: 1.4rem;
    }
    [class="_container_dea4p_2"] {
        padding-top: 30px;
    }
    [class="_section_f7cvd_36"] {
        padding: 5px 0;
    }
    [class="_filtersContainer_1dvh9_135 "] {
      margin: 10px;
    }
    .ashby-application-form-container, 
    [tabindex] {
      box-shadow: none !important;
    }
    .ashby-job-posting-right-pane {
      padding: 0 !important;
      margin: 0 10px;
      border: 1px solid var(--colorNeutral200);
    }
    .ashby-job-posting-right-pane nav {
        margin: 0 !important;
        top: 0 !important;
        box-shadow: none;
    }
    .ashby-job-posting-left-pane {
        padding: 0 15px;
        box-shadow: none;
        margin-bottom: 30px;
    }
    .ashby-job-posting-left-pane h2 {
        margin-bottom: 0;
    }
    .ashby-job-posting-left-pane div {
        padding: 5px 0px;
    }
    .ashby-application-form-autofill-pane {
      margin: 15px;
    }
}

.ashby-job-posting-left-pane {
    font-family: var(--fontFamily);
    color: var(--colorInk);
    font-size: 0.9rem;
    line-height: 1.6;
}

.ashby-job-posting-right-pane {
    padding: 1.5rem;
}

/* ── Tabs ── */

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
    font-family: var(--fontFamily);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--colorInkMuted);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.ashby-job-posting-right-pane nav {
      display: flex;
      gap: 0.25rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid #E0D9CC;
      padding-bottom: 0;
      position: relative;
    }

.ashby-application-form-field-entry > div {
    background: #fff;
}

[_toggleButton_d7ago_32] {
    height: 44px;
    top: 2px;
    right: 2px;
}

.ashby-job-posting-right-pane-overview-tab:hover,
.ashby-job-posting-right-pane-application-tab:hover {
    color: var(--colorBlack);
    background-color: rgba(189, 167, 112, 0.12);
}

/* Active tab slider */
.ashby-job-posting-right-pane-tab-slider {
    background-color: #BDA770;
    height: 2px;
    border-radius: 2px;
    transition: left 0.2s ease, width 0.2s ease;
}

/* ============================================================
   APPLICATION FORM
   ============================================================ */

.ashby-application-form-container {
    font-family: var(--fontFamily);
}

.ashby-application-form-section-container {
    margin-bottom: 1.5rem;
}

.ashby-application-form-section-header {
    margin-bottom: 0.75rem;
}

.ashby-application-form-section-header-title {
    font-family: var(--fontFamily);
    font-size: 1rem;
    font-weight: 700;
    color: var(--colorBlack);
    letter-spacing: -0.01em;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(189, 167, 112, 0.3);
}

.ashby-application-form-section-header-description {
    font-family: var(--fontFamily);
    font-size: 0.85rem;
    color: var(--colorInkMuted);
    margin-top: 0.3rem;
    line-height: 1.5;
}

.ashby-application-form-field-entry {
    margin-bottom: 1rem;
}

.ashby-application-form-field-entry button, .ashby-application-form-field-entry textarea {
    color: #000;
}
.ashby-application-form-field-entry input {
  background: #fff;
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: 6px;
  outline: none;
  border: 2px dashed var(--colorBorder);
  border-radius: var(--borderRadiusContainer);
}

.ashby-application-form-field-entry input:focus-within {
  outline-color: var(--colorBorder);
  outline-offset: 0;
  outline-width: 4px;
  outline-style: solid;
}

.ashby-application-form-question-title {
    font-family: var(--fontFamily);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--colorBlack);
    margin-bottom: 0.25rem;
}

.ashby-application-form-question-description {
    font-family: var(--fontFamily);
    font-size: 0.8rem;
    color: var(--colorInkMuted);
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

/* ── Submit button ── */

.ashby-application-form-submit-button {
    font-family: var(--fontFamily);
    background-color: #111111;
    color: #fff;
    border: none;
    border-radius: var(--borderRadiusButton);
    padding: var(--spacingNormal);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    width: 90%;
    display: block;
    margin: 20px auto;
}

.ashby-application-form-submit-button:hover {
    background-color: #BDA770;
    color: #fff;
    box-shadow: 0 4px 14px rgba(189, 167, 112, 0.35);
}

.ashby-application-form-submit-button:active {
    background-color: #BDA770;
    color: #111111;
    opacity: 0.85;
}

.ashby-application-form-submit-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── Success & failure messages ── */

.ashby-application-form-success-container {
    background-color: rgba(189, 167, 112, 0.1);
    border: 1px solid #BDA770;
    border-radius: var(--borderRadiusContainer);
    padding: 1.25rem 1.5rem;
    color: var(--colorBlack);
    font-family: var(--fontFamily);
    font-weight: 500;
}

.ashby-application-form-failure-container {
    background-color: #fff5f5;
    border: 1px solid #f5c6c6;
    border-radius: var(--borderRadiusContainer);
    padding: 1.25rem 1.5rem;
    color: #7a1c1c;
    font-family: var(--fontFamily);
    font-weight: 500;
}

.ashby-application-form-blocked-application-container {
    background-color: var(--colorSurface);
    border: 1px solid var(--colorBorder);
    border-radius: var(--borderRadiusContainer);
    padding: 1.25rem 1.5rem;
    color: var(--colorInkMuted);
    font-family: var(--fontFamily);
}

/* ── Texting consent ── */

.ashby-application-form-texting-consent-description {
    font-family: var(--fontFamily);
    font-size: 0.75rem;
    color: var(--colorInkMuted);
    line-height: 1.5;
    margin-top: 0.4rem;
}

/* ============================================================
   AUTOFILL (resume uploader)
   ============================================================ */

.ashby-application-form-autofill-input-root {
    background-color: #fff;
    border: 2px dashed var(--colorBorder);
    border-radius: var(--borderRadiusContainer);
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ashby-application-form-autofill-input-root[data-state="drag"] {
    border-color: #BDA770;
    background-color: rgba(189, 167, 112, 0.06);
}

.ashby-application-form-autofill-input-root[data-state="pending"] {
    opacity: 0.65;
}

.ashby-application-form-autofill-input-title {
    font-family: var(--fontFamily);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--colorBlack);
    margin-bottom: 0.25rem;
}

.ashby-application-form-autofill-input-description {
    font-family: var(--fontFamily);
    font-size: 0.82rem;
    color: var(--colorInkMuted);
}

.ashby-application-form-autofill-input-icon {
    color: #BDA770;
    margin-bottom: 0.5rem;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
    font-family: var(--fontFamily);
    color: #2d6a2d;
    background-color: #eafaea;
    border: 1px solid #a3d6a3;
    border-radius: 4px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    margin-top: 0.5rem;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
    font-family: var(--fontFamily);
    color: #7a1c1c;
    background-color: #fff5f5;
    border: 1px solid #f5c6c6;
    border-radius: 4px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    margin-top: 0.5rem;
}

.ashby-application-form-autofill-uploader {
    margin-top: 0.75rem;
}

.ashby-application-form-autofill-pane {}
.ashby-application-form-autofill-input-base-layer {}
.ashby-application-form-autofill-input-drag-layer {}
.ashby-application-form-autofill-input-pending-layer {}

/* ============================================================
   SURVEY FORM
   ============================================================ */

.ashby-survey-form-container {
    font-family: var(--fontFamily);
    background-color: var(--colorSurface);
    border: 1px solid var(--colorBorder);
    border-radius: var(--borderRadiusContainer);
    padding: 1.25rem 1.5rem;
}