/* ==========================================================================
   YAZIO theme for the Ashby embedded job board (FE-1084).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700;800&display=swap');

:root {
  /* Replace Ashby's washed blue with our black — drives tabs, links,
     radio/checkbox accents, upload CTAs and other "primary" accents. */
  --colorPrimary600: #0C0E0E;
  --colorPrimary900: #0C0E0E;

  --fontFamily: 'Noto Sans', 'Helvetica', 'Arial', sans-serif;

  --borderRadiusContainer: 16px;
  --borderRadiusControl: 12px;
  --borderRadiusButton: 16px;
  --borderWidthBold: 2px;

  /* Let our page background (gradient) show through. */
  --colorAppBackground: transparent;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--colorPrimary900);
}

/* --------------------------------------------------------------------------
   Job board (listing + filters)
   -------------------------------------------------------------------------- */

/* Our page renders its own H1 with the live count — hide the embed's. */
.ashby-job-board-heading {
  display: none;
}

.ashby-job-board-filter {
  color: var(--colorPrimary900);
  border-color: #DCE1E4;
}

.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
  color: #595F60;
}

.ashby-department-heading,
.ashby-department-heading-level,
.ashby-job-posting-brief-title,
.ashby-job-posting-heading {
  font-weight: 800;
}

.ashby-job-posting-brief {
  border-radius: var(--borderRadiusControl, 12px);
}

/* --------------------------------------------------------------------------
   Application form
   -------------------------------------------------------------------------- */
.ashby-application-form-question-title {
  color: var(--colorPrimary900);
  font-weight: 700;
}

.ashby-application-form-question-description {
  color: #595f60;
}

.ashby-application-form-field-entry input[type='text'],
.ashby-application-form-field-entry input[type='email'],
.ashby-application-form-field-entry input[type='tel'],
.ashby-application-form-field-entry input[type='number'],
.ashby-application-form-field-entry input[aria-autocomplete='list'],
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
  color: var(--colorPrimary900);
  background: #ffffff;
  border: 2px solid #DCE1E4;
}

.ashby-application-form-field-entry input[type='text']:focus,
.ashby-application-form-field-entry input[type='email']:focus,
.ashby-application-form-field-entry input[type='tel']:focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
  border-color: var(--colorPrimary900);
  outline: none;
}

.ashby-application-form-field-entry button[class*='_option'] {
  border: 2px solid #DCE1E4;
}

.ashby-application-form-container p a,
.ashby-job-posting-right-pane p a {
  text-decoration: underline;
  text-decoration-color: #DCE1E4;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Upload buttons
   Black instead of blue, no shadow.
   -------------------------------------------------------------------------- */

.ashby-application-form-autofill-input-base-layer button[class*='_ctaButton'],
.ashby-application-form-field-entry input[type='file'] ~ div[class*='_instructions'] > button {
  border-radius: var(--borderRadiusControl, 12px);
  box-shadow: none;
}

.ashby-application-form-autofill-input-base-layer button[class*='_ctaButton']:hover,
.ashby-application-form-field-entry input[type='file'] ~ div[class*='_instructions'] > button:hover {
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Submit button — styled like YettieActionButton (primary)
   -------------------------------------------------------------------------- */

.ashby-application-form-submit-button {
  background: #262828;
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: var(--borderRadiusButton, 16px);
  box-shadow: none;
}

.ashby-application-form-submit-button:hover,
button[class*='_primary']:hover {
  box-shadow: none !important;
}
