/**
 * SpAItial - Ashby Job Board Custom CSS
 *
 * Upload this CSS to your Ashby admin panel:
 * Admin > Job Boards > Theme > Custom CSS
 *
 * Ashby only accepts class selectors, :root, body, hr, and a few
 * at-rules. No IDs, no oklch() — those fail verification.
 *
 * Matches the marketing site cinematic night palette:
 * - Canvas:        #0b0b0d
 * - Card:          #121215
 * - Raised/hover:  #1a1a1e
 * - Hairline:      #2a2a30
 * - Ink:           #ffffff
 * - Body/muted:    #b6b4ad
 * - Primary:       #0f91b2
 */

:root {
  --colorPrimary900: #0f91b2;
  --colorPrimary600: #007f9f;

  --widthMaxJobBoard: 1200px;

  --borderRadiusContainer: 12px;
  --borderRadiusControl: 8px;
  --borderRadiusButton: 8px;

  --fontFamily: 'Inter', 'Noto Sans', Roboto, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;

  --colorAppBackground: #0b0b0d;
}

body {
  background-color: #0b0b0d !important;
  color: #ffffff !important;
}

.ashby-job-board-heading,
.ashby-job-board-heading a {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.ashby-job-board-heading-count {
  color: #b6b4ad !important;
}

.ashby-job-board-filter {
  background: #121215 !important;
  border: 1px solid #2a2a30 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
}

.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
  color: #b6b4ad !important;
}

.ashby-department-heading,
.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading,
.ashby-job-posting-brief-department-heading-level {
  color: #b6b4ad !important;
  font-weight: 500 !important;
}

.ashby-job-posting-brief {
  background: #121215 !important;
  border: 1px solid #2a2a30 !important;
  border-radius: 12px !important;
  margin-bottom: 12px !important;
  padding: 20px !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.ashby-job-posting-brief:hover {
  background: #1a1a1e !important;
  border-color: #3a3a42 !important;
}

.ashby-job-posting-brief-title,
.ashby-job-posting-brief-title a {
  color: #ffffff !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.ashby-job-posting-brief-title a:hover {
  color: #0f91b2 !important;
}

.ashby-job-posting-brief-details {
  color: #b6b4ad !important;
}

.ashby-job-board-back-to-all-jobs-button {
  color: #b6b4ad !important;
  transition: color 0.2s ease !important;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: #ffffff !important;
}

.ashby-job-posting-heading {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.ashby-job-posting-left-pane {
  background: #0b0b0d !important;
  color: #ffffff !important;
}

.ashby-job-posting-left-pane p,
.ashby-job-posting-left-pane li {
  color: #b6b4ad !important;
  line-height: 1.7 !important;
}

.ashby-job-posting-right-pane {
  background: #0b0b0d !important;
  color: #ffffff !important;
}

.ashby-job-posting-right-pane > div,
.ashby-job-posting-right-pane [role="tabpanel"],
.ashby-job-posting-right-pane section,
.ashby-job-posting-right-pane article {
  background: transparent !important;
}

.ashby-job-posting-right-pane p,
.ashby-job-posting-right-pane li {
  color: #b6b4ad !important;
  line-height: 1.7 !important;
}

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  color: #b6b4ad !important;
  border-bottom: 2px solid transparent !important;
  padding: 12px 20px !important;
  transition: color 0.2s ease !important;
}

.ashby-job-posting-right-pane-overview-tab:hover,
.ashby-job-posting-right-pane-application-tab:hover {
  color: #ffffff !important;
}

.ashby-job-posting-right-pane-overview-tab[aria-selected="true"],
.ashby-job-posting-right-pane-application-tab[aria-selected="true"] {
  color: #0f91b2 !important;
  border-bottom-color: #0f91b2 !important;
}

.ashby-job-posting-right-pane a,
.ashby-job-posting-left-pane a {
  color: #0f91b2 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

.ashby-job-posting-right-pane a:hover,
.ashby-job-posting-left-pane a:hover {
  color: #007f9f !important;
}

.ashby-application-form-container {
  background: transparent !important;
  color: #ffffff !important;
}

.ashby-application-form-section-header-title {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}

.ashby-application-form-section-header-description {
  color: #b6b4ad !important;
}

.ashby-application-form-question-title {
  color: #ffffff !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}

.ashby-application-form-question-description {
  color: #b6b4ad !important;
  font-size: 14px !important;
}

.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
  background: #121215 !important;
  border: 1px solid #2a2a30 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  transition: border-color 0.2s ease !important;
}

.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
  border-color: #0f91b2 !important;
  outline: none !important;
}

.ashby-application-form-field-entry input::placeholder,
.ashby-application-form-field-entry textarea::placeholder {
  color: #6f6d68 !important;
}

.ashby-application-form-autofill-input-root,
.ashby-application-form-autofill-input-base-layer {
  background: #121215 !important;
  border: 1px solid #2a2a30 !important;
  border-radius: 8px !important;
}

.ashby-application-form-autofill-input-title {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.ashby-application-form-autofill-pane {
  background: transparent !important;
  color: #ffffff !important;
}

.ashby-application-form-autofill-uploader {
  background: #1a1a1e !important;
  border: 2px dashed #2a2a30 !important;
  border-radius: 12px !important;
  color: #b6b4ad !important;
  transition: border-color 0.2s ease !important;
}

.ashby-application-form-autofill-uploader:hover {
  border-color: #0f91b2 !important;
}

.ashby-application-form-autofill-input-base-layer button {
  background: #121215 !important;
  color: #ffffff !important;
  border: 1px solid #2a2a30 !important;
  border-radius: 8px !important;
}

.ashby-application-form-submit-button {
  background: #0f91b2 !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 28px !important;
  transition: background-color 0.2s ease !important;
}

.ashby-application-form-submit-button:hover {
  background: #007f9f !important;
}

.ashby-application-form-success-container {
  background: rgba(34, 197, 94, 0.08) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  padding: 20px !important;
}

.ashby-application-form-failure-container {
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  padding: 20px !important;
}

hr {
  border-color: #2a2a30 !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0b0b0d;
}

::-webkit-scrollbar-thumb {
  background: #2a2a30;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3a42;
}
