:root {
  --jobs-primary:#2C0453;
  --jobs-danger:#d32f2f;
  --jobs-bubble:#F0EDE4;
  --jobs-border:#dcdfe6;
  --jobs-bg:#fff;
  --jobs-card:#f5f6f8;
  --jobs-ok:#0f766e;
}

* {
  box-sizing:border-box;
}

html,
body {
  margin:0;
  background:var(--jobs-bg);
  color:#111;
  font-family:system-ui,Arial,sans-serif;
}

a {
  color:inherit;
}

.jobs-body {
  background:#fff;
  color:#111;
}

.jobs-header {
  position:sticky;
  top:0;
  z-index:60;
  background:#fff;
  border-bottom:1px solid #eee;
}

.jobs-topbar {
  max-width:1400px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.jobs-logo {
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
  text-decoration:none;
}

.jobs-logo img {
  height:40px;
  width:auto;
  display:block;
}

.jobs-logo span {
  margin-left:10px;
  font-weight:800;
  font-size:20px;
  line-height:40px;
  white-space:nowrap;
  color:#111;
}

.jobs-top-search {
  display:flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid var(--jobs-border);
  border-radius:9999px;
  padding:4px 6px;
}

.jobs-top-search input[type="search"] {
  border:0;
  outline:none;
  padding:6px 8px;
  border-radius:9999px;
  min-width:220px;
  font:inherit;
}

.jobs-top-search button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:9999px;
  background:var(--jobs-bubble);
  border:1px solid var(--jobs-bubble);
  cursor:pointer;
  color:#111;
}

.jobs-top-search button:hover {
  background:var(--jobs-primary);
  border-color:var(--jobs-primary);
  color:#fff;
}

.jobs-top-search svg {
  display:block;
}

.jobs-hamburger {
  display:none;
  flex-direction:column;
  gap:4px;
  background:transparent;
  border:0;
  cursor:pointer;
}

.jobs-hamburger span {
  width:22px;
  height:2px;
  background:#111;
  display:block;
}

.jobs-navbar {
  border-top:1px solid #eee;
  background:#fff;
}

.jobs-navbar-inner {
  max-width:1400px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:10px;
}

.jobs-menu {
  display:flex;
  gap:10px;
  list-style:none;
  padding:0;
  margin:0;
  flex:1;
}

.jobs-right-actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.jobs-right-actions-only {
  margin-left:auto;
}

.jobs-nav-btn,
.jobs-btn,
.jobs-mobile-menu a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:9999px;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition:.15s;
  line-height:1;
  font-weight:700;
  font-family:inherit;
  font-size:14px;
}

.jobs-nav-btn,
.jobs-btn,
.jobs-btn-ghost,
.jobs-mobile-menu a {
  background:var(--jobs-bubble);
  color:#111;
  border-color:var(--jobs-bubble);
}

.jobs-nav-btn:hover,
.jobs-btn-ghost:hover,
.jobs-mobile-menu a:hover,
.jobs-btn:hover {
  background:var(--jobs-primary);
  border-color:var(--jobs-primary);
  color:#fff;
}

.jobs-btn-primary {
  background:var(--jobs-primary);
  color:#fff;
  border-color:var(--jobs-primary);
}

.jobs-btn-primary:hover {
  filter:brightness(1.1);
}

.jobs-btn-danger {
  background:var(--jobs-danger);
  color:#fff;
  border-color:var(--jobs-danger);
}

.jobs-btn-danger:hover {
  filter:brightness(1.08);
}

.jobs-mobile-menu {
  display:none;
  background:#fff;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  padding:12px 16px;
  gap:8px;
  flex-wrap:wrap;
}

.jobs-mobile-menu.is-open {
  display:flex;
}

.jobs-shell {
  max-width:1400px;
  margin:18px auto;
  padding:0 16px 48px;
}

.jobs-page-layout {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:16px;
  align-items:start;
}

.jobs-page-main {
  display:grid;
  gap:18px;
}

.jobs-sidebar {
  background:var(--jobs-card);
}

.jobs-hero {
  background:var(--jobs-card);
  border-radius:14px;
  padding:16px;
}

.jobs-panel,
.jobs-card,
.jobs-filter,
.jobs-form-section {
  background:#fff;
  border:1px solid var(--jobs-border);
  border-radius:12px;
  padding:14px;
}

