.jobs-shell {
  font-family: 'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  min-height: calc(100vh - 160px);
}

.jobs-notice {
  margin: 24px 0;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 16px;
  line-height: 1.5;
}

.jobs-notice h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.jobs-notice ul {
  margin: 0;
  padding-left: 18px;
}

.jobs-notice--success {
  background: #f0fdf4;
  border-color: #34d399;
  color: #065f46;
}

.jobs-notice--error {
  background: #fef2f2;
  border-color: #f87171;
  color: #7f1d1d;
}

.jobs-shell--coming-soon {
  background-color: #f8fafc;
  margin: 0;
  padding: 0;
}

.jobs-shell--listings {
  background-color: #f1f5f9;
  padding: 2rem 1rem 4rem;
}

.jobs-shell--locked {
  background-color: #f8fafc;
  padding: 3rem 1rem 4rem;
}

.jobs-shell--post {
  background-color: #eef2ff;
  padding: 2rem 1rem 4rem;
}

.jobs-coming-soon.jobs-page {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.jobs-coming-soon h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
  border-bottom: 2px solid #1e3a8a;
  padding-bottom: 0.5rem;
}

.jobs-coming-soon p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.jobs-listings.jobs-page {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  padding: 2.5rem 3rem;
}

.jobs-listings__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.jobs-listings__header h1 {
  font-size: 2.25rem;
  color: #1e3a8a;
  margin: 0;
}

.jobs-listings__header p {
  margin: 0;
  font-size: 1.05rem;
  color: #475569;
}

.jobs-listings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jobs-listings__actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jobs-listings__actions a.primary,
.jobs-empty a.primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.25);
}

.jobs-listings__actions a.secondary {
  background: rgba(37, 99, 235, 0.12);
  color: #1e40af;
}

.jobs-listings__actions a:hover,
.jobs-empty a.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.7), rgba(255, 255, 255, 0.95));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
}

.job-card__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.job-card__heading h2 {
  margin: 0;
  font-size: 1.55rem;
  color: #0f172a;
}

.job-status {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-status--active {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.job-status--draft {
  background: rgba(71, 85, 105, 0.12);
  color: #475569;
}

.job-status--closed,
.job-status--archived {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.job-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  color: #334155;
  font-size: 0.95rem;
}

.job-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.job-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.job-card__footer .job-date {
  color: #475569;
  font-size: 0.9rem;
}

.job-card__footer a {
  text-decoration: none;
  color: #1d4ed8;
  font-weight: 600;
}

.jobs-empty {
  border: 2px dashed rgba(148, 163, 184, 0.6);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(248, 250, 252, 0.8);
}

.jobs-empty h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  color: #1e293b;
}

.jobs-empty p {
  margin: 0 0 1.5rem;
  color: #475569;
  font-size: 1rem;
}

.jobs-locked.jobs-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 2.75rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.jobs-locked__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.15));
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #1d4ed8;
}

.jobs-locked__title {
  margin: 0 0 1rem;
  font-size: 2rem;
  color: #1e3a8a;
}

.jobs-locked__body {
  margin: 0 auto 1.75rem;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
}

.jobs-locked__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.jobs-locked__actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jobs-locked__actions a.primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
}

.jobs-locked__actions a.secondary {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}

.jobs-locked__actions a:hover {
  transform: translateY(-1px);
}

.jobs-post.jobs-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.75rem 3rem 3.25rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.jobs-post__header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.jobs-post__header h1 {
  margin: 0;
  font-size: 2.35rem;
  color: #1e3a8a;
}

.jobs-post__header p {
  margin: 0;
  font-size: 1.05rem;
  color: #475569;
}

