:root {
  --white: #ffffff;
  --bg: #f5faf8;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: #eef8f3;
  --border: #dbe9e2;
  --text-primary: #12201b;
  --text-secondary: #42564d;
  --text-muted: #7a9085;
  --brand: #0e9a6e;
  --brand-dark: #087556;
  --brand-soft: #e5f7f0;
  --ink: #0f1720;
  --shadow-sm: 0 10px 30px rgba(12, 33, 25, 0.06);
  --shadow-lg: 0 24px 70px rgba(12, 33, 25, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font: 'Manrope', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.jobs-body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-primary);
  background:
    radial-gradient(circle at top right, rgba(14, 154, 110, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fcfa 0%, var(--bg) 45%, #edf6f2 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.jobs-shell {
  min-height: 100vh;
}

.jobs-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.jobs-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(245, 250, 248, 0.85);
  border-bottom: 1px solid rgba(219, 233, 226, 0.8);
}

.jobs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.jobs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.28rem;
}

.jobs-brand span {
  color: var(--brand);
}

.jobs-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jobs-link-pill,
.jobs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: 0.25s ease;
  font-weight: 700;
}

.jobs-link-pill {
  padding: 10px 18px;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-secondary);
}

.jobs-link-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.jobs-btn {
  padding: 14px 24px;
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 14px 35px rgba(14, 154, 110, 0.22);
}

.jobs-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.jobs-btn-outline {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-primary);
  border-color: var(--border);
  box-shadow: none;
}

.jobs-btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--white);
}

.jobs-hero {
  padding: 72px 0 32px;
}

.jobs-hero-card {
  background:
    linear-gradient(135deg, rgba(14, 154, 110, 0.1), rgba(13, 148, 136, 0.08)),
    rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(219, 233, 226, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  overflow: hidden;
  position: relative;
}

.jobs-hero-card::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 154, 110, 0.18), transparent 68%);
}

.jobs-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.jobs-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.jobs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 30px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.jobs-hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.jobs-hero-copy p {
  margin: 0 0 28px;
  max-width: 600px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.jobs-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jobs-hero-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 233, 226, 0.95);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.jobs-hero-panel h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.jobs-hero-panel p {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

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

.jobs-metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text-secondary);
}

.jobs-metric strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.jobs-section {
  padding: 16px 0 76px;
}

.jobs-section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}

.jobs-section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.jobs-section-header p {
  margin: 0;
  max-width: 560px;
  color: var(--text-secondary);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.jobs-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 233, 226, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.jobs-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.jobs-card-top h3 {
  margin: 0 0 8px;
  font-size: 1.26rem;
  letter-spacing: -0.03em;
}

.jobs-card-top p {
  margin: 0;
  color: var(--text-secondary);
}

.jobs-status {
  min-width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #effcf6;
  color: #117a59;
}

.jobs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jobs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.jobs-chip strong {
  color: var(--text-primary);
}

.jobs-card p.jobs-summary {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.78;
}

.jobs-card-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.jobs-card-bottom span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.jobs-card-bottom a {
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
}

.jobs-empty {
  padding: 34px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(14, 154, 110, 0.25);
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
  color: var(--text-secondary);
}

.jobs-empty h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.jobs-page {
  padding: 54px 0 84px;
}

.jobs-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
}

.jobs-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.jobs-detail-main,
.jobs-detail-side {
  display: grid;
  gap: 22px;
}

.jobs-detail-panel,
.jobs-form-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 233, 226, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.jobs-detail-panel {
  padding: 34px;
}

.jobs-detail-panel h1 {
  margin: 18px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.jobs-detail-panel h2 {
  margin: 0 0 14px;
  font-size: 1.22rem;
}

.jobs-detail-panel p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

.jobs-detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  display: grid;
  gap: 10px;
}

.jobs-detail-list li {
  padding-left: 4px;
  line-height: 1.7;
}

.jobs-form-panel {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.jobs-form-panel h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.jobs-form-panel > p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.jobs-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
}

.jobs-alert-success {
  background: #eafaf2;
  color: #116f53;
  border: 1px solid #bee8d0;
}

.jobs-alert-warning {
  background: #fff8e8;
  color: #8a6500;
  border: 1px solid #f3df9d;
}

.jobs-alert-error {
  background: #fff1f0;
  color: #b83232;
  border: 1px solid #f0c8c4;
}

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

.jobs-field {
  display: grid;
  gap: 8px;
}

.jobs-field label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}

.jobs-field input,
.jobs-field select,
.jobs-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fbfdfc;
  color: var(--text-primary);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.jobs-field input:focus,
.jobs-field select:focus,
.jobs-field textarea:focus {
  outline: none;
  border-color: rgba(14, 154, 110, 0.6);
  box-shadow: 0 0 0 4px rgba(14, 154, 110, 0.12);
  background: #ffffff;
}

.jobs-field small {
  color: var(--text-muted);
  line-height: 1.5;
}

.jobs-footer {
  padding: 34px 0 50px;
  border-top: 1px solid rgba(219, 233, 226, 0.9);
  color: var(--text-secondary);
}

.jobs-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.jobs-footer-row p {
  margin: 0;
}

.jobs-footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.jobs-footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
}

.jobs-footer-nav a:hover {
  color: var(--brand);
}

@media (max-width: 1080px) {
  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-detail-grid,
  .jobs-hero-grid {
    grid-template-columns: 1fr;
  }

  .jobs-form-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .jobs-container {
    width: min(100% - 24px, 100%);
  }

  .jobs-nav {
    padding: 14px 0;
  }

  .jobs-nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .jobs-hero-card,
  .jobs-detail-panel,
  .jobs-form-panel,
  .jobs-card {
    padding: 22px;
  }

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

  .jobs-section-header {
    align-items: start;
    flex-direction: column;
  }

  .jobs-hero {
    padding-top: 34px;
  }

  .jobs-page {
    padding-top: 26px;
  }

  .jobs-hero-copy h1,
  .jobs-detail-panel h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
}
