/* Jobcy — gruplu pozisyon kategori seçici */
.jc-cat-picker {
  position: relative;
  width: 100%;
}

.jc-cat-picker .jc-cat-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 60px;
  border: 0;
  box-shadow: none !important;
  padding: 16px 12px 15px 45px;
  cursor: pointer;
  color: #74788d;
  font-size: 15px;
  line-height: 1.2;
  width: 100%;
  background-color: var(--bs-secondary-bg, #fff);
}

/* Anasayfa arama çubuğu: diğer filter alanlarıyla aynı beyaz kutu */
.jc-cat-picker--home .jc-cat-trigger.form-control {
  background-color: var(--bs-secondary-bg, #fff) !important;
  border: 0 !important;
  border-radius: 0;
  color: #74788d;
  height: 60px;
  padding: 16px 12px 15px 45px;
}

@media (min-width: 992px) {
  .registration-form .jc-cat-picker--home .jc-cat-trigger.form-control {
    border-radius: 0;
  }
}

.jc-cat-picker--form .jc-cat-trigger,
.jc-cat-picker--default .jc-cat-trigger {
  height: auto;
  min-height: 38px;
  padding: 0.375rem 0.75rem;
  border: 1px solid #e2e5e8;
  background-color: #fff;
  border-radius: 0.25rem;
  color: #303841;
}

.jc-cat-trigger-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.jc-cat-trigger-caret {
  font-size: 9px;
  opacity: 0.45;
  flex-shrink: 0;
  color: #74788d;
  transform: scaleY(0.85);
}

.jc-cat-picker--home .jc-cat-trigger-caret {
  margin-right: 0.15rem;
}

.jc-cat-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1050;
  background: #fff;
  border: 1px solid #e2e5e8;
  border-radius: 0.35rem;
  box-shadow: 0 8px 24px rgba(40, 48, 57, 0.12);
  max-height: 360px;
  flex-direction: column;
  overflow: hidden;
}

/* display:flex [hidden] ile çakışmasın */
.jc-cat-panel[hidden] {
  display: none !important;
}

.jc-cat-picker.is-open .jc-cat-panel {
  display: flex !important;
}

.jc-cat-search-row {
  display: flex;
  gap: 0.35rem;
  padding: 0.5rem;
  border-bottom: 1px solid #eff0f2;
  background: #f8f9fc;
}

.jc-cat-search {
  flex: 1;
}

.jc-cat-close {
  width: 32px;
  padding: 0;
  line-height: 1;
  font-size: 1.25rem;
}

.jc-cat-list {
  overflow-y: auto;
  max-height: 300px;
  padding: 0.25rem 0;
}

.jc-cat-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: #283039;
  user-select: none;
}

.jc-cat-group-header:hover {
  background: #f8f9fc;
}

.jc-cat-group-title {
  flex: 1;
}

.jc-cat-group-arrow {
  font-size: 10px;
  color: #74788d;
}

.jc-cat-group-children {
  padding: 0 0.5rem 0.35rem 1.75rem;
}

.jc-cat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #3d454e;
  cursor: pointer;
  border-radius: 0.2rem;
}

.jc-cat-item:hover {
  background: #f0f4ff;
}

.jc-cat-item-input {
  flex-shrink: 0;
  margin: 0;
}

.jc-cat-item-title {
  line-height: 1.3;
}

.jc-cat-empty {
  text-align: center;
}

/* job-list üst filtre */
.filler-job-form .jc-cat-picker--default .jc-cat-trigger {
  padding-left: 0.75rem;
}

.jc-adv-search .form-check-label {
  font-size: 13px;
  cursor: pointer;
}

.jc-adv-search .jc-adv-label {
  font-weight: 600;
  color: #303841;
}

.jc-adv-search .form-select-sm {
  max-width: 220px;
}

.bg-home .jc-adv-search .jc-adv-toggle,
.bg-home .jc-adv-search .form-check-label,
.bg-home .jc-adv-search .jc-adv-label {
  color: rgba(255, 255, 255, 0.85) !important;
}

.bg-home .jc-adv-search .form-check-input {
  border-color: rgba(255, 255, 255, 0.5);
}

.bg-home .jc-adv-search .border-top {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.bg-home .jc-adv-search .form-select {
  background-color: #fff;
  color: #303841;
}
