/* =====================================================================
   Pave Bank - Ashby careers page (jobs.ashbyhq.com/PaveBank) - v3
   Upload: Admin > Job Boards > Theme (Job Board) > Custom CSS
   Same page: Brand color = #222222
   Selectors: stable .ashby-* classes + [class*="..."] (Ashby accepts both).
   Website tokens: Inter, #F2F2F2 bg, #222 text, 60% muted, 12% hairlines
   ===================================================================== */

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

/* ---------- Base ---------- */
body {
  background: #F2F2F2;
  color: #222;
  font-family: Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
button, input, textarea, select,
.ashby-job-board-filter,
.ashby-application-form-input-text,
.ashby-application-form-input-textarea {
  font-family: inherit;
}

/* ---------- Header: slim, transparent, small logo on the left ---------- */
[class*="navRoot"] {
  background: transparent;
  height: auto;
  box-shadow: none;
}
[class*="navContainer"] {
  max-width: none;
  height: 72px;
  padding: 0 30px;
  grid-template-columns: auto auto 1fr;
  column-gap: 0;
}
[class*="navLogoWordmarkImage"] {
  display: block;
  width: 168px;
  height: auto;
  max-height: none;
}
.ashby-job-board-back-to-all-jobs-button {
  padding: 12px 16px 12px 0;
  color: #222;
}

/* ---------- Job list ---------- */
.ashby-job-board-heading {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #222;
}
.ashby-job-board-heading-count {
  color: rgba(34, 34, 34, .5);
}
.ashby-job-board-filters-label {
  font-size: 12px;
  font-weight: 400;
  color: rgba(34, 34, 34, .6);
}
.ashby-job-board-reset-filters-label {
  font-size: 12px;
  color: #222;
}

/* Filters: underline, like the website's Contact form */
[class*="filtersContainer"] {
  background: transparent;
}
.ashby-job-board-filter {
  --colorPrimary900: transparent;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(34, 34, 34, .5);
  border-radius: 0;
  padding: 12px 24px 12px 0;
  font-size: 14px;
  color: #222;
}
/* no green/box stroke when focused - a selected filter gets a dark underline */
.ashby-job-board-filter.ashby-job-board-filter {
  box-shadow: none;
  outline: none;
}
.ashby-job-board-filter:hover {
  border-bottom-color: #222;
}

.ashby-department-heading {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #222;
}

/* Rows: same left/right edges as the heading and filters */
.ashby-job-posting-brief-list {
  margin: 0 12px;
  border-top: 1px solid rgba(34, 34, 34, .12);
}
.ashby-job-posting-brief-list > a {
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid rgba(34, 34, 34, .12);
}
.ashby-job-posting-brief {
  background: transparent;
  border: 0;
  box-shadow: none;
}
/* hover box reaches 16px past the text on both sides, so the text has room */
.ashby-job-posting-brief-list .ashby-job-posting-brief {
  margin: 0 -16px;
  padding: 16px;
  border-radius: 8px;
}
.ashby-job-posting-brief-list .ashby-job-posting-brief:hover {
  background: rgba(255, 255, 255, .6);
  box-shadow: none;
}
.ashby-job-posting-brief:hover .ashby-job-posting-brief-title {
  text-decoration: underline;
}
.ashby-job-posting-brief-title {
  color: #222;
  font-size: 16px;
  font-weight: 500;
}
.ashby-job-posting-brief-details {
  color: rgba(34, 34, 34, .6);
  font-size: 13px;
}

/* ---------- Job page ---------- */
.ashby-job-posting-heading {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #222;
}
.ashby-job-posting-left-pane {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.ashby-job-posting-left-pane > div {
  border-bottom-color: rgba(34, 34, 34, .12);
}
.ashby-job-posting-left-pane h2 {
  font-size: 12px;
  font-weight: 400;
  color: rgba(34, 34, 34, .6);
}
.ashby-job-posting-right-pane > nav {
  --colorPrimary900: #222222;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(34, 34, 34, .12);
  border-radius: 0;
  box-shadow: none;
}
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-weight: 500;
}
[aria-selected="false"] .ashby-job-posting-right-pane-overview-tab,
[aria-selected="false"] .ashby-job-posting-right-pane-application-tab {
  color: rgba(34, 34, 34, .5);
}
/* hover: dark, never green */
[role="tab"]:hover .ashby-job-posting-right-pane-overview-tab,
[role="tab"]:hover .ashby-job-posting-right-pane-application-tab {
  color: #222;
}
.ashby-job-posting-description-container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}
.ashby-job-posting-description {
  color: #222;
  line-height: 1.6;
}

/* Buttons: Apply for this Job + Submit Application */
.ashby-job-posting-description-container button,
.ashby-application-form-submit-button {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}

/* ---------- Application form ---------- */
.ashby-application-form-container {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}
.ashby-application-form-section-header-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #222;
}
.ashby-application-form-section-header-description,
.ashby-application-form-question-description {
  color: rgba(34, 34, 34, .6);
}
.ashby-application-form-question-title {
  color: #222;
  font-weight: 500;
}

/* Inputs: underline, like the website's Contact form */
.ashby-application-form-input-text,
.ashby-application-form-input-textarea {
  background: transparent;
  color: #222;
  border: 0;
  border-bottom: 1px solid rgba(34, 34, 34, .5);
  border-radius: 0;
  padding: 12px 0;
}
.ashby-application-form-input-text:hover,
.ashby-application-form-input-textarea:hover {
  border-bottom-color: #222;
}

/* Yes / No */
.ashby-application-form-input-yesno-option {
  color: #222;
  font-weight: 400;
  border-width: 1px;
  border-color: rgba(34, 34, 34, .25);
}

/* Checkbox / radio */
.ashby-application-form-input-checkbox-group-option-checkbox {
  border-width: 1px;
  border-color: #222;
  border-radius: 4px;
}
.ashby-application-form-input-radio-group-option-radio {
  accent-color: #222;
}

/* Resume autofill + file upload */
.ashby-application-form-autofill-pane {
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}
.ashby-application-form-autofill-input-root {
  background: transparent;
  border-color: rgba(34, 34, 34, .12);
  border-radius: 8px;
}
.ashby-application-form-autofill-input-root button,
.ashby-application-form-input-file-dropzone-upload {
  border-width: 1px;
  border-radius: 8px;
  box-shadow: none;
}

/* ---------- Job page + form: column alignment ---------- */
/* Ashby goes side-by-side at 768px+ */
@media (min-width: 768px) {
  .ashby-job-posting-left-pane {
    padding-left: 12px;
    padding-right: 24px;
  }
  /* tabs start exactly where the text starts */
  .ashby-job-posting-right-pane > nav {
    margin-left: -16px;
    border-bottom: 0;
  }
  .ashby-job-posting-right-pane > nav + div,
  .ashby-job-posting-right-pane .ashby-job-posting-description-container {
    border-top: 1px solid rgba(34, 34, 34, .12);
  }
}
@media (max-width: 767px) {
  .ashby-job-posting-left-pane,
  .ashby-job-posting-right-pane > nav + div {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  [class*="navContainer"] {
    height: 64px;
    padding: 0 24px;
  }
  [class*="navLogoWordmarkImage"] {
    width: 121px;
  }
  .ashby-job-board-heading,
  .ashby-job-posting-heading {
    font-size: 24px;
  }
}
