/* stylelint-disable */
/* -----------------------------
   Garden x Ashby — Clean Pass v2.1
   Removes neon/gradients, fixes buttons/typography.
   NOTE: No unsupported selectors (e.g., .ashby-footer)
   ----------------------------- */

/* ---- Brand tokens ---- */
:root{
  /* Palette */
  --g-ink-900:#121718;
  --g-ink-700:#1f2a2e;
  --g-ink-500:#5b6a70;
  --g-bg:#f4f7f6;
  --g-card:#ffffff;

  /* Garden green */
  --g-green-800:#0f7a57;
  --g-green-700:#0c6a4c;
  --g-green-600:#00c97a; /* primary */
  --g-green-500:#03b772;
  --g-green-100:#e9fbf3;

  /* Ashby hooks */
  --colorPrimary900:var(--g-green-700);
  --colorPrimary600:var(--g-green-600);

  /* Layout */
  --widthMaxJobBoard:1040px;
  --borderRadiusContainer:16px;
  --borderRadiusControl:12px;
  --borderRadiusButton:12px;

  /* Type */
  --fontFamily: Inter, "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --lineHeight:1.5;

  /* Effects */
  --shadow-card:0 2px 10px rgba(0,0,0,.05);
  --shadow-hover:0 8px 24px rgba(0,0,0,.08);
  --focus-ring:0 0 0 3px rgba(0,201,122,.28);
}

/* ---- Global ---- */
html,body{
  background:var(--g-bg);
  color:var(--g-ink-900);
  font-family:var(--fontFamily);
  line-height:var(--lineHeight);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Links */
a{color:var(--g-green-700); text-underline-offset:3px;}
a:hover{color:var(--g-green-600);}

/* Containers */
.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane,
.ashby-application-form-container,
.ashby-job-posting-brief,
.ashby-survey-form-container{
  background:var(--g-card);
  border:1px solid rgba(18,23,24,.08);
  border-radius:var(--borderRadiusContainer);
  box-shadow:var(--shadow-card);
}

/* Left/right padding */
.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane{ padding:24px; }

/* Headings */
.ashby-job-board-heading,
.ashby-job-posting-heading,
.ashby-job-posting-brief-title,
.ashby-department-heading,
.ashby-department-heading-level{
  color:var(--g-ink-700);
  letter-spacing:.1px;
}

/* Count chip */
.ashby-job-board-heading-count{
  background:var(--g-green-100);
  color:var(--g-ink-700);
  border:1px solid rgba(0,201,122,.35);
  border-radius:999px;
  padding:2px 10px;
  font-weight:600;
}

/* Filter controls — clean pills */
.ashby-job-board-filter{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  padding:10px 14px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.ashby-job-board-filter:hover{
  border-color:rgba(0,201,122,.5);
  box-shadow:0 0 0 3px rgba(0,201,122,.18);
}
.ashby-job-board-filters-label{ color:var(--g-ink-500); }
.ashby-job-board-reset-filters-label{ color:var(--g-ink-500); }
.ashby-job-board-reset-filters-label:hover{ color:var(--g-green-700); }

/* Listing cards */
.ashby-job-posting-brief{
  margin-bottom:14px;
  padding:18px 18px;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.ashby-job-posting-brief:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-hover);
  border-color:rgba(0,201,122,.25);
}
/* Slim left accent on hover only */
.ashby-job-posting-brief::before{
  content:"";
  position:absolute; left:-1px; top:0; bottom:0; width:3px;
  border-radius:3px 0 0 3px;
  background:var(--g-green-600);
  opacity:0; transition:opacity .12s ease;
}
.ashby-job-posting-brief:hover::before{ opacity:1; }

/* Tabs (Overview / Application) — flatter */
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab{
  border-radius:999px;
  padding:8px 14px;
  font-weight:600;
  color:var(--g-ink-700);
}
.ashby-job-posting-right-pane-tab-slider{
  background:var(--g-green-600);
  border-radius:999px;
  box-shadow:none;
}

/* ---- Buttons (fixed) ---- */
/* Back to all jobs */
.ashby-job-board-back-to-all-jobs-button{
  background:#fff;
  color:var(--g-ink-700);
  border:1px solid rgba(0,0,0,.14);
  border-radius:10px;
  padding:8px 12px;
  font-weight:600;
  box-shadow:none;
  transition:background .12s ease, border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.ashby-job-board-back-to-all-jobs-button:hover{
  border-color:rgba(0,201,122,.5);
  background:var(--g-green-100);
}
.ashby-job-board-back-to-all-jobs-button:focus{ outline:none; box-shadow:var(--focus-ring); }

/* Primary submit button */
.ashby-application-form-submit-button{
  background:var(--g-green-600) !important;
  color:#ffffff !important;
  border:1px solid var(--g-green-700) !important;
  border-radius:var(--borderRadiusButton) !important;
  font-weight:700 !important;
  padding:12px 16px !important;
  box-shadow:0 4px 12px rgba(0,201,122,.25) !important;
  transition:transform .1s ease, filter .12s ease, box-shadow .12s ease !important;
}
.ashby-application-form-submit-button:hover{
  filter:brightness(.98) saturate(1.05) !important;
  box-shadow:0 6px 18px rgba(0,201,122,.3) !important;
  transform:translateY(-1px) !important;
}
.ashby-application-form-submit-button:disabled{
  opacity:.6 !important; cursor:not-allowed !important; transform:none !important; box-shadow:none !important;
}
.ashby-application-form-submit-button:focus{ outline:none !important; box-shadow:var(--focus-ring) !important; }

/* ---- Form controls ---- */
input,select,textarea{
  border:1px solid rgba(0,0,0,.14) !important;
  background:#fff !important;
  border-radius:var(--borderRadiusControl) !important;
  transition:border-color .12s ease, box-shadow .12s ease !important;
}
input:hover,select:hover,textarea:hover{ border-color:rgba(0,201,122,.45) !important; }
input:focus,select:focus,textarea:focus{
  outline:none !important;
  border-color:var(--g-green-700) !important;
  box-shadow:var(--focus-ring) !important;
}

/* Labels/descriptions */
.ashby-application-form-question-title{ color:var(--g-ink-700); font-weight:600; }
.ashby-application-form-question-description{ color:var(--g-ink-500); }

/* Section headers */
.ashby-application-form-section-header-title{ color:var(--g-ink-700); }
.ashby-application-form-section-header-description{ color:var(--g-ink-500); }

/* Success & error containers (flatter) */
.ashby-application-form-success-container{
  background:var(--g-green-100);
  border:1px solid rgba(0,201,122,.45);
  border-radius:var(--borderRadiusContainer);
  color:var(--g-ink-700);
}
.ashby-application-form-failure-container{
  background:#fff5f8;
  border:1px solid rgba(211, 47, 101, .35);
  border-radius:var(--borderRadiusContainer);
  color:#6e1040;
}

/* Uploader */
.ashby-application-form-autofill-input-root{
  border-radius:var(--borderRadiusContainer);
  border:1.5px dashed rgba(0,0,0,.18);
  background:#fff;
}
.ashby-application-form-autofill-input-root[data-state="drag"]{
  box-shadow:var(--focus-ring);
}
.ashby-application-form-autofill-input-icon{ color:var(--g-green-700); }

/* Misc allowed classes */
.ashby-job-posting-header{ margin-bottom:6px; }
.ashby-department-heading, .ashby-department-heading-level{ margin-top:18px; }
.ashby-survey-form-container{ padding:16px; }
