
/* === STIGG DARK THEME FOR ASHBY JOB BOARD — FINAL FIX === */

/* GLOBAL VARIABLES */
:root {
  /* Base surface colors */
  --colorAppBackground: #0b0b0b;
  --colorNeutral000: #0b0b0b; /* page bg */
  --colorNeutral100: #141414; /* card bg */
  --colorNeutral200: #ffffff; /* section / field bg */
  --colorNeutral300: #ffffff; /* border / divider */
  --colorNeutral400: #ffffff; /* muted border */
  --colorNeutral500: #ffffff; /* icon lines */
  --colorNeutral600: #ffffff; /* tertiary text */
  --colorNeutral700: #ffffff; /* secondary text */
  --colorNeutral800: #ffffff; /* primary text */

  /* Accent & brand */
  --colorPrimary900: #88b333; /* bright Stigg green */
  --colorPrimary600: #67bb4f;

  /* Status colors (unchanged) */
  --colorNegative600: #dc3030;
  --colorPositive600: #29b458;
  --colorWarning600: #f4ca64;

  /* Shadows */
  --colorNeutralShadow: rgb(0 0 0 / 25%);
  --colorPrimaryShadow: rgb(24 40 20 / 25%);

  /* Font & sizing */
  --fontFamily: "Whitney SSm", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --borderRadiusControl: 10px;
  --borderRadiusButton: 25px;
  --borderWidthNormal: 1px;
}

/* === BASE BACKGROUND + TEXT === */
.ashby-job-posting-brief-list,
.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane,
.ashby-application-form-container {
  background-color: var(--colorAppBackground) !important;
  color: #f9fafc !important;
}

/* === HEADINGS === */
.ashby-job-board-heading,
.ashby-job-posting-heading {
  color: #ffffff !important;
  font-weight: 600;
}

/* === JOB CARDS === */
.ashby-job-posting-brief {
  background-color: #1e1e1e !important;
  color: #f9fafc !important;
  border: 1px solid #0b0b0b !important;
  border-radius: 8px;
  padding: 1.2rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ashby-job-posting-brief:hover {
  background-color: #0b0b0b !important;
  border-color: #333333 !important;
}

/* === JOB TITLE LINKS === */
.ashby-job-posting-brief-title a {
  color: #88b333 !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ashby-job-posting-brief-title a:hover {
  color: #a2d94f !important;
}

/* === JOB DETAILS TEXT === */
.ashby-job-posting-brief-details {
  color: #cacaca !important;
}

/* === DEPARTMENT HEADINGS === */
.ashby-department-heading {
  color: #e4d8c2 !important;
  border-bottom: 1px solid #1e1e1e !important;
}

/* === FILTERS + BUTTONS === */
.ashby-job-board-filter,
.ashby-application-form-submit-button {
  background-color: #1e1e1e !important;
  color: #f9fafc !important;
  border: 1px solid #333333 !important;
  border-radius: 6px !important;
}

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

/* === SELECT & DROPDOWN FIX === */
select.ashby-job-board-filter {
  color: #f9fafc !important;
}

/* === FORM FIELDS (Name, Email, Resume, etc.) === */
.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea {
  background-color: #1e1e1e !important;
  border: 1px solid #333333 !important;
  color: #f9fafc !important;
  border-radius: 6px !important;
}

.ashby-application-form-field-entry input::placeholder,
.ashby-application-form-field-entry textarea::placeholder {
  color: #9c9c9c !important;
}

/* Upload section & autofill box */
.ashby-application-form-autofill-pane,
.ashby-application-form-autofill-input-root,
.ashby-application-form-autofill-input-base-layer {
  background-color: #0b0b0b !important;
  color: #f9fafc !important;
  border-color: #333333 !important;
}

/* Resume upload button */
.ashby-application-form-autofill-input-icon,
.ashby-application-form-autofill-input-title,
.ashby-application-form-autofill-input-description {
  color: #f9fafc !important;
}

/* === TEXT LABELS === */
.ashby-job-board-filters-label,
.ashby-application-form-question-title,
.ashby-application-form-question-description {
  color: #b4b4b4 !important;
}

/* === LINKS INSIDE JOB DETAILS === */
.ashby-job-posting-right-pane a {
  color: #88b333 !important;
}
.ashby-job-posting-right-pane a:hover {
  color: #67bb4f !important;
}

/* === JOB DETAILS PAGE FIX === */

/* Left pane (job metadata) */
.ashby-job-posting-left-pane {
  background-color: #0b0b0b !important;
  color: #ffffff !important;
}

/* Right pane (overview + application) */
.ashby-job-posting-right-pane {
  color: #1e1e1e !important;
}

/* Inner text in right pane */
.ashby-job-posting-right-pane p,
.ashby-job-posting-right-pane li,
.ashby-job-posting-right-pane span,
.ashby-job-posting-right-pane div {
  color: #ffffff !important;
}

/* Tabs styling */
.ashby-job-posting-right-pane-tab-slider {
  border-color: #88b333 !important;
}
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  color: #88b333 !important;
}
