/* stylelint-disable */
/*
 * Evervault × Ashby Job Board Theme
 * Mirrors evervault.com styling — values from styles/_root.css
 *
 * CONSTRAINT: Ashby custom CSS only allows :root with Ashby variables,
 * .ashby-* class selectors, and @rules. No #id or bare element selectors.
 */

/* ==========================================================================
   Ashby Theme Variables (only Ashby-documented vars allowed in :root)
   ========================================================================== */

:root {
  --colorPrimary900: #5429CC;
  --colorPrimary600: #6633EE;
  --widthMaxJobBoard: 800px;
  --borderRadiusContainer: 12px;
  --borderRadiusControl: 12px;
  --borderRadiusButton: 10px;
  --fontFamily: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --colorAppBackground: #010314;
}

/* ==========================================================================
   @font-face — Roobert from Evervault CDN
   ========================================================================== */

@font-face {
  font-weight: 300;
  font-style: normal;
  font-family: 'Roobert';
  src:
    url('https://assets.evervault.com/fonts/Roobert-Light.woff2') format('woff2'),
    url('https://assets.evervault.com/fonts/Roobert-Light.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-weight: 500;
  font-style: normal;
  font-family: 'Roobert';
  src:
    url('https://assets.evervault.com/fonts/Roobert-Medium.woff2') format('woff2'),
    url('https://assets.evervault.com/fonts/Roobert-Medium.woff') format('woff');
  font-display: swap;
}

/* ==========================================================================
   Global Element Overrides — Dark Theme
   These force Ashby's default light theme to dark.
   ========================================================================== */

html {
  background-color: #010314;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

body {
  background-color: #010314;
  color: #dfe1f4;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body div {
  background-color: #010314 !important;
  color: #dfe1f4;
}

footer {
  display: none !important;
}

nav {
  background: #010314 !important;
}

/* Typography */

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
}

p {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #dfe1f4;
}

a {
  color: #ffffff;
  font-weight: 500;
  transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

a:hover {
  color: #ececfb !important;
}

li {
  color: #dfe1f4;
  font-weight: 400;
}

strong, b {
  font-weight: 600;
  color: #ffffff;
}

/* Buttons */

button {
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  border-radius: 10px !important;
  background: #6633EE !important;
  color: #ffffff !important;
  transition: opacity 0.3s ease;
}

button:hover {
  opacity: 0.75;
  background: #6633EE !important;
  color: #ffffff !important;
}

button svg {
  fill: #ffffff !important;
}

/* Boolean toggle — container gap */
button[class*='_option_'] {
  margin-right: 8px !important;
}

/* Boolean toggle / segmented control — unselected state (Ashby uses _option_ class) */
button[class*='_option_']:not([class*='_active_']) {
  background: transparent !important;
  color: #babcd2 !important;
  border: 1px solid #383a4d !important;
}

button[class*='_option_']:not([class*='_active_']):hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
  opacity: 1;
}

/* Boolean toggle — selected state */
button[class*='_option_'][class*='_active_'] {
  background: #6633EE !important;
  color: #ffffff !important;
  border: 1px solid #6633EE !important;
}

/* Form Controls */

label {
  color: #dfe1f4 !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.25px !important;
}

input {
  color: #ffffff !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
  border: 1px #383a4d solid !important;
  border-radius: 10px !important;
  padding: 0.7rem 1rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

input:focus {
  border-color: #babcd2 !important;
  outline: none !important;
}

textarea {
  color: #ffffff !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
  border: 1px #383a4d solid !important;
  border-radius: 10px !important;
  padding: 0.7rem 1rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

textarea:focus {
  border-color: #babcd2 !important;
  outline: none !important;
}

select {
  color: #ffffff !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-size: 0.9rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px #383a4d solid !important;
  border-radius: 10px !important;
}

/* Filters action button override — transparent, not purple */
button[class*='_filtersAction'] {
  background: transparent !important;
}

/* ==========================================================================
   Job Board — List View: Heading
   ========================================================================== */

.ashby-job-board-heading {
  background: transparent;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.15;
}

.ashby-job-board-heading-count {
  color: #babcd2;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 400;
}

/* ==========================================================================
   Job Board — Filters
   ========================================================================== */

.ashby-job-board-filters-label {
  color: #babcd2;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
}

.ashby-job-board-filter {
  background: transparent !important;
  border: 1px #383a4d solid !important;
  color: #dfe1f4 !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 10px !important;
  cursor: pointer;
  transition: background 0.25s cubic-bezier(0.45, 0, 0.55, 1), border-color 0.25s cubic-bezier(0.45, 0, 0.55, 1);
}

.ashby-job-board-filter:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: #5e6077 !important;
}

.ashby-job-board-filter:focus {
  font-size: 0.85rem !important;
  outline: none !important;
}

.ashby-job-board-filter:focus-visible {
  box-shadow: 0 0 0 2px rgba(102, 51, 238, 0.4) !important;
}

.ashby-job-board-reset-filters-label {
  color: #6633EE;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ashby-job-board-reset-filters-label:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Job Board — Department Headings
   ========================================================================== */

.ashby-department-heading {
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.8rem;
}

.ashby-department-heading::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: #2a2b3a;
  bottom: 0;
  left: 0;
}

.ashby-department-heading-level {
  color: #babcd2;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
}

/* ==========================================================================
   Job Board — Job Posting Briefs (list items)
   ========================================================================== */

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

.ashby-job-posting-brief {
  background: transparent !important;
  margin-bottom: 4px;
  margin-left: 12px !important;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.25s cubic-bezier(0.45, 0, 0.55, 1);
}

.ashby-job-posting-brief:last-child {
  border-bottom: none;
}

.ashby-job-posting-brief:hover {
  opacity: 0.6;
}

.ashby-job-posting-brief-title {
  color: #ffffff;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}

.ashby-job-posting-brief-details {
  color: #babcd2;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.ashby-job-posting-brief-department-heading {
  color: #ffffff;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
}

.ashby-job-posting-brief-department-heading-level {
  color: #babcd2;
  font-weight: 400;
}

/* ==========================================================================
   Job Posting — Detail Page: Navigation
   ========================================================================== */

.ashby-job-board-back-to-all-jobs-button {
  color: #babcd2 !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  border: none !important;
  border-radius: 10px !important;
  background: transparent !important;
  transition: opacity 0.25s cubic-bezier(0.45, 0, 0.55, 1) !important;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  opacity: 0.6 !important;
}

/* ==========================================================================
   Job Posting — Detail Page: Content
   ========================================================================== */

.ashby-job-posting-heading {
  color: #ffffff !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  padding: 1.6rem 0 0.8rem 0 !important;
  line-height: 1.15 !important;
}

.ashby-job-posting-header {
  border-bottom: 1px solid #2a2b3a;
  padding-bottom: 1.2rem;
  margin-bottom: 1.6rem;
}

.ashby-job-posting-left-pane {
  background: transparent !important;
  color: #dfe1f4;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.ashby-job-posting-right-pane {
  background: transparent !important;
  color: #dfe1f4;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* ==========================================================================
   Job Posting — Tabs (Overview / Application)
   ========================================================================== */

.ashby-job-posting-right-pane-tab-slider {
  border-bottom: 1px solid #2a2b3a;
}

.ashby-job-posting-right-pane-overview-tab {
  color: #babcd2;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.ashby-job-posting-right-pane-application-tab {
  color: #babcd2;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

/* ==========================================================================
   Application Form — Container & Sections
   ========================================================================== */

.ashby-application-form-container {
  background: transparent !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.9rem !important;
  color: #dfe1f4;
}

.ashby-application-form-section-container {
  margin-bottom: 1.6rem;
}

.ashby-application-form-section-header {
  margin-bottom: 1rem;
}

.ashby-application-form-section-header-title {
  color: #ffffff;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
}

.ashby-application-form-section-header-description {
  color: #babcd2;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

/* ==========================================================================
   Application Form — Fields & Questions
   ========================================================================== */

.ashby-application-form-field-entry {
  margin-bottom: 1rem;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.ashby-application-form-question-title {
  color: #dfe1f4 !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
  margin-bottom: 0.4rem;
  letter-spacing: 0.25px;
}

.ashby-application-form-question-description {
  color: #9fa2b9;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Application Form — Submit Button
   ========================================================================== */

.ashby-application-form-submit-button {
  background: #6633EE !important;
  color: #ffffff !important;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.65rem 1.5rem !important;
  cursor: pointer !important;
  transition: opacity 0.3s ease !important;
}

.ashby-application-form-submit-button:hover {
  opacity: 0.75 !important;
  background: #6633EE !important;
}

/* ==========================================================================
   Application Form — Texting Consent
   ========================================================================== */

.ashby-application-form-texting-consent-description {
  color: #9fa2b9;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
}

/* ==========================================================================
   Application Form — Resume Autofill / Upload
   ========================================================================== */

.ashby-application-form-autofill-pane {
  background: transparent !important;
  margin-bottom: 1.2rem;
}

.ashby-application-form-autofill-input-root {
  border: 1px dashed #383a4d !important;
  border-radius: 0.6rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 1.2rem !important;
  transition: border-color 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.ashby-application-form-autofill-input-root:hover {
  border-color: #6633EE !important;
}

.ashby-application-form-autofill-input-root[data-state='drag'] {
  border-color: #6633EE !important;
  background: rgba(102, 51, 238, 0.08) !important;
}

.ashby-application-form-autofill-input-root[data-state='pending'] {
  border-color: #383a4d !important;
}

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

.ashby-application-form-autofill-input-title {
  color: #ffffff;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}

.ashby-application-form-autofill-input-description {
  color: #babcd2;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.8rem;
}

.ashby-application-form-autofill-input-icon {
  color: #6633EE;
}

.ashby-application-form-autofill-input-drag-layer {
  transition: background 0.2s, border-color 0.2s;
}

.ashby-application-form-autofill-input-drag-layer[data-state='active'] {
  background: rgba(102, 51, 238, 0.08) !important;
}

.ashby-application-form-autofill-input-drag-layer[data-state='hidden'] {
  background: transparent !important;
}

.ashby-application-form-autofill-input-pending-layer[data-state='active'] {
  background: rgba(102, 51, 238, 0.05) !important;
}

.ashby-application-form-autofill-input-pending-layer[data-state='hidden'] {
  background: transparent !important;
}

.ashby-application-form-autofill-input-form-alert {
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 0.85rem;
}

.ashby-application-form-autofill-input-form-alert[data-highlight='negative'] {
  color: #e23453;
}

.ashby-application-form-autofill-input-form-alert[data-highlight='positive'] {
  color: #10B981;
}

.ashby-application-form-autofill-uploader {
  background: transparent !important;
}

/* ==========================================================================
   Application Form — Status Messages
   ========================================================================== */

.ashby-application-form-success-container {
  color: #10B981;
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.6rem;
  padding: 1.2rem;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.ashby-application-form-failure-container {
  color: #e23453;
  background: rgba(226, 52, 83, 0.08) !important;
  border: 1px solid rgba(226, 52, 83, 0.2);
  border-radius: 0.6rem;
  padding: 1.2rem;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.ashby-application-form-blocked-application-container {
  color: #babcd2;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid #2a2b3a;
  border-radius: 0.6rem;
  padding: 1.2rem;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* ==========================================================================
   Survey Form
   ========================================================================== */

.ashby-survey-form-container {
  background: transparent !important;
  margin-top: 1.6rem;
  font-family: 'Roobert', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  color: #dfe1f4;
}

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

@media only screen and (max-width: 768px) {
  .ashby-job-posting-heading {
    font-size: 1.3rem !important;
  }

  .ashby-job-board-heading {
    font-size: 1.3rem;
  }

  .ashby-job-posting-brief-title {
    font-size: 0.95rem;
  }
}
