/* ====================================================================
   Revecore — Ashby job board theme
   Teal primary, Arial, corner-cut accents, lime selection,
   and a subtle teal/lime/aqua light-leak wash on the page.
   Mirror --colorPrimary900 / --colorPrimary600 in
   Ashby Admin -> Theme settings so admin colors stay in sync.
   ==================================================================== */
/* stylelint-disable */

:root {
  /* Primary color (WARNING: also set in Ashby admin theme settings) */
  --colorPrimary900: #007989;   /* teal-deep  — buttons, links, active states */
  --colorPrimary600: #009584;   /* teal       — lighter primary, hovers */

  --widthMaxJobBoard: 880px;
  --borderRadiusContainer: 8px;
  --borderRadiusControl: 6px;
  --borderRadiusButton: 6px;

  /* Arial web-safe stack (swap in hosted Suisse Intl later via @font-face) */
  --fontFamily: "Arial", "Helvetica Neue", "Helvetica", "Segoe UI", sans-serif;

  --colorAppBackground: #FFFFFF;   /* white page so the light-leak wash reads */

  /* --- Revecore brand tokens (added) --- */
  --rev-ink: #181818;
  --rev-slate: #5D5D5D;
  --rev-hairline: rgba(0,0,0,0.10);
  --rev-teal-deep: #007989;
  --rev-teal: #009584;
  --rev-aqua: #82C7D1;
  --rev-lime: #8DC63F;
  --rev-soft: #F2F2F2;
  --rev-cut: 31px;                                /* signature corner-cut */
  --rev-ease: cubic-bezier(0.16, 1, 0.30, 1);
}

::selection { background: var(--rev-lime); color: var(--rev-ink); }

/* ---- Ambient brand light-leak wash ----
   Soft, amorphous teal/lime/aqua washes hugging the page edges.
   Screen-only (CSS gradients) — perfect for a live web board. */
body {
  background-color: var(--colorAppBackground);
  background-image:
    radial-gradient(60% 55% at 100% 45%,  rgba(0,149,132,0.34),  transparent 70%),
    radial-gradient(48% 50% at -2% 78%,  rgba(141,198,63,0.30), transparent 70%),
    radial-gradient(60% 55% at 50% 112%, rgba(130,199,209,0.40), transparent 72%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ---- Job board header ---- */
.ashby-job-board-heading {
  font-family: var(--fontFamily);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.04;
  color: var(--rev-ink);
  margin: 0;
}
.ashby-job-board-heading-count {
  display: inline-flex;
  align-items: center;
  margin-left: 14px;
  padding: 4px 13px;
  font-size: 16px;
  font-weight: 700;
  color: var(--rev-teal-deep);
  background: rgba(0,121,137,0.08);
  border-radius: 999px;
  vertical-align: middle;
}

/* ---- Filters ---- */
.ashby-job-board-filters-label {
  font-family: var(--fontFamily);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 700;
  color: var(--rev-slate);
}
.ashby-job-board-filter {
  font-family: var(--fontFamily);
  border: 1px solid var(--rev-hairline);
  border-radius: var(--borderRadiusControl);
  background: var(--rev-soft);   /* light grey control */
  color: var(--rev-ink);
  padding: 10px 14px;
  font-size: 15px;
  transition: border-color .14s var(--rev-ease), box-shadow .14s var(--rev-ease);
}
.ashby-job-board-filter:hover { border-color: var(--rev-teal); background: #fff; }
.ashby-job-board-filter option { background: var(--rev-soft); color: var(--rev-ink); }
.ashby-job-board-filter:focus,
.ashby-job-board-filter:focus-within {
  outline: none;
  border-color: var(--rev-teal-deep);
  box-shadow: 0 0 0 3px rgba(0,121,137,0.15);
}
.ashby-job-board-reset-filters-label {
  font-family: var(--fontFamily);
  color: var(--rev-teal-deep);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color .14s var(--rev-ease);
}
.ashby-job-board-reset-filters-label:hover { border-bottom-color: var(--rev-teal-deep); }

/* ---- Department groupings ---- */
.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
  font-family: var(--fontFamily);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--rev-ink);
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 8px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--rev-hairline);
}
.ashby-department-heading::before,
.ashby-job-posting-brief-department-heading::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--rev-lime);
  border-radius: 0 0 0 6px;                        /* corner-cut motif */
}
.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading-level {
  font-family: var(--fontFamily);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rev-slate);
}

