/* stylelint-disable */
/* ==========================================================================
   NTT DATA AIVista: Ashby job board + application form theme
   Matches the Company page #careers section: Newsreader, ink #141414,
   hairlines rgba(20,20,20,.12), 8px controls, brand blue #0072BC.

   Upload in Ashby: Admin > Theme (Job Board) > Custom CSS.
   Ashby only accepts :root variables, .ashby-* classes, plain element
   selectors and :hover / :focus / ::placeholder, so that is all this uses.

   Panels are see-through so the board sits on the page background; controls
   (filters, fields, buttons) are white. Every button sets its text AND icon
   colour for normal and hover, so nothing can disappear.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  --fontFamily: "Newsreader", Georgia, serif;
  --borderRadiusContainer: 16px;
  --borderRadiusControl: 8px;
  --borderRadiusButton: 8px;

  /* --colorNeutral000 is Ashby's "white": it is used for panels AND for the text
     and icons on coloured buttons, so it must stay white (a transparent value hides
     button text and icons). The page background is made see-through with
     --colorAppBackground, and the few white panels are cleared further down. */
  --colorAppBackground: transparent;
  --colorNeutral000: #FFFFFF;

  /* brand blue: links, active tab, focus */
  --colorPrimary900: #0072BC;
  --colorPrimary600: #005B96;
}

/* ==========================================================================
   See-through panels (Ashby draws these white by default)
   ========================================================================== */

.ashby-job-posting-brief,
.ashby-job-posting-left-pane,
.ashby-job-posting-description-container,
.ashby-application-form-container {
  background-color: transparent;
  box-shadow: none;
}

/* ==========================================================================
   Job board (list of open positions)
   ========================================================================== */

.ashby-job-board-heading {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  color: #141414;
}

.ashby-job-board-filters-label {
  font-size: 15px;
  color: #596064;
}

.ashby-job-board-reset-filters-label {
  font-family: "Newsreader", Georgia, serif;
  color: #0072BC;
  background: transparent;
}

.ashby-job-board-reset-filters-label:hover {
  color: #005B96;
  background: transparent;
}

/* Filter dropdowns: white, hairline border, blue focus ring */
.ashby-job-board-filter {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  color: #141414;
  background-color: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ashby-job-board-filter:hover {
  border-color: rgba(20, 20, 20, 0.3);
}

.ashby-job-board-filter:focus {
  outline: none;
  border-color: #0072BC;
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.15);
}

.ashby-department-heading {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  color: #141414;
}

.ashby-job-posting-brief-title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  color: #0072BC;
}

.ashby-job-posting-brief {
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.ashby-job-posting-brief:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

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

.ashby-job-posting-brief-details {
  color: #596064;
}

/* ==========================================================================
   Job posting page (Overview / Application)
   ========================================================================== */

.ashby-job-board-back-to-all-jobs-button {
  font-family: "Newsreader", Georgia, serif;
  color: #0072BC;
  background: transparent;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: #005B96;
  background: transparent;
  box-shadow: none;
}

.ashby-job-board-back-to-all-jobs-button svg {
  fill: #0072BC;
}

.ashby-job-board-back-to-all-jobs-button:hover svg {
  fill: #005B96;
}

.ashby-job-posting-heading {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #141414;
}

.ashby-job-posting-left-pane {
  color: #141414;
}

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
}

.ashby-job-posting-right-pane-tab-slider {
  background-color: #0072BC;
}

/* "Apply for this Job" at the bottom of the Overview tab: same ink button as Submit */
.ashby-job-posting-description-container button {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  background-color: #141414;
  border: 1px solid #141414;
  border-radius: 8px;
  min-height: 48px;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ashby-job-posting-description-container button:hover,
.ashby-job-posting-description-container button:active {
  color: #FFFFFF;
  background-color: #3A3D42;
  border-color: #3A3D42;
  box-shadow: none;
}

.ashby-job-posting-description-container button svg,
.ashby-job-posting-description-container button:hover svg {
  fill: #FFFFFF;
}

/* ==========================================================================
   Application form
   ========================================================================== */

.ashby-application-form-container {
  font-family: "Newsreader", Georgia, serif;
  color: #141414;
}

.ashby-application-form-section-container {
  margin: 0 0 40px;
}

.ashby-application-form-section-header {
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
}

.ashby-application-form-section-header-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #141414;
}

