.jobs-page {
  min-height: 100vh;
  color: #323450;
  background: #f8f9fc;
  font-family: "Candara", "Calibri", "Segoe UI", sans-serif;
}

.jobs-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.jobs-header .navbar {
  min-height: 76px;
}

.jobs-header .navbar-brand img {
  width: 160px;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.jobs-header .nav-link,
.back-to-jobs {
  color: #323450;
  font-weight: 600;
}

.jobs-header .nav-link:hover,
.jobs-header .nav-link.active,
.back-to-jobs:hover {
  color: #e64525;
}

.back-to-jobs {
  text-decoration: none;
}

.application-header-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.application-header-links .back-to-jobs {
  margin-left: 0;
}

.jobs-hero {
  padding: 72px 0 64px;
  background: linear-gradient(120deg, #f3f2ff, #ebeaff);
}

.jobs-eyebrow,
.job-category {
  margin-bottom: 10px;
  color: #e64525;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.jobs-hero h1 {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
}

.jobs-hero p:last-child {
  margin: 0;
  font-size: 1.1rem;
}

.jobs-listing-section {
  padding: 56px 0 72px;
}

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

.jobs-listing-heading h2 {
  margin-bottom: 6px;
  font-size: 1.8rem;
  font-weight: 700;
}

.jobs-listing-heading p {
  margin: 0;
  color: #6d7085;
}

.post-job-link {
  margin-top: 0;
  white-space: nowrap;
}

.jobs-status {
  color: #6d7085;
}

.jobs-empty {
  padding: 48px 24px;
  border: 1px dashed #d9dce8;
  border-radius: 14px;
  color: #6d7085;
  text-align: center;
  background: #fff;
}

.jobs-empty > i {
  color: #e64525;
  font-size: 2rem;
}

.jobs-empty h3 {
  margin: 12px 0 6px;
  color: #323450;
}

.jobs-empty p {
  margin: 0;
}

.job-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #eceef4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 39, 78, 0.05);
}

.product-card h2 {
  min-height: 56px;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
}

.product-card .job-description {
  margin-bottom: 28px;
}

.product-visuals-section {
  padding: 0 0 72px;
}

.product-visuals-section .section-title {
  margin-bottom: 28px;
}

.product-visuals-section .section-title h2 {
  margin-bottom: 8px;
  font-size: 1.8rem;
  font-weight: 700;
}

.product-visuals-section .section-title > p:last-child {
  margin-bottom: 0;
  color: #6d7085;
}

.product-feature-card {
  height: 100%;
  padding: 24px;
  border: 1px solid #eceef4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 39, 78, 0.05);
}

.product-feature-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #e64525;
  background: #fff0ec;
  font-size: 1.35rem;
}

.product-feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.product-feature-card p {
  margin-bottom: 0;
  color: #6d7085;
  line-height: 1.6;
}

.product-section-image {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto 32px;
  border: 1px solid #eceef4;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(34, 39, 78, 0.05);
}

.ats-visual-card {
  height: 100%;
  margin: 0;
  padding: 14px;
  border: 1px solid #eceef4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 39, 78, 0.05);
}

.ats-visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: contain;
}

.ats-visual-card figcaption {
  padding-top: 12px;
  color: #323450;
  font-weight: 600;
}

.testimonial-notice {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid #eceef4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 39, 78, 0.05);
}

.testimonial-notice h2 {
  margin-bottom: 12px;
  font-size: 1.8rem;
  font-weight: 700;
}

.testimonial-notice p {
  margin-bottom: 24px;
  color: #6d7085;
  line-height: 1.7;
}

.job-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  color: #e64525;
  background: #fff0ec;
  font-size: 1.5rem;
}

.job-category {
  margin-bottom: 8px;
  font-size: 0.7rem;
}

.job-card h3 {
  min-height: 56px;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
}

.job-description {
  white-space: pre-line;
  color: #6d7085;
  line-height: 1.6;
}

.job-company {
  margin-bottom: 4px;
  color: #323450;
  font-weight: 700;
}

.job-location {
  color: #6d7085;
  font-size: 0.9rem;
}

.job-requirements {
  color: #585978;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-line;
}

.job-apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #e64525;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.job-apply-button:hover {
  color: #fff;
  background: #c9371b;
  transform: translateY(-1px);
}

.jobs-footer {
  padding: 22px 0;
  color: #6d7085;
  background: #fff;
}

.jobs-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.jobs-footer p {
  margin: 0;
}

.jobs-footer a,
.application-help a {
  color: #1e0f94;
}

.application-section {
  padding: 56px 0 72px;
}

.application-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid #eceef4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 39, 78, 0.05);
}

.application-card h1 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
}

.application-intro,
.application-help {
  color: #6d7085;
  line-height: 1.6;
}

.application-intro {
  margin-bottom: 28px;
}

.application-card .form-label {
  color: #323450;
  font-weight: 700;
}

.application-card .form-control,
.application-card .form-select {
  min-height: 46px;
  border-color: #e3e5ed;
}

.application-card .form-control:focus,
.application-card .form-select:focus {
  border-color: #1e0f94;
  box-shadow: 0 0 0 0.2rem rgba(30, 15, 148, 0.12);
}

.cv-reminder {
  padding: 12px 14px;
  border-radius: 8px;
  color: #585978;
  background: #f5f4ff;
}

.cv-reminder i {
  margin-right: 6px;
  color: #1e0f94;
}

.application-submit {
  width: 100%;
  cursor: pointer;
}

.application-help {
  margin: 18px 0 0;
  font-size: 0.88rem;
}

.posting-consent {
  margin-bottom: 18px;
  color: #6d7085;
  font-size: 0.9rem;
}

.posting-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-feedback {
  margin: 0 0 16px;
}

.form-feedback:empty {
  display: none;
}

.form-feedback.success {
  color: #187347;
}

.form-feedback.error {
  color: #b42318;
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  padding: 32px 16px;
  place-items: center;
  background: linear-gradient(120deg, #f3f2ff, #fff);
}

.thank-you-card {
  width: min(100%, 620px);
  padding: 40px;
  border: 1px solid #eceef4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(34, 39, 78, 0.07);
  text-align: center;
}

.thank-you-logo {
  display: inline-block;
  margin-bottom: 30px;
}

.thank-you-logo img {
  width: 180px;
  max-width: 100%;
  height: auto;
}

.thank-you-card .job-icon {
  margin: 0 auto 18px;
  color: #1e0f94;
  background: #f0efff;
}

.thank-you-card h1 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 700;
}

.thank-you-card p {
  margin-bottom: 24px;
  color: #6d7085;
  line-height: 1.7;
}

.thank-you-card .job-apply-button {
  margin-top: 0;
}

.application-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

@media (max-width: 575.98px) {
  .jobs-hero {
    padding: 52px 0;
  }

  .jobs-listing-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .post-job-link {
    align-self: flex-start;
  }

  .job-card {
    padding: 24px;
  }

  .job-card h3 {
    min-height: 0;
  }

  .product-card h2 {
    min-height: 0;
  }

  .testimonial-notice {
    padding: 24px;
  }

  .thank-you-card {
    padding: 28px 22px;
  }

  .application-section {
    padding: 32px 0 48px;
  }

  .application-card {
    padding: 24px;
  }

  .jobs-footer .container {
    flex-direction: column;
  }

  .application-header-links {
    gap: 10px;
    font-size: 0.88rem;
  }
}
