/* Ashby Dark Theme - Minimal dark mode styling */

/* Root variables override for dark theme */
:root {
  /* Dark backgrounds */
  --colorAppBackground: #0a0a0a;
  
  /* Text colors - using CSS inheritance */
  --colorNeutral600Transparent: rgba(255, 255, 255, 0.25);
  
  /* Keep brand colors */
  --colorPrimary600: #FFC845;
  --colorPrimary900: #FFB800;
}

/* Dark background for body using at-rule */
@media all {
  body {
    background-color: #0a0a0a;
    color: #e0e0e0;
  }
}

/* Job posting cards */
.ashby-job-posting-brief {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  color: #e0e0e0;
}

.ashby-job-posting-brief:hover {
  background-color: #252525 !important;
  border-color: #444444 !important;
  color: #e0e0e0 !important;
}

/* Headings */
.ashby-job-board-heading {
  color: #ffffff;
}

.ashby-job-posting-heading {
  color: #ffffff;
}

.ashby-job-posting-brief-title {
  color: #ffffff;
}

.ashby-department-heading {
  color: #ffffff;
}

.ashby-department-heading-level {
  color: #ffffff;
}

/* Buttons */
.ashby-application-form-submit-button {
  background-color: #FFC845;
  color: #000000 !important;
  border: none;
}

.ashby-application-form-submit-button:hover {
  background-color: #FFB800 !important;
  color: #000000 !important;
}

.ashby-job-board-back-to-all-jobs-button {
  background-color: transparent;
  color: #ffffff;
  border: none;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  background-color: #FFC845 !important;
  color: #000000 !important;
  border-color: #FFC845 !important;
}

/* Filter dropdowns */
.ashby-job-board-filter {
  background-color: #1a1a1a;
  color: #e0e0e0;
  border: 1px solid #333333;
}

.ashby-job-board-filter:hover {
  background-color: #252525 !important;
  border-color: #444444 !important;
}

/* Application form sections */
.ashby-application-form-section-container {
  background-color: #1a1a1a;
  border: 1px solid #333333;
}

/* Job posting page header */
.ashby-job-posting-header {
  background-color: #0a0a0a;
  color: #e0e0e0;
}

/* Tab panels */
.ashby-job-posting-right-pane {
  background-color: #0a0a0a;
  color: #e0e0e0;
}
.ashby-job-posting-right-pane div {
  background-color: #0a0a0a;
  color: #e0e0e0;
}


.ashby-job-posting-left-pane {
  background-color: #0a0a0a;
  color: #e0e0e0;
}

/* Tab navigation */
.ashby-job-posting-right-pane-tab-slider {
  background-color: #1a1a1a;
  border: 1px solid #333333;
}

/* Secondary text */
.ashby-job-posting-brief-details {
  color: #b0b0b0;
}

.ashby-application-form-question-description {
  color: #b0b0b0;
}

.ashby-application-form-section-header-description {
  color: #b0b0b0;
}

/* Success/error messages */
.ashby-application-form-success-container {
  background-color: #1a3d1a;
  color: #90ee90;
  border: 1px solid #2d5a2d;
}

.ashby-application-form-failure-container {
  background-color: #3d1a1a;
  color: #ff6b6b;
  border: 1px solid #5a2d2d;
}

/* Autofill components */
.ashby-application-form-autofill-uploader {
  background-color: #1a1a1a;
  border: 1px solid #333333;
}

.ashby-application-form-autofill-pane {
  background-color: #1a1a1a;
  border: 1px solid #333333;
}

/* Form fields */
.ashby-application-form-field-entry {
  color: #e0e0e0;
}
.ashby-application-form-field-entry button:hover {
  background-color: #FFB800;
  border-color: #FFB800;
}

/* Question titles */
.ashby-application-form-question-title {
  color: #ffffff;
}

/* Section headers */
.ashby-application-form-section-header {
  color: #e0e0e0;
}

.ashby-application-form-section-header-title {
  color: #ffffff;
}

/* General form inputs using at-rule */
@media all {
  input, textarea, select {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #333333;
  }
  
  input:focus, textarea:focus, select:focus {
    border-color: #FFC845;
    outline: none;
  }
  
  /* Links */
  a {
    color: #FFC845;
  }
  
  a:hover {
    color: #FFB800;
  }
  
  /* General text elements */
  p, span, div, li {
    color: #ffffff;
    /* color: #e0e0e0; */
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #e0e0e0 !important;
  }
}