.jobs-post__form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.jobs-post__progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.jobs-post__progress-item {
  position: relative;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(226, 232, 240, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.jobs-post__progress-item.is-active {
  border-color: rgba(37, 99, 235, 0.6);
  background: rgba(37, 99, 235, 0.12);
}

.jobs-post__progress-item.is-complete {
  border-color: rgba(22, 163, 74, 0.45);
  background: rgba(22, 163, 74, 0.12);
}

.jobs-post__progress-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.95rem;
}

.jobs-post__progress-item.is-complete .jobs-post__progress-index {
  background: rgba(22, 163, 74, 0.2);
  color: #166534;
}

.jobs-post__progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}

.jobs-post__steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.jobs-post__form:not(.is-enhanced) .jobs-post__step {
  display: block;
}

.jobs-post__form.is-enhanced .jobs-post__step {
  display: none;
}

.jobs-post__form.is-enhanced .jobs-post__step.is-active {
  display: block;
  animation: jobs-post-step-in 0.25s ease-out;
}

@keyframes jobs-post-step-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jobs-post__section {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.95));
  padding: 1.85rem 1.75rem;
}

.jobs-post__section legend {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a8a;
  padding: 0 0.5rem;
}

.jobs-post__section-body {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.jobs-post__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.jobs-post__field label,
.jobs-post__subheading {
  font-weight: 600;
  color: #1e293b;
}

.jobs-post__input,
.jobs-post__select,
.jobs-post__textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 10px;
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jobs-post__textarea {
  min-height: 220px;
  resize: vertical;
}

.jobs-post__input:focus,
.jobs-post__select:focus,
.jobs-post__textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.jobs-post__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.jobs-post__options {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.jobs-post__option {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(148, 163, 184, 0.12);
  font-size: 0.95rem;
  color: #1f2937;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.jobs-post__option:hover,
.jobs-post__option:focus-within {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.08);
}

.jobs-post__option input[type="checkbox"],
.jobs-post__option input[type="radio"] {
  margin-top: 0.2rem;
}

.jobs-post__hint {
  margin: -0.5rem 0 0;
  font-size: 0.9rem;
  color: #475569;
}

.jobs-post__intro {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

.jobs-post__field--stacked {
  gap: 0.35rem;
}

.jobs-post__field--checkbox .jobs-post__option {
  width: 100%;
}

.jobs-post__field--conditional {
  margin-top: -0.35rem;
}

.jobs-post__amount-grid .jobs-post__field.is-hidden,
.jobs-post__field.is-hidden {
  display: none !important;
}

.jobs-post__pay-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.jobs-post__amount-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.jobs-post__section-body--split {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: flex-start;
}

.jobs-post__benefits-columns {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.jobs-post__benefits-column {
  display: grid;
  gap: 0.75rem;
}

.jobs-post__note-card {
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #1e293b;
}

.jobs-post__note-card h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #1e3a8a;
}

.jobs-post__qualifications-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.jobs-post__qualifications-column {
  display: grid;
  gap: 0.75rem;
}


.jobs-post__pay-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jobs-post__pay-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(226, 232, 240, 0.35);
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.jobs-post__pay-choice input {
  margin: 0;
}

.jobs-post__pay-choice:hover,
.jobs-post__pay-choice:focus-within {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.12);
}

.jobs-post__pay-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.jobs-post__pay-card {
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
  background: rgba(226, 232, 240, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.jobs-post__pay-card.is-active {
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(191, 219, 254, 0.35);
}

.jobs-post__pay-card:not(.is-active) {
  opacity: 0.7;
}

.jobs-post__pay-card h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #1e3a8a;
}

.jobs-post__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.jobs-post__button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(59, 130, 246, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jobs-post__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(59, 130, 246, 0.3);
}

.jobs-post__button.secondary {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  box-shadow: none;
}

.jobs-post__button.secondary:hover {
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

@media (prefers-color-scheme: dark) {
  .jobs-shell {
    color: #e2e8f0;
  }

  .jobs-shell--coming-soon,
  .jobs-shell--listings,
  .jobs-shell--locked,
  .jobs-shell--post {
    background-color: #0f172a;
  }

  .jobs-coming-soon.jobs-page {
    background-color: #1e293b;
    color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
  }

  .jobs-coming-soon h1 {
    color: #60a5fa;
    border-color: #60a5fa;
  }

  .jobs-listings.jobs-page {
    background: rgba(30, 41, 59, 0.85);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.55);
  }

  .jobs-listings__header h1 {
    color: #60a5fa;
  }

  .jobs-listings__header p {
    color: #cbd5f5;
  }

  .jobs-listings__actions a.secondary {
    background: rgba(96, 165, 250, 0.15);
    color: #bfdbfe;
  }

  .job-card {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(148, 163, 184, 0.2);
  }

  .job-card__heading h2 {
    color: #e2e8f0;
  }

  .job-card__meta {
    color: #cbd5f5;
  }

  .job-card__footer .job-date {
    color: #cbd5f5;
  }

  .jobs-empty {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(96, 165, 250, 0.4);
  }

  .jobs-empty h2 {
    color: #bfdbfe;
  }

  .jobs-empty p {
    color: #e2e8f0;
  }

  .jobs-locked.jobs-page {
    background: rgba(30, 41, 59, 0.88);
    box-shadow: 0 25px 50px rgba(2, 6, 23, 0.65);
  }

  .jobs-post.jobs-page {
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.65);
  }

  .jobs-post__header h1 {
    color: #93c5fd;
  }

  .jobs-post__header p {
    color: #cbd5f5;
  }

  .jobs-post__section {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(148, 163, 184, 0.3);
  }

  .jobs-post__field label,
  .jobs-post__subheading {
    color: #e2e8f0;
  }

  .jobs-post__input,
  .jobs-post__select,
  .jobs-post__textarea {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.4);
    color: #e2e8f0;
  }

  .jobs-post__option {
    background: rgba(37, 99, 235, 0.12);
    color: #e2e8f0;
  }

  .jobs-post__hint {
    color: #cbd5f5;
  }

  .jobs-post__pay-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(148, 163, 184, 0.28);
  }

  .jobs-post__button.secondary {
    background: rgba(96, 165, 250, 0.15);
    color: #bfdbfe;
  }

  .jobs-locked__icon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(165, 180, 252, 0.2));
    color: #93c5fd;
  }

  .jobs-locked__title {
    color: #60a5fa;
  }

  .jobs-locked__body {
    color: #cbd5f5;
  }

  .jobs-locked__actions a.secondary {
    color: #bfdbfe;
    background: rgba(96, 165, 250, 0.18);
  }
}

