/* alex-ashby-board.css
   Premium design theme aligned with alex-hire.webflow.io
   Optimized for transparent gradient backgrounds
   -------------------------------------------------- */

@import url("https://use.typekit.net/joo2xer.css");

/* Custom SuisseIntl Webm – using Webflow CDN */
@font-face {
  font-family: "Suisseintl Webm";
  src: url("https://cdn.prod.website-files.com/68aeb8386df2a4eb63bab7e3/68aef849118da582106bc54e_SuisseIntl-Regular-WebM.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Global variables - alex-hire.webflow.io design system */
:root {
  --colorPrimary900: #2e521d;
  --colorPrimary600: #009b58;
  --colorPrimaryLight: #f0f7f4;
  --colorText: #202620;
  --colorTextMuted: #6c7465;
  --colorBorder: #d4d6d3;
  --colorBorderHover: #b8bbb6;
  --colorBackground: transparent;
  --colorCard: rgba(255, 255, 255, 0.95);
  --colorCardHover: rgba(255, 255, 255, 0.98);

  --fontFamilyBody: "Suisseintl Webm", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fontFamilyHeading: p22-mackinac-pro, sans-serif;

  --borderRadiusLg: 16px;
  --borderRadiusMd: 12px;
  --borderRadiusSm: 8px;
  --borderRadiusPill: 999px;

  --shadowSm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadowMd: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadowLg: 0 16px 40px rgba(0, 0, 0, 0.16);

  --widthMaxJobBoard: 1200px;
}

/* Body and base typography */
body {
  margin: 0;
  font-family: var(--fontFamilyBody);
  background: var(--colorBackground);
  color: var(--colorText);
  line-height: 1.6;
  padding: 0;
}

/* Override Ashby's container width to match job board width */
div[class*="_container_"],
div[class*="_sticky_"] {
  max-width: var(--widthMaxJobBoard) !important;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: var(--colorPrimary900);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--colorPrimary600);
}

/* Headings - use premium serif font */
.ashby-job-board-heading,
.ashby-job-posting-heading {
  font-family: var(--fontFamilyHeading) !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--colorPrimary900);
}

/* Job titles use sans-serif */
.ashby-job-posting-brief-title {
  font-family: var(--fontFamilyBody) !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--colorPrimary900);
}

/* Main container styling */
.ashby-job-board-heading {
  margin: 48px 0 0;
  padding: 0;
}

.ashby-job-posting-heading,
.ashby-job-posting-header {
  margin: 48px 0 0;
  padding: 0;
}

/* Ensure title containers have proper width */
.ashby-job-board-heading,
.ashby-job-posting-heading {
  width: 100%;
  box-sizing: border-box;
}

/* Wrapper for job detail panes */
div:has(> .ashby-job-posting-left-pane),
div:has(> .ashby-job-posting-right-pane) {
  margin: 24px 0 60px;
  padding: 0;
  display: flex;
  gap: 20px;
  background: transparent;
  border: none;
  box-shadow: none;
  align-items: flex-start;
}

/* Left sidebar - clean glass card */
.ashby-job-posting-left-pane {
  min-width: 280px;
  width: 280px;
  flex-shrink: 0;
  padding: 32px 28px !important;
  border-radius: 18px !important;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85)
  ) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
  align-self: flex-start !important;
  margin-top: 0 !important;
}

/* Right content pane - clean glass card */
.ashby-job-posting-right-pane {
  flex: 1;
  min-width: 0;
  padding: 40px 44px !important;
  border-radius: 18px !important;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.85)
  ) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
  align-self: flex-start !important;
  margin-top: 0 !important;
}

/* Job board listing container */
.ashby-job-board-heading + div {
  margin: 24px 0 60px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .ashby-job-posting-header + div {
    flex-direction: column;
    gap: 16px;
    margin: 16px;
  }

  .ashby-job-posting-left-pane {
    min-width: auto;
    max-width: none;
    padding: 24px;
    box-shadow: none !important;
  }

  .ashby-job-posting-right-pane {
    padding: 28px 24px;
    box-shadow: none !important;
  }

  .ashby-job-board-heading + div {
    margin: 16px;
  }
}

/* Job board heading */
.ashby-job-board-heading {
  font-size: 2rem;
  margin-bottom: 12px;
}

.ashby-job-board-heading-count {
  font-size: 1rem;
  color: var(--colorTextMuted);
  font-weight: 400;
}

