.home-search-panel {
  margin: 0;
}

.home-search-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(160px, .8fr) minmax(180px, 1fr) minmax(150px, .75fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 42px rgba(20, 35, 48, .14);
}

.home-search-field {
  min-width: 0;
}

.home-search-field label {
  display: block;
  margin-bottom: 6px;
  color: #26384a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.home-search-input-wrap {
  position: relative;
}

.home-search-input-wrap .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: #718294;
}

.home-search-grid input[type="text"],
.home-search-grid select {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  border: 1px solid #d9e2ea;
  border-radius: 8px;
  background: #fff;
  color: #142433;
  font-size: 15px;
  line-height: 48px;
}

.home-search-grid input[type="text"] {
  padding: 0 14px 0 42px;
}

.home-search-grid select {
  padding: 0 34px 0 12px;
}

.home-search-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 48px;
  overflow: hidden;
  border: 1px solid #d9e2ea;
  border-radius: 8px;
  background: #f5f8fb;
}

.home-search-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.home-search-type label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #526678;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.home-search-type input:checked + label {
  background: #142433;
  color: #fff;
}

.home-search-actions {
  min-width: 104px;
}

.home-search-actions .theme-btn {
  width: 100%;
  height: 48px;
  line-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
}

#search-results.dropdown-menu {
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  margin-top: 6px;
  border: 1px solid #d9e2ea;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(20, 35, 48, .12);
}

#search-results .result-item {
  padding: 9px 12px;
  cursor: pointer;
  color: #142433;
}

#search-results .result-item:hover {
  background: #eef5ff;
}

#search-results .result-item.disabled {
  color: #8d9aa7;
  cursor: default;
}

@media (max-width: 1199px) {
  .home-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-search-field--keyword,
  .home-search-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .banner-section-ten .cotnent-box {
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-search-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
  }

  .home-search-field label {
    font-size: 12px;
  }

  .home-search-grid input[type="text"],
  .home-search-grid select,
  .home-search-type,
  .home-search-actions .theme-btn {
    height: 46px;
    line-height: 46px;
  }

  .candidate-block-three .inner-box,
  .job-block-five .inner-box {
    min-width: 0;
  }

  .candidate-block-three .content,
  .job-block-five .content {
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .job-search-form {
    margin-left: 0;
    margin-right: 0;
  }

  .home-search-grid {
    box-shadow: 0 12px 28px rgba(20, 35, 48, .12);
  }

  .home-search-actions {
    min-width: 0;
  }
}
