/* DARBO SKELBIMAI */

.jobs-section {
  padding: 20px 0 80px;
  background: white;
}

.jobs-layout {
  display: grid;
  grid-template-columns: 230px 1fr 280px;
  gap: 20px;
  align-items: start;
}

/* FILTRAI */

.filters {
  background: white;
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  padding: 20px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filters-header h3 {
  margin: 0;
}

.filters-header button {
  border: none;
  background: none;
  color: #2563eb;
  cursor: pointer;
}

.filter-group {
  margin-top: 24px;
}

.filter-group > label:first-child {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.filter-group select {
  width: 100%;
  padding: 11px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
}

.checkbox-row {
  display: block;
  margin: 10px 0;
  color: #475467;
  font-size: 14px;
}

/* SKELBIMŲ SĄRAŠAS */

.jobs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.jobs-header h2 {
  margin: 0 0 5px;
  font-size: 20px;
}

.jobs-header span {
  font-size: 13px;
  color: #667085;
}

.jobs-header select {
  padding: 10px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
}

.job-card {
  cursor: pointer;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
  align-items: stretch;

  gap: 24px;

  padding: 18px 20px;
  margin-bottom: 10px;

  background: white;

  border: 1px solid #d8e0eb;
  border-radius: 14px;

  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.055);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  border-color: #b9c9df;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.105);
}

.job-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}
/* =========================================
   TOP DARBO SKELBIMAS
   ========================================= */

.job-card-top {
  background: #f7fbff;
  border-color: #79b2fb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.105);
}

.job-card-top:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.14);
}


.job-top-badge {
  display: inline-block;

  margin-bottom: 5px;
  padding: 3px 7px;

  border-radius: 999px;

  background: #2563eb;
  color: #ffffff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.job-info {
  min-width: 0;
}

.job-info h3 {
  margin: 0 0 4px;

  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #111b2e;
}

.job-meta {
  margin-top: 5px;

  font-size: 13px;
  font-weight: 650;
  color: #53647a;
}
/* =========================================
   SKELBIMO TRUMPA INFORMACIJA
   ========================================= */
/* =========================================
   SKELBIMO TRUMPA INFORMACIJA
   ========================================= */

.job-card-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  margin-top: 11px;

  color: #667085;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.job-card-details span {
  display: inline-flex;
  align-items: center;
}

.job-card-details span + span::before {
  content: "•";

  margin: 0 7px;

  color: #98a2b3;
}

.job-card-top .job-card-details span {
  color: #315f96;
}

.job-info p {
  font-size: 13px;
  color: #667085;
  line-height: 1.5;
  margin: 10px 0;
}

.job-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.job-tags span {
  background: #eef4ff;
  color: #2563eb;

  padding: 5px 9px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 600;
}

.job-actions {
  min-width: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;

  padding-left: 20px;

  border-left: 1px solid #edf1f6;

  text-align: right;
}

.job-posted-time {
  color: #98a2b3;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;

  white-space: nowrap;
}

.job-actions strong {
  display: block;

  font-size: 15px;
  font-weight: 800;
  color: #15223a;

  white-space: nowrap;
}

.job-actions small {
  display: block;
  margin: 6px 0 18px;
  color: #98a2b3;
}

.job-buttons {
  display: flex;
  gap: 8px;
}

.job-buttons button {
  padding: 9px 13px;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}

.more-button {
  background: white;
  border: 1px solid #2563eb;
  color: #2563eb;
}

.apply-button {
  border: 1px solid #2563eb;
  background: #2563eb;
  color: white;
}
.quick-filters button.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}
.no-results {
  display: none;

  padding: 55px 25px;

  text-align: center;

  background: white;

  border: 1px solid #e5eaf1;
  border-radius: 16px;
}

.no-results-icon {
  font-size: 38px;

  margin-bottom: 12px;
}

.no-results h3 {
  margin: 0 0 8px;

  color: #18233a;
}

.no-results p {
  margin: 0;

  color: #667085;

  font-size: 14px;
}
/* =========================================
   SKELBIMŲ PUSLAPIAVIMAS
   ========================================= */

.jobs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-top: 32px;
  margin-bottom: 20px;

  flex-wrap: wrap;
}


.jobs-pagination-button {
  min-width: 42px;
  height: 42px;

  padding: 0 12px;

  border: 1px solid #d9e0dd;
  border-radius: 10px;

  background: #ffffff;

  font-size: 15px;
  font-weight: 600;

  color: #26352f;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.jobs-pagination-button:hover:not(:disabled) {
  border-color: #2563eb;

  color: #2563eb;

  transform: translateY(-1px);
}


.jobs-pagination-button.active {
  background: #2563eb;
  border-color: #2563eb;

  color: #ffffff;

  cursor: default;
}


.jobs-pagination-button:disabled {
  opacity: 0.35;

  cursor: not-allowed;
}


.jobs-pagination-dots {
  min-width: 28px;

  text-align: center;

  font-size: 18px;
  font-weight: 600;

  color: #7b8983;
}
/* =========================================
   DESKTOP STICKY ŠONAI
   ========================================= */

@media (min-width: 1101px) {

  .jobs-layout {
    align-items: start;
  }


  .jobs-layout > .filters,
  .jobs-layout > .employer-card {
    position: sticky;

    top: 24px;

    align-self: start;

    height: fit-content;
  }

}
