/* 90Domains v1.28: native image CAPTCHA alignment, homepage mobile search stability, and dark-mode cart cleanup */


/* Native image CAPTCHA alignment for register.php and cart.php?a=add&domain=register */
html body #default-captcha-domainchecker,
html body #captchaContainer .default-captcha,
html body .default-captcha {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html body #default-captcha-domainchecker > p,
html body #captchaContainer .default-captcha > p,
html body .default-captcha > p {
  margin: 0 0 6px !important;
  text-align: center !important;
  max-width: 100% !important;
}

html body #default-captcha-domainchecker > div,
html body #captchaContainer .default-captcha > div,
html body .default-captcha > div,
html body #default-captcha-domainchecker .row,
html body #captchaContainer .default-captcha .row,
html body .default-captcha .row,
html body #default-captcha-domainchecker .d-flex,
html body #captchaContainer .default-captcha .d-flex,
html body .default-captcha .d-flex {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

html body #default-captcha-domainchecker [class*="col-"],
html body #captchaContainer .default-captcha [class*="col-"],
html body .default-captcha [class*="col-"] {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
}

html body #default-captcha-domainchecker input#inputCaptcha,
html body #captchaContainer .default-captcha input#inputCaptcha,
html body .default-captcha input#inputCaptcha,
html body #default-captcha-domainchecker input[name="code"],
html body #captchaContainer .default-captcha input[name="code"],
html body .default-captcha input[name="code"],
html body #default-captcha-domainchecker input[name="inputCaptcha"],
html body #captchaContainer .default-captcha input[name="inputCaptcha"],
html body .default-captcha input[name="inputCaptcha"],
html body #default-captcha-domainchecker input[type="text"],
html body #captchaContainer .default-captcha input[type="text"],
html body .default-captcha input[type="text"] {
  float: none !important;
  display: inline-block !important;
  flex: 0 0 92px !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 6px 8px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  line-height: 1.25 !important;
  font-size: 14px !important;
  align-self: center !important;
  vertical-align: middle !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  border-radius: 4px !important;
}

html body #default-captcha-domainchecker img#inputCaptchaImage,
html body #captchaContainer .default-captcha img#inputCaptchaImage,
html body .default-captcha img#inputCaptchaImage {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  align-self: center !important;
  max-width: 100% !important;
  height: auto !important;
  flex: 0 0 auto !important;
  vertical-align: middle !important;
  position: static !important;
}

html body #default-captcha-domainchecker .help-block,
html body #captchaContainer .default-captcha .help-block,
html body .default-captcha .help-block {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

/* Tighten spacing specifically on the cart register-domain panel */
html body #default-captcha-domainchecker {
  max-width: 100% !important;
}

/* Dark-mode register-domain page cleanup */
html.dark-mode .breadcrumb,
html[data-theme="dark"] .breadcrumb,
body.dark-mode .breadcrumb,
body[data-theme="dark"] .breadcrumb,
body.dark-layout .breadcrumb,
body.theme-dark .breadcrumb {
  background: transparent !important;
  box-shadow: none !important;
}

html.dark-mode .breadcrumb-item,
html[data-theme="dark"] .breadcrumb-item,
body.dark-mode .breadcrumb-item,
body[data-theme="dark"] .breadcrumb-item,
body.dark-layout .breadcrumb-item,
body.theme-dark .breadcrumb-item {
  color: #aeb7e1 !important;
}

html.dark-mode .breadcrumb-item.active,
html[data-theme="dark"] .breadcrumb-item.active,
body.dark-mode .breadcrumb-item.active,
body[data-theme="dark"] .breadcrumb-item.active,
body.dark-layout .breadcrumb-item.active,
body.theme-dark .breadcrumb-item.active {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 6px 16px !important;
  background: #111a40 !important;
  border: 1px solid rgba(156, 168, 219, 0.22) !important;
  border-radius: 10px !important;
  color: #aeb7e1 !important;
  clip-path: none !important;
  box-shadow: none !important;
}

html.dark-mode .breadcrumb-item::before,
html.dark-mode .breadcrumb-item::after,
html[data-theme="dark"] .breadcrumb-item::before,
html[data-theme="dark"] .breadcrumb-item::after,
body.dark-mode .breadcrumb-item::before,
body.dark-mode .breadcrumb-item::after,
body[data-theme="dark"] .breadcrumb-item::before,
body[data-theme="dark"] .breadcrumb-item::after,
body.dark-layout .breadcrumb-item::before,
body.dark-layout .breadcrumb-item::after,
body.theme-dark .breadcrumb-item::before,
body.theme-dark .breadcrumb-item::after,
html.dark-mode .breadcrumb::before,
html.dark-mode .breadcrumb::after,
html[data-theme="dark"] .breadcrumb::before,
html[data-theme="dark"] .breadcrumb::after,
body.dark-mode .breadcrumb::before,
body.dark-mode .breadcrumb::after,
body[data-theme="dark"] .breadcrumb::before,
body[data-theme="dark"] .breadcrumb::after,
body.dark-layout .breadcrumb::before,
body.dark-layout .breadcrumb::after,
body.theme-dark .breadcrumb::before,
body.theme-dark .breadcrumb::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* v1.29: actual Kohost and standard_cart selectors, preserve v1.28 input geometry */
html body #order-standard_cart .domain-checker-container:has(#frmDomainChecker) { background: #43049f !important; border: 0 !important; border-radius:12px !important; }
html body #order-standard_cart .domain-checker-container:has(#frmDomainChecker) .domain-checker-bg { border:0 !important; border-radius:12px !important; }
html body #order-standard_cart #frmDomainChecker #captchaContainer .default-captcha { margin-left:auto !important; margin-right:auto !important; width:340px; max-width:100% !important; box-sizing:border-box; }
html[data-bs-theme="dark"] body .tt-page-header .tt-breadcrumb { background:var(--dark,#121728) !important; border:0 !important; box-shadow:none !important; border-radius:4px 4px 0 0; }
html[data-bs-theme="dark"] body .tt-page-header .tt-triangle-right { border:0 !important; width:61px; height:100%; left:-60px; background:var(--dark,#121728); clip-path:polygon(100% 0,100% 100%,0 100%); }
html[data-bs-theme="dark"] body .tt-page-header .tt-breadcrumb ol { background:transparent !important; border:0 !important; box-shadow:none !important; }
html[data-bs-theme="dark"] body .tt-page-header .tt-breadcrumb li.active,html[data-bs-theme="dark"] body .tt-page-header .tt-breadcrumb li a {color:#c3cce2 !important;}
html[data-bs-theme="dark"] body #order-standard_cart #frmDomainChecker .input-group-box textarea { background:#20283a !important; color:#f1f5ff !important; border:1px solid #536078 !important; }
html[data-bs-theme="dark"] body #order-standard_cart #frmDomainChecker .input-group-box textarea::placeholder {color:#b9c5d9 !important;}
html[data-bs-theme="dark"] body #order-standard_cart #frmDomainChecker .input-group-box label,html[data-bs-theme="dark"] body #order-standard_cart #frmDomainChecker .input-group-box button.multiselect {color:#e2e8f5 !important;}
html[data-bs-theme="dark"] body #order-standard_cart #frmDomainChecker #captchaContainer .default-captcha { background:#20283a !important; color:#e2e8f5 !important; border:1px solid #536078 !important; box-shadow:none !important; }
html[data-bs-theme="dark"] body #order-standard_cart #frmDomainChecker #captchaContainer .default-captcha input {color:#f1f5ff !important; border-color:#68748e !important;}
