/* ─────────────────────────────────────────────
   NeoCognition — Ashby Job Board Custom CSS

   HOW TO UPDATE
   ─────────────
   This CSS is injected into the Ashby job board iframe.
   It is NOT loaded from this file at runtime — you must
   manually upload it to the Ashby admin panel.

   Steps:
   1. Edit this file locally
   2. Copy the full contents
   3. Go to Ashby Admin > Job Board > Custom CSS
   4. Paste and save

   The primary/accent color (used for buttons, tabs, active
   states) is set separately in Ashby Admin > Job Board > Theme.
   The CSS --colorPrimary vars below are overridden by the admin
   theme, so change the color there, not here.

   This file lives in public/ as a reference copy. It has no
   effect on the site build.

   Ashby CSS variable reference (full list):
   https://www.ashbyhq.com/job-board-embed-examples/full-job-board

   Available .ashby-* class selectors:
   https://www.ashbyhq.com/job_board_example_css/full-job-board.css
   ───────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

/* ── Design Tokens ─────────────────────────── */

:root {
  --colorPrimary900: #22221f;
  --colorPrimary600: #565656;
  --colorAppBackground: transparent;
  --borderRadiusContainer: 0;
  --borderRadiusControl: 0.5rem;
  --fontFamily: "DM Sans", system-ui, sans-serif;
}

/* ── Base ──────────────────────────────────── */

body {
  background-color: transparent;
  color: #22221f;
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Job Board Heading ─────────────────────── */

.ashby-job-board-heading {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.ashby-job-board-heading-count {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #565656;
  font-weight: 300;
}

/* ── Filters ───────────────────────────────── */

.ashby-job-board-filter {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #22221f;
  border: 1px solid #bebfbb;
  border-radius: 0.5rem;
  background-color: transparent;
}

.ashby-job-board-filters-label {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #565656;
  letter-spacing: 0.03em;
}

.ashby-job-board-reset-filters-label {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #565656;
}

/* ── Department / Team Headings ────────────── */

.ashby-department-heading {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.ashby-department-heading-level {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ── Job Posting Briefs (list items) ───────── */

.ashby-job-posting-brief-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ashby-job-posting-brief {
  margin-bottom: 0.75rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-left: none;
}

.ashby-job-posting-brief:hover {
  background: #dfddcf;
  border-radius: 20px;
}

.ashby-job-posting-brief-title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #22221f;
  letter-spacing: 0.03em;
}

.ashby-job-posting-brief-details {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #565656;
  letter-spacing: 0.03em;
}

.ashby-job-posting-brief-department-heading {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
  font-weight: 400;
}

.ashby-job-posting-brief-department-heading-level {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
  font-weight: 400;
}

/* ── Job Posting Detail Page ───────────────── */

.ashby-job-posting-heading {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.ashby-job-posting-header {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
  background-color: white;
}

.ashby-job-posting-left-pane {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #565656;
  line-height: 1.6;
}

.ashby-job-posting-right-pane {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
  line-height: 1.6;
}

.ashby-job-board-back-to-all-jobs-button {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #565656;
  letter-spacing: 0.03em;
}

/* ── Application Form ──────────────────────── */

.ashby-application-form-container {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
}

.ashby-application-form-question-title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #22221f;
}

.ashby-application-form-question-description {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #565656;
}

.ashby-application-form-section-header-title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  color: #22221f;
  letter-spacing: 0.03em;
}

.ashby-application-form-section-header-description {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #565656;
}

.ashby-application-form-submit-button {
  font-family: "DM Sans", system-ui, sans-serif;
}

.ashby-application-form-success-container,
.ashby-application-form-failure-container {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #22221f;
}

.ashby-application-form-autofill-input-title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  color: #22221f;
}

.ashby-application-form-autofill-input-description {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  color: #565656;
}

.ashby-application-form-texting-consent-description {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  color: #565656;
}

/* ── Tabs (Overview / Application) ─────────── */

.ashby-job-posting-right-pane-tab-slider {
  font-family: "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.03em;
}

.ashby-job-posting-right-pane-overview-tab {
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  color: #22221f;
}

.ashby-job-posting-right-pane-application-tab {
  font-family: "DM Sans", system-ui, sans-serif;
}

/* ── Links ─────────────────────────────────── */

a {
  color: #22221f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.8;
}