/* stylelint-disable */

/* Lakeora job board theme */

@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap");

:root {
  --lakeoraNavy: #1F2A44;
  --lakeoraRed: #E8372A;
  --lakeoraPink: #F4A2A2;
  --lakeoraWhite: #FFFFFF;

  --lakeoraSlate: #3E4C68;
  --lakeoraCoral: #ED6E6B;
  --lakeoraGrey: #8F94A2;

  --lakeoraNavy80: #4C5569;
  --lakeoraNavy60: #797F8F;
  --lakeoraNavy40: #A5AAB4;
  --lakeoraNavy20: #D2D4DA;
  --lakeoraNavy10: #E9EAEC;

  --lakeoraRed80: #ED5F55;
  --lakeoraRed60: #F1877F;
  --lakeoraRed40: #F6AFAA;
  --lakeoraRed20: #FAD7D4;
  --lakeoraRed10: #FDEBEA;

  --lakeoraAmber: #FCBC2B;
  --lakeoraGreen: #21A05A;

  /* Background color of the application */
  --colorAppBackground: #F7F8FA;

  /* Darker primary color */
  --colorPrimary900: #C42A1F;

  /* Lighter primary color */
  --colorPrimary600: #E8372A;

  /* The max width of job board container */
  --widthMaxContent: 800px;

  /* The max width of application form section */
  --widthMaxJobBoard: 800px;

  /* The max width of subscription preferences container */
  --widthMaxSubscriptionPreferences: 600px;

  /* Container border radius */
  --borderRadiusContainer: 14px;

  /* Border radius of control elements (e.g. input boxes) */
  --borderRadiusControl: 10px;

  /* Button border radius */
  --borderRadiusButton: 999px;

  /* Font families */
  --fontFamily: "Almarai", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
  background-color: var(--colorAppBackground);
  color: var(--lakeoraNavy);
  font-family: var(--fontFamily);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lakeoraRed);
  text-decoration: none;
}

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

[dir="rtl"] {
  text-align: right;
}

/* ==========================================================================
   Job board header and filters
   ========================================================================== */