.jobs-list-layout > .jobs-filter,
.jobs-list-layout > .jobs-list,
.jobs-detail > .jobs-panel {
  background:var(--jobs-card);
  border:0;
  border-radius:14px;
  padding:16px;
}

.jobs-hero > .jobs-panel:first-child,
.jobs-hero > .jobs-panel-muted,
.jobs-list-layout .jobs-card {
  background:#fff;
}

.jobs-panel-muted {
  background:var(--jobs-card);
}

.jobs-title {
  margin:0 0 8px;
  font-size:clamp(26px,3vw,42px);
  line-height:1.12;
}

.jobs-lead {
  color:#333;
  line-height:1.6;
  max-width:820px;
}

.jobs-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.jobs-form,
.jobs-account-panel {
  background:var(--jobs-card);
  border-radius:14px;
  padding:16px;
}

.jobs-form {
  display:grid;
  gap:16px;
}

.jobs-search-grid,
.jobs-form-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}

.jobs-form-grid.two {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.jobs-field {
  display:flex;
  flex-direction:column;
  gap:6px;
}

.jobs-field.full {
  grid-column:1 / -1;
}

.jobs-field label {
  font-weight:700;
  font-size:14px;
}

.jobs-field input,
.jobs-field select,
.jobs-field textarea {
  width:100%;
  border:1px solid var(--jobs-border);
  border-radius:10px;
  padding:10px 12px;
  background:#fff;
  color:#111;
  font:inherit;
  outline:none;
}

.jobs-field input:disabled {
  background:#f0f0f0;
  color:#777;
  cursor:not-allowed;
}

.jobs-search-grid .jobs-field input,
.jobs-search-grid .jobs-field select {
  border-radius:9999px;
  padding:10px 14px;
}

.jobs-field input:focus,
.jobs-field select:focus,
.jobs-field textarea:focus,
.jobs-top-search:focus-within {
  border-color:var(--jobs-primary);
  box-shadow:0 0 0 3px rgba(44,4,83,.12);
}

.jobs-field textarea {
  min-height:180px;
  resize:vertical;
}

.jobs-help {
  font-size:13px;
  color:#555;
  line-height:1.45;
}

.jobs-role-pills {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.jobs-role-pill {
  display:inline-flex;
}

.jobs-role-pill input {
  position:absolute;
  opacity:0;
  pointer-events:none;
  width:1px;
  height:1px;
  margin:0;
  clip-path:inset(50%);
  overflow:hidden;
  white-space:nowrap;
  appearance:none;
}

.jobs-role-pill span {
  display:inline-flex;
  align-items:center;
  border-radius:9999px;
  background:var(--jobs-bubble);
  color:#111;
  border:1px solid var(--jobs-bubble);
  padding:6px 10px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

.jobs-role-pill input:checked + span {
  background:var(--jobs-danger);
  border-color:var(--jobs-danger);
  color:#fff;
}

.jobs-role-pill input:focus + span {
  box-shadow:0 0 0 3px rgba(44,4,83,.12);
}

.jobs-offer-only.is-hidden {
  display:none;
}

.jobs-image-preview {
  width:96px;
  height:96px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--jobs-border);
  background:#fff;
  margin-top:6px;
}

.jobs-image-preview.is-hidden {
  display:none;
}

.jobs-account-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  flex-wrap:wrap;
  background:var(--jobs-card);
  border-radius:14px;
  padding:16px;
  margin-bottom:16px;
}

.jobs-account-header h1 {
  margin:0 0 6px;
}

.jobs-list-layout {
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:16px;
  align-items:start;
}

.jobs-list {
  display:grid;
  gap:14px;
}

.jobs-list > .jobs-card,
.jobs-card {
  background:#fff;
  border:1px solid var(--jobs-border);
  border-radius:12px;
  padding:14px;
}

.jobs-card h2,
.jobs-card h3 {
  margin:0 0 8px;
  line-height:1.25;
}

.jobs-card h2 a,
.jobs-card h3 a {
  color:#111;
  text-decoration:none;
}

.jobs-card h2 a:hover,
.jobs-card h3 a:hover {
  text-decoration:underline;
}

.jobs-card p {
  line-height:1.5;
  color:#333;
}

.jobs-badges {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 10px;
}

.jobs-badge {
  display:inline-flex;
  align-items:center;
  border-radius:9999px;
  background:var(--jobs-bubble);
  color:#111;
  border:1px solid var(--jobs-bubble);
  padding:4px 10px;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}

.jobs-badge:hover[href] {
  background:var(--jobs-primary);
  border-color:var(--jobs-primary);
  color:#fff;
}

.jobs-pagination {
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px;
}

.jobs-pagination .jobs-btn {
  min-width:44px;
}

.jobs-card-row {
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  gap:14px;
}

.jobs-thumb {
  width:96px;
  height:96px;
  border-radius:10px;
  object-fit:cover;
  background:var(--jobs-card);
  border:1px solid var(--jobs-border);
}

.jobs-detail {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:16px;
  align-items:start;
}

.jobs-detail-intro {
  display:grid;
  grid-template-columns:minmax(0,420px) minmax(260px,1fr);
  gap:14px;
  align-items:start;
  margin:14px 0;
}

.jobs-detail-media img {
  width:100%;
  display:block;
  border-radius:10px;
  border:1px solid var(--jobs-border);
}

.jobs-contact-card {
  background:var(--jobs-card);
  border:1px solid var(--jobs-border);
  border-radius:12px;
  padding:14px;
}

.jobs-contact-card h2 {
  margin-top:0;
}

.jobs-description {
  line-height:1.6;
}

.jobs-description ul,
.jobs-description ol {
  padding-left:22px;
}

.jobs-flash,
.jobs-alert {
  max-width:1400px;
  margin:14px auto 0;
  padding:12px 16px;
  border-radius:10px;
  border:1px solid var(--jobs-border);
}

.jobs-flash-ok,
.jobs-alert-ok {
  background:#ecfdf5;
  color:#064e3b;
  border-color:#a7f3d0;
}

.jobs-flash-error,
.jobs-alert-error {
  background:#fef2f2;
  color:#7f1d1d;
  border-color:#fecaca;
}

.jobs-table {
  width:100%;
  border-collapse:collapse;
  background:#fff;
}

.jobs-table th,
.jobs-table td {
  border-bottom:1px solid var(--jobs-border);
  padding:10px;
  text-align:left;
  vertical-align:top;
}

.jobs-inline-form {
  display:inline;
}

.jobs-promo-stack {
  display:grid;
  gap:14px;
}

.jobs-promo-box {
  background:#fff;
  border:1px solid var(--jobs-border);
  border-radius:12px;
  padding:14px;
}

.jobs-promo-box h3 {
  margin:0 0 10px;
  font-size:16px;
  color:var(--jobs-primary);
}

.jobs-promo-box p {
  margin:0;
  color:#555;
  line-height:1.5;
}

.jobs-promo-img {
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
}

.jobs-required::after {
  content:" *";
  color:var(--jobs-danger);
}

.jobs-modal-backdrop {
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(17,17,17,.45);
}

.jobs-modal-backdrop.is-hidden {
  display:none;
}

.jobs-modal {
  width:min(520px,100%);
  background:#fff;
  border-radius:12px;
  border:1px solid var(--jobs-border);
  box-shadow:0 18px 50px rgba(0,0,0,.2);
  padding:18px;
}

.jobs-modal h2 {
  margin:0 0 8px;
  color:var(--jobs-primary);
  font-size:22px;
  line-height:1.2;
}

.jobs-modal p {
  margin:0 0 12px;
  color:#333;
  line-height:1.5;
}

.jobs-modal ul {
  margin:0;
  padding-left:20px;
  line-height:1.6;
}

.jobs-modal-actions {
  display:flex;
  justify-content:flex-end;
  margin-top:16px;
}

@media (max-width:1024px) {
  .jobs-hamburger {
    display:flex;
  }

  .jobs-logo {
    order:2;
  }

  .jobs-top-search {
    order:3;
  }

  .jobs-top-search input[type="search"] {
    display:none;
  }

  .jobs-navbar {
    display:none;
  }

  .jobs-hero,
  .jobs-page-layout,
  .jobs-list-layout,
  .jobs-detail,
  .jobs-detail-intro,
  .jobs-search-grid,
  .jobs-form-grid,
  .jobs-form-grid.two {
    grid-template-columns:1fr;
  }
}

@media (max-width:560px) {
  .jobs-logo span {
    font-size:18px;
  }

  .jobs-card-row {
    grid-template-columns:1fr;
  }

  .jobs-thumb {
    width:100%;
    height:auto;
    aspect-ratio:16 / 9;
  }

  .jobs-btn,
  .jobs-nav-btn,
  .jobs-mobile-menu a {
    width:100%;
  }
}
