/* Ashby Custom Theme - Purple/Dark */
/* Matches New Lantern site aesthetic */
/* Only uses Ashby-supported classes and variables */

/* stylelint-disable */

:root {
  --colorPrimary900: #7C4DFF;
  --colorPrimary600: #926BFF;
  --colorAppBackground: #0B0E1A;
  --borderRadiusContainer: 12px;
  --borderRadiusControl: 10px;
  --borderRadiusButton: 10px;
  --fontFamily: "Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", sans-serif;
}

/* ─── Application Form Container ────────────────────────────────────────────── */

.ashby-application-form-container {
  background: transparent;
  color: #E5E7EB;
}

/* ─── Autofill Pane (Resume Upload) ─────────────────────────────────────────── */

.ashby-application-form-autofill-pane {
  background: rgba(146, 107, 255, 0.08);
  border: 1px dashed rgba(146, 107, 255, 0.4) !important;
  border-top: 1px dashed rgba(146, 107, 255, 0.4) !important;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px !important;
  margin-bottom: 32px;
  overflow: hidden;
}

/* Target nested containers inside autofill pane */
.ashby-application-form-autofill-pane > div {
  background: transparent;
  border-radius: 12px;
}

.ashby-application-form-autofill-input-root {
  background: transparent;
  border: none;
}

.ashby-application-form-autofill-input-title {
  color: #E5E7EB;
  font-weight: 600;
  font-size: 14px;
}

.ashby-application-form-autofill-input-description {
  color: #9CA3AF;
  font-size: 13px;
}

.ashby-application-form-autofill-input-icon {
  fill: #926BFF;
}

.ashby-application-form-autofill-input-base-layer {
  background: transparent;
}

.ashby-application-form-autofill-uploader {
  background: rgba(17, 12, 34, 0.6);
  border: 1px dashed rgba(146, 107, 255, 0.35);
  border-radius: 10px;
  padding: 24px;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
  background: rgba(146, 107, 255, 0.1);
  border: 1px solid rgba(146, 107, 255, 0.3);
  color: #B69DFB;
  border-radius: 8px;
  padding: 12px 16px;
}

/* ─── Section Headers ───────────────────────────────────────────────────────── */

.ashby-application-form-section-container {
  background: transparent;
  margin-bottom: 8px;
}

.ashby-application-form-section-header {
  margin-bottom: 16px;
}

.ashby-application-form-section-header-title {
  color: #E5E7EB;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.ashby-application-form-section-header-description {
  color: #9CA3AF;
  font-size: 14px;
}

/* ─── Field Entries ─────────────────────────────────────────────────────────── */

.ashby-application-form-field-entry {
  margin-bottom: 24px;
}

.ashby-application-form-question-title {
  color: #E5E7EB;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
}

.ashby-application-form-question-description {
  color: #6B7280;
  font-size: 13px;
  margin: 0 0 8px 0;
}

/* ─── Submit Button ─────────────────────────────────────────────────────────── */

.ashby-application-form-submit-button {
  background: linear-gradient(135deg, #926BFF 0%, #7C4DFF 100%);
  border: none;
  border-radius: 10px;
  color: #E5E7EB;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(146, 107, 255, 0.3);
  width: 100%;
  transition: all 0.2s ease;
}

.ashby-application-form-submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(146, 107, 255, 0.4);
}

/* ─── Success/Failure States ────────────────────────────────────────────────── */

.ashby-application-form-success-container {
  background: rgba(146, 107, 255, 0.1);
  border: 1px solid rgba(146, 107, 255, 0.3);
  border-radius: 12px;
  color: #E5E7EB;
  padding: 24px;
}

.ashby-application-form-failure-container {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: #fca5a5;
  padding: 24px;
}

.ashby-application-form-blocked-application-container {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: #fca5a5;
  padding: 24px;
}

/* ─── Texting Consent ───────────────────────────────────────────────────────── */

.ashby-application-form-texting-consent-description {
  color: #6B7280;
  font-size: 12px;
}

/* ─── Survey Form ───────────────────────────────────────────────────────────── */

.ashby-survey-form-container {
  background: transparent;
  color: #E5E7EB;
}

/* ─── Job Board ─────────────────────────────────────────────────────────────── */

.ashby-job-board-heading {
  color: #E5E7EB;
  font-weight: 700;
}

.ashby-job-board-heading-count {
  color: #9CA3AF;
}

.ashby-job-board-filters-label {
  color: #9CA3AF;
  font-weight: 500;
}

.ashby-job-board-filter {
  background: rgba(17, 12, 34, 0.8);
  border: 1px solid rgba(146, 107, 255, 0.25);
  border-radius: 10px;
  color: #E5E7EB;
  padding: 10px 14px;
}

.ashby-job-board-reset-filters-label {
  color: #B69DFB;
  cursor: pointer;
}

.ashby-job-board-back-to-all-jobs-button {
  color: #B69DFB;
  background: transparent;
  border: 1px solid rgba(146, 107, 255, 0.4);
  border-radius: 8px;
  padding: 8px 16px;
}

/* ─── Job Posting Brief (List Items) ────────────────────────────────────────── */

