/* YCW Portal RC43 | Advanced domain search, native WHMCS multiselect hardening.
   This stylesheet only changes presentation. It never changes TLD filters,
   the lookup request, pricing, availability or WHMCS cart actions. */
#order-ycw-of.ycw-domain-register-page .ycw-domain-options-panel.in,
#order-ycw-of.ycw-domain-register-page .ycw-domain-options-panel.show {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:20px!important;padding:20px!important;
  overflow:visible!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-search-shell,
#order-ycw-of.ycw-domain-register-page .domain-checker-bg,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field {
  overflow:visible!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field {
  position:relative!important;min-width:0!important;display:flex!important;
  flex-direction:column!important;align-items:stretch!important;gap:0!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-label {
  display:block!important;margin:0 0 9px!important;font-size:13px!important;
  font-weight:700!important;line-height:1.4!important;
}
/* The native select is the WHMCS data source. Bootstrap multiselect inserts its
   own button; do NOT redisplay the original select after enhancement. In the
   no-JS state the original select stays available as a fallback. */
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field:has(> .btn-group) > select.multiselect {
  display:none!important;visibility:hidden!important;position:absolute!important;
  width:1px!important;height:1px!important;overflow:hidden!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > select.multiselect:not([style*='display: none']):not([style*='display:none']) {
  max-width:100%!important;box-sizing:border-box!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group.open,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group.show {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:100%!important;min-width:0!important;float:none!important;position:relative!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group > button.multiselect,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group > .btn,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > select.multiselect {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;max-width:100%!important;min-height:48px!important;
  padding:12px 16px!important;margin:0!important;text-align:left!important;
  font:600 14px/1.45 Poppins,Arial,sans-serif!important;color:#1c2d45!important;
  background:#fff!important;border:1px solid #d8e2ed!important;border-radius:12px!important;
  box-shadow:none!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
/* Repeat for the original select so both select/plugin modes work. */
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field:has(> .btn-group) > select.multiselect {display:none!important;}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group > button.multiselect .caret {margin-left:auto!important;flex-shrink:0!important;}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group.open > button.multiselect,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group > button.multiselect:focus-visible {
  border-color:#ff5900!important;box-shadow:0 0 0 3px rgba(255,89,0,.12)!important;
}
/* Bootstrap dropdown expands directly BELOW its own button, within the field.
   No fixed positioning, overlap with the following section, or viewport-wide popup. */
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .btn-group > ul.multiselect-container,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .btn-group > .dropdown-menu {
  display:none!important;position:static!important;transform:none!important;
  inset:auto!important;top:auto!important;left:auto!important;right:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  max-height:252px!important;margin:8px 0 0!important;padding:7px!important;
  box-sizing:border-box!important;float:none!important;overflow-y:auto!important;overflow-x:hidden!important;
  background:#fff!important;border:1px solid #d8e2ed!important;
  border-radius:12px!important;box-shadow:0 10px 22px rgba(17,32,53,.10)!important;
  color:#22344f!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .btn-group.open > ul.multiselect-container,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .btn-group.open > .dropdown-menu,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .btn-group.show > ul.multiselect-container,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .btn-group.show > .dropdown-menu {display:block!important;}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li {margin:0!important;padding:0!important;list-style:none!important;}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a:hover,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li.active > a {
  display:block!important;padding:0!important;background:transparent!important;
  color:#22344f!important;text-decoration:none!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a > label,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a > label.checkbox,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a > label.radio {
  display:flex!important;align-items:center!important;gap:11px!important;
  min-height:42px!important;padding:10px 11px!important;margin:0!important;
  background:transparent!important;color:#22344f!important;
  font:500 13px/1.45 Poppins,Arial,sans-serif!important;
  white-space:normal!important;text-indent:0!important;border-radius:8px!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a > label:hover {background:#f3f6fa!important;}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a > label > input[type='checkbox'],
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a > label > input[type='radio'] {
  position:static!important;display:inline-block!important;float:none!important;
  opacity:1!important;inset:auto!important;transform:none!important;
  flex:0 0 18px!important;width:18px!important;height:18px!important;
  min-width:18px!important;margin:0!important;padding:0!important;
  vertical-align:middle!important;accent-color:#ff5900!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container .input-group {
  display:flex!important;width:100%!important;min-width:0!important;margin:0 0 7px!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container .input-group > .form-control,
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container input.multiselect-search {
  min-width:0!important;flex:1 1 auto!important;min-height:40px!important;
  padding:8px 12px!important;border-radius:9px!important;border:1px solid #d8e2ed!important;
  color:#1c2d45!important;background:#fff!important;font-size:13px!important;
}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container input::placeholder {color:#8997ab!important;opacity:1!important;}
#order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container .input-group-addon {
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0 12px!important;background:#f3f6fa!important;color:#62748c!important;
  border:1px solid #d8e2ed!important;border-radius:9px 0 0 9px!important;
}
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-options-panel {background:#1b293c!important;border-color:#3d5068!important;}
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-label {color:#c5d3e7!important;}
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group > button.multiselect,
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group > .btn,
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > select.multiselect,
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .btn-group > .multiselect-container,
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .btn-group > .dropdown-menu {
  color:#eaf2fe!important;background:#17253a!important;border-color:#40536e!important;
}
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a,
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a > label,
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li.active > a {
  color:#ecf4ff!important;background:transparent!important;
}
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container > li > a > label:hover {background:#273951!important;}
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container .input-group > .form-control,
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container input.multiselect-search {
  color:#eaf2fe!important;background:#22334b!important;border-color:#485c78!important;
}
html[data-ycw-theme='dark'] body.ycw-portal #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field .multiselect-container .input-group-addon {background:#2b3c54!important;color:#c3d4ea!important;border-color:#485c78!important;}
@media(max-width:767px) {
 #order-ycw-of.ycw-domain-register-page .ycw-domain-options-panel.in,
 #order-ycw-of.ycw-domain-register-page .ycw-domain-options-panel.show {
  grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:15px!important;
 }
 #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > .btn-group > button.multiselect,
 #order-ycw-of.ycw-domain-register-page .ycw-domain-option-field > select.multiselect {min-height:48px!important;}
}
