/* stylelint-disable */
/* ==========================================================================
   NTT DATA AI Vista: Ashby 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 validates this file against an allowlist, so it only uses:
   :root variables, documented .ashby-* classes, plain element selectors
   and :hover / :focus / ::placeholder. No :not(), :nth-*, clamp() or text-wrap.
   ========================================================================== */

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

:root {
  --fontFamily: "Newsreader", Georgia, serif;
  --widthMaxJobBoard: 760px;
  --borderRadiusContainer: 16px;
  --borderRadiusControl: 8px;
  --borderRadiusButton: 8px;
  --colorAppBackground: transparent;
  --colorNeutral000: transparent;
  --colorPrimary900: #0072BC;
  --colorPrimary600: #005B96;
}

/* ---------- Layout ---------- */

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

.ashby-application-form-section-container {
  padding: 0;
  margin: 0 0 40px;
  border: 0;
  background: transparent;
}

.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;
}

/* ---------- Questions ---------- */

.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;
  margin: 0 0 8px;
}

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

/* ---------- Inputs ---------- */

.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;
  line-height: 1.4;
  color: #141414;
  background: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  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: #919CA1;
}

.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);
}

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

/* Secondary buttons inside questions (Yes / No, Upload file) */
.ashby-application-form-field-entry button {
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  color: #141414;
  background: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ashby-application-form-field-entry button:hover {
  background: #F2F1F0;
  border-color: rgba(20, 20, 20, 0.3);
}

/* ---------- Resume autofill box ---------- */

.ashby-application-form-autofill-pane {
  background: #FFFFFF;
  border: 1px dashed rgba(20, 20, 20, 0.2);
  border-radius: 16px;
  margin: 0 0 40px;
}

.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 ---------- */

.ashby-application-form-submit-button {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  background: #141414;
  border: 0;
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 24px;
  box-shadow: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.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 {
  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: #FFFFFF;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 16px;
  padding: 32px;
}

/* 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;
}
