:root {
  --colorAppBackground: #121212;
  --colorPrimary900: #e3f140;
  --colorPrimary600: #e3f140;
  --borderRadiusContainer: 8px;
  --borderRadiusButton: 6px;
  --borderRadiusControl: 6px;
}

/* 1. ДЕСКТОП: ОЧИЩЕНІ СТИЛІ ФІЛЬТРІВ ТА ЛЕЙБЛІВ */
.ashby-job-board-filters-label {
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #cccccc !important;
  padding: 0 !important;
}

.ashby-job-board-filter {
  background-color: #1e1e1e !important;
  background: #1e1e1e !important;
  color: #ffffff !important;
  border: 1px solid #333333 !important;
  border-radius: 6px !important;
}

.ashby-job-board-filter * {
  color: #ffffff !important;
}

.ashby-job-board-filter svg,
.ashby-job-board-filter path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* 2. ЗВИЧАЙНІ ТЕКСТОВІ ПОСИЛАННЯ В ОПИСІ */
.ashby-job-posting-description-container a {
  background-color: transparent !important;
  color: #e3f140 !important;
  text-decoration: underline !important;
  display: inline !important;
  padding: 0 !important;
  width: auto !important;
}

/* 3. КНОПКИ SUBMIT ТА UPLOAD */
.ashby-application-form-submit-button,
.ashby-application-form-autofill-uploader button,
.ashby-application-form-input-file-dropzone-upload,
.ashby-application-form-autofill-pane button,
button[type="submit"] {
  background-color: #e3f140 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 6px !important;
  transition: all 0.2s ease-in-out !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.ashby-application-form-submit-button *,
.ashby-application-form-autofill-uploader button *,
.ashby-application-form-input-file-dropzone-upload *,
.ashby-application-form-autofill-pane button *,
button[type="submit"] * {
  color: #000000 !important;
  fill: #000000 !important;
}

/* HOVER СТАН (БІЛА ЗАЛИВКА + ЧОРНИЙ ТЕКСТ) */
.ashby-application-form-submit-button:hover,
.ashby-application-form-autofill-uploader button:hover,
.ashby-application-form-input-file-dropzone-upload:hover,
.ashby-application-form-autofill-pane button:hover,
button[type="submit"]:hover {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #000000 !important;
  cursor: pointer !important;
}

.ashby-application-form-submit-button:hover *,
.ashby-application-form-autofill-uploader button:hover *,
.ashby-application-form-input-file-dropzone-upload:hover *,
.ashby-application-form-autofill-pane button:hover *,
button[type="submit"]:hover * {
  color: #000000 !important;
  fill: #000000 !important;
}

/* 4. ЗАГОЛОВКИ ВІДДІЛІВ */
.ashby-department-heading,
.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading,
.ashby-job-posting-brief-department-heading-level {
  color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* 5. ВАКАНСІЇ ТА ФОРМИ ВВОДУ */
input:focus, textarea:focus, select:focus, button:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px #e3f140 !important;
  border-color: #e3f140 !important;
}

.ashby-job-posting-brief {
  background-color: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  padding: 16px !important;
  transition: background-color 0.2s ease-in-out !important;
}

.ashby-job-posting-brief:hover {
  background-color: #1e1e1e !important;
  border-color: #2e2e2e !important;
}

.ashby-application-form-autofill-pane,
.ashby-application-form-autofill-input-root,
.ashby-application-form-autofill-input-base-layer {
  background-color: #1e1e1e !important;
  border: 1px solid #333333 !important;
  color: #ffffff !important;
}

.ashby-job-posting-brief-list,
.ashby-job-posting-description-container,
.ashby-application-form-container,
.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane {
  background-color: transparent !important;
  border: none !important;
}

.ashby-job-posting-heading, .ashby-application-form-question-title, h1, h2, h3, h4, strong { color: #ffffff !important; }
.ashby-job-posting-brief-details, p, span, div, li { color: #cccccc !important; }
.ashby-job-posting-brief-title { color: #e3f140 !important; }

.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-dropdown,
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea {
  color: #ffffff !important;
  background-color: #1e1e1e !important;
  border: 1px solid #333333 !important;
}

/* 6. ІЗОЛЬОВАНІ МОБІЛЬНІ СТИЛІ (ФІКС БІЛОЇ КНОПКИ ПОШУКУ/ФІЛЬТРА) */
@media (max-width: 768px) {
  /* Пошукова кнопка "Filter Open Positions..." */
  .ashby-job-board-filters-label + button,
  .ashby-job-board-filters-label ~ button,
  input[type="search"],
  button[type="button"] {
    background-color: #1e1e1e !important;
    background: #1e1e1e !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
  }

  .ashby-job-board-filters-label + button *,
  .ashby-job-board-filters-label ~ button *,
  button[type="button"] * {
    color: #e3f140 !important;
  }

  .ashby-job-board-filter {
    background-color: #1e1e1e !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
  }

  [role="tablist"] {
    background-color: #1e1e1e !important;
    border-bottom: 1px solid #333333 !important;
  }

  [role="tab"] {
    background-color: transparent !important;
    color: #ffffff !important;
  }

  [role="tab"][aria-selected="true"] {
    color: #e3f140 !important;
    border-bottom: 2px solid #e3f140 !important;
  }
}

/* ПРИХОВАТИ БЛОК AUTOFILL FROM RESUME */
.ashby-application-form-autofill-pane,
.ashby-application-form-autofill-input-root,
[class*="autofill-pane"] {
  display: none !important;
}