/* forgd — Ashby job board theme
   Dark navy ground, white text, orange accents.
   Built only from Ashby's whitelisted classes:
   https://www.ashbyhq.com/job_board_example_css/full-job-board.css
   Upload at: Admin > Theme (Job Board) > Custom CSS */

:root {
  --colorPrimary600: #D97757;
  --colorPrimary900: #A85A3F;
  --colorAppBackground: #07152A;
  --widthMaxJobBoard: 900px;
  --borderRadiusContainer: 12px;
  --borderRadiusControl: 8px;
  --borderRadiusButton: 8px;
  --fontFamily: "Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI",
    "Helvetica", "Arial", sans-serif;
}

/* ---- Board page ---- */

.ashby-job-board-heading {
  color: #FFFFFF !important;
}

.ashby-job-board-heading-count {
  color: #D97757 !important;
}

.ashby-job-board-filters-label {
  color: #E6E9EF !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.ashby-job-board-filter {
  background-color: #FFFFFF !important;
  color: #07152A !important;
  border: 1px solid rgba(230, 233, 239, 0.25) !important;
}

.ashby-job-board-filter svg {
  fill: #07152A !important;
}

.ashby-job-board-filter:hover {
  border-color: #D97757 !important;
}

.ashby-job-board-reset-filters-label {
  color: #D97757 !important;
}

.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
  color: #D97757 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading-level {
  color: #E6E9EF !important;
}

/* Posting cards on the board */
.ashby-job-posting-brief {
  background-color: #0D2138 !important;
  border: 1px solid rgba(230, 233, 239, 0.12) !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  margin-bottom: 12px !important;
  transition: border-color 0.15s ease;
}

.ashby-job-posting-brief:hover {
  border-color: #D97757 !important;
}

.ashby-job-posting-brief-title {
  color: #FFFFFF !important;
}

.ashby-job-posting-brief-details {
  color: rgba(230, 233, 239, 0.75) !important;
}

/* ---- Individual posting page ---- */

.ashby-job-posting-header,
.ashby-job-posting-heading {
  color: #FFFFFF !important;
}

/* Anything inside the white content pane must be navy — overrides the rule above
   because Ashby reuses heading classes inside the description content */
.ashby-job-posting-right-pane :is(h1, h2, h3, h4, h5, h6, strong, b) {
  color: #07152A !important;
}

.ashby-job-posting-right-pane :is(p, li, td, blockquote),
.ashby-job-posting-right-pane :is(p, li, td) span {
  color: rgba(7, 21, 42, 0.85) !important;
}

.ashby-job-posting-right-pane .ashby-job-posting-heading {
  color: #07152A !important;
}

.ashby-job-posting-right-pane a,
.ashby-job-posting-right-pane a span {
  color: #D97757 !important;
}

.ashby-job-posting-left-pane {
  background-color: #07152A !important;
  border-radius: 12px !important;
  padding: 24px !important;
}

.ashby-job-posting-left-pane,
.ashby-job-posting-left-pane p,
.ashby-job-posting-left-pane span,
.ashby-job-posting-left-pane div,
.ashby-job-posting-left-pane li {
  color: #E6E9EF !important;
  opacity: 1 !important;
}

.ashby-job-posting-left-pane h1,
.ashby-job-posting-left-pane h2,
.ashby-job-posting-left-pane h3 {
  color: #FFFFFF !important;
}

/* Overview tab renders on Ashby's white panel — navy text, orange links */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-overview-tab p,
.ashby-job-posting-right-pane-overview-tab span,
.ashby-job-posting-right-pane-overview-tab div,
.ashby-job-posting-right-pane-overview-tab li,
.ashby-job-posting-right-pane-overview-tab td {
  color: rgba(7, 21, 42, 0.85) !important;
}

.ashby-job-posting-right-pane-overview-tab h1,
.ashby-job-posting-right-pane-overview-tab h2,
.ashby-job-posting-right-pane-overview-tab h3,
.ashby-job-posting-right-pane-overview-tab h4,
.ashby-job-posting-right-pane-overview-tab strong,
.ashby-job-posting-right-pane-overview-tab b {
  color: #07152A !important;
}

.ashby-job-posting-right-pane a,
.ashby-job-posting-right-pane-overview-tab a {
  color: #D97757 !important;
}

.ashby-job-posting-right-pane h1,
.ashby-job-posting-right-pane h2,
.ashby-job-posting-right-pane h3,
.ashby-job-posting-right-pane h4 {
  color: #07152A !important;
}

.ashby-job-posting-right-pane button {
  --colorPrimary600: #D97757 !important;
  --colorPrimary900: #A85A3F !important;
}

.ashby-job-board-back-to-all-jobs-button {
  color: #D97757 !important;
  border: none !important;
}

.ashby-job-board-back-to-all-jobs-button svg {
  fill: #D97757 !important;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: #E89578 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.ashby-job-board-back-to-all-jobs-button:hover svg {
  fill: #E89578 !important;
}

/* ---- Application form ----
   Kept on a light card so native input styling stays legible.
   Dark-themed inputs are not reliably stylable via the whitelist. */

.ashby-application-form-container {
  background-color: #FFFFFF !important;
  border-radius: 12px !important;
  padding: 28px !important;
}

.ashby-application-form-container,
.ashby-application-form-question-title,
.ashby-application-form-section-header-title {
  color: #07152A !important;
}

.ashby-application-form-question-description,
.ashby-application-form-section-header-description,
.ashby-application-form-texting-consent-description {
  color: rgba(7, 21, 42, 0.65) !important;
}

.ashby-application-form-submit-button {
  background-color: #D97757 !important;
  color: #FFFFFF !important;
  border: none !important;
}

.ashby-application-form-submit-button:hover {
  background-color: #A85A3F !important;
}
