﻿/* Select2 look for State / City / Property / Service drop-downs (light + dark mode) */
/* ===== Select2 (State / City / Property / Service) - same look as the other fields ===== */
.gv-host{position:relative}
.select2-container{width:100%!important;display:block;font-family:INR,Sora,system-ui,sans-serif}
.select2-container--default .select2-selection--single{height:52px;display:flex;align-items:center;background:var(--card,#fff);border:1.5px solid var(--line,#dbe6f2);border-radius:14px;transition:border-color .15s,box-shadow .15s}
.cf-f .select2-container--default .select2-selection--single{height:54px}
.mc .select2-container--default .select2-selection--single{height:51px}
.cx .select2-container--default .select2-selection--single{height:46px;border-radius:10px}
.select2-container--default .select2-selection--single .select2-selection__rendered{flex:1;min-width:0;padding:0 40px 0 14px;line-height:1.3;font-size:16px;color:var(--ink,#102033);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#7a8aa3}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;top:0;right:8px;width:26px}
.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#0a4aa6 transparent transparent;border-width:6px 5px 0;margin-left:-5px;margin-top:-3px}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #0a4aa6;border-width:0 5px 6px}
.select2-container--default.select2-container--focus .select2-selection--single,.select2-container--default.select2-container--open .select2-selection--single{border-color:var(--blue,#1688e0);box-shadow:0 0 0 3px rgba(22,136,224,.22);outline:0}
select[aria-invalid="true"]+.select2 .select2-selection--single{border-color:#e03131!important;background:rgba(224,49,49,.05)!important;box-shadow:0 0 0 3px rgba(224,49,49,.13)!important}
select.gv-ok+.select2 .select2-selection--single{border-color:#2f9e44!important}
.select2-container--open{z-index:2000}
.select2-dropdown.gs2-dd{background:var(--card,#fff);color:var(--ink,#102033);border:1px solid var(--line,#dbe6f2);border-radius:16px;box-shadow:var(--sh2,0 18px 40px rgba(6,40,90,.22));overflow:hidden;font-family:INR,Hind,Sora,system-ui,sans-serif;z-index:2000}
.select2-dropdown.gs2-dd .select2-search--dropdown{padding:10px 10px 4px}
.select2-dropdown.gs2-dd .select2-search__field{min-height:44px;height:44px;padding:0 12px;font-size:16px;border:1.5px solid var(--line,#dbe6f2)!important;border-radius:12px;background:var(--bg,#fff);color:var(--ink,#102033);width:100%;box-sizing:border-box}
.select2-dropdown.gs2-dd .select2-search__field:focus{border-color:#1688e0!important;outline:0;box-shadow:0 0 0 3px rgba(22,136,224,.22)}
.select2-dropdown.gs2-dd .select2-results__options{max-height:260px;padding:6px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.select2-dropdown.gs2-dd .select2-results__option{padding:10px 14px;border-radius:11px;font:600 15px/1.3 INR,Hind,system-ui,sans-serif;color:var(--ink,#12233f)}
.select2-dropdown.gs2-dd .select2-results__option--highlighted[aria-selected],.select2-dropdown.gs2-dd .select2-results__option--highlighted{background:#fff3d6!important;color:#06285a!important}
.select2-dropdown.gs2-dd .select2-results__option--selected,.select2-dropdown.gs2-dd .select2-results__option[aria-selected=true]{background:#e8f1fd;color:#0a4aa6}
.select2-dropdown.gs2-dd .select2-results__option--selected:after{content:"\2713";float:right;font-weight:800;color:#2a9a2f}
.select2-dropdown.gs2-dd .select2-results__message{color:#53647f;font-weight:500}
/* ===== DARK MODE: bright, readable text everywhere in State / City / Property / Service drop-downs ===== */
@media(prefers-color-scheme:dark){
.select2-container--default .select2-selection--single{background:#081a35!important;border-color:#2b4676!important}
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered *{color:#f2f6fc!important;-webkit-text-fill-color:#f2f6fc}
.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#9db0cc!important;-webkit-text-fill-color:#9db0cc}
.select2-container--default .select2-selection--single .select2-selection__clear{color:#cfe0f7}
.select2-container--default .select2-selection--single .select2-selection__arrow b{border-top-color:#b9c9e2}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-bottom-color:#b9c9e2;border-top-color:transparent}
.select2-container--default.select2-container--focus .select2-selection--single,.select2-container--default.select2-container--open .select2-selection--single{border-color:#4da3ff!important;box-shadow:0 0 0 3px rgba(77,163,255,.28)}
.select2-dropdown.gs2-dd{background:#0e2140!important;color:#f2f6fc!important;border-color:#2b4676!important;color-scheme:dark}
.select2-dropdown.gs2-dd .select2-search__field{background:#081a35!important;color:#f2f6fc!important;border-color:#2b4676!important;-webkit-text-fill-color:#f2f6fc;caret-color:#fff}
.select2-dropdown.gs2-dd .select2-search__field::placeholder{color:#8ea3c4}
.select2-dropdown.gs2-dd .select2-results__option{color:#eef3fb!important;background:transparent!important}
.select2-dropdown.gs2-dd .select2-results__option--highlighted,.select2-dropdown.gs2-dd .select2-results__option--highlighted[aria-selected]{background:#1f4a8c!important;color:#fff!important}
.select2-dropdown.gs2-dd .select2-results__option--selected,.select2-dropdown.gs2-dd .select2-results__option[aria-selected=true]{background:#163666!important;color:#bfe0ff!important}
.select2-dropdown.gs2-dd .select2-results__option--selected:after{color:#7be06a}
.select2-dropdown.gs2-dd .select2-results__option[aria-disabled=true]{color:#7f93b3!important}
.select2-dropdown.gs2-dd .select2-results__message{color:#b4c4dd}
select[aria-invalid="true"]+.select2 .select2-selection--single{background:rgba(224,49,49,.14)!important}
}
