/* NABTECH DEFAULT 3.3 | FIELD ALIGNMENT
 * Overrides only presentation. Native WHMCS data, radio behaviour and Select2 ownership remain unchanged.
 * No new select widget is instantiated by this stylesheet.
 */
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row,
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(110px,152px)!important;
  align-items:stretch!important;gap:11px!important;max-width:100%!important;
  margin:0!important;padding:0!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row > [class*="col-"],
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row > [class*="col-"]{
  min-width:0!important;max-width:100%!important;width:100%!important;
  padding:0!important;margin:0!important;float:none!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row .input-group,
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row .input-group{
  display:flex!important;align-items:stretch!important;width:100%!important;
  min-width:0!important;height:51px!important;margin:0!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row .form-control,
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row .form-control,
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row select:not(.select2-hidden-accessible),
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row select:not(.select2-hidden-accessible){
  height:51px!important;min-height:51px!important;max-height:51px!important;
  line-height:1.45!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;margin:0!important;
  padding-top:10px!important;padding-bottom:10px!important;
  border-radius:12px!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row .select2-container,
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row .select2-container{
  display:block!important;min-width:0!important;max-width:100%!important;
  width:100%!important;height:51px!important;min-height:51px!important;
  align-self:stretch!important;margin:0!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row .select2-selection--single,
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row .select2-selection--single{
  height:51px!important;min-height:51px!important;max-height:51px!important;
  border-radius:12px!important;box-sizing:border-box!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row .select2-selection__rendered,
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row .select2-selection__rendered{
  height:49px!important;line-height:49px!important;padding:0 35px 0 13px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row .select2-selection__arrow,
#order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row .select2-selection__arrow{
  height:49px!important;top:0!important;right:7px!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs>.row,
#order-standard_cart:not(.nd-page) .nd-domain-add-row{
  align-items:stretch!important;
}
#order-standard_cart:not(.nd-page) .nd-domain-inputs>.row > [class*="col-"] > .btn,
#order-standard_cart:not(.nd-page) .nd-domain-add-row > [class*="col-"] > .btn{
  height:51px!important;min-height:51px!important;margin:0!important;
  display:flex!important;justify-content:center!important;align-items:center!important;
  border-radius:12px!important;
}
/* WHMCS checkout icons: fixed width, vertically centered, never over placeholder text. */
#order-standard_cart #frmCheckout .form-group.prepend-icon,
#frmCheckout .form-group.prepend-icon{position:relative!important;min-width:0!important;overflow:visible!important}
#order-standard_cart #frmCheckout .form-group.prepend-icon > label.field-icon,
#frmCheckout .form-group.prepend-icon > label.field-icon{
  position:absolute!important;left:11px!important;top:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  z-index:3!important;width:26px!important;height:52px!important;
  margin:0!important;padding:0!important;color:#8094af!important;
  line-height:1!important;pointer-events:none!important;
}
#frmCheckout .form-group.prepend-icon > label.field-icon i{font-size:15px!important;line-height:1!important}
#order-standard_cart #frmCheckout .form-group.prepend-icon > .field.form-control,
#frmCheckout .form-group.prepend-icon > .field.form-control{
  width:100%!important;height:52px!important;min-height:52px!important;
  box-sizing:border-box!important;padding:11px 13px 11px 48px!important;
  margin:0!important;border-radius:13px!important;line-height:1.4!important;
}
/* Select plugins own rendered controls. Never reveal a hidden native <select>. */
#frmCheckout .form-group.prepend-icon .select2-container,
#frmCheckout .form-group.prepend-icon .select2-selection--single{
  width:100%!important;max-width:100%!important;min-height:52px!important;height:52px!important;
  box-sizing:border-box!important;
}
#frmCheckout .form-group.prepend-icon .select2-selection__rendered{
  height:50px!important;line-height:50px!important;
  padding-left:48px!important;padding-right:39px!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
#frmCheckout .form-group.prepend-icon .select2-selection__arrow{
  height:50px!important;top:0!important;
}
#frmCheckout .form-group.prepend-icon > select.nd-native-pretty{padding-left:48px!important;min-height:52px!important;height:52px!important}
/* The phone-country flag replaces a normal field icon. Prevent overlay or clipped dial codes. */
#frmCheckout .form-group.prepend-icon:has(.intl-tel-input) > label.field-icon,
#frmCheckout .form-group.prepend-icon:has(.iti) > label.field-icon{
  display:none!important;
}
#frmCheckout .form-group.prepend-icon .intl-tel-input,
#frmCheckout .form-group.prepend-icon .iti{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
#frmCheckout .form-group.prepend-icon .intl-tel-input > input[type="tel"],
#frmCheckout .form-group.prepend-icon .iti > input[type="tel"]{
  height:52px!important;min-height:52px!important;
  padding-left:116px!important;padding-right:14px!important;line-height:1.35!important;
}
#frmCheckout .form-group.prepend-icon .intl-tel-input .selected-flag,
#frmCheckout .form-group.prepend-icon .iti .iti__selected-flag{
  height:52px!important;min-width:88px!important;display:flex!important;align-items:center!important;
}
/* Neutralize background icons on controls that already have a dedicated icon. */
#frmCheckout .form-group.prepend-icon > .field.form-control,
#frmCheckout .form-group.prepend-icon .select2-selection--single{
  background-image:none!important;
}
/* Keep native selects and highlighted menu items readable regardless of external pretty-select plugin. */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.nice-select .option:hover,.nice-select .option.focus,
.choices__list--dropdown .is-highlighted,.ts-dropdown .active{
  background:#1455ac!important;color:#fff!important;
}
.select2-container--default .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted){
  background:#e8f0fc!important;color:#233e63!important;
}
/* Only browser-compatible scrollbar controls. Firefox exposes thin, not exact 2px. */
#order-standard_cart *,.select2-dropdown *{scrollbar-width:thin;scrollbar-color:transparent transparent}
#order-standard_cart *::-webkit-scrollbar,.select2-dropdown *::-webkit-scrollbar{width:2px;height:2px}
#order-standard_cart *::-webkit-scrollbar-thumb,.select2-dropdown *::-webkit-scrollbar-thumb{background:transparent}
@media(max-width:650px){
  #order-standard_cart:not(.nd-page) .nd-domain-inputs>.row,
  #order-standard_cart:not(.nd-page) .nd-domain-add-row{grid-template-columns:1fr!important;gap:10px!important}
  #order-standard_cart:not(.nd-page) .nd-domain-inputs .domains-row,
  #order-standard_cart:not(.nd-page) .nd-domain-add-row .domains-row{grid-template-columns:minmax(0,1fr) minmax(89px,120px)!important;gap:9px!important}
}
/* Reuse the same WHMCS pricing table component on the registration and transfer pages. */
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid .nd-tld-table-scroll{
  width:100%!important;overflow-x:auto!important;border:1px solid #e5ebf3!important;
  border-radius:15px!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing{
  display:table!important;width:100%!important;min-width:660px!important;
  table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;
  background:#fff!important;margin:0!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing>thead{display:table-header-group!important}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing>tbody{display:table-row-group!important}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing tr{display:table-row!important}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing :is(td,th){
  display:table-cell!important;position:static!important;float:none!important;
  box-sizing:border-box!important;padding:15px 16px!important;
  min-width:0!important;max-width:none!important;
  border:0!important;border-bottom:1px solid #edf1f7!important;
  vertical-align:middle!important;white-space:normal!important;
  font-size:13px!important;line-height:1.35!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing :is(td,th).d-none{display:none!important}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing :is(td,th):first-child{width:28%!important}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing :is(td,th):nth-child(n+3){width:24%!important}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing thead th{
  background:#f1f6fd!important;color:#526c88!important;
  font-size:11px!important;font-weight:820!important;letter-spacing:.05em!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing tbody tr:nth-child(even){background:#f8fbff!important}
#order-standard_cart.nd-page .nd-domain-pricing .ndu-pricing-grid table#tableDomainPricing .tld-label{display:none!important}
#order-standard_cart.nd-page .nd-domain-pricing .nd-pricing-controls{
  display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;
  align-items:center!important;gap:12px!important;width:100%!important;
  padding:0!important;margin:0 0 17px!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .nd-tld-category-filter{
  display:flex!important;align-items:center!important;gap:10px!important;
  flex:0 1 365px!important;min-width:0!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .nd-tld-dropdown{
  flex:1 1 230px!important;min-width:0!important;max-width:310px!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .nd-tld-dropdown>button{
  width:100%!important;max-width:100%!important;min-height:45px!important;height:45px!important;
  padding:9px 14px!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .nd-tld-search{
  flex:0 1 320px!important;min-width:195px!important;
  width:100%!important;max-width:320px!important;margin:0!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .nd-tld-search input#table-search{
  width:100%!important;min-height:45px!important;height:45px!important;
  padding:9px 13px 9px 42px!important;margin:0!important;
}
#order-standard_cart.nd-page .nd-domain-pricing .nd-tld-dropdown .dropdown-menu{
  z-index:20000!important;max-height:290px!important;overflow-y:auto!important;
  max-width:min(350px,calc(100vw - 28px))!important;
}
/* Select2 is optional. Existing customer-installed select widgets receive consistent dimensions. */
#order-standard_cart:not(.nd-page) .domains-row :is(.nice-select,.bootstrap-select,.ts-wrapper,.choices,.ss-main),
#order-standard_cart:not(.nd-page) .domains-row :is(.nice-select,.bootstrap-select>.dropdown-toggle,.ts-control,.choices__inner,.ss-single-selected){
  min-height:51px!important;height:51px!important;line-height:1.4!important;
  border-radius:12px!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;
}
#order-standard_cart:not(.nd-page) .domains-row :is(.ts-control,.choices__inner,.ss-single-selected,.nice-select){
  display:flex!important;align-items:center!important;padding:0 13px!important;
}
#frmCheckout .form-group.prepend-icon :is(.nice-select,.choices__inner,.ts-control,.ss-main,.bootstrap-select>.dropdown-toggle){
  height:52px!important;min-height:52px!important;
  max-width:100%!important;box-sizing:border-box!important;
}
@media(max-width:610px){
  #order-standard_cart.nd-page .nd-domain-pricing .nd-pricing-controls{
    flex-direction:column!important;align-items:stretch!important;
  }
  #order-standard_cart.nd-page .nd-domain-pricing .nd-tld-category-filter,
  #order-standard_cart.nd-page .nd-domain-pricing .nd-tld-search{
    width:100%!important;max-width:100%!important;flex:0 0 auto!important;
  }
  #order-standard_cart.nd-page .nd-domain-pricing .nd-tld-dropdown{max-width:none!important}
}
#order-standard_cart.nd-page table#tableDomainPricing.w-hidden{display:none!important}
