/* American Advanced Materials Ashby brand CSS */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap");

@font-face {
  font-family: "FuturaLT";
  src: url("https://americanadvanced.com/fonts/FuturaLT.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FuturaLT";
  src: url("https://americanadvanced.com/fonts/FuturaLT-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --colorAppBackground: #1a1e3b;
  --colorPrimary900: #e9eaed;
  --colorPrimary600: #e9eaed;
  --widthMaxContent: 960px;
  --widthMaxJobBoard: 960px;
  --widthMaxSubscriptionPreferences: 640px;
  --borderRadiusContainer: 0;
  --borderRadiusControl: 2px;
  --borderRadiusButton: 0;
  --fontFamily: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --aam-background: #1a1e3b;
  --aam-panel: #202643;
  --aam-muted-panel: rgba(81, 95, 122, 0.2);
  --aam-border: #515f7a;
  --aam-border-light: #8b94a7;
  --aam-text: #e9eaed;
  --aam-muted: #8b94a7;
  --aam-accent: #de0000;
}

body {
  background: var(--aam-background) !important;
  color: var(--aam-text) !important;
  font-family: var(--fontFamily) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--aam-text);
  text-decoration-color: var(--aam-muted);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--aam-text);
  text-decoration-color: var(--aam-text);
}

input,
textarea,
select,
button {
  font-family: var(--fontFamily) !important;
}

input,
textarea,
select {
  background: transparent !important;
  border: 1px solid var(--aam-border) !important;
  border-radius: 2px !important;
  color: var(--aam-text) !important;
  box-shadow: none !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--aam-border-light) !important;
  outline: none !important;
  box-shadow: 0 0 0 1px var(--aam-border-light) !important;
}

::placeholder {
  color: var(--aam-muted) !important;
  opacity: 1;
}

.ashby-job-board-heading,
.ashby-job-posting-heading,
.ashby-application-form-section-header-title,
.ashby-job-posting-brief-title,
.ashby-department-heading,
.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading,
.ashby-job-posting-brief-department-heading-level {
  color: var(--aam-text) !important;
  font-family: "FuturaLT", "Futura", ui-sans-serif, sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ashby-job-board-heading,
.ashby-job-posting-heading {
  font-size: 2.5rem !important;
  line-height: 1.1 !important;
  margin-bottom: 1rem !important;
}

@media (min-width: 768px) {
  .ashby-job-board-heading,
  .ashby-job-posting-heading {
    font-size: 3.75rem !important;
  }
}

.ashby-job-board-heading-count,
.ashby-job-posting-brief-details,
.ashby-application-form-question-description,
.ashby-application-form-section-header-description,
.ashby-application-form-texting-consent-description {
  color: var(--aam-muted) !important;
}

.ashby-job-posting-header,
.ashby-job-posting-description-container,
.ashby-application-form-container,
.ashby-application-form-autofill-pane,
.ashby-survey-form-container {
  background: transparent !important;
  border-color: var(--aam-border) !important;
  box-shadow: none !important;
}

.ashby-job-posting-left-pane,
.ashby-job-posting-left-pane > div,
.ashby-job-posting-left-pane section,
.ashby-job-posting-left-pane article {
  background: transparent !important;
  border-color: var(--aam-border) !important;
  box-shadow: none !important;
  color: var(--aam-text) !important;
}

.ashby-job-posting-left-pane {
  border: 1px solid var(--aam-border) !important;
}

.ashby-job-posting-left-pane *,
.ashby-job-posting-brief *,
.ashby-job-posting-right-pane *,
.ashby-application-form-container * {
  border-color: var(--aam-border) !important;
}

.ashby-job-posting-left-pane p,
.ashby-job-posting-left-pane span,
.ashby-job-posting-left-pane div,
.ashby-job-posting-left-pane dt,
.ashby-job-posting-left-pane dd {
  color: var(--aam-text) !important;
}

.ashby-job-posting-left-pane dd,
.ashby-job-posting-left-pane p,
.ashby-job-posting-left-pane [class*="compensation"],
.ashby-job-posting-left-pane [class*="Compensation"] {
  line-height: 1.65 !important;
  white-space: pre-line !important;
}

.ashby-job-posting-left-pane dt,
.ashby-job-posting-left-pane [class*="label"],
.ashby-job-posting-left-pane [class*="Label"] {
  color: var(--aam-muted) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}

.ashby-job-posting-brief-list {
  border-top: 1px solid var(--aam-border);
  border-bottom: 1px solid var(--aam-border);
}

.ashby-job-posting-brief {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--aam-border) !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  padding: 1.5rem 1rem !important;
  transition: background-color 160ms ease, color 160ms ease;
}

