.jobs {
  background-color: #f8f9fa;
  color: #2e3134;
  padding-top: 100px;
}

.job {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  box-shadow: 0px 3px 10px 0 rgba(0, 0, 0, 0.05);
}

.job .favourite {
  position: absolute;
  bottom: 5%;
  right: 13%;
  color: darkred;
  cursor: pointer;
}

.jobs aside {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  box-shadow: 0px 3px 10px 0 rgba(0, 0, 0, 0.05);
  top: 10%;
}

.jobs .mobile-filter-toggle {
  display: none;
}

.range-slider {
  width: 100%;
}

.jobs .main-info h4 {
  cursor: pointer;
}

.jobs .main-info .hearth {
  float: right;
  cursor: pointer;
}

.jobs .date {
  display: inline-block;
  background: #fdd010;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  padding: 2px;
  line-height: 16px;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  color: #ffffff;
  margin-right: 10px;
}

.jobs .date > span {
  display: block;
  background: #ffffff;
  color: #303c42;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 2px 3px;
}

.range-slider__range {
  -webkit-appearance: none;
  width: calc(100% - (70px));
  height: 5px;
  border-radius: 5px;
  background: #d7dcdf;
  outline: none;
  padding: 0;
  margin: 0;
}
.range-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: black;
  cursor: pointer;
  -webkit-transition: background 0.15s ease-in-out;
  transition: background 0.15s ease-in-out;
}
.range-slider__range::-webkit-slider-thumb:hover {
  background: #fdd010;
}
.range-slider__range:active::-webkit-slider-thumb {
  background: #fdd010;
}
.range-slider__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #fdd010;
  cursor: pointer;
  -moz-transition: background 0.15s ease-in-out;
  transition: background 0.15s ease-in-out;
}
.range-slider__range::-moz-range-thumb:hover {
  background: #fdd010;
}
.range-slider__range:active::-moz-range-thumb {
  background: #fdd010;
}
.range-slider__range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #fdd010;
}

.range-slider__value {
  display: inline-block;
  position: relative;
  width: 50px;
  color: #fff;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  background: #fdd010;
  padding: 5px 10px;
  margin-left: 8px;
}
.range-slider__value:after {
  position: absolute;
  top: 8px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-right: 7px solid #fdd010;
  border-bottom: 7px solid transparent;
  content: "";
}

::-moz-range-track {
  background: #d7dcdf;
  border: 0;
}

input::-moz-focus-inner,
input::-moz-focus-outer {
  border: 0;
}

.form-control:disabled,
.form-control[readonly] {
  opacity: 0.5;
}

.white.ftco-navbar-light {
  background-color: #f8f9fa !important;
}
.white.ftco-navbar-light.scrolled {
  background-color: #fff !important;
}

.job-side {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  box-shadow: 0px 3px 10px 0 rgb(0 0 0 / 5%);
  top: 10%;
  height: 100%;
}

.cst-card {
  background-color: #fff;
  box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.15);
}

.job-picture {
  background-position: 0% 60% !important;
  height: 55vh;
  min-height: 250px;
  max-height: 500px;
}

.job-picture:before {
  background: #000;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.4;
  z-index: 0;
}

.job-picture h2 {
  margin-top: 35%;
  color: #fff;
  font-size: 4rem;
  text-transform: capitalize;
}

.job-share-buttons {
  list-style: none;
  padding: 0;
  font-size: 1.8rem;
}

.job-share-button {
  display: inline-block;
}

.facebook-i {
  color: #3b5998;
}

.whatsup-i {
  color: #25d366;
}

.linkedin-i {
  color: #0077b5;
}

.instagram-i {
  color: #e4405f;
}

.twitter-i {
  color: #55acee;
}

.job-side .btn-primary {
  max-width: 100%;
  font-size: 0.7rem;
}

.text-underline {
  border-top: 2px solid #f0493e;
  width: 25%;
  transition: all 0.25s ease;
}

.font-smallest {
  font-size: 0.8rem !important;
}

h4 > a:hover ~ div.text-underline {
  width: 50%;
}

.range-slider__value {
  top: 2px;
}

@media (max-width: 992px) {
  .jobs {
    padding-top: 0;
  }
  .jobs .mobile-filter-toggle {
    display: block;
  }
  .jobs aside {
    background-color: #fff;
    position: relative;
    display: none;
  }

  .jobs aside.show {
    display: block;
  }

  .job-side {
    margin-bottom: 10%;
    height: 100%;
  }
  .job-picture {
    background-position: 50% 50% !important;
    height: 30vh;
    min-height: 250px;
    max-height: 500px;
  }

  .job-picture h2 {
    margin-top: 25%;
    font-size: 2.5rem;
  }

  .qliiq-points div {
    text-align: center;
  }
}

@media (max-width: 425px) {
  .job-side > .py-3 {
    text-align: center;
  }

  .job-side p {
    display: inline-block;
    padding: 0px 15px;
  }

  .job-side a {
    display: block;
    width: auto;
  }
}
.qliiq-points ul {
  list-style: none;
}

.qliiq-points ul:not(.job-share-buttons) :before {
  content: "\f00c"; /* FontAwesome Unicode */
  font-family: "Font Awesome\ 5 Free";
  font-weight: 900;
  display: inline-block;
  color: #fdd010;
  margin-left: -1.3em; /* same as padding-left set on li */
  width: 1.3em;
}

