/* Ashby Job Board Custom CSS - Styled to match Synthetic brand */

/* These variables control values throughout the job board. */
:root {
  /* Brand Colors - matching Synthetic's warm orange palette */
  --colorPrimary900: #c27c3a; /* Darker orange for hover states */
  --colorPrimary600: #e89f5a; /* Main brand orange */

  /* Layout */
  --widthMaxJobBoard: 896px; /* max-w-4xl */

  /* Border Radius - clean, modern rounded corners */
  --borderRadiusContainer: 8px;
  --borderRadiusControl: 8px;
  --borderRadiusButton: 8px;

  /* Typography - PP Editorial New serif font */
  --fontFamily: "PP Editorial New", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

  /* Background - light, clean surface */
  --colorAppBackground: #fefcfa;
}

/* Job posting brief cards in the list view */
.ashby-job-posting-brief {
  background-color: white;
  border: 1px solid transparent;
  border-radius: var(--borderRadiusContainer);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px 0 rgba(194, 124, 58, 0.08), 0 1px 3px 0 rgba(194, 124, 58, 0.06);
  transition: all 0.2s ease;
  cursor: pointer;
}

.ashby-job-posting-brief:hover {
  border-color: #f5dcc8;
  box-shadow: 0 4px 6px -2px rgba(194, 124, 58, 0.1), 0 8px 12px -4px rgba(194, 124, 58, 0.08);
}

/* Job posting details container */
.ashby-job-posting-brief-details {
  font-family: var(--fontFamily);
}

/* Job title in the list view */
.ashby-job-posting-brief-title {
  font-family: var(--fontFamily);
  font-size: 1.5rem;
  font-weight: 300;
  color: #453529;
  margin-bottom: 0.5rem;
  line-height: 2rem;
}

/* Job posting list container */
.ashby-job-posting-brief-list {
  max-width: var(--widthMaxJobBoard);
  margin: 0 auto;
}

