/* stylelint-disable */

/* Klarity Brand — Ashby Job Board Custom CSS
   Also set in Ashby Admin > Theme Settings:
     Primary (dark):  #D94E1A
     Primary (light): #F15A24
*/

:root {
  --colorPrimary900: #D94E1A;
  --colorPrimary600: #F15A24;
  --widthMaxJobBoard: 860px;
  --borderRadiusContainer: 8px;
  --borderRadiusControl: 8px;
  --borderRadiusButton: 100px;
  --fontFamily: "Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  --colorAppBackground: #FDFAF6;
}

/* ── Job Board Heading ───────────────────────────────────────────── */
.ashby-job-board-heading {
  font-family: var(--fontFamily);
  font-weight: 700;
  font-size: 2rem;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

.ashby-job-board-heading-count {
  font-weight: 500;
  color: #6B6B6B;
  font-size: 1.1rem;
}

/* ── Filters ─────────────────────────────────────────────────────── */
.ashby-job-board-filters-label {
  font-family: var(--fontFamily);
  font-weight: 600;
  color: #1A1A1A;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ashby-job-board-filter {
  font-family: var(--fontFamily);
  font-size: 0.9rem;
  font-weight: 500;
  color: #1A1A1A;
  background: #FFFFFF;
  border: 1.5px solid #E5E5E5;
  border-radius: var(--borderRadiusControl);
  padding: 0.6rem 1rem;
  transition: border-color 0.15s ease;
}

.ashby-job-board-filter:focus {
  border-color: #F15A24;
  outline: none;
}

.ashby-job-board-filter option {
  font-family: var(--fontFamily);
  color: #1A1A1A;
  background: #FFFFFF;
}

.ashby-job-board-filter option:checked {
  background: #F15A24;
  color: #FFFFFF;
}

/* ── Department / Team Headings ──────────────────────────────────── */
.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
  font-family: var(--fontFamily);
  font-weight: 700;
  font-size: 1rem;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #F15A24;
}

/* ── Job Posting Cards ───────────────────────────────────────────── */
.ashby-job-posting-brief {
  margin-bottom: 8px;
  border-radius: var(--borderRadiusContainer);
  border: 1.5px solid #ECECEC;
  background: #FFFFFF;
  transition: background 0.15s ease, outline 0.15s ease;
}

.ashby-job-posting-brief:hover {
  background: #FFF3EE;
  border-color: transparent;
  outline: 2px solid #F15A24;
  outline-offset: -1px;
}

.ashby-job-posting-brief-title {
  font-family: var(--fontFamily);
  font-weight: 600;
  font-size: 1rem;
  color: #F15A24;
}

.ashby-job-posting-brief:hover .ashby-job-posting-brief-title {
  color: #F15A24;
}

.ashby-job-posting-brief-details {
  font-family: var(--fontFamily);
  font-size: 0.875rem;
  color: #1A1A1A;
}

.ashby-job-posting-brief:hover .ashby-job-posting-brief-details {
  color: #1A1A1A;
}

/* ── Job Posting Detail Page ─────────────────────────────────────── */
.ashby-job-posting-heading {
  font-family: var(--fontFamily);
  font-weight: 700;
  font-size: 1.75rem;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

.ashby-job-posting-header {
  background: #FDFAF6;
  border-bottom: 1px solid #ECECEC;
}

/* ── Application Form ────────────────────────────────────────────── */
.ashby-application-form-question-title {
  font-family: var(--fontFamily);
  font-weight: 600;
  font-size: 0.9rem;
  color: #1A1A1A;
}

.ashby-application-form-question-description {
  font-family: var(--fontFamily);
  font-size: 0.85rem;
  color: #6B6B6B;
}

.ashby-application-form-section-header-title {
  font-family: var(--fontFamily);
  font-weight: 700;
  font-size: 1.1rem;
  color: #1A1A1A;
}

.ashby-application-form-submit-button {
  font-family: var(--fontFamily);
  font-weight: 600;
  background-color: #F15A24;
  color: #FFFFFF;
  border-radius: var(--borderRadiusButton);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ashby-application-form-submit-button:hover {
  background-color: #D94E1A;
}

/* ── Back to All Jobs Button ─────────────────────────────────────── */
.ashby-job-board-back-to-all-jobs-button {
  font-family: var(--fontFamily);
  font-weight: 500;
  color: #F15A24;
  font-size: 0.9rem;
}

/* ── Success / Failure Messages ──────────────────────────────────── */
.ashby-application-form-success-container {
  font-family: var(--fontFamily);
  color: #1A1A1A;
}

.ashby-application-form-failure-container {
  font-family: var(--fontFamily);
  color: #D94E1A;
}

/* ── Job Posting Detail Page — Left Pane ────────────────────────── */

/* Left pane metadata labels (Location, Employment Type, etc.) */
.ashby-job-posting-left-pane {
  font-family: var(--fontFamily);
  background: #FDFAF6;
  border-right: 1px solid #ECECEC;
}

/* ── Job Posting Detail Page — Tabs ─────────────────────────────── */

/* Tab slider — override purple with orange */
.ashby-job-posting-right-pane-tab-slider {
  background: #F15A24;
}

/* Overview tab */
.ashby-job-posting-right-pane-overview-tab {
  font-family: var(--fontFamily);
  font-weight: 600;
  color: #1A1A1A;
}

/* Application tab */
.ashby-job-posting-right-pane-application-tab {
  font-family: var(--fontFamily);
  font-weight: 600;
  color: #1A1A1A;
}

/* Right pane background matches warm off-white */
.ashby-job-posting-right-pane {
  background: #FDFAF6;
}

/* ── Application Form Container & Autofill Card ─────────────────── */

/* Main application form wrapper */
.ashby-application-form-container {
  background: #FDFAF6;
  font-family: var(--fontFamily);
}

/* Autofill from resume card */
.ashby-application-form-autofill-input-base-layer {
  background: #FFFFFF;
  border: 1.5px solid #ECECEC;
  border-radius: var(--borderRadiusContainer);
  font-family: var(--fontFamily);
}

/* Autofill title */
.ashby-application-form-autofill-input-title {
  font-family: var(--fontFamily);
  font-weight: 600;
  color: #1A1A1A;
}

/* Autofill description */
.ashby-application-form-autofill-input-description {
  font-family: var(--fontFamily);
  color: #1A1A1A;
  font-size: 0.875rem;
}

/* Form section container */
.ashby-application-form-section-container {
  background: #FDFAF6;
  font-family: var(--fontFamily);
}

/* Form field entry rows */
.ashby-application-form-field-entry {
  font-family: var(--fontFamily);
}

/* Survey form */
.ashby-survey-form-container {
  background: #FDFAF6;
  font-family: var(--fontFamily);
}

/* Success and failure containers match warm bg */
.ashby-application-form-success-container,
.ashby-application-form-failure-container {
  background: #FDFAF6;
}