/* Job posting header */
.ashby-job-posting-heading {
  font-size: 2.25rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.ashby-job-posting-header {
  padding-top: 0;
  margin-bottom: 24px;
}

.ashby-job-posting-header p {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--colorTextMuted);
  font-size: 1.05rem;
}

/* Filters section */
.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label,
.ashby-job-board-filter {
  font-family: var(--fontFamilyBody);
}

.ashby-job-board-filters-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--colorTextMuted);
  margin-bottom: 8px;
}

.ashby-job-board-filter {
  border-radius: var(--borderRadiusSm);
  border: 1px solid var(--colorBorder);
  padding: 10px 16px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--colorText);
  min-width: 180px;
  transition: all 150ms ease;
}

.ashby-job-board-filter:focus {
  outline: none;
  border-color: var(--colorPrimary900);
  box-shadow: 0 0 0 3px rgba(46, 82, 29, 0.1);
  background: rgba(255, 255, 255, 1);
}

.ashby-job-board-filter:hover {
  border-color: var(--colorBorderHover);
  background: rgba(255, 255, 255, 1);
}

/* Back to jobs button */
.ashby-job-board-back-to-all-jobs-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid var(--colorBorder);
  padding: 10px 18px;
  font-size: 0.95rem;
  color: var(--colorPrimary900) !important;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 150ms ease;
  font-weight: 500;
  font-family: var(--fontFamilyBody) !important;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

/* Keep arrow/icon visible and styled */
.ashby-job-board-back-to-all-jobs-button svg,
.ashby-job-board-back-to-all-jobs-button path,
.ashby-job-board-back-to-all-jobs-button * {
  color: inherit !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--colorPrimary900);
  color: var(--colorPrimary600) !important;
  transform: translateX(-2px);
  box-shadow: var(--shadowSm);
}

.ashby-department-heading,
.ashby-department-heading-level {
  font-family: var(--fontFamilyHeading) !important;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--colorText);
}

/* Job cards list */ /* Job cards list */
.ashby-job-posting-brief-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* MAIN JOB CARD (outer card) */
.ashby-job-posting-brief {
  margin-bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.8)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;

  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

/* Hover state on whole card */
.ashby-job-posting-brief:hover {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* Optional: change title color on hover, but keep fonts */
.ashby-job-posting-brief:hover .ashby-job-posting-brief-title {
  color: var(--colorPrimary600);
}

/* Category headers (keep as-is if you like the current look) */
.ashby-job-posting-brief-list > div > div:first-child {
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--colorText);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* METADATA ROW – was a separate card, now inline details */
.ashby-job-posting-brief-details {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  padding: 0 !important;
  margin-top: 4px;

  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;

  font-size: 0.9rem;
  opacity: 0.85;
  position: static; /* remove any previous positioning effects */
  cursor: default;
  transform: none !important;
}

/* Each detail item inline */
.ashby-job-posting-brief-details > * {
  display: inline-flex;
  align-items: center;
}

/* Subtle separators between items */
.ashby-job-posting-brief-details > * + *::before {
  content: "•";
  margin-right: 6px;
  opacity: 0.6;
}

/* Remove old hover treatments from inner details */
.ashby-job-posting-brief-details:hover {
  border: none;
  box-shadow: none;
  background: transparent;
}

.ashby-job-posting-brief-details:hover::before {
  content: none;
}

/* RESPONSIVE REFINEMENTS FOR CARDS */
@media (max-width: 768px) {
  .ashby-job-posting-brief {
    padding: 16px 18px;
    box-shadow: none !important;
  }

  .ashby-job-posting-brief:hover {
    box-shadow: none !important;
  }

  .ashby-job-posting-brief-details {
    gap: 4px 10px;
  }
}

/* Tab container spacing */
.ashby-job-posting-right-pane > div:first-child {
  margin-bottom: 32px;
}

/* Tabs for job posting detail */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-size: 1.05rem;
  font-family: var(--fontFamilyBody);
  text-transform: none;
  letter-spacing: 0;
  padding: 16px 0;
  margin-right: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  color: var(--colorTextMuted);
  font-weight: 500;
  transition: color 150ms ease;
}

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

.ashby-job-posting-right-pane-tab-slider {
  height: 3px;
  border-radius: var(--borderRadiusPill);
  background: linear-gradient(
    90deg,
    var(--colorPrimary600),
    var(--colorPrimary900)
  );
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(46, 82, 29, 0.2);
}

