/* stylelint-disable block-no-empty */
/* stylelint-disable max-empty-lines */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --fontFamily: "Inter", sans-serif;
  --borderRadiusContainer: 3px;
  --borderRadiusControl: 3px;
  --borderRadiusButton: 3px;
  --borderWidthBold: 1px;
  --widthMaxJobBoard: 1024px;

  /*
   *  WARNING
   *  If you want to add/modify you need to make sure your changes work with the
   *  theme colors users can set in our admin section.
   */
  --colorAppBackground: #07080a;
  --colorPrimary900: #ff6363 !important;
  --colorPrimary600: orange;
  --colorNegative200: #fce8e8;
  --colorPositive200: #eafcec;
  --colorWarning800: #8c6d1f;
  --colorWarning600: #f4ca64;
  --colorNegative600: #dc3030;
  --colorPositive600: #29b458;
  --colorWarning900: #5c4813;

  --colorNeutral000: #07080a;
  --colorNeutral700: rgba(255, 255, 255, 0.6);
  --colorNeutral800: #fff;
}

/* A container for the application form. */
.ashby-application-form-container {
  padding: 0;
  background-color: #07080a;
  box-shadow: none;
}

.ashby-application-form-field-entry input[type="text"],
.ashby-application-form-field-entry input[type="email"],
.ashby-application-form-field-entry input[type="tel"],
.ashby-application-form-field-entry textarea {
  color: white;
  cursor: text;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.ashby-application-form-field-entry input[type="text"]:focus-within,
.ashby-application-form-field-entry input[type="email"]:focus-within,
.ashby-application-form-field-entry input[type="tel"]:focus-within,
.ashby-application-form-field-entry textarea:focus-within {
  outline: none !important;
}

/* The title of each question on an application form. */
.ashby-application-form-question-title {
  color: rgba(255, 255, 255, 0.6);
}

/* Hide re-captcha */
p[class*="_recaptchaLegal"] {
  display: none !important;
}

/* Hide Powered by Ashby footer */
#root footer[class*="_embedded"] {
  display: none !important;
}

/* Upload file styling */
.ashby-application-form-field-entry input[type="file"] ~ div[class*="_file"] > p[class*="_name"] {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.ashby-application-form-field-entry div[class*="_file"] ~ div[class*="_instructions"] > button {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.ashby-application-form-field-entry input[type="file"] ~ div[class*="_instructions"] > button {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background-color 200ms ease-in-out;
}

.ashby-application-form-field-entry input[type="file"] ~ div[class*="_instructions"] > button > svg {
  fill: currentColor;
}

.ashby-application-form-field-entry input[type="file"] ~ div[class*="_instructions"] > button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.ashby-application-form-field-entry input[type="file"] ~ div[class*="_instructions"] > button:focus {
  box-shadow: var(--focus);
}

.ashby-application-form-field-entry input[type="file"] ~ div[class*="_instructions"] > button:focus-visible {
  border-color: #dc3030;
  outline: none;
}

button[class*="primary"] {
  background: rgba(255, 255, 255, 0.9);
  border: none;
}

button[class*="primary"]:hover {
  background: rgba(255, 255, 255, 1);
  outline: none;
}

.ashby-application-form-success-container[class*="_positive"],
.ashby-application-form-autofill-input-pending-layer[class*="_positive"] {
  color: var(--green-dark, #59d499);
  background: var(--green-transparent-dark, rgba(89, 212, 153, 0.15));
}

.ashby-application-form-success-container[class*="_positive"] > h2,
.ashby-application-form-autofill-input-pending-layer[class*="_positive"] > h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark, #59d499);
}

div[role="alert"][aria-live="assertive"][data-highlight="negative"] {
  color: var(--red-dark, #ff6363);
  background: var(--red-transparent-dark, rgba(255, 99, 99, 0.15));
  border-radius: 8px;
}

div[role="alert"][aria-live="assertive"][data-highlight="negative"] > h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--red-dark, #ff6363);
}

.ashby-application-form-autofill-input-drag-layer,
.ashby-application-form-autofill-input-pending-layer:not([data-highlight]) {
  background: rgba(0, 0, 0, 0.8);
}

[class*="_required_elimo"]:after {
  margin-left: 4px;
}

[class*="_autofillPane"] {
  margin-bottom: var(--spacingXlarge);
}
