/* stylelint-disable */

/* YOUMMDAY CUSTOM ASHBY JOB BOARD STYLING */
/* Brand colors: Dark purple #0D0630, White #FFFFFF, Coral #FA6E4B, Light purple #C4BAFF, Primary #371964 */

:root {
  /* Background color of the application */
  --colorAppBackground: #0D0630;

  /* Primary darker color - yoummday primary brand color */
  --colorPrimary900: #371964;

  /* Primary lighter color - yoummday bright purple */
  --colorPrimary600: #765EFF;

  /* The max width of job board container */
  --widthMaxContent: 800px;

  /* The max width of application form section */
  --widthMaxJobBoard: 800px;

  /* The max width of subscription preferences container */
  --widthMaxSubscriptionPreferences: 600px;

  /* Container border radius */
  --borderRadiusContainer: 10px;

  /* Border radius of control elements (e.g. input boxes) */
  --borderRadiusControl: 10px;

  /* Button border radius */
  --borderRadiusButton: 10px;

  /* Font families */
  --fontFamily: "Arial", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* ===== GLOBAL TEXT & BACKGROUNDS ===== */

/* Ensure white text on dark background globally */
body,
.ashby-job-board-heading,
.ashby-job-posting-heading,
.ashby-job-posting-brief-title,
.ashby-job-posting-brief-details,
.ashby-department-heading,
.ashby-department-heading-level {
  color: #FFFFFF;
}

/* Dark background for main containers */
.ashby-application-form-container,
.ashby-job-posting-description-container,
.ashby-job-posting-right-pane,
.ashby-job-posting-left-pane {
  background-color: #0D0630;
}

/* ===== JOB POSTINGS HEADLINES ===== */

/* Job posting titles - coral accent */
.ashby-job-posting-heading {
  color: #FA6E4B;
  font-family: Arial, sans-serif;
}

.ashby-job-posting-brief-title {
  color: #FA6E4B;
  font-family: Arial, sans-serif;
}

/* Job posting brief details section */
.ashby-job-posting-brief-details {
  color: #FFFFFF;
  font-family: Arial, sans-serif;
}

/* Job board main heading */
.ashby-job-board-heading {
  color: #FFFFFF;
  font-family: Arial, sans-serif;
}

/* Job posting cards in the feed */
.ashby-job-posting-brief {
  background-color: #1A0D3D;
  border: 1px solid #371964;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.ashby-job-posting-brief:hover {
  background-color: #371964 !important;
  border-color: #765EFF;
  box-shadow: 0 4px 12px rgba(118, 94, 255, 0.1);
}

/* Job posting description text */
.ashby-job-posting-description {
  color: #FFFFFF;
}

/* Department headings */
.ashby-department-heading,
.ashby-department-heading-level {
  color: #FFFFFF;
}

/* ===== FILTER BUTTONS ===== */

/* Filter button styling - light purple with black text */
.ashby-job-board-filter,
.ashby-job-board-filter select {
  background-color: #C4BAFF;
  color: #000000;
  border: 1px solid #C4BAFF;
  font-family: Arial, sans-serif;
  font-weight: normal !important;
}

.ashby-job-board-filter:hover,
.ashby-job-board-filter:focus {
  background-color: #B5A8FF;
  border-color: #B5A8FF;
  color: #000000;
}

.ashby-job-board-filter select option {
  background-color: #0D0630;
  color: #FFFFFF;
}

/* Filter labels */
.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
  color: #FFFFFF;
  font-family: Arial, sans-serif;
}

/* ===== FORM INPUTS & FIELDS ===== */

/* Text inputs, textareas, dropdowns */
.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-dropdown,
.ashby-application-form-input-date,
.ashby-application-form-input-autocomplete {
  background-color: #1A0D3D;
  color: #FFFFFF;
  border: 1px solid #371964;
  font-family: Arial, sans-serif;
}