.ashby-job-posting-brief {
  background: rgba(17, 12, 34, 0.6);
  border: 1px solid rgba(146, 107, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 16px 20px;
  transition: all 0.2s ease;
}

.ashby-job-posting-brief:hover {
  background: rgba(146, 107, 255, 0.08);
  border-color: rgba(146, 107, 255, 0.3);
}

.ashby-job-posting-brief-list {
  background: transparent;
}

.ashby-job-posting-brief-title {
  color: #E5E7EB;
  font-weight: 600;
}

.ashby-job-posting-brief-details {
  color: #9CA3AF;
  font-size: 14px;
}

.ashby-job-posting-brief-department-heading {
  color: #B69DFB;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 24px;
  margin-bottom: 12px;
}

.ashby-job-posting-brief-department-heading-level {
  color: #9CA3AF;
  font-weight: 500;
}

/* ─── Department Headings ───────────────────────────────────────────────────── */

.ashby-department-heading {
  color: #B69DFB;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(146, 107, 255, 0.2);
}

.ashby-department-heading-level {
  color: #E5E7EB;
  font-weight: 500;
}

/* ─── Job Posting Page ──────────────────────────────────────────────────────── */

.ashby-job-posting-header {
  background: #0B0E1A !important;
  margin-bottom: 24px;
}

.ashby-job-posting-heading {
  color: #E5E7EB;
  font-weight: 700;
  font-size: 28px;
}

.ashby-job-posting-left-pane {
  background: transparent;
  color: #E5E7EB;
}

.ashby-job-posting-left-pane > div {
  background: transparent;
}

.ashby-job-posting-left-pane div {
  background: transparent;
  color: #E5E7EB;
}

.ashby-job-posting-left-pane p,
.ashby-job-posting-left-pane li,
.ashby-job-posting-left-pane span,
.ashby-job-posting-left-pane h1,
.ashby-job-posting-left-pane h2,
.ashby-job-posting-left-pane h3,
.ashby-job-posting-left-pane h4 {
  color: #E5E7EB;
}

.ashby-job-posting-right-pane {
  background: transparent;
  color: #E5E7EB;
}

/* Target nested divs inside right pane */
.ashby-job-posting-right-pane > div {
  background: #0B0E1A;
  color: #E5E7EB;
}

.ashby-job-posting-right-pane div {
  background: transparent;
  color: #E5E7EB;
}

.ashby-job-posting-right-pane p,
.ashby-job-posting-right-pane li,
.ashby-job-posting-right-pane span,
.ashby-job-posting-right-pane h1,
.ashby-job-posting-right-pane h2,
.ashby-job-posting-right-pane h3,
.ashby-job-posting-right-pane h4 {
  color: #E5E7EB;
}

.ashby-job-posting-right-pane-tab-slider {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(146, 107, 255, 0.25);
  border-radius: 0;
  padding: 0;
}

.ashby-job-posting-right-pane-overview-tab {
  color: #E5E7EB;
}

.ashby-job-posting-right-pane-application-tab {
  background: transparent;
}

.ashby-job-posting-right-pane > nav,
.ashby-job-posting-right-pane nav {
  background: #0B0E1A !important;
  color: #E5E7EB !important;
}

/* ─── Global Border Overrides (ensure no bright white borders) ──────────────── */

.ashby-application-form-container div,
.ashby-application-form-container button,
.ashby-application-form-container span,
.ashby-application-form-container label,
.ashby-job-posting-left-pane div,
.ashby-job-posting-left-pane button,
.ashby-job-posting-right-pane div,
.ashby-job-posting-right-pane button,
.ashby-job-posting-right-pane span,
.ashby-job-posting-right-pane label,
.ashby-job-board-filter,
.ashby-survey-form-container div,
.ashby-survey-form-container button {
  border-color: rgba(146, 107, 255, 0.15) !important;
}

/* ─── Toggle Buttons / Yes-No Options ────────────────────────────────────────── */

.ashby-application-form-container button,
.ashby-application-form-field-entry button,
.ashby-application-form-field-entry div,
.ashby-application-form-field-entry span,
.ashby-job-posting-right-pane button {
  border-color: rgba(146, 107, 255, 0.25) !important;
  outline: none !important;
}

.ashby-application-form-container button:focus,
.ashby-application-form-field-entry button:focus,
.ashby-job-posting-right-pane button:focus {
  border-color: rgba(146, 107, 255, 0.5) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Target button-like elements that may be styled as divs or spans */
.ashby-application-form-field-entry [role="button"],
.ashby-application-form-field-entry [role="option"],
.ashby-application-form-field-entry [role="radio"],
.ashby-application-form-field-entry [role="checkbox"],
.ashby-application-form-container [role="button"],
.ashby-application-form-container [role="option"],
.ashby-application-form-container [role="radio"],
.ashby-application-form-container [role="checkbox"] {
  border-color: rgba(146, 107, 255, 0.25) !important;
}

/* Input and form element borders */
.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
  border: 1px solid rgba(146, 107, 255, 0.25) !important;
  background: rgba(17, 12, 34, 0.6) !important;
  color: #E5E7EB !important;
}

.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
  border-color: rgba(146, 107, 255, 0.5) !important;
  outline: none !important;
}
