/* MyWave — Ashby job board theme
 * Upload in Ashby: Admin > Job Boards > Theme (Job Board) > Job Board Options
 * Brand: Blue #0565ff · Purple #a0248d · Dark Blue #1a1a38 · Light Grey #f3f3f3
 */

/* Inter as web-safe stand-in. Swap for Matter if a licensed webfont URL is available. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap");

:root {
  --colorAppBackground: #ffffff;
  --colorPrimary900: #1a1a38;   /* also set in Ashby theme settings — keep matched */
  --colorPrimary600: #0565ff;   /* also set in Ashby theme settings — keep matched */
  --widthMaxContent: 1100px;
  --widthMaxJobBoard: 1100px;
  --widthMaxSubscriptionPreferences: 600px;
  --borderRadiusContainer: 8px;
  --borderRadiusControl: 6px;
  --borderRadiusButton: 6px;
  --fontFamily: "Matter", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body { color: #1a1a38; }

/* ---------- Job board list ---------- */

.ashby-job-board-heading {
  font-weight: 700;
  color: #1a1a38;
  letter-spacing: -0.01em;
}

.ashby-job-board-heading-count { color: #a0248d; }

.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
  font-weight: 700;
  color: #1a1a38;
  border-bottom: 2px solid #0565ff;
  padding-bottom: 8px;
  margin-top: 32px;
}

.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading-level {
  font-weight: 600;
  color: #a0248d;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.ashby-job-posting-brief {
  background: #f3f3f3;
  border: 1px solid transparent;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ashby-job-posting-brief:hover {
  background: #eef3ff;
  border-color: #0565ff;
}

.ashby-job-posting-brief-title {
  font-weight: 600;
  color: #1a1a38;
}

.ashby-job-posting-brief-details { color: #555570; }

.ashby-job-board-filter {
  border: 1px solid #d6d6e0;
  border-radius: 6px;
  color: #1a1a38;
}

.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label { color: #0565ff; font-weight: 600; }

/* ---------- Job posting ---------- */

.ashby-job-posting-heading {
  font-weight: 700;
  color: #1a1a38;
  letter-spacing: -0.01em;
}

.ashby-job-board-back-to-all-jobs-button {
  color: #0565ff;
  font-weight: 600;
}

.ashby-job-posting-left-pane {
  background: #f3f3f3;
  border-radius: 8px;
}

.ashby-job-posting-description { line-height: 1.6; }
.ashby-job-posting-description a { color: #0565ff; }

.ashby-job-posting-right-pane-tab-slider { background: #0565ff; }

/* ---------- Application form ---------- */

.ashby-application-form-section-header-title,
.ashby-application-form-question-title {
  font-weight: 600;
  color: #1a1a38;
}

.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-dropdown-select,
.ashby-application-form-input-date {
  border: 1px solid #d6d6e0;
  border-radius: 6px;
}

.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus,
.ashby-application-form-input-dropdown-select:focus {
  border-color: #0565ff;
  box-shadow: 0 0 0 3px rgba(5, 101, 255, 0.15);
  outline: none;
}

.ashby-application-form-input-file-dropzone {
  border: 2px dashed #0565ff;
  background: #eef3ff;
  border-radius: 8px;
}

.ashby-application-form-input-yesno-option[aria-pressed="true"] {
  background: #0565ff;
  border-color: #0565ff;
  color: #ffffff;
}

.ashby-application-form-submit-button {
  background: linear-gradient(90deg, #1a1a38 0%, #a0248d 100%);
  border: none;
  color: #ffffff;
  font-weight: 600;
  border-radius: 6px;
}

.ashby-application-form-submit-button:hover { opacity: 0.9; }

.ashby-application-form-success-container {
  background: #eef3ff;
  border-left: 4px solid #0565ff;
  border-radius: 8px;
}

.ashby-application-form-failure-container {
  border-left: 4px solid #a0248d;
  border-radius: 8px;
}