/* The heading of the entire job board. */
.ashby-job-board-heading {
  color: var(--lakeoraNavy);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* The count of job postings on the job board. */
.ashby-job-board-heading-count {
  color: var(--lakeoraGrey);
  font-weight: 400;
}

/* The 'Filters' label element in the job board. */
.ashby-job-board-filters-label {
  color: var(--lakeoraNavy60);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* A select box element for filtering the job board. */
.ashby-job-board-filter {
  background-color: var(--lakeoraWhite);
  border: 1px solid var(--lakeoraNavy20);
  border-radius: var(--borderRadiusControl);
  color: var(--lakeoraNavy);
  font-family: var(--fontFamily);
}

.ashby-job-board-filter:focus,
.ashby-job-board-filter:focus-within {
  border-color: var(--lakeoraRed);
  box-shadow: 0 0 0 3px var(--lakeoraRed20);
  outline: none;
}

/* The 'Reset filters' label element in the job board. */
.ashby-job-board-reset-filters-label {
  color: var(--lakeoraRed);
  font-weight: 700;
}

.ashby-job-board-reset-filters-label:hover {
  color: var(--colorPrimary900);
}

/* ==========================================================================
   Department and team headings
   ========================================================================== */

/* The heading of a department, which can have many teams under it. */
.ashby-department-heading {
  color: var(--lakeoraNavy);
  font-weight: 800;
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--lakeoraRed);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 4px;
}

/* The heading of a single team. */
.ashby-department-heading-level {
  color: var(--lakeoraSlate);
  font-weight: 700;
}

/* ==========================================================================
   Job posting briefs
   ========================================================================== */

/* The container of the job posting details pane. */
.ashby-job-posting-brief {
  background-color: var(--lakeoraWhite);
  border: 1px solid var(--lakeoraNavy10);
  border-radius: var(--borderRadiusContainer);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.ashby-job-posting-brief:hover {
  border-color: var(--lakeoraRed40);
  box-shadow: 0 4px 16px rgba(31, 42, 68, 0.08);
  transform: translateY(-1px);
}

/* The container for the list of job post briefings. */
.ashby-job-posting-brief-list {
  margin-top: 8px;
}

/* The title of the job posting in the details pane. */
.ashby-job-posting-brief-title {
  color: var(--lakeoraNavy);
  font-weight: 700;
  font-size: 1.0625rem;
}

/* The container for the details of the job posting, in the details pane. */
.ashby-job-posting-brief-details {
  color: var(--lakeoraNavy60);
  font-size: 0.9375rem;
}

/* The heading of a department name. */
.ashby-job-posting-brief-department-heading {
  color: var(--lakeoraNavy);
  font-weight: 800;
}

/* The heading of a single team. */
.ashby-job-posting-brief-department-heading-level {
  color: var(--lakeoraSlate);
  font-weight: 700;
}

/* ==========================================================================
   Job posting page
   ========================================================================== */

/* The main header on the job posting page */
.ashby-job-posting-header {
  border-bottom: 1px solid var(--lakeoraNavy10);
  padding-bottom: 20px;
}

/* The heading of a job post */
.ashby-job-posting-heading {
  color: var(--lakeoraNavy);
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* The button which allows users to navigate back to the list of all job postings. */
.ashby-job-board-back-to-all-jobs-button {
  color: var(--lakeoraRed);
  font-weight: 700;
  border-radius: var(--borderRadiusButton);
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: var(--colorPrimary900);
}

/* The left pane of the job posting, with the job posting details */
.ashby-job-posting-left-pane {
  color: var(--lakeoraNavy);
}

/* The right pane of the job posting */
.ashby-job-posting-right-pane {
  color: var(--lakeoraNavy);
}

/* The tabs slider in the right pane of the job posting */
.ashby-job-posting-right-pane-tab-slider {
  background-color: var(--lakeoraRed);
  border-radius: var(--borderRadiusButton);
}

/* The overview and application tabs in the right pane of the job posting */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-family: var(--fontFamily);
  font-weight: 700;
}

/* The container of the job posting description, including the apply button */
.ashby-job-posting-description-container {
  background-color: var(--lakeoraWhite);
  border: 1px solid var(--lakeoraNavy10);
  border-radius: var(--borderRadiusContainer);
  padding: 24px;
}

/* The rich text content of the job posting description */
.ashby-job-posting-description {
  color: var(--lakeoraNavy);
  font-size: 1rem;
  line-height: 1.7;
}

.ashby-job-posting-description h1,
.ashby-job-posting-description h2,
.ashby-job-posting-description h3 {
  color: var(--lakeoraNavy);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}

.ashby-job-posting-description h2 {
  font-size: 1.25rem;
}

.ashby-job-posting-description h3 {
  font-size: 1.0625rem;
}

.ashby-job-posting-description strong,
.ashby-job-posting-description b {
  color: var(--lakeoraNavy);
  font-weight: 700;
}

.ashby-job-posting-description ul li::marker {
  color: var(--lakeoraRed);
}

.ashby-job-posting-description blockquote {
  border-left: 3px solid var(--lakeoraRed);
  background-color: var(--lakeoraRed10);
  border-radius: 0 var(--borderRadiusControl) var(--borderRadiusControl) 0;
  margin: 1.25em 0;
  padding: 12px 18px;
  color: var(--lakeoraSlate);
}

.ashby-job-posting-description hr {
  border: none;
  border-top: 1px solid var(--lakeoraNavy10);
  margin: 2em 0;
}

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

/* A container for the application form. */
.ashby-application-form-container {
  background-color: var(--lakeoraWhite);
  border: 1px solid var(--lakeoraNavy10);
  border-radius: var(--borderRadiusContainer);
  padding: 24px;
}

/* A single section on the Ashby application form. */
.ashby-application-form-section-container {
  border-top: 1px solid var(--lakeoraNavy10);
  padding-top: 20px;
  margin-top: 20px;
}

.ashby-application-form-section-container:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* The header for an application form section. */
.ashby-application-form-section-header {
  margin-bottom: 12px;
}

/* The title for an application form section. */
.ashby-application-form-section-header-title {
  color: var(--lakeoraNavy);
  font-weight: 800;
  font-size: 1.0625rem;
}

/* The description for an application form section. */
.ashby-application-form-section-header-description {
  color: var(--lakeoraNavy60);
  font-size: 0.9375rem;
}

/* A container for the label and input on an application form. */
.ashby-application-form-field-entry {
  margin-bottom: 18px;
}

/* The title of each question on an application form. */
.ashby-application-form-question-title {
  color: var(--lakeoraNavy);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

/* The description of each question on an application form. */
.ashby-application-form-question-description {
  color: var(--lakeoraNavy60);
  font-size: 0.875rem;
}

.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
  background-color: var(--lakeoraWhite);
  border: 1px solid var(--lakeoraNavy20);
  border-radius: var(--borderRadiusControl);
  color: var(--lakeoraNavy);
  font-family: var(--fontFamily);
  font-size: 0.9375rem;
}

.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
  border-color: var(--lakeoraRed);
  box-shadow: 0 0 0 3px var(--lakeoraRed20);
  outline: none;
}

.ashby-application-form-field-entry input::placeholder,
.ashby-application-form-field-entry textarea::placeholder {
  color: var(--lakeoraNavy40);
}

/* The application submission button. */
.ashby-application-form-submit-button {
  background-color: var(--lakeoraRed);
  border: none;
  border-radius: var(--borderRadiusButton);
  color: var(--lakeoraWhite);
  font-family: var(--fontFamily);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.ashby-application-form-submit-button:hover {
  background-color: var(--colorPrimary900);
  box-shadow: 0 4px 14px rgba(232, 55, 42, 0.28);
}

.ashby-application-form-submit-button:focus-visible {
  outline: 3px solid var(--lakeoraRed40);
  outline-offset: 2px;
}

.ashby-application-form-submit-button:disabled {
  background-color: var(--lakeoraNavy20);
  color: var(--lakeoraNavy60);
  box-shadow: none;
  cursor: not-allowed;
}

/* The text message consent description. */
.ashby-application-form-texting-consent-description {
  color: var(--lakeoraNavy60);
  font-size: 0.8125rem;
}

/* ==========================================================================
   Resume autofill
   ========================================================================== */

/* Container element for application autofill input form. */
.ashby-application-form-autofill-pane {
  margin-bottom: 20px;
}

/* The resume uploader to auto-fill the application form */
.ashby-application-form-autofill-uploader {
  border-radius: var(--borderRadiusContainer);
}

/* Application autofill input's root element. */
.ashby-application-form-autofill-input-root {
  border: 1px dashed var(--lakeoraNavy20);
  border-radius: var(--borderRadiusContainer);
  background-color: var(--lakeoraWhite);
}

.ashby-application-form-autofill-input-root[data-state="drag"] {
  border-color: var(--lakeoraRed);
  background-color: var(--lakeoraRed10);
}

.ashby-application-form-autofill-input-root[data-state="pending"] {
  border-color: var(--lakeoraNavy40);
}

/* Application autofill input's base layer element. */
.ashby-application-form-autofill-input-base-layer {
  color: var(--lakeoraNavy);
}

/* Application autofill input's title. */
.ashby-application-form-autofill-input-title {
  color: var(--lakeoraNavy);
  font-weight: 700;
}

/* Application autofill input's description. */
.ashby-application-form-autofill-input-description {
  color: var(--lakeoraNavy60);
  font-size: 0.875rem;
}

/* Application autofill input's icon. */
.ashby-application-form-autofill-input-icon {
  color: var(--lakeoraRed);
}

/* Application autofill input's drag state overlay element. */
.ashby-application-form-autofill-input-drag-layer[data-state="active"] {
  background-color: var(--lakeoraRed10);
  border-radius: var(--borderRadiusContainer);
}

/* Application autofill input's pending state overlay element. */
.ashby-application-form-autofill-input-pending-layer[data-state="active"] {
  background-color: var(--lakeoraNavy10);
  border-radius: var(--borderRadiusContainer);
}

/* Application autofill input form's alert element. */
.ashby-application-form-autofill-input-form-alert {
  border-radius: var(--borderRadiusControl);
  font-size: 0.875rem;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
  background-color: rgba(33, 160, 90, 0.10);
  color: var(--lakeoraGreen);
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
  background-color: var(--lakeoraRed10);
  color: var(--colorPrimary900);
}

/* ==========================================================================
   Status and survey states
   ========================================================================== */

/* A container for the application limits disclosure message. */
.ashby-application-blocking-disclosure {
  background-color: var(--lakeoraNavy10);
  border-radius: var(--borderRadiusControl);
  color: var(--lakeoraSlate);
  font-size: 0.875rem;
  padding: 12px 16px;
}

/* A container for displaying the custom message to the user */
.ashby-application-form-blocked-application-container {
  background-color: var(--lakeoraRed10);
  border: 1px solid var(--lakeoraRed40);
  border-radius: var(--borderRadiusContainer);
  color: var(--lakeoraNavy);
  padding: 20px;
}

/* A container for the success message */
.ashby-application-form-success-container {
  background-color: var(--lakeoraWhite);
  border: 1px solid var(--lakeoraNavy10);
  border-left: 4px solid var(--lakeoraGreen);
  border-radius: var(--borderRadiusContainer);
  color: var(--lakeoraNavy);
  padding: 20px 24px;
}

/* A container for the failure message */
.ashby-application-form-failure-container {
  background-color: var(--lakeoraRed10);
  border: 1px solid var(--lakeoraRed40);
  border-left: 4px solid var(--lakeoraRed);
  border-radius: var(--borderRadiusContainer);
  color: var(--lakeoraNavy);
  padding: 20px 24px;
}

/* A container for any surveys specified for this application form. */
.ashby-survey-form-container {
  background-color: var(--lakeoraWhite);
  border: 1px solid var(--lakeoraNavy10);
  border-radius: var(--borderRadiusContainer);
  padding: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 640px) {
  .ashby-job-posting-brief {
    padding: 16px;
  }

  .ashby-application-form-container,
  .ashby-job-posting-description-container,
  .ashby-survey-form-container {
    padding: 18px;
  }

  .ashby-application-form-submit-button {
    width: 100%;
  }
}