/* Left pane content sections */
.ashby-job-posting-left-pane > div {
  margin-bottom: 28px;
}

.ashby-job-posting-left-pane > div:last-child {
  margin-bottom: 0;
}

/* Left pane section headings */
.ashby-job-posting-left-pane h3,
.ashby-job-posting-left-pane h4 {
  font-family: var(--fontFamilyBody);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--colorTextMuted);
  margin-bottom: 10px;
}

/* Left pane section values */
.ashby-job-posting-left-pane p {
  font-family: var(--fontFamilyBody);
  font-size: 0.95rem;
  color: var(--colorText);
  margin: 0;
  line-height: 1.5;
}

/* Right pane content spacing */
.ashby-job-posting-right-pane h2,
.ashby-job-posting-right-pane h3 {
  font-family: var(--fontFamilyBody);
  font-weight: 600;
  color: var(--colorPrimary900);
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.ashby-job-posting-right-pane h2 {
  font-size: 1.5rem;
}

.ashby-job-posting-right-pane h3 {
  font-size: 1.15rem;
}

.ashby-job-posting-right-pane p {
  font-family: var(--fontFamilyBody);
  color: var(--colorText);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ashby-job-posting-right-pane ul,
.ashby-job-posting-right-pane ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.ashby-job-posting-right-pane li {
  font-family: var(--fontFamilyBody);
  color: var(--colorText);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Application form container */
form[class*="application"] {
  margin-top: 32px;
}

/* Form labels */
form label {
  font-family: var(--fontFamilyBody);
  font-weight: 600;
  font-size: 1rem;
  color: var(--colorPrimary600);
  display: block;
  margin-bottom: 10px;
}

/* Required asterisk */
form label sup {
  color: #dc2626;
  font-weight: 600;
}

/* Application form styling */
.ashby-application-form-field-entry input,
.ashby-application-form-field-entry select,
.ashby-application-form-field-entry textarea {
  border-radius: 12px;
  border: 1px solid var(--colorBorder);
  padding: 14px 18px;
  font-family: var(--fontFamilyBody);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--colorText);
  transition: all 150ms ease;
  width: 100%;
  box-sizing: border-box;
}

.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry select:focus,
.ashby-application-form-field-entry textarea:focus {
  border-color: var(--colorPrimary600);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 82, 29, 0.1);
  background: rgba(255, 255, 255, 1);
}

.ashby-application-form-field-entry input:hover,
.ashby-application-form-field-entry select:hover,
.ashby-application-form-field-entry textarea:hover {
  border-color: var(--colorBorderHover);
  background: rgba(255, 255, 255, 1);
}

/* Autofill from resume section - target only the main container */
div[class*="autofill"] {
  background: rgba(240, 247, 244, 0.4) !important;
  border: 1px solid var(--colorBorder) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 32px !important;
}

/* Remove ALL nested borders from child divs - be aggressive */
div[class*="autofill"] > div,
div[class*="autofill"] > div > div,
div[class*="autofill"] > div > div > div {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Autofill heading */
div[class*="autofill"] h2,
div[class*="autofill"] h3 {
  color: var(--colorPrimary600) !important;
  font-family: var(--fontFamilyBody) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin: 0 0 8px 0 !important;
}

/* Autofill description */
div[class*="autofill"] p {
  color: var(--colorText) !important;
  font-family: var(--fontFamilyBody) !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* Upload file buttons */
button[class*="upload" i],
button[class*="Upload"] {
  background: var(--colorPrimary900) !important;
  color: white !important;
  border: none !important;
  border-radius: 24px !important;
  padding: 12px 28px !important;
  font-family: var(--fontFamilyBody) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: all 150ms ease !important;
}

button[class*="upload" i]:hover,
button[class*="Upload"]:hover {
  background: var(--colorPrimary600) !important;
  transform: translateY(-1px) !important;
}

/* Form field spacing */
.ashby-application-form-field-entry {
  margin-bottom: 28px;
}

.ashby-application-form-question-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--colorPrimary600);
  margin-bottom: 10px;
  font-family: var(--fontFamilyBody);
}

.ashby-application-form-question-description {
  font-size: 0.875rem;
  color: var(--colorTextMuted);
  margin-bottom: 12px;
  font-family: var(--fontFamilyBody);
  line-height: 1.5;
}

/* Submit button - premium green style, properly aligned */
.ashby-application-form-submit-button {
  border-radius: 12px;
  background: var(--colorPrimary600);
  color: #ffffff;
  padding: 16px 48px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--fontFamilyBody);
  text-transform: none;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all 180ms ease;
  box-shadow: 0 4px 12px rgba(46, 82, 29, 0.25);
  margin-top: 32px;
  display: inline-block;
}