.ashby-job-posting-brief:hover {
  background: var(--aam-muted-panel) !important;
}

.ashby-job-posting-brief:last-child {
  border-bottom: 0 !important;
}

.ashby-job-posting-brief-title {
  font-size: 1.125rem !important;
  letter-spacing: 0 !important;
  text-transform: none;
  font-weight: 700 !important;
}

.ashby-job-posting-brief-details {
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}

.ashby-job-board-back-to-all-jobs-button {
  color: var(--aam-muted) !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: var(--aam-text) !important;
}

.ashby-job-posting-description {
  color: var(--aam-text) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

.ashby-job-posting-description h2,
.ashby-job-posting-description h3 {
  color: var(--aam-text) !important;
  font-family: "FuturaLT", "Futura", ui-sans-serif, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  margin: 3rem 0 1.5rem !important;
  text-transform: none !important;
}

.ashby-job-posting-description p {
  color: var(--aam-text) !important;
  margin: 0 0 1.35rem !important;
}

.ashby-job-posting-description ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none !important;
  margin: 0 0 3rem !important;
  padding: 0 !important;
}

.ashby-job-posting-description li {
  border-left: 2px solid var(--aam-border);
  color: var(--aam-text) !important;
  font-size: 0.875rem !important;
  line-height: 1.7 !important;
  padding-left: 1rem !important;
}

.ashby-job-posting-description li p {
  color: var(--aam-text) !important;
  margin: 0 !important;
}

.ashby-application-form-question-title {
  color: var(--aam-text) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

.ashby-application-form-field-entry {
  margin-bottom: 1.25rem !important;
}

.ashby-application-form-submit-button,
.ashby-job-posting-right-pane-application-tab,
.ashby-job-posting-right-pane-overview-tab {
  border-radius: 0 !important;
  font-family: var(--fontFamily) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.ashby-application-form-submit-button {
  background: var(--aam-text) !important;
  border: 1px solid var(--aam-text) !important;
  color: var(--aam-background) !important;
  padding: 0.75rem 2rem !important;
}

.ashby-application-form-submit-button:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
}

.ashby-application-form-container button,
.ashby-application-form-autofill-pane button,
.ashby-application-form-autofill-input-root button,
.ashby-job-posting-right-pane button,
.ashby-job-posting-right-pane [role="button"] {
  background: transparent !important;
  border: 1px solid var(--aam-border-light) !important;
  border-radius: 0 !important;
  color: var(--aam-text) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.ashby-application-form-container button:hover,
.ashby-application-form-autofill-pane button:hover,
.ashby-application-form-autofill-input-root button:hover,
.ashby-job-posting-right-pane button:hover,
.ashby-job-posting-right-pane [role="button"]:hover {
  background: var(--aam-muted-panel) !important;
  border-color: var(--aam-text) !important;
  color: var(--aam-text) !important;
}

.ashby-application-form-submit-button,
button[type="submit"] {
  background: var(--aam-text) !important;
  border-color: var(--aam-text) !important;
  color: var(--aam-background) !important;
}

.ashby-application-form-submit-button:hover,
button[type="submit"]:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--aam-background) !important;
}

.ashby-job-posting-right-pane-application-tab,
.ashby-job-posting-right-pane-overview-tab {
  color: var(--aam-muted) !important;
}

.ashby-job-posting-right-pane-application-tab[aria-selected="true"],
.ashby-job-posting-right-pane-overview-tab[aria-selected="true"] {
  color: var(--aam-text) !important;
}

.ashby-job-posting-right-pane-tab-slider {
  background: var(--aam-text) !important;
}

.ashby-application-form-autofill-input-icon,
.ashby-application-form-container svg,
.ashby-application-form-autofill-pane svg,
.ashby-job-posting-right-pane svg {
  color: var(--aam-text) !important;
  stroke: currentColor !important;
}

.ashby-application-form-success-container,
.ashby-application-form-failure-container,
.ashby-application-form-blocked-application-container,
.ashby-application-blocking-disclosure,
.ashby-application-form-autofill-input-root,
.ashby-application-form-autofill-uploader {
  background: var(--aam-panel) !important;
  border: 1px solid var(--aam-border) !important;
  border-radius: 2px !important;
  color: var(--aam-text) !important;
  box-shadow: none !important;
}

.ashby-application-form-autofill-uploader {
  border-style: dashed !important;
}

.ashby-application-form-autofill-input-title {
  color: var(--aam-text) !important;
  font-weight: 600 !important;
}

.ashby-application-form-autofill-input-description {
  color: var(--aam-muted) !important;
}