/* Department heading (groups teams) */
.ashby-department-heading {
  font-family: var(--fontFamily);
  font-size: 1.125rem;
  font-weight: 400;
  color: #453529;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Team heading within department */
.ashby-department-heading-level {
  font-family: var(--fontFamily);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(69, 53, 41, 0.7);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Job posting brief department heading */
.ashby-job-posting-brief-department-heading {
  font-family: var(--fontFamily);
  font-size: 1.125rem;
  font-weight: 400;
  color: #453529;
  margin-bottom: 1rem;
}

/* Job posting brief team heading */
.ashby-job-posting-brief-department-heading-level {
  font-family: var(--fontFamily);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(69, 53, 41, 0.7);
  margin-bottom: 0.75rem;
}

/* Back to all jobs button */
.ashby-job-board-back-to-all-jobs-button {
  color: var(--colorPrimary600);
  text-decoration: none;
  font-family: var(--fontFamily);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: color 0.2s ease;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: var(--colorPrimary900);
}

/* Filter select box */
.ashby-job-board-filter {
  font-family: var(--fontFamily);
  border: 1px solid #e5e5e5;
  border-radius: var(--borderRadiusControl);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #453529;
  background-color: white;
  transition: border-color 0.2s ease;
}

.ashby-job-board-filter:focus {
  outline: none;
  border-color: var(--colorPrimary600);
}

/* Filters label */
.ashby-job-board-filters-label {
  font-family: var(--fontFamily);
  font-size: 1rem;
  font-weight: 300;
  color: #453529;
  margin-right: 1rem;
}

/* Job board heading */
.ashby-job-board-heading {
  font-family: var(--fontFamily);
  font-size: 1.875rem;
  font-weight: 300;
  color: #453529;
  margin-bottom: 1.5rem;
}

/* Job posting count */
.ashby-job-board-heading-count {
  font-family: var(--fontFamily);
  font-size: 1rem;
  color: rgba(69, 53, 41, 0.6);
  margin-left: 0.5rem;
}

/* Reset filters label */
.ashby-job-board-reset-filters-label {
  color: var(--colorPrimary600);
  font-family: var(--fontFamily);
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.ashby-job-board-reset-filters-label:hover {
  color: var(--colorPrimary900);
}

/* Job posting main header */
.ashby-job-posting-header {
  margin-bottom: 2rem;
}

/* Job posting heading */
.ashby-job-posting-heading {
  font-family: var(--fontFamily);
  font-size: 2.25rem;
  font-weight: 300;
  color: #453529;
  margin-bottom: 1rem;
  line-height: 2.5rem;
}

/* Job posting left pane (details) */
.ashby-job-posting-left-pane {
  font-family: var(--fontFamily);
  color: #453529;
  line-height: 1.75;
}

/* Job posting right pane (tabs, overview, application) */
.ashby-job-posting-right-pane {
  font-family: var(--fontFamily);
}

/* Application tab */
.ashby-job-posting-right-pane-application-tab {
  font-family: var(--fontFamily);
  padding: 0.75rem 1.5rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ashby-job-posting-right-pane-application-tab:hover {
  color: var(--colorPrimary600);
}

/* Overview tab */
.ashby-job-posting-right-pane-overview-tab {
  font-family: var(--fontFamily);
  padding: 0.75rem 1.5rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ashby-job-posting-right-pane-overview-tab:hover {
  color: var(--colorPrimary600);
}

/* Tab slider */
.ashby-job-posting-right-pane-tab-slider {
  border-bottom: 2px solid var(--colorPrimary600);
}

/* Application form container */
.ashby-application-form-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: var(--borderRadiusContainer);
  font-family: var(--fontFamily);
}

/* Application form field entry */
.ashby-application-form-field-entry {
  margin-bottom: 1.5rem;
}

/* Question title */
.ashby-application-form-question-title {
  display: block;
  font-family: var(--fontFamily);
  font-weight: 400;
  color: #453529;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Question description */
.ashby-application-form-question-description {
  font-family: var(--fontFamily);
  font-size: 0.875rem;
  color: rgba(69, 53, 41, 0.7);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Form section container */
.ashby-application-form-section-container {
  margin-bottom: 2rem;
}

/* Section header */
.ashby-application-form-section-header {
  margin-bottom: 1.5rem;
}

/* Section title */
.ashby-application-form-section-header-title {
  font-family: var(--fontFamily);
  font-size: 1.5rem;
  font-weight: 300;
  color: #453529;
  margin-bottom: 0.5rem;
}

/* Section description */
.ashby-application-form-section-header-description {
  font-family: var(--fontFamily);
  font-size: 1rem;
  color: rgba(69, 53, 41, 0.7);
  line-height: 1.5;
}

/* Submit button */
.ashby-application-form-submit-button {
  background-color: #453529;
  color: white;
  font-family: var(--fontFamily);
  font-size: 1.5rem;
  font-weight: 200;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--borderRadiusButton);
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: inline-block;
  text-align: center;
  width: auto;
}

.ashby-application-form-submit-button:hover {
  background-color: var(--colorPrimary600);
}

/* Success container - override Ashby's default green box */
.ashby-application-form-success-container {
  text-align: center;
  padding: 3rem;
  font-family: var(--fontFamily);
  color: #453529 !important;
  background-color: transparent !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Success message headings */
.ashby-application-form-success-container h2,
.ashby-application-form-success-container h3 {
  font-family: var(--fontFamily);
  font-size: 2rem;
  font-weight: 300;
  color: #453529 !important;
  margin-bottom: 1rem;
}

/* Success message body text */
.ashby-application-form-success-container p {
  font-family: var(--fontFamily);
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(69, 53, 41, 0.8) !important;
  line-height: 1.75;
}

/* Failure container */
.ashby-application-form-failure-container {
  text-align: center;
  padding: 3rem;
  font-family: var(--fontFamily);
  color: #c44;
}

/* Blocked application container */
.ashby-application-form-blocked-application-container {
  text-align: center;
  padding: 3rem;
  font-family: var(--fontFamily);
  color: rgba(69, 53, 41, 0.7);
}

/* Texting consent description */
.ashby-application-form-texting-consent-description {
  font-family: var(--fontFamily);
  font-size: 0.75rem;
  color: rgba(69, 53, 41, 0.6);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Survey form container */
.ashby-survey-form-container {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

/* Autofill input root */
.ashby-application-form-autofill-input-root {
  margin-bottom: 1.5rem;
}

/* Autofill input base layer */
.ashby-application-form-autofill-input-base-layer {
  border: 2px dashed #e5e5e5;
  border-radius: var(--borderRadiusContainer);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

/* Autofill input title */
.ashby-application-form-autofill-input-title {
  font-family: var(--fontFamily);
  font-size: 1.125rem;
  font-weight: 400;
  color: #453529;
  margin-bottom: 0.5rem;
}

/* Autofill input description */
.ashby-application-form-autofill-input-description {
  font-family: var(--fontFamily);
  font-size: 0.875rem;
  color: rgba(69, 53, 41, 0.7);
  margin-bottom: 1rem;
}

/* Autofill input icon */
.ashby-application-form-autofill-input-icon {
  color: var(--colorPrimary600);
  margin-bottom: 0.5rem;
}

/* Autofill drag layer */
.ashby-application-form-autofill-input-drag-layer {
  background-color: rgba(232, 159, 90, 0.1);
  border-color: var(--colorPrimary600);
}

/* Autofill pending layer */
.ashby-application-form-autofill-input-pending-layer {
  background-color: rgba(232, 159, 90, 0.05);
}

/* Autofill form alert */
.ashby-application-form-autofill-input-form-alert {
  font-family: var(--fontFamily);
  font-size: 0.875rem;
  padding: 0.75rem;
  border-radius: var(--borderRadiusControl);
  margin-top: 0.5rem;
}

/* Autofill pane */
.ashby-application-form-autofill-pane {
  margin-bottom: 2rem;
}

/* Autofill uploader */
.ashby-application-form-autofill-uploader {
  font-family: var(--fontFamily);
}
