:root {
  --widthMaxJobBoard: 800px;
  --borderRadiusContainer: 0;
  --borderRadiusControl: 10px;
  --borderRadiusButton: 10px;
  --borderRadiusPill: 32px;
  --fontFamily: "GT America", "-apple-system", "BlinkMacSystemFont", "Segoe UI",
    "Helvetica", "Arial", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --colorAppBackground: #020307;
  --colorAppAccent: #ff006b;
  --colorBase1: white;
  --colorBase120: #ffffff20;
  --colorBase2: #9f9fab;
  --colorBase3: #a8a8a8;
  --colorBase4: #ddd;
}

@media (min-width: 768px) {
  /** Deprecated **/
  .ashby-job-posting-right-pane nav a {
    width: auto;
    text-align: center;
    transition-property: unset;
  }
  .ashby-job-posting-right-pane nav a:not(:last-child) {
    margin-right: 24px;
  }

  /** End **/

  body > div > div:first-child > ul > li:nth-child(2) > a::after {
    content: "Back to careers";
    color: var(--colorBase1);
    font-size: 17px;
    font-weight: normal;
    margin-left: 6px;
  }

  body > div {
    max-width: 1200px;
    margin: 0 auto;
  }

  body
    > div
    > div:nth-child(2)
    > div:nth-child(2):has(div.ashby-job-posting-left-pane) {
    display: flex;
    flex-direction: row-reverse;
    padding-inline: 24px;
  }

  .ashby-job-posting-right-pane {
    width: 100%;
  }
}

/** Deprecated **/

.ashby-job-board-back-to-all-jobs-button {
  background: 0 0;
}
.ashby-application-form-container,
.ashby-job-posting-brief,
.ashby-job-posting-brief:active,
.ashby-job-posting-brief:hover,
.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane nav,
.ashby-job-posting-right-pane > div {
  background-color: var(--colorAppBackground);
}
.ashby-job-posting-brief {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--colorBase2);
  border-radius: 0;
  transition: 0.5s ease-in-out;
}
.ashby-job-posting-brief-details,
.ashby-job-posting-right-pane > div p {
  color: var(--colorBase1);
}
.ashby-application-form-container,
.ashby-application-form-field-entry > label,
.ashby-application-form-question-title,
.ashby-application-form-section-header-title,
.ashby-department-heading,
.ashby-job-board-heading,
.ashby-job-board-heading-count,
.ashby-job-posting-brief:hover .ashby-job-posting-brief-details,
.ashby-job-posting-heading,
.ashby-job-posting-right-pane > div li,
.ashby-job-posting-right-pane > div p:nth-child(2),
.ashby-job-posting-right-pane nav a:hover {
  color: var(--colorBase1);
}
.ashby-job-posting-brief-list a:last-child div {
  border-bottom: none;
}
a:visited strong,
.ashby-application-form-field-entry > label::after,
.ashby-job-posting-brief-title {
  color: var(--colorAppAccent);
}
.ashby-job-posting-brief:hover .ashby-job-posting-brief-title {
  font-weight: bolder;
}
.ashby-job-posting-left-pane > div {
  border-bottom-color: var(--colorBase2);
}
.ashby-job-posting-left-pane > div:first-child > p {
  overflow-wrap: break-word;
}
.ashby-job-posting-right-pane nav {
  border-bottom: 1px solid var(--colorBase2);
}
.ashby-job-posting-right-pane > div > a {
  display: flex;
  background: var(--colorBase1);
  border-radius: var(--borderRadiusPill);
}
.ashby-application-form-submit-button,
.ashby-job-posting-right-pane > div > a > button {
  border-radius: var(--borderRadiusPill);
  transition: transform 0.3s;
}
.ashby-application-form-submit-button:hover,
.ashby-job-posting-right-pane > div > a > button:hover {
  background-color: var(--colorAppAccent);
  border-color: var(--colorAppAccent);
  transform: translate(2px, 2px);
}
.ashby-application-form-submit-button:hover {
  transform: none;
}
.ashby-application-form-field-entry > input,
.ashby-application-form-field-entry > textarea {
  color: var(--colorBase1);
  cursor: text;
}
.ashby-application-form-field-entry > input::placeholder {
  color: var(--colorBase1);
}
.ashby-job-posting-right-pane nav span {
  display: none;
}
.ashby-job-posting-right-pane nav a {
  color: var(--colorBase2);
  border-bottom-color: transparent;
}
.ashby-job-posting-right-pane nav a:hover,
.ashby-job-posting-right-pane nav a:active,
.ashby-job-posting-right-pane nav a:visited {
  color: white !important;
}

