/* ============================================================
 * select2_min.css (HOB-UYUMLU)
 * Originally: third-party widget styles.
 * Adapted to The Hob design system (hob-style.css):
 *   - Colors mapped to --white, --dark-gray, --p-color, --blue,
 *     --green, --red, --orange, --yellow, --purple, --cream-*,
 *     --gray-bg-*, --light-gray-*
 *   - Border-radii softened (5/6→50px, 10→24px, 15→30px) to
 *     match Hob pill buttons & rounded-control containers.
 *   - font-family overrides removed → inherit from <body>.
 *   - Minified "doubleVAR" → "double VAR" syntax fix.
 * ============================================================ */

:focus{outline:none}
.select2.select2-container.form-control-sm{padding:7px 24px;font-size:13px;height:auto}
.select2-container-default .select2-selection-single .select2-selection__arrow{height:26px;position:absolute;top:14px;right:29px;width:20px}
.select2-container--default.form-control-sm .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:17px;right:31px;width:20px}
.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%!important}
.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;width:100%;user-select:none;-webkit-user-select:none}
span.select2.select2-container.select2-container--default.select2-container--open .select2-selection--single,.select2-container--default.select2-container--open .select2-selection--multiple{border:1px solid var(--blue);box-shadow:0 0 5px 2px rgba(51, 150, 211, 0.25)}
.select2-container .select2-selection--single .select2-selection__rendered{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--light-gray);color:var(--dark-gray)!important;font-size:15px;padding:8px 10px;background-color:var(--white);height:calc(1.4em + 1.4rem + 2px);padding:.75rem 1.25rem;border-radius:50px;box-shadow:none}
.select2-container .select2-selection--single .select2-selection__clear{position:relative}
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}
.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}
.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}
.select2-container .select2-search--inline{float:left}
.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}
.select2-dropdown{background-color:var(--white);padding:5px;border:4px double var(--gray-bg-2);border-radius:0px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1050; -webkit-box-shadow: 2px 5px 17px 0 rgb(31 45 61 / 10%);box-shadow: 2px 5px 17px 0 rgb(31 45 61 / 10%);}
.select2-results{display:block}
.select2-results__options{list-style:none;margin:0;padding:0}
.select2-results__option{padding:6px 19px;user-select:none;-webkit-user-select:none}
.select2-results__option[aria-selected]{font-weight:500;font-size:14px}
.select2-container--open .select2-dropdown{left:0}
.select2-container--open .select2-dropdown--above{top:-6px}
.select2-container--open .select2-dropdown--below{top:3px}
.select2-search--dropdown{display:block;padding:4px}
.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}
.select2-search--dropdown.select2-search--hide{display:none}
.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:var(--white);filter:alpha(opacity=0)}
.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}
.select2-container--default .select2-selection--single{background-color:var(--white);border-radius:50px}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--dark-gray);border-radius:50px}
.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:5px}
.select2-container--default .select2-selection--single .select2-selection__placeholder{color:var(--p-color)}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:10px;right:7px;width:20px}
.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:var(--p-color) transparent transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}
.select2-container--default.select2-container--disabled .select2-selection--single{background-color:var(--light-gray-3);cursor:default}
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent var(--p-color);border-width:0 4px 5px}
.select2-container--default .select2-selection--multiple{background-color:var(--white);border-radius:50px;cursor:text;border:1px solid var(--light-gray);color:var(--dark-gray);font-size:15px;padding:8px 16px;letter-spacing:1px;font-weight:700;background:var(--gray-bg)}
.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none;width:auto}
.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:var(--p-color);margin-top:5px;float:left}
.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}
.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:var(--light-gray-3);border:1px solid var(--gray-bg-2);border-radius:50px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:var(--p-color);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:var(--dark-gray)}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline{float:right}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}
.select2-container--default.select2-container--focus .select2-selection--multiple{outline:0}
.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:var(--light-gray-3);cursor:default}
.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}
.select2-container--default .select2-search--dropdown .select2-search__field{border:4px double var(--gray-bg-2);color:var(--dark-gray);font-size:14px;padding:8px 16px;letter-spacing:.3px;font-weight:600;border-radius:24px}
.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield;width:100%!important}
.select2-container--default .select2-results > .select2-results__options{max-height:200px;overflow-y:auto}
.select2-container--default .select2-results__option[role=group]{padding:0}
.select2-container--default .select2-results__option[aria-disabled=true]{color:var(--p-color)}
.select2-container--default .select2-results__option[aria-selected=true]{background-color:var(--gray-bg);}
.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}
.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}
.select2-container--default .select2-results__option--highlighted[aria-selected]{}
.select2-container--default .select2-results__group{cursor:default;display:block;padding:13px 14px;font-weight:700;color:var(--dark-gray)}
.select2-container--classic .select2-selection--single{background-color:var(--gray-bg);border:1px solid var(--gray-bg-2);border-radius:50px;outline:0;background-image:-webkit-linear-gradient(top,var(--white) 50%,var(--light-gray-3) 100%);background-image:-o-linear-gradient(top,var(--white) 50%,var(--light-gray-3) 100%);background-image:linear-gradient(to bottom,var(--white) 50%,var(--light-gray-3) 100%);background-repeat:repeat-x}
.select2-container--classic .select2-selection--single:focus{border:1px solid var(--blue)}
.select2-container--classic .select2-selection--single .select2-selection__rendered{color:var(--dark-gray);line-height:28px}
.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}
.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:var(--p-color)}
.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:var(--light-gray-2);border:none;border-left:1px solid var(--gray-bg-2);border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top,var(--light-gray-3) 50%,var(--light-gray) 100%);background-image:-o-linear-gradient(top,var(--light-gray-3) 50%,var(--light-gray) 100%);background-image:linear-gradient(to bottom,var(--light-gray-3) 50%,var(--light-gray) 100%);background-repeat:repeat-x}
.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:var(--p-color) transparent transparent;border-style:solid;border-width:5px 4px 0;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid var(--gray-bg-2);border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}
.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid var(--blue)}
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent var(--p-color);border-width:0 4px 5px}
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top,var(--white) 0%,var(--light-gray-3) 50%);background-image:-o-linear-gradient(top,var(--white) 0%,var(--light-gray-3) 50%);background-image:linear-gradient(to bottom,var(--white) 0%,var(--light-gray-3) 50%);background-repeat:repeat-x}
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top,var(--light-gray-3) 50%,var(--white) 100%);background-image:-o-linear-gradient(top,var(--light-gray-3) 50%,var(--white) 100%);background-image:linear-gradient(to bottom,var(--light-gray-3) 50%,var(--white) 100%);background-repeat:repeat-x}
.select2-container--classic .select2-selection--multiple{background-color:var(--white);border:1px solid var(--gray-bg-2);border-radius:50px;cursor:text;outline:0}
.select2-container--classic .select2-selection--multiple:focus{border:1px solid var(--blue)}
.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}
.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}
.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:var(--light-gray-3);border:1px solid var(--light-gray);border-radius:50px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:var(--p-color);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:var(--p-color)}
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}
.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid var(--blue)}
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}
.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid var(--light-gray);outline:0}
.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}
.select2-container--classic .select2-dropdown{background-color:var(--white);border:1px solid transparent}
.select2-container--classic .select2-dropdown--above{border-bottom:none}
.select2-container--classic .select2-dropdown--below{border-top:none}
.select2-container--classic .select2-results > .select2-results__options{max-height:200px;overflow-y:auto}
.select2-container--classic .select2-results__option[role=group]{padding:0}
.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}
.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:var(--blue);color:var(--white)}
.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}
.select2-container--classic.select2-container--open .select2-dropdown{border-color:var(--blue)}

