/* ===========================
   ROOT VARIABLES
   =========================== */

:root {
  /* Primary brand colors (кнопки, лінки, активні стани) */
  --colorPrimary900: #3a6f70;   /* темний бірюзовий */
  --colorPrimary600: #4f8f90;   /* світліший бірюзовий */

  /* Dark background for all job board pages */
  --colorAppBackground: #265253;

  /* Rounding */
  --borderRadiusContainer: 10px;
  --borderRadiusControl: 10px;
  --borderRadiusButton: 10px;

  /* Typography */
  --fontFamily: "Whitney SSm", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  /* Layout width */
  --widthMaxJobBoard: 800px;
}


/* ===========================
   JOB BOARD HEADERS / LIST
   =========================== */

/* Заголовки борду, лічильник, фільтри */
.ashby-job-board-heading,
.ashby-job-board-heading-count,
.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label,
.ashby-job-board-filter {
  color: #ffffff !important;
}

/* Департаменти / команди в списку вакансій */
.ashby-department-heading,
.ashby-department-heading-level {
  color: #ffffff !important;
}

/* Карточки вакансій у списку */
.ashby-job-posting-brief {
  margin-bottom: 10px;
  background-color: #265253 !important;
  color: #ffffff !important;
  border-radius: 10px;
  border: 1px solid #d0d6d9; /* світло-сірий бордер */
  padding: 16px;
}

/* Текст усередині карточок */
.ashby-job-posting-brief-title,
.ashby-job-posting-brief-department-heading,
.ashby-job-posting-brief-department-heading-level,
.ashby-job-posting-brief-details,
.ashby-job-posting-brief-list {
  color: #ffffff !important;
}


/* ===========================
   JOB POSTING PAGE
   =========================== */

/* Основний заголовок вакансії */
.ashby-job-posting-header,
.ashby-job-posting-heading {
  color: #ffffff !important;
}

/* Ліва панель з Location / Employment Type / Department */
.ashby-job-posting-left-pane {
  background-color: #265253 !important;
  color: #ffffff !important;
}

/* Текст у лівій панелі */
.ashby-job-posting-left-pane,
.ashby-job-posting-left-pane * {
  color: #ffffff !important;
}

/* Права панель (Overview / Application) */
.ashby-job-posting-right-pane {
  background-color: #265253 !important;
  color: #ffffff !important;
}

/* Заголовки табів Overview / Application */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  color: #ffffff !important;
}

/* Слайдер під активним табом */
.ashby-job-posting-right-pane-tab-slider {
  background-color: #3a6f70 !important;
}

/* Світло-сірі бордери в панелях */
.ashby-job-posting-left-pane hr,
.ashby-job-posting-right-pane hr {
  border-color: #d0d6d9 !important;
}


/* ===========================
   APPLICATION FORM (RIGHT PANE)
   =========================== */

/* Контейнер форми та секцій */
.ashby-application-form-container,
.ashby-application-form-section-container,
.ashby-application-form-autofill-pane,
.ashby-application-form-blocked-application-container,
.ashby-application-form-success-container,
.ashby-application-form-failure-container {
  background-color: #265253 !important;
  color: #ffffff !important;
}

/* Заголовки та описи питань */
.ashby-application-form-question-title,
.ashby-application-form-question-description,
.ashby-application-form-section-header-title,
.ashby-application-form-section-header-description,
.ashby-application-form-texting-consent-description,
.ashby-application-form-field-entry,
.ashby-application-form-autofill-input-title,
.ashby-application-form-autofill-input-description,
.ashby-survey-form-container {
  color: #ffffff !important;
}

/* Кнопка Submit і Back to all jobs */
.ashby-application-form-submit-button,
.ashby-job-board-back-to-all-jobs-button {
  background-color: #3a6f70 !important;
  color: #ffffff !important;
  border-radius: 10px;
  border: none !important;
}

/* Hover стан кнопок */
.ashby-application-form-submit-button:hover,
.ashby-job-board-back-to-all-jobs-button:hover {
  background-color: #4f8f90 !important;
}

/* Текст усередині кнопок на всяк випадок */
.ashby-application-form-submit-button *,
.ashby-job-board-back-to-all-jobs-button * {
  color: #ffffff !important;
}


/* ===========================
   ЛІНКИ / ЗАГАЛЬНИЙ ТЕКСТ
   =========================== */

/* Лінки в описі вакансії / борді */
.ashby-job-posting-left-pane a,
.ashby-job-posting-right-pane a,
.ashby-job-posting-brief a {
  color: #ffffff !important;
}

/* Ще раз підчистимо загальний текст у правій панелі */
.ashby-job-posting-right-pane {
  color: #ffffff !important;
}