.ashby-application-form-submit-button:hover {
  background: var(--colorPrimary900);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 82, 29, 0.3);
}

.ashby-application-form-submit-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(46, 82, 29, 0.25);
}

/* Resume field entry - remove wrapper styling */
.ashby-application-form-field-entry {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* File upload drag-and-drop areas - target the actual container */
.ashby-application-form-field-entry div[role="presentation"],
.ashby-application-form-field-entry div[class*="_container_"] {
  padding: 48px 32px !important;
  background: rgba(240, 247, 244, 0.3) !important;
  border: 2px dashed var(--colorBorder) !important;
  cursor: pointer !important;
  border-radius: 12px !important;
  transition: all 200ms ease !important;
  text-align: center !important;
  min-height: 150px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ashby-application-form-field-entry div[role="presentation"]:hover,
.ashby-application-form-field-entry div[class*="_container_"]:hover {
  border-color: var(--colorPrimary600) !important;
  background: rgba(46, 82, 29, 0.05) !important;
}

/* Instructions div inside container - horizontal layout */
div[class*="_instructions_"] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Drag instructions text */
p[class*="_dragInstructions_"] {
  color: var(--colorText) !important;
  font-family: var(--fontFamilyBody) !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}

/* Remove nested borders from ALL wrapper divs inside field entry */
.ashby-application-form-field-entry > div:not([class*="dropzone"]),
.ashby-application-form-field-entry > div > div:not([class*="dropzone"]) {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Upload button inside dropzone */
div[class*="dropzone"] button,
div[class*="upload-area"] button {
  background: transparent !important;
  color: var(--colorPrimary900) !important;
  border: 2px solid var(--colorPrimary900) !important;
  border-radius: 24px !important;
  padding: 10px 24px !important;
  font-family: var(--fontFamilyBody) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: all 150ms ease !important;
  flex-shrink: 0 !important;
}

div[class*="dropzone"] button:hover,
div[class*="upload-area"] button:hover {
  background: var(--colorPrimary900) !important;
  color: white !important;
}

/* Text next to upload button */
div[class*="dropzone"] span,
div[class*="upload-area"] span {
  color: var(--colorText) !important;
  font-family: var(--fontFamilyBody) !important;
  font-size: 0.95rem !important;
}

/* Responsive refinements */
@media (max-width: 768px) {
  /* Universal shadow removal for mobile */
  *,
  *:hover,
  *:focus,
  *:active {
    box-shadow: none !important;
  }

  /* Remove body padding - let containers handle it */
  body {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Override container widths for mobile - remove side padding */
  div[class*="_container_"],
  div[class*="_sticky_"] {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Headings */
  .ashby-job-board-heading {
    font-size: 1.75rem;
    margin: 24px 0 16px;
    padding: 0 !important;
  }

  .ashby-job-posting-heading {
    font-size: 1.75rem;
    margin: 24px 0 16px;
    line-height: 1.3;
    padding: 0 !important;
  }

  /* Ensure titles wrapper has no extra padding */
  div[class*="_titles_"] {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Force two-pane layout to stack */
  div:has(> .ashby-job-posting-left-pane),
  div:has(> .ashby-job-posting-right-pane) {
    flex-direction: column !important;
    gap: 16px !important;
    margin: 16px 0 40px !important;
    padding: 0 !important;
  }

  /* Left pane full width on mobile */
  .ashby-job-posting-left-pane {
    min-width: 100% !important;
    width: 100% !important;
    padding: 24px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  /* Right pane full width on mobile */
  .ashby-job-posting-right-pane {
    padding: 24px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  /* Right pane children - remove any extra padding */
  .ashby-job-posting-right-pane > * {
    padding: 0 !important;
  }

  /* But allow specific elements to have their own padding */
  .ashby-job-posting-right-pane h2,
  .ashby-job-posting-right-pane h3,
  .ashby-job-posting-right-pane p,
  .ashby-job-posting-right-pane ul,
  .ashby-job-posting-right-pane ol {
    padding: 0 !important;
  }

  /* Job cards */
  .ashby-job-posting-brief {
    padding: 16px !important;
    border-radius: 14px;
    margin: 0 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  .ashby-job-posting-brief:hover {
    box-shadow: none !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
  }

  .ashby-job-posting-brief-title {
    font-size: 1.125rem;
    line-height: 1.4;
  }

  .ashby-job-posting-brief-details {
    gap: 4px 10px;
    font-size: 0.85rem;
  }

  /* Filters */
  .ashby-job-board-filter {
    min-width: 100%;
    width: 100%;
    padding: 12px 14px;
  }

  /* Back button */
  .ashby-job-board-back-to-all-jobs-button {
    padding: 10px 16px !important;
    font-size: 0.9rem;
    margin: 0 0 16px 0 !important;
    box-shadow: none !important;
  }

  .ashby-job-board-back-to-all-jobs-button:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  }

  /* Job board list container */
  .ashby-job-board-heading + div {
    margin: 16px 0 40px !important;
    padding: 0 !important;
  }

  /* Tabs */
  nav[class*="_tabs_"] {
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
  }

  .ashby-job-posting-right-pane-overview-tab,
  .ashby-job-posting-right-pane-application-tab {
    font-size: 0.95rem;
    padding: 12px 0 !important;
    margin-right: 24px !important;
  }

  /* Tab slider - reduce shadow */
  .ashby-job-posting-right-pane-tab-slider {
    box-shadow: none !important;
  }

  /* Content headings */
  .ashby-job-posting-right-pane h2 {
    font-size: 1.3rem;
    margin-top: 24px;
  }

  .ashby-job-posting-right-pane h3 {
    font-size: 1.1rem;
    margin-top: 20px;
  }

  /* Form elements */
  .ashby-application-form-field-entry input,
  .ashby-application-form-field-entry select,
  .ashby-application-form-field-entry textarea {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .ashby-application-form-field-entry input:focus,
  .ashby-application-form-field-entry select:focus,
  .ashby-application-form-field-entry textarea:focus {
    box-shadow: none !important;
  }

  /* Upload area */
  .ashby-application-form-field-entry div[role="presentation"],
  .ashby-application-form-field-entry div[class*="_container_"] {
    padding: 32px 20px !important;
    min-height: 120px !important;
  }

  div[class*="_instructions_"] {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }

  /* Upload button */
  div[class*="dropzone"] button,
  div[class*="upload-area"] button {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Autofill section */
  div[class*="autofill"] {
    padding: 20px !important;
    margin-bottom: 24px !important;
    box-shadow: none !important;
  }

  div[class*="autofill"] h2,
  div[class*="autofill"] h3 {
    font-size: 1.1rem !important;
  }

  /* Submit button */
  .ashby-application-form-submit-button {
    width: 100%;
    padding: 14px 24px !important;
    font-size: 0.95rem;
    margin: 24px 0 0 0 !important;
    box-shadow: none !important;
  }

  .ashby-application-form-submit-button:hover {
    box-shadow: none !important;
  }

  /* Apply for this job button link wrapper */
  a[class*="_container_"]:has(> button),
  a:has(> button[class*="_button_"]) {
    padding: 0 !important;
    margin: 32px 0 0 0 !important;
    display: block !important;
  }

  /* Apply for this job button */
  button[class*="_button_"][class*="_primary_"] {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
  }

  button[class*="_button_"][class*="_primary_"]:hover {
    box-shadow: none !important;
  }

  /* Description container */
  div[class*="_description_"],
  div[class*="_descriptionText_"] {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Content wrapper */
  div[class*="_content_"] {
    padding: 0 !important;
  }

  /* Details container */
  div[class*="_details_"] {
    padding: 0 !important;
    gap: 16px !important;
  }

  /* Left pane sections */
  .ashby-job-posting-left-pane > div {
    margin-bottom: 20px !important;
    padding: 0 !important;
  }

  .ashby-job-posting-left-pane h3,
  .ashby-job-posting-left-pane h4 {
    font-size: 0.7rem;
  }

  .ashby-job-posting-left-pane p {
    font-size: 0.9rem;
  }

  /* Department headings */
  .ashby-department-heading,
  .ashby-department-heading-level {
    font-size: 1.3rem;
    margin-top: 24px;
  }

  /* Job list spacing */
  .ashby-job-posting-brief-list {
    margin-top: 20px;
    gap: 12px;
  }
}