.job-card {
  transition: border 0.15s ease;
  cursor: pointer;
}
.job-card:hover {
  border-color: #f0493e;
}

.job-cover-image-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.job-cover-image-container .brand-name {
  padding-top: 1rem;
  padding-right: 1rem;
  color: #999;
  font-size: 1.2rem;
}

.job-cover-image-container img {
  width: 100%;
}

.job-cover-image-container .brand-logo {
  width: auto;
  max-height: 75px;
  padding-top: 1rem;
  padding-right: 1rem;
}

.job-card-wrapper {
  display: flex;
  flex-direction: row;
}

.job-card-link {
  display: flex;
  flex-direction: row;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.job-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.job-card-wrapper:hover {
  border-color: var(--brand-primary, #f0493e);
}

.job-card-link .job-title {
  color: black;
}

.job-card-image {
  flex-shrink: 0;
  height: 300px;
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
}

.job-card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem 0 0 1rem;
}

.job-card-image .brand-logo-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem 0 0 1rem;
  background: #f5f5f5;
}

.job-card-image .brand-logo-wrapper .brand-logo {
  max-height: 50%;
  max-width: 50%;
  object-fit: contain;
}

.job-card-image .brand-name-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 1rem 0 0 1rem;
}

.job-card-image .brand-name-wrapper h4 {
  margin: 0;
  padding: 1rem;
}

.job-card-content {
  flex-grow: 1;
}

@media (max-width: 1199px) {
  .job-card-wrapper {
    flex-direction: column;
  }

  .job-card-link {
    flex-direction: column;
  }

  .job-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.91 / 1;
  }

  .job-card-image > img {
    border-radius: 1rem 1rem 0 0;
  }

  .job-card-image .brand-logo-wrapper,
  .job-card-image .brand-name-wrapper {
    border-radius: 1rem 1rem 0 0;
  }
}

@media (max-width: 578px) {
  .job-holder {
    padding: 1rem;
  }
}

/* Horizontal Filter Bar */
.filter-bar.card {
  margin-top: 1rem;
  border-radius: 12px;
}

.filter-bar .vacancies-filter {
  gap: 1rem;
}

.filter-bar .filter-item {
  min-width: 150px;
}

.filter-bar .filter-item label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #555;
}

.filter-bar .filter-item .form-control {
  height: 38px;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

.filter-bar .filter-hours {
  min-width: 200px;
  padding-bottom: 0.5rem;
}

.filter-bar .filter-actions .btn {
  min-height: 38px;
  white-space: nowrap;
  padding: 0 1rem !important;
}

.filter-bar .select-wrapper::after {
  top: 50%;
  transform: translateY(-50%);
}

.filter-bar .results-count {
  border-top: 1px solid #dee2e6;
  padding-top: 0.5rem;
}

@media (max-width: 991px) {
  .filter-bar .vacancies-filter {
    flex-direction: column;
    align-items: stretch !important;
  }

  .filter-bar .filter-item {
    width: 100%;
  }

  .filter-bar .filter-actions {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
}

/* Empty State */
.empty-state {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 1rem 0;
}

.empty-state-icon {
  opacity: 0.6;
}

.empty-state-icon i {
  color: var(--brand-primary, #6c757d);
}

.empty-state h4 {
  font-weight: 600;
}

/* Applied Badge */
.applied-info {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #f0493e;
  margin-left: 1rem;
  bottom: 5px;
  position: relative;
  height: 1rem;
}

/* Select Wrapper */
.jobs select {
  -webkit-appearance: none;
  appearance: none;
}

.select-wrapper {
  position: relative;
  z-index: 2;
}

.select-wrapper::after {
  content: "▿";
  font-size: 1rem;
  top: 17px;
  right: 10px;
  position: absolute;
  z-index: -2;
}

.form-control-select {
  cursor: pointer;
  background: transparent !important;
}

.form-control-select:active {
  background: transparent !important;
}

/* noUi Slider */
.noUi-horizontal {
  height: 5px;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none;
}

.noUi-horizontal .noUi-handle {
  width: 20px;
  height: 20px;
  right: 0px;
  top: -8px;
  border-radius: 50%;
}

.noUi-connect {
  background: #f0493e;
}

.noUi-tooltip {
  font-size: 15px;
  padding: 2px 5px 0 5px;
}

.noUi-horizontal .noUi-tooltip {
  bottom: -2.3rem;
}

/* Pagination */
.vacPagination {
  margin-top: 2rem;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.vacPagination li {
  list-style: none;
}

.vacPagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 2px solid transparent;
  border-radius: 0.25rem;
  background-color: transparent;
  color: var(--brand-dark, #272c35);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vacPagination a:hover {
  background-color: transparent;
  border-color: var(--brand-primary, #f0493e);
  color: var(--brand-primary, #f0493e);
  text-decoration: none;
}

.vacPagination .disabled {
  display: none;
}

.vacPagination .active a {
  background-color: var(--brand-primary, #f0493e);
  border-color: var(--brand-primary, #f0493e);
  color: #fff;
}

.vacPagination .active a:hover {
  background-color: var(--brand-dark, #272c35);
  border-color: var(--brand-dark, #272c35);
  color: #fff;
}