.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus,
.ashby-application-form-input-dropdown:focus,
.ashby-application-form-input-date:focus {
  border-color: #765EFF;
  box-shadow: 0 0 0 2px rgba(118, 94, 255, 0.2);
}

/* Input placeholders */
.ashby-application-form-input-text::placeholder,
.ashby-application-form-input-textarea::placeholder {
  color: #A8A0B8;
}

/* Dropdown select */
.ashby-application-form-input-dropdown-select {
  background-color: #1A0D3D;
  color: #FFFFFF;
  border: 1px solid #371964;
}

/* Dropdown icon */
.ashby-application-form-input-dropdown-icon {
  color: #765EFF;
}

/* Date picker */
.ashby-application-form-input-date-popup {
  background-color: #1A0D3D;
  border: 1px solid #371964;
}

.ashby-application-form-input-date-popup-header {
  background-color: #371964;
}

.ashby-application-form-input-date-popup-title {
  color: #FFFFFF;
}

.ashby-application-form-input-date-popup-header-button {
  color: #765EFF;
}

/* Autocomplete popup */
.ashby-application-form-input-autocomplete-popup {
  background-color: #1A0D3D;
  border: 1px solid #371964;
}

.ashby-application-form-input-autocomplete-popup-result {
  color: #FFFFFF;
}

.ashby-application-form-input-autocomplete-popup-result[aria-selected="true"] {
  background-color: #371964;
  color: #FFFFFF;
}

.ashby-application-form-input-autocomplete-popup-empty,
.ashby-application-form-input-autocomplete-popup-loading {
  color: #A8A0B8;
}

/* ===== CHECKBOXES & RADIO BUTTONS ===== */

.ashby-application-form-input-checkbox-group-option-checkbox,
.ashby-application-form-input-radio-group-option-radio {
  background-color: #1A0D3D;
  border-color: #371964;
}

.ashby-application-form-input-checkbox-group-option-checkbox:checked,
.ashby-application-form-input-radio-group-option-radio:checked {
  background-color: #765EFF;
  border-color: #765EFF;
}

.ashby-application-form-input-checkbox-group-option-label,
.ashby-application-form-input-radio-group-option-label {
  color: #FFFFFF;
}

/* Yes/No input */
.ashby-application-form-input-yesno-option {
  background-color: #1A0D3D;
  color: #FFFFFF;
  border: 1px solid #371964;
}

.ashby-application-form-input-yesno-option[aria-pressed="true"] {
  background-color: #765EFF;
  border-color: #765EFF;
  color: #FFFFFF;
}

/* ===== FORM SECTIONS & LABELS ===== */

.ashby-application-form-section-container {
  background-color: #0D0630;
}

.ashby-application-form-section-header-title {
  color: #FA6E4B;
  font-family: Arial, sans-serif;
  font-weight: 600;
}

.ashby-application-form-section-header-description,
.ashby-application-form-question-description {
  color: #A8A0B8;
  font-family: Arial, sans-serif;
}

.ashby-application-form-question-title {
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  font-weight: 600;
}

/* ===== PRIMARY APPLY BUTTON ===== */