@media (max-width: 900px) {
  .jobs-post__progress {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .jobs-post__progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .jobs-post__progress-item {
    padding: 0.7rem 0.75rem;
  }

  .jobs-post__progress-label {
    font-size: 0.78rem;
  }

  .jobs-post__section-body--split {
    grid-template-columns: 1fr;
  }

  .jobs-post__benefits-columns,
  .jobs-post__qualifications-grid {
    grid-template-columns: 1fr;
  }

  .jobs-post__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-post__actions-nav {
    width: 100%;
    justify-content: space-between;
  }

  .jobs-post__actions-nav .jobs-post__button {
    flex: 1;
  }

  .jobs-post__reset {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .jobs-listings.jobs-page {
    padding: 2rem;
  }

  .jobs-listings__header h1 {
    font-size: 1.85rem;
  }

  .job-card__heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .jobs-listings__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .jobs-listings__actions a {
    width: 100%;
    justify-content: center;
  }

  .job-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .jobs-post.jobs-page {
    padding: 2.25rem 1.5rem 2.75rem;
  }

  .jobs-post__header h1 {
    font-size: 2rem;
  }

  .jobs-post__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 640px) {
  .jobs-locked.jobs-page {
    padding: 2rem;
  }

  .jobs-locked__title {
    font-size: 1.65rem;
  }
}

.jobs-post__actions-nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.jobs-post__reset {
  margin-right: auto;
}

.jobs-post__button[hidden] {
  display: none !important;
}