/* ---- Job posting briefs (list cards) ---- */
.ashby-job-posting-brief-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ashby-job-posting-brief {
  background: var(--rev-soft);   /* light grey listing card */
  border: 1px solid var(--rev-hairline);
  border-radius: var(--borderRadiusContainer);
  padding: 22px 24px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform .22s var(--rev-ease), box-shadow .22s var(--rev-ease),
              border-color .22s var(--rev-ease), border-radius .22s var(--rev-ease);
}
.ashby-job-posting-brief:hover {
  transform: translateY(-2px);
  background: #fff;              /* lifts to white on hover */
  border-color: rgba(0,121,137,0.45);
  box-shadow: 0 12px 28px rgba(0,32,40,0.10);
  /* asymmetric corner-cut on hover — the Revecore gesture */
  border-radius: var(--borderRadiusContainer) var(--borderRadiusContainer)
                 var(--borderRadiusContainer) var(--rev-cut);
}
.ashby-job-posting-brief-title {
  font-family: var(--fontFamily);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--rev-ink);
  transition: color .14s var(--rev-ease);
}
.ashby-job-posting-brief:hover .ashby-job-posting-brief-title { color: var(--rev-teal-deep); }
.ashby-job-posting-brief-details {
  font-family: var(--fontFamily);
  color: var(--rev-slate);
  font-size: 15px;
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
}

/* ---- Posting detail page ---- */
.ashby-job-posting-header {
  border-bottom: 1px solid var(--rev-hairline);
  padding-bottom: 22px;
}
.ashby-job-posting-heading {
  font-family: var(--fontFamily);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.06;
  color: var(--rev-ink);
}
.ashby-job-board-back-to-all-jobs-button {
  font-family: var(--fontFamily);
  color: var(--rev-teal-deep);
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .14s var(--rev-ease);
}
.ashby-job-board-back-to-all-jobs-button:hover { color: var(--rev-teal); }

/* ---- Tab slider (Overview / Application) ---- */
.ashby-job-posting-right-pane-tab-slider {
  border-bottom: 1px solid var(--rev-hairline);
}

/* ---- Application form ---- */
.ashby-application-form-section-header-title {
  font-family: var(--fontFamily);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--rev-ink);
}
.ashby-application-form-question-title {
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 700;
  color: var(--rev-ink);
}
.ashby-application-form-question-description,
.ashby-application-form-section-header-description,
.ashby-application-form-texting-consent-description {
  font-family: var(--fontFamily);
  color: var(--rev-slate);
  font-size: 14px;
}
.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
  font-family: var(--fontFamily);
  font-size: 15px;
  border: 1px solid var(--rev-hairline);
  border-radius: var(--borderRadiusControl);
  transition: border-color .14s var(--rev-ease), box-shadow .14s var(--rev-ease);
}
.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
  outline: none;
  border-color: var(--rev-teal-deep);
  box-shadow: 0 0 0 3px rgba(0,121,137,0.15);
}

/* Submit button — teal fill, lift + corner-cut on hover */
.ashby-application-form-submit-button {
  font-family: var(--fontFamily);
  background: var(--rev-teal-deep) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--borderRadiusButton);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 28px;
  cursor: pointer;
  transition: transform .22s var(--rev-ease), box-shadow .22s var(--rev-ease),
              background .14s var(--rev-ease), border-radius .22s var(--rev-ease);
}
.ashby-application-form-submit-button:hover {
  background: var(--rev-teal) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,121,137,0.30);
  border-radius: var(--borderRadiusButton) var(--borderRadiusButton)
                 var(--borderRadiusButton) var(--rev-cut);
}
.ashby-application-form-submit-button:active { transform: translateY(0); opacity: .85; }

/* Resume autofill / magic-fill box */
.ashby-application-form-autofill-input-root {
  border: 1.5px dashed rgba(0,121,137,0.45);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(141,198,63,0.08), transparent 60%),
    rgba(0,121,137,0.04);
  border-radius: var(--borderRadiusContainer);
  transition: border-color .22s var(--rev-ease), background .22s var(--rev-ease);
}
.ashby-application-form-autofill-input-root[data-state="drag"] {
  border-style: solid;
  border-color: var(--rev-teal-deep);
  background: rgba(0,121,137,0.08);
}
.ashby-application-form-autofill-input-title {
  font-family: var(--fontFamily);
  font-weight: 700;
  font-size: 16px;
  color: var(--rev-ink);
}
.ashby-application-form-autofill-input-description {
  font-family: var(--fontFamily);
  color: var(--rev-slate);
  font-size: 14px;
}
.ashby-application-form-autofill-input-icon { color: var(--rev-teal-deep); }
.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] { color: var(--rev-teal-deep); }
.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] { color: #C24A3F; }

/* Success / failure containers — corner-cut, no left bar */
.ashby-application-form-success-container {
  background: rgba(0,121,137,0.06);
  border: 1px solid rgba(0,121,137,0.25);
  border-radius: var(--borderRadiusContainer) var(--borderRadiusContainer)
                 var(--borderRadiusContainer) var(--rev-cut);
}
.ashby-application-form-failure-container {
  background: rgba(194,74,63,0.06);
  border: 1px solid rgba(194,74,63,0.25);
  border-radius: var(--borderRadiusContainer) var(--borderRadiusContainer)
                 var(--borderRadiusContainer) var(--rev-cut);
}