/* ============================================================
 * HOB-SPECIFIC FIXES (Select2 dropdown)
 * Resimden tespit edilen görsel uyumsuzluklara çözüm.
 * ============================================================ */

/* Açık state'de selection: alt köşeleri dropdown ile birleşsin */
.select2-container--default.select2-container--open.select2-container--below
  .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below
  .select2-selection--multiple {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: var(--cream-1);
}

/* Açık state'de selection: ÜST köşeleri square (dropdown yukarı açıldığında) */
.select2-container--default.select2-container--open.select2-container--above
  .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above
  .select2-selection--multiple {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top-color: var(--cream-1);
}

/* Dropdown wrapper: üstten açıldıysa alt köşeleri yumuşat, üst köşeleri square */
.select2-container--open .select2-dropdown--below {
  border: 1px solid var(--cream-1);
  border-top: none;
  border-radius: 0 0 24px 24px;
  padding: 8px;
  box-shadow: 0 8px 24px 0 rgba(68, 65, 60, 0.08);
}

.select2-container--open .select2-dropdown--above {
  border: 1px solid var(--cream-1);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 8px;
  box-shadow: 0 -8px 24px 0 rgba(68, 65, 60, 0.08);
}

/* Search input: Hob form-control ruhuyla */
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--cream-1);
  border-radius: 50px;
  padding: 8px 16px;
  background-color: var(--white);
  color: var(--dark-gray);
  outline: none;
  transition: .25s ease-in-out;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--blue);
  background-color: var(--cream-3);
}

/* Result options padding & spacing */
.select2-container--default .select2-results__option {
  padding: 10px 16px;
  border-radius: 16px;
  color: var(--dark-gray);
  transition: .15s ease-in-out;
}

/* Hover & highlighted state — Bootstrap'ten gelen lila bg'yi override et */
.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[data-selected="true"]:hover {
  background-color: var(--cream-3) !important;
  color: var(--dark-gray) !important;
}

/* Seçili option — diğer satırlardan ayırt edilebilir cream tonu */
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: var(--cream-1);
  color: var(--dark-gray);
  font-weight: 500;
}

.select2-container--default
  .select2-results__option[aria-selected="true"].select2-results__option--highlighted {
  background-color: var(--cream-1) !important;
}

/* Disabled option */
.select2-container--default .select2-results__option--disabled {
  color: var(--p-color);
  opacity: 0.6;
}

/* Sonuç listesi container - cream-3 değil, white kalsın (üstte search var) */
.select2-results > .select2-results__options {
  padding: 4px 0;
}

/* Caret ikonu — daha yumuşak */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--p-color) transparent transparent transparent;
}

.select2-container--default.select2-container--open
  .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--p-color) transparent;
}

/* Multiselect chip'leri — Hob cream rengi */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--cream-1);
  border: 1px solid var(--cream-1);
  color: var(--dark-gray);
  border-radius: 50px;
  padding: 2px 10px 2px 6px;
  margin: 4px 4px 0 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: var(--p-color);
  margin-right: 4px;
}

.select2-container--default
  .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: var(--red);
}

/* Clear button (×) Hob renkleriyle */
.select2-container--default .select2-selection__clear {
  color: var(--p-color);
}

.select2-container--default .select2-selection__clear:hover {
  color: var(--red);
}