.public-jobs-shell {
  min-height: 360px;
}

.jobs-state {
  padding: 70px 20px;
  color: var(--muted);
  text-align: center;
}

.job-list {
  align-items: stretch;
}

.job-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
}

.job-card .job-period {
  margin-top: 16px;
}

.job-card .job-more {
  margin-top: auto;
  padding-top: 22px;
}

.job-detail {
  overflow: hidden;
  border: 1px solid rgba(24, 53, 94, 0.09);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(24, 53, 94, 0.08);
}

.job-detail-head,
.application-head {
  padding: 34px 38px;
  border-bottom: 1px solid #e9edf2;
}

.job-detail-head span,
.application-head span {
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.job-detail-head h2,
.application-head h2 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.045em;
}

.job-detail-head p,
.application-head p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.job-content {
  padding: 40px;
  color: #31465e;
  line-height: 1.85;
}

.job-content img {
  max-width: 100%;
  height: auto;
}

.job-attachments {
  padding: 0 40px 35px;
}

.job-attachments a {
  display: block;
  padding: 12px 15px;
  border-radius: 9px;
  background: #f4f7fa;
  font-size: 13px;
  font-weight: 700;
}

.application-card {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(24, 53, 94, 0.09);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(24, 53, 94, 0.08);
}

.application-form {
  padding: 38px;
}

.form-section + .form-section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid #e9edf2;
}

.form-section-title {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 20px;
}

.form-section-help {
  margin: -12px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

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

.application-field > span {
  color: #31465e;
  font-size: 13px;
  font-weight: 800;
}

.application-field b {
  color: var(--pink);
}

.application-field input,
.application-field select,
.application-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dce3ea;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

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

.application-credential-help {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  padding: 12px 14px;
  border-radius: 9px;
  color: #526a83;
  background: #f2f6fa;
  font-size: 13px;
  line-height: 1.6;
}

.department-groups {
  display: grid;
  gap: 15px;
}

.department-group {
  padding: 20px;
  border: 1px solid #e1e7ed;
  border-radius: 14px;
  background: #fbfcfd;
}

.department-group h4 {
  margin: 0 0 13px;
  color: var(--navy);
}

.department-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.department-option {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px;
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.department-option small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.application-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.privacy-consent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 17px 19px;
  border: 1px solid #dde5eb;
  border-radius: 12px;
  background: #f8fafc;
}

.privacy-consent label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.privacy-consent input { width: 19px; height: 19px; accent-color: var(--pink); }
.privacy-consent b { color: var(--pink); }
.privacy-policy-open { padding: 7px 0; border: 0; border-bottom: 1px solid currentColor; color: #596f85; background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }
.privacy-policy-backdrop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 22px; background: rgba(14,31,53,.58); backdrop-filter: blur(5px); }
.privacy-policy-modal { width: min(100%,720px); max-height: min(82vh,760px); display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 28px 80px rgba(11,27,48,.3); }
.privacy-policy-modal header { display: flex; align-items: flex-start; gap: 20px; padding: 24px 26px; border-bottom: 1px solid #e4e9ee; }.privacy-policy-modal header span { color: var(--pink); font-size: 11px; font-weight: 900; letter-spacing: .12em; }.privacy-policy-modal header h2 { margin: 7px 0 0; color: var(--navy); font-size: 23px; }.privacy-policy-modal header button { width: 38px; height: 38px; margin-left: auto; border: 0; border-radius: 10px; color: #647789; background: #edf2f6; font-size: 23px; cursor: pointer; }
.privacy-policy-content { overflow-y: auto; padding: 27px; color: #405569; font-size: 14px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.privacy-policy-modal footer { display: flex; justify-content: flex-end; padding: 15px 25px; border-top: 1px solid #e4e9ee; background: #f8fafb; }.privacy-policy-modal footer button { min-width: 92px; height: 40px; border: 0; border-radius: 9px; color: #fff; background: var(--navy); font-weight: 850; cursor: pointer; }

.application-actions button,
.back-to-list {
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--pink);
  font-weight: 900;
  cursor: pointer;
}

.back-to-list {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--navy);
  background: #edf2f7;
}

.application-error {
  min-height: 20px;
  margin: 18px 0 0;
  color: #bd3942;
  font-size: 13px;
}

.application-success {
  padding: 75px 25px;
  text-align: center;
}

.application-success h3 {
  color: var(--navy);
  font-size: 28px;
}

@media (max-width: 720px) {
  .job-detail-head,
  .application-head,
  .job-content,
  .application-form {
    padding: 25px 20px;
  }

  .job-attachments {
    padding: 0 20px 25px;
  }

  .application-grid,
  .department-options {
    grid-template-columns: 1fr;
  }

  .application-actions {
    justify-content: center;
  }
  .privacy-consent { align-items: flex-start; flex-direction: column; }.privacy-policy-modal { max-height: 88vh; }.privacy-policy-modal header,.privacy-policy-content { padding: 20px; }
}