.ashby-application-form-section-header-description {
  font-size: 16px;
  line-height: 1.5;
  color: #596064;
}

.ashby-application-form-field-entry {
  margin: 0 0 24px;
}

.ashby-application-form-question-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #141414;
}

.ashby-application-form-question-description {
  font-size: 15px;
  line-height: 1.5;
  color: #596064;
}

/* Text fields, text areas, dropdowns */
.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  color: #141414;
  background-color: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ashby-application-form-field-entry textarea {
  min-height: 120px;
}

.ashby-application-form-field-entry input::placeholder,
.ashby-application-form-field-entry textarea::placeholder {
  color: #B4B8BC;
  opacity: 1;
}

.ashby-application-form-field-entry input:hover,
.ashby-application-form-field-entry textarea:hover,
.ashby-application-form-field-entry select:hover {
  border-color: rgba(20, 20, 20, 0.3);
}

.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
  outline: none;
  border-color: #0072BC;
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.15);
}

/* Resume / file upload drop zone (dashed box from Ashby, see-through inside) */
.ashby-application-form-input-file-dropzone {
  background-color: transparent;
}

.ashby-application-form-input-file-dropzone-instructions {
  color: #596064;
}

/* Secondary buttons: "Upload file", Yes / No and other options.
   White with a blue outline; on hover a light blue fill, text stays blue. */
.ashby-application-form-autofill-pane button,
.ashby-application-form-field-entry button {
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: #0072BC;
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 114, 188, 0.4);
  border-radius: 8px;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ashby-application-form-autofill-pane button:hover,
.ashby-application-form-field-entry button:hover {
  color: #005B96;
  background-color: #EAF4FD;
  border-color: #0072BC;
  box-shadow: none;
}

/* Icons inside these buttons (paperclip, etc.) follow the text colour */
.ashby-application-form-autofill-pane button svg,
.ashby-application-form-field-entry button svg {
  fill: #0072BC;
}

.ashby-application-form-autofill-pane button:hover svg,
.ashby-application-form-field-entry button:hover svg {
  fill: #005B96;
}

.ashby-application-form-autofill-pane button:focus,
.ashby-application-form-field-entry button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.2);
}

/* Radio / Yes-No options */
.ashby-application-form-input-radio-group-option-label {
  font-family: "Newsreader", Georgia, serif;
  color: #141414;
}

/* Resume autofill box: one white rounded card with a dashed hairline */
.ashby-application-form-autofill-pane {
  background-color: transparent;
  border: 0;
  margin: 0 0 32px;
}

.ashby-application-form-autofill-input-root {
  background-color: #FFFFFF;
  border: 1px dashed rgba(20, 20, 20, 0.2);
  border-radius: 16px;
}

.ashby-application-form-autofill-input-title {
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: #141414;
}

.ashby-application-form-autofill-input-description {
  font-size: 15px;
  color: #596064;
}

.ashby-application-form-autofill-input-icon {
  color: #0072BC;
}

/* Submit: ink button like the site, charcoal on hover, text always white */
.ashby-application-form-submit-button {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  background-color: #141414;
  border: 1px solid #141414;
  border-radius: 8px;
  min-height: 48px;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ashby-application-form-submit-button:hover {
  color: #FFFFFF;
  background-color: #3A3D42;
  border-color: #3A3D42;
  box-shadow: none;
}

.ashby-application-form-submit-button svg,
.ashby-application-form-submit-button:hover svg {
  fill: #FFFFFF;
}

.ashby-application-form-submit-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.35);
}

.ashby-application-form-submit-button:active {
  color: #FFFFFF;
  background-color: #3A3D42;
  transform: scale(0.98);
}

/* After submit */
.ashby-application-form-success-container,
.ashby-application-form-failure-container {
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  color: #141414;
  background-color: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 16px;
}

/* Optional EEO / voluntary survey under the form */
.ashby-survey-form-container {
  font-family: "Newsreader", Georgia, serif;
  color: #141414;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  padding-top: 32px;
  margin-top: 40px;
}