.ashby-application-form-submit-button {
  background-color: #FA6E4B;
  color: #FFFFFF;
  border: none;
  font-family: Arial, sans-serif;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ashby-application-form-submit-button:hover {
  background-color: #E85A35;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 110, 75, 0.3);
}

.ashby-application-form-submit-button:active {
  background-color: #D84B25;
  transform: translateY(0);
}

/* ===== SUCCESS/FAILURE MESSAGES ===== */

.ashby-application-form-success-container {
  background-color: #1A0D3D;
  border: 1px solid #765EFF;
  color: #FFFFFF;
}

.ashby-application-form-failure-container {
  background-color: #3D1A1A;
  border: 1px solid #FA6E4B;
  color: #FFFFFF;
}

/* ===== FILE UPLOADS ===== */

.ashby-application-form-input-file-dropzone {
  background-color: #1A0D3D;
  border: 2px dashed #371964;
  color: #FFFFFF;
}

.ashby-application-form-input-file-dropzone:hover {
  border-color: #765EFF;
  background-color: rgba(118, 94, 255, 0.05);
}

.ashby-application-form-input-file-dropzone-instructions {
  color: #A8A0B8;
}

.ashby-application-form-input-file-dropzone-upload {
  background-color: #765EFF;
  color: #FFFFFF;
}

.ashby-application-form-input-file-item {
  background-color: #1A0D3D;
  color: #FFFFFF;
  border: 1px solid #371964;
}

.ashby-application-form-input-file-item-name {
  color: #FFFFFF;
}

/* ===== BACK TO JOBS BUTTON ===== */

.ashby-job-board-back-to-all-jobs-button {
  background-color: #371964;
  color: #FFFFFF;
  border: 1px solid #765EFF;
  font-family: Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  background-color: #765EFF;
  color: #FFFFFF;
}

/* ===== EDUCATION HISTORY INPUT ===== */

.ashby-application-form-input-education-entry {
  background-color: #1A0D3D;
  border: 1px solid #371964;
}

.ashby-application-form-input-education-entry-delete,
.ashby-application-form-input-education-add {
  background-color: #765EFF;
  color: #FFFFFF;
}

.ashby-application-form-input-education-entry-delete:hover,
.ashby-application-form-input-education-add:hover {
  background-color: #8A7FFF;
}

/* ===== TABS & OVERVIEW ===== */

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

/* ===== ALERTS & VALIDATION ===== */

.ashby-application-form-input-autocomplete-popup-empty,
.ashby-application-form-input-autocomplete-popup-loading {
  padding: 10px;
}

.ashby-application-form-input-file-item-delete {
  background-color: #FA6E4B;
  color: #FFFFFF;
}

.ashby-application-form-input-file-item-delete:hover {
  background-color: #E85A35;
}

/* ===== AUTOFILL RESUME INPUT ===== */

/* Container for autofill input form */
.ashby-application-form-autofill-pane {
  background-color: #371964 !important;
  border-radius: 10px !important;
}

/* Application autofill input's root element */
.ashby-application-form-autofill-input-root {
  background-color: #371964 !important;
  border-radius: 10px !important;
  padding: 20px !important;
  border: none !important;
}

/* Application autofill input's base layer element */
.ashby-application-form-autofill-input-base-layer {
  background-color: #371964 !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  border: none !important;
}

/* Application autofill input's title */
.ashby-application-form-autofill-input-title {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-family: Arial, sans-serif !important;
}

/* Application autofill input's description */
.ashby-application-form-autofill-input-description {
  color: #FFFFFF !important;
  font-family: Arial, sans-serif !important;
}

/* Container for the application uploader */
.ashby-application-form-autofill-uploader {
  background-color: transparent !important;
}

/* Upload file button in autofill */
.ashby-application-form-autofill-uploader button {
  background-color: #C4BAFF !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-family: Arial, sans-serif !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
}

.ashby-application-form-autofill-uploader button:hover {
  background-color: #B5A8FF !important;
  color: #000000 !important;
}

/* Autofill icon color */
.ashby-application-form-autofill-input-icon {
  color: #FDD2C1 !important;
}

/* Drag state overlay */
.ashby-application-form-autofill-input-drag-layer {
  background-color: rgba(55, 25, 100, 0.8) !important;
}

/* Pending state overlay */
.ashby-application-form-autofill-input-pending-layer {
  background-color: rgba(55, 25, 100, 0.8) !important;
}

/* ===== TEXTING CONSENT ===== */

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

/* ===== GENERAL TYPOGRAPHY ===== */

* {
  font-family: Arial, sans-serif;
}

/* Ensure high contrast for accessibility */
a {
  color: #765EFF;
  text-decoration: none;
}

a:hover {
  color: #8A7FFF;
  text-decoration: underline;
}