/** End **/

h3 {
  color: #ffffff !important;
}

body > div > div:first-child > ul {
  border-bottom: none;
}

body > div > div:first-child > ul > li:first-child:has(+ :not(li:empty)) {
  display: none;
}

body > div > div:first-child > ul > li:nth-child(2) > a > svg,
body > div > div:first-child > ul > li:nth-child(2) > a:hover > svg {
  fill: var(--colorBase1);
}

.ashby-job-posting-heading {
  color: var(--colorBase1);
}

.ashby-job-posting-left-pane {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  row-gap: 16px;
}

.ashby-job-posting-left-pane div {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  height: 36px;
  padding: 0;
  padding-left: 40px;
  border-bottom: none;
}

.ashby-job-posting-left-pane div::before {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 0;
  height: 24px;
  width: 24px;
  transform: translateY(-50%);
}

.ashby-job-posting-left-pane div:first-child::before {
  content: url("https://cdn.highrisegame.com/pocketworlds/icons/icon_location.svg");
}

.ashby-job-posting-left-pane div:nth-child(2)::before {
  content: url("https://cdn.highrisegame.com/pocketworlds/icons/icon_status.svg");
}

.ashby-job-posting-left-pane div:last-child::before {
  content: url("https://cdn.highrisegame.com/pocketworlds/icons/icon_department.svg");
}

.ashby-job-posting-left-pane > div > h2 {
  color: var(--colorBase2);
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 2px;
}

.ashby-job-posting-left-pane > div > p {
  color: var(--colorBase4);
  font-size: 17px;
  font-weight: normal;
}

.ashby-job-posting-right-pane nav {
  border-bottom-color: var(--colorBase120);
}

.ashby-job-posting-right-pane nav a {
  color: var(--colorBase2);
  font-size: 17px;
  font-weight: bold;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 4px solid transparent;
}

.ashby-job-posting-right-pane nav a:hover {
  border-color: var(--colorBase1);
}

.ashby-job-posting-right-pane > div {
  padding: 0;
  padding-top: 48px;
}

.ashby-job-posting-right-pane > div > div p {
  color: var(--colorBase3) !important;
}

.ashby-job-posting-right-pane > div > div p > strong {
  color: var(--colorBase4);
}

div:has(> .ashby-application-form-container) {
  padding-top: 0;
}

.ashby-application-form-container {
  padding: 0;
  padding-top: 32px;
}

.ashby-application-form-container input,
.ashby-application-form-container textarea,
.ashby-application-form-container div:has(> input[type="file"]) {
  border-color: #666d96;
  border-radius: 8px;
}

.ashby-application-form-container label {
  color: var(--colorBase4);
  font-size: 14px;
  font-weight: bold;
}

.ashby-application-form-container input::placeholder {
  color: var(--colorBase2);
  font-size: 14px;
  font-weight: normal;
}

nav:has(+ div > div.ashby-application-form-container) a[href*="/application"] {
  color: var(--colorBase1);
  border-bottom: 4px solid var(--colorBase1);
}

/** Fix for nav **/

nav:has(+ div > div.ashby-application-form-container) a[href*="/application"] {
  color: var(--colorBase1);
  border-bottom: 4px solid var(--colorBase1);
}

nav:has(+ div > div:not(.ashby-application-form-container))
  a:not([href*="/application"]) {
  color: var(--colorBase1);
  border-bottom: 4px solid var(--colorBase1);
}

/* --- SIMPLIFIED HEADER FIX --- */

/* Makes all headers white so they are visible */
h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF !important;
}

/* Makes the bullet points and paragraphs light gray */
p, li, span {
    color: #f0f0f0 !important;
}