.jobs-page-head {
  margin-bottom: 28px;
}

.jobs-page-head h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #111827;
}

.jobs-page-head p {
  margin: 0;
  color: #6b7280;
  font-size: 1.1rem;
}

.theme-dark .jobs-page-head h1,
.theme-dark .jobs-page-head p,
.theme-dark .jobs-content-head h2 {
  color: #ffffff;
}

.theme-dark .jobs-page-head p,
.theme-dark .jobs-content-head span,
.theme-dark .jobs-card-title p,
.theme-dark .jobs-card-description,
.theme-dark .jobs-card-distance {
  color: #9ca3af;
}

.jobs-layout-toggle {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.8rem;
  font-weight: 500;
}

.jobs-layout-toggle:hover {
  background: rgba(255, 255, 255, 0.84);
}

.theme-dark .jobs-layout-toggle {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #f3f4f6;
}

.theme-dark .jobs-layout-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.jobs-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding-bottom: 24px;
}

.jobs-filter {
  position: sticky;
  top: 0;
  height: fit-content;
}

.theme-dark .jobs-filter,
.theme-dark .jobs-card,
.theme-dark .jobs-top-filters {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.jobs-filter h2 {
  margin: 0 0 24px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jobs-filter h2 svg {
  color: #0f766e;
}

.theme-dark .jobs-filter h2,
.theme-dark .jobs-top-filter-title h2,
.theme-dark .jobs-card-title h3 {
  color: #ffffff;
}

.jobs-filter-block {
  margin-bottom: 24px;
}

.jobs-filter-block > label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

.theme-dark .jobs-filter-block > label,
.theme-dark .jobs-range-head label,
.theme-dark .jobs-hours-row > div > label {
  color: #d1d5db;
}

.jobs-filter-block > p {
  margin: 0 0 12px;
  font-size: 0.74rem;
  color: #6b7280;
}

.jobs-search-wrap {
  position: relative;
}

.jobs-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.jobs-search-wrap input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 14px 10px 40px;
  font-size: 0.87rem;
  color: #111827;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-dark .jobs-search-wrap input,
.theme-dark .jobs-title-input-wrap,
.theme-dark .jobs-title-input-wrap input,
.theme-dark .jobs-radio-btn,
.theme-dark .jobs-hour-btn {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
}

.theme-dark .jobs-search-wrap input::placeholder,
.theme-dark .jobs-title-input-wrap input::placeholder {
  color: #6b7280;
}

.jobs-search-wrap input::placeholder {
  color: #9ca3af;
}

.jobs-search-wrap input:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.9);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.jobs-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.jobs-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.jobs-radio-btn {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.5);
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

.jobs-radio-btn:hover {
  background: rgba(255, 255, 255, 0.82);
}

.jobs-radio-btn.active {
  color: #0f766e;
  background: #f0fdfa;
  border-color: #bae6fd;
}

.theme-dark .jobs-radio-btn.active {
  color: #2dd4bf;
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.3);
}

.jobs-range-block {
  margin-bottom: 28px;
}

.jobs-range-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.jobs-range-head span {
  font-size: 0.84rem;
  font-weight: 500;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 6px;
  padding: 2px 8px;
}

.jobs-filter input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
}

.jobs-filter input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #14b8a6;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.jobs-filter input[type='range']::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  border-radius: 2px;
  background: rgba(20, 184, 166, 0.2);
}

.jobs-filter input[type='range']:focus {
  outline: none;
}

.jobs-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.74rem;
  color: #9ca3af;
}

.jobs-hours-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jobs-hour-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.5);
  color: #6b7280;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

.jobs-hour-btn:hover {
  background: rgba(255, 255, 255, 0.82);
}

.jobs-hour-btn.active {
  background: #14b8a6;
  color: #ffffff;
  border-color: #0f766e;
}

.theme-dark .jobs-hour-btn.active {
  background: #14b8a6;
  border-color: rgba(20, 184, 166, 0.5);
}

.jobs-apply-btn {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
}

.theme-dark .jobs-apply-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.jobs-apply-btn:hover {
  background: #1f2937;
}

.jobs-content-head {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.jobs-content-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #111827;
}

.jobs-content-head span {
  font-size: 0.9rem;
  color: #6b7280;
}

.jobs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.jobs-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  padding: 24px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  cursor: pointer;
}

.jobs-card:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.jobs-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.jobs-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #111827;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 500;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.jobs-card-logo-image-wrap {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.jobs-card-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jobs-card-title {
  margin-bottom: 8px;
}

.jobs-card-title h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #111827;
  transition: color 0.2s ease;
}

.theme-dark .jobs-card-title h3 {
  color: #ffffff;
}

.jobs-card:hover .jobs-card-title h3 {
  color: #0f766e;
}

.jobs-card-title p {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: #6b7280;
}

.jobs-card-description {
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 0.86rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jobs-card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theme-dark .jobs-card-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.jobs-card-distance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 0.78rem;
}

.jobs-card-distance svg {
  color: #0f766e;
}

.jobs-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.theme-dark .jobs-card-arrow {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #6b7280;
}

.jobs-card:hover .jobs-card-arrow {
  background: #f0fdfa;
  color: #0f766e;
  border-color: #99f6e4;
}

.jobs-load-more-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.jobs-load-more {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #4b5563;
  padding: 10px 24px;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

.jobs-load-more:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #111827;
  border-color: #9ca3af;
}

.jobs-top-layout {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
}

.jobs-top-filters {
  padding: 24px;
}

.jobs-top-filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.jobs-top-filter-title h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.jobs-top-filter-title svg {
  color: #0f766e;
}

.jobs-top-controls {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.jobs-filter-block.no-margin {
  margin-bottom: 0;
}

.jobs-top-range {
  padding-bottom: 4px;
}

.jobs-top-apply {
  margin-top: 0;
  min-width: 180px;
}

.jobs-title-picker {
  position: relative;
}

.jobs-title-input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.5);
  padding: 6px;
  align-items: center;
}

.jobs-title-input-wrap:focus-within {
  border-color: rgba(45, 212, 191, 0.9);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.jobs-title-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  font-size: 0.72rem;
  font-weight: 500;
  color: #374151;
}

.jobs-title-chip button {
  border: 0;
  background: transparent;
  color: #9ca3af;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.jobs-title-chip button:hover {
  color: #111827;
}

.jobs-title-input-wrap input {
  flex: 1;
  min-width: 180px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 0.86rem;
  color: #374151;
  padding: 6px 8px;
}

.jobs-title-input-wrap input::placeholder {
  color: #9ca3af;
}

.jobs-title-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(100%, 340px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1);
  padding: 8px;
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transform-origin: top left;
  transition: 0.18s ease;
  z-index: 40;
}

.jobs-title-picker:focus-within .jobs-title-suggestions {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.jobs-title-option {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4b5563;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.jobs-title-option:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
}

.jobs-title-option.active {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.1);
}

.jobs-title-option.active svg {
  color: #14b8a6;
}

.jobs-separator.top-margin {
  margin: 24px 0;
}

.jobs-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.jobs-hours-row > div > label {
  display: block;
  margin-bottom: 3px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}

.jobs-hours-row > div > p {
  margin: 0;
  font-size: 0.74rem;
  color: #6b7280;
}

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

@media (max-width: 1200px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .jobs-filter {
    position: static;
  }

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

  .jobs-top-apply {
    width: 100%;
  }

  .jobs-hours-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 860px) {
  .jobs-cards {
    grid-template-columns: 1fr;
  }

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

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

  .jobs-layout-toggle span {
    display: none;
  }
}
