/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

#main-body.xhosting-homepage-body,
#main-body.xhosting-orderform-body,
#main-body.xhosting-splitscreen-body {
  padding: 0;
}

#main-body.xhosting-splitscreen-body > .primary-content {
  width: 100%;
  max-width: none;
  padding: 0;
  flex: none;
}

/* Login/Register/Password-Reset split-screen height fix */
.login__area > .container-fluid > .row {
    min-height: calc(100vh - 80px);
}
.login__area > .container-fluid > .row > .col-md-6:last-child {
    position: relative;
}
.login__area .login__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 80px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Scrollable form area for long forms (register) */
.login__area .login__form-inner--scroll {
  min-height: calc(100vh - 80px);
  overflow: visible;
  justify-content: flex-start !important;
  padding-top: 40px;
  padding-bottom: 40px;
}
.login__area .login__form-inner--scroll .login__form-wrap {
  overflow: visible;
  flex: 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 15px;
}

.login__area .login__form .row {
  min-height: 0;
}

.login__form .form__grp select {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: var(--tg-heading-color);
  border: 1px solid var(--tg-border-2);
  border-radius: 8px;
  padding: 14px 20px 14px 55px;
  height: 56px;
  background-color: #fff;
  display: block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.41 0L6 4.58L10.59 0L12 1.41L6 7.41L0 1.41L1.41 0Z' fill='%23717484'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 8px;
}

.login__form .form__grp select:focus {
  border-color: var(--tg-heading-color);
  outline: none;
}

.xhosting-register-extra {
  border: 1px solid var(--tg-border-2);
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.72);
}

.xhosting-register-extra h4 {
  font-size: 16px;
  margin: 0 0 14px;
}

.xhosting-register-extra .row {
  min-height: 0;
}

/* Captcha uyum düzenlemesi */
.captcha-wrapper .row {
    margin-right: 0;
    margin-left: 0;
}
.captcha-wrapper .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.captcha-wrapper .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 8px;
    padding-right: 8px;
}
.login__form-wrap::-webkit-scrollbar {
    width: 6px;
}
.login__form-wrap::-webkit-scrollbar-track {
    background: transparent;
}
.login__form-wrap::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}
.login__form-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}
:root {
/* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

#main-body.xhosting-homepage-body,
#main-body.xhosting-orderform-body,
#main-body.xhosting-splitscreen-body {
  padding: 0;
}

#main-body.xhosting-splitscreen-body > .primary-content {
  width: 100%;
  max-width: none;
  padding: 0;
  flex: none;
}

/* Login/Register/Password-Reset split-screen height fix */
.login__area > .container-fluid > .row {
    min-height: calc(100vh - 80px);
}
.login__area > .container-fluid > .row > .col-md-6:last-child {
    position: relative;
}
.login__area .login__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 80px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Scrollable form area for long forms (register) */
.login__area .login__form-inner--scroll {
  min-height: calc(100vh - 80px);
  overflow: visible;
  justify-content: flex-start !important;
  padding-top: 40px;
  padding-bottom: 40px;
}
.login__area .login__form-inner--scroll .login__form-wrap {
  overflow: visible;
  flex: 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 15px;
}

.login__area .login__form .row {
  min-height: 0;
}

.login__form .form__grp select {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: var(--tg-heading-color);
  border: 1px solid var(--tg-border-2);
  border-radius: 8px;
  padding: 14px 20px 14px 55px;
  height: 56px;
  background-color: #fff;
  display: block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.41 0L6 4.58L10.59 0L12 1.41L6 7.41L0 1.41L1.41 0Z' fill='%23717484'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 8px;
}

.login__form .form__grp select:focus {
  border-color: var(--tg-heading-color);
  outline: none;
}

.xhosting-register-extra {
  border: 1px solid var(--tg-border-2);
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.72);
}

.xhosting-register-extra h4 {
  font-size: 16px;
  margin: 0 0 14px;
}

.xhosting-register-extra .row {
  min-height: 0;
}

/* Captcha uyum düzenlemesi */
.captcha-wrapper .row {
    margin-right: 0;
    margin-left: 0;
}
.captcha-wrapper .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.captcha-wrapper .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 8px;
    padding-right: 8px;
}
.login__form-wrap::-webkit-scrollbar {
    width: 6px;
}
.login__form-wrap::-webkit-scrollbar-track {
    background: transparent;
}
.login__form-wrap::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}
.login__form-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}

header {
    position: relative;
    z-index: 10000;
}

.tg-header__area,
#sticky-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    transform: translateX(0);
    z-index: 9999;
    background: var(--tg-color-white-default, #ffffff);
}

#sticky-header {
    border-radius: 0 !important;
    overflow: visible;
    will-change: background, box-shadow, border-radius, backdrop-filter, top, left, right;
    transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                -webkit-backdrop-filter 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                top 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                right 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: none !important;
    -webkit-animation: none !important;
}

.tg-header__area .mobile-nav-toggler {
    position: relative;
    z-index: 31;
}

header.xhosting-fixed-header-scope #sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: var(--nexus-scrollbar-width, 0px);
    width: auto;
    max-width: none;
    margin: 0 auto;
    transform: translateX(0);
}

header.xhosting-fixed-header-scope {
    --nexus-sticky-inline-gap: max(16px, 2.5vw, calc((100vw - var(--nexus-scrollbar-width, 0px) - 1400px) / 2));
    --nexus-sticky-left: var(--nexus-sticky-inline-gap);
    --nexus-sticky-right: calc(var(--nexus-scrollbar-width, 0px) + var(--nexus-sticky-left));
}

header.xhosting-fixed-header-scope #header-fixed-height {
    display: block;
    height: var(--nexus-header-height, 74px);
}

header.xhosting-fixed-header-scope #sticky-header:not(.sticky-menu) {
    top: 0 !important;
    left: 0 !important;
    right: var(--nexus-scrollbar-width, 0px) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--tg-border-2, #e5e7eb) !important;
    background: var(--tg-color-white-default, #ffffff) !important;
    box-shadow: none !important;
    transform: translateX(0) !important;
}

header.xhosting-fixed-header-scope #sticky-header:not(.sticky-menu) .tgmenu__nav {
    padding: 0 !important;
}

header.xhosting-fixed-header-scope #sticky-header:not(.sticky-menu) .tgmenu__navbar-wrap > ul > li > a {
    padding-top: 29px !important;
    padding-bottom: 29px !important;
}

header.xhosting-fixed-header-scope #sticky-header:not(.sticky-menu) .logo img {
    max-height: 45px !important;
}

.xhosting-homepage-shell.primary-content {
    width: 100%;
    max-width: none;
    padding: 0;
}

.language__select .xhosting-footer-locale-trigger {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--tg-heading-color);
    border: 0;
    border-radius: 8px;
    color: #f3f5f8;
    cursor: pointer;
    display: block;
    font-size: 12px;
    font-weight: 500;
    height: 32px;
    line-height: 1.2;
    min-width: 104px;
    padding: 5px 28px 5px 12px;
    text-align: left;
    text-transform: capitalize;
    width: 100%;
    -webkit-text-fill-color: #f3f5f8;
}

.footer__cart-wrap-two .language__select .xhosting-footer-locale-trigger {
    background: var(--tg-color-white-default);
    color: var(--tg-heading-color);
    -webkit-text-fill-color: var(--tg-heading-color);
}

.language__select .xhosting-footer-locale-trigger:focus {
    outline: none;
}

#modalChooseLanguage .modal-content {
    background: #fff;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
}

#modalChooseLanguage .modal-body {
    padding: 28px 28px 20px;
    color: var(--tg-heading-color) !important;
    -webkit-text-fill-color: var(--tg-heading-color);
}

#modalChooseLanguage .modal-body .close {
    color: var(--tg-heading-color);
    opacity: 1;
}

#modalChooseLanguage .modal-body h5,
#modalChooseLanguage .modal-body p,
#modalChooseLanguage .modal-body span,
#modalChooseLanguage .modal-body a {
    color: var(--tg-heading-color) !important;
    -webkit-text-fill-color: var(--tg-heading-color);
}

#modalChooseLanguage .item-selector {
    row-gap: 12px;
}

#modalChooseLanguage .item-selector .item {
    background: #f5f7ff;
    border: 1px solid #e3e8ff;
    border-radius: 12px;
    color: var(--tg-heading-color) !important;
    display: block;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 14px;
    text-align: center;
    -webkit-text-fill-color: var(--tg-heading-color);
}

#modalChooseLanguage .item-selector .item.active {
    background: var(--tg-theme-secondary);
    border-color: var(--tg-theme-secondary);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

#modalChooseLanguage .modal-footer {
    background: #fff;
    border-top: 1px solid #edf1ff;
    justify-content: flex-end;
    padding: 18px 28px 28px;
}

#modalChooseLanguage .modal-footer .btn.btn-default {
    background: var(--tg-theme-secondary);
    border: 1px solid var(--tg-theme-secondary);
    border-radius: 999px;
    box-shadow: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    min-width: 120px;
    padding: 14px 24px;
}

#modalChooseLanguage .modal-footer .btn.btn-default:hover,
#modalChooseLanguage .modal-footer .btn.btn-default:focus {
    background: var(--tg-heading-color);
    border-color: var(--tg-heading-color);
    color: #fff;
}

.hosting__top-content-four .tg-black-btn-two.tg-white-btn-two.active {
    background: var(--tg-color-white-default);
    border-color: var(--tg-color-white-default);
    color: var(--tg-heading-color);
}

.hosting__top-content-four .tg-black-btn-two.tg-white-btn-two.active:hover {
    background: var(--tg-heading-color);
    border-color: var(--tg-heading-color);
    color: var(--tg-color-white-default);
}

.xhosting-domain-search-form {
    margin-bottom: 24px;
}

.xhosting-domain-search-row {
    position: relative;
}

.xhosting-domain-search-row > svg {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tg-color-gray-4);
    z-index: 2;
}

.xhosting-domain-search-row input {
    padding-left: 68px !important;
}


.xhosting-domain-search-row .domain__search-action {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

#frmDomainHomepage .domainchecker-homepage-captcha {
    margin-top: 16px;
    padding: 18px 22px 14px;
    background: var(--tg-color-white-default);
    border: 1px solid var(--tg-border-1);
    border-radius: 16px;
}

#frmDomainHomepage .domainchecker-homepage-captcha p {
    margin-bottom: 12px;
}

#frmDomainHomepage .domainchecker-homepage-captcha .row {
    align-items: center;
}

#frmDomainHomepage .domainchecker-homepage-captcha input.form-control {
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
}

@media (max-width: 1199.98px) {
    .xhosting-domain-search-row > svg {
        left: 15px;
    }
    .xhosting-domain-search-row input {
        padding-left: 56px !important;
    }
}

@media (max-width: 767.98px) {
    .xhosting-domain-search-row > svg {
        top: 17px;
        transform: translateY(0);
    }

    .xhosting-domain-search-row .domain__search-action {
        position: inherit;
        right: auto;
        top: 0;
        transform: translateY(0);
justify-content: center;
}
}

/* ===== Client Area Home: Stat Tiles ===== */
.client-home-stats {
  margin-bottom: 1.5rem;
}
.counter__item-two--link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--tg-border-1, #e4e4e7);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.counter__item-two--link:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.counter__item-two--link .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--tg-theme-secondary, #f3f5f8);
  font-size: 20px;
  color: var(--tg-theme-secondary, #0e6eff);
}
.counter__item-two--link .content {
  flex: 1;
  min-width: 0;
}
.counter__item-two--link .content .count {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--tg-heading-color, #0e1b36);
  margin: 0;
}
.counter__item-two--link .content p {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--tg-color-gray-4, #7c7e93);
  margin: 4px 0 0;
  white-space: nowrap;
}
.counter__item-two--link .highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 0 0 12px 12px;
}

/* ===== Client Area Home: Panel Cards ===== */
.xh-card {
  background: #fff;
  border: 1px solid var(--tg-border-1, #e4e4e7);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.xh-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--tg-border-1, #e4e4e7);
  background: var(--tg-color-gray-5, #f8f9fd);
}
.xh-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--tg-heading-color, #0e1b36);
}
.xh-card-title i {
  color: var(--tg-theme-secondary, #0e6eff);
}
.xh-card-title .badge {
  background: var(--tg-theme-secondary, #0e6eff);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  vertical-align: middle;
}
.xh-card-title .tg-btn.btn-xs {
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 6px;
}
.xh-card-body {
  padding: 20px;
}
.xh-card .list-group {
  max-height: 220px;
  overflow-y: auto;
}
.xh-card .list-group-item {
  padding: 10px 20px;
  border: none;
  border-bottom: 1px solid var(--tg-border-1, #e4e4e7);
  font-size: 14px;
  color: var(--tg-color-gray-4, #7c7e93);
  transition: background 0.2s;
}
.xh-card .list-group-item:last-child {
  border-bottom: none;
}
.xh-card .list-group-item:hover {
  background: var(--tg-color-gray-5, #f8f9fd);
}
.xh-card .list-group-item.active {
  background: var(--tg-theme-secondary, #0e6eff);
  color: #fff;
  border-color: var(--tg-theme-secondary, #0e6eff);
}
.xh-card .list-group-item i {
  color: var(--tg-theme-secondary, #0e6eff);
  margin-right: 6px;
}
.xh-card .list-group-item.active i {
  color: #fff;
}
.xh-card .list-group-item .badge {
  background: var(--tg-theme-secondary, #0e6eff);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 20px;
}
.xh-card .list-group-item.active .badge {
  background: rgba(255, 255, 255, 0.25);
}
.xh-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--tg-border-1, #e4e4e7);
  background: var(--tg-color-gray-5, #f8f9fd);
  font-size: 13px;
}

/* Card accent colors — map bg-color-* to xh-card top border */
.xh-card.card-accent-blue { border-top: 3px solid var(--info, #155dfc); }
.xh-card.card-accent-green { border-top: 3px solid var(--success, #00a63e); }
.xh-card.card-accent-red { border-top: 3px solid var(--error, #e7000b); }
.xh-card.card-accent-gold { border-top: 3px solid var(--warning, #f54a00); }
.xh-card.card-accent-orange { border-top: 3px solid var(--warning, #f54a00); }
.xh-card.card-accent-purple { border-top: 3px solid var(--notice, #7f22fe); }
.xh-card.card-accent-pink { border-top: 3px solid var(--pink-400, #fb64b6); }
.xh-card.card-accent-cyan { border-top: 3px solid var(--teal-300, #46edd5); }
.xh-card.card-accent-primary { border-top: 3px solid var(--primary, #111827); }
.xh-card.card-accent-secondary { border-top: 3px solid var(--secondary, #6b7280); }

@media (max-width: 767.98px) {
  .counter__item-two--link {
    padding: 16px;
    gap: 12px;
  }
  .counter__item-two--link .icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .counter__item-two--link .content .count {
    font-size: 22px;
  }
.counter__item-two--link .content p {
  font-size: 11px;
}
}

/* ===== Client Area xHosting polish overrides ===== */
#main-body:not(.xhosting-homepage-body):not(.xhosting-orderform-body):not(.xhosting-splitscreen-body) {
  background:
    radial-gradient(circle at top right, rgba(0, 199, 83, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}

#main-body .sidebar .panel,
#main-body .sidebar .card {
  border: 1px solid rgba(24, 25, 28, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 25, 28, 0.06);
  overflow: hidden;
}

#main-body .sidebar .panel-heading,
#main-body .sidebar .card-header {
  border-bottom: 1px solid rgba(24, 25, 28, 0.08);
  background: #fff;
  color: #18191c;
  font-weight: 800;
}

#main-body .sidebar .list-group-item,
#main-body .sidebar a.list-group-item {
  border-color: rgba(24, 25, 28, 0.07);
  color: #18191c;
}

#main-body .sidebar a.list-group-item:hover {
  background: rgba(30, 197, 94, 0.08);
  color: var(--tg-theme-primary);
}

.client-home-stats {
  margin-bottom: 2rem;
}

.counter__item-two--link {
  min-height: 104px;
  padding: 22px 24px;
  border: 1px solid rgba(24, 25, 28, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(24, 25, 28, 0.08);
}

.counter__item-two--link:hover {
  box-shadow: 0 22px 50px rgba(24, 25, 28, 0.12);
}

.counter__item-two--link .icon {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tg-theme-primary, #00c753), #6f4dee);
  color: #fff;
}

.counter__item-two--link .content .count,
.xh-card-title {
  color: #18191c;
  font-weight: 800;
}

.counter__item-two--link .content p {
  color: #5d6370;
}

.counter__item-two--link .highlight {
  height: 4px;
  border-radius: 0 0 16px 16px;
}

.xh-card {
  border: 1px solid rgba(24, 25, 28, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(24, 25, 28, 0.07);
}

.xh-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(24, 25, 28, 0.08);
  background: #fff;
}

.xh-card-title i,
.xh-card .list-group-item i {
  color: var(--tg-theme-primary, #00c753);
}

.xh-card-title .badge,
.xh-card .list-group-item .badge,
.xh-card .list-group-item.active {
  background: var(--tg-theme-primary, #00c753);
}

.xh-card-title .tg-btn.btn-xs {
  padding: 6px 16px;
  border-radius: 999px;
}

.xh-card-body {
  padding: 22px;
}

.xh-card .list-group-item {
  border-bottom-color: rgba(24, 25, 28, 0.08);
  color: #5d6370;
}

.xh-card .list-group-item:hover {
  background: rgba(30, 197, 94, 0.08);
  color: #18191c;
}

.xh-card-footer {
  border-top: 1px solid rgba(24, 25, 28, 0.08);
  background: #f7f8fb;
}

/* ===== Client Area: Xhosting-style Data Tables ===== */
.xh-table-container {
  background: #fff;
  border: 1px solid var(--tg-border-1, #e4e4e7);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.xh-table-container .table {
  margin-bottom: 0;
}
.xh-table-container .table thead th {
  background: var(--tg-theme-secondary, #0e6eff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  border: none;
  white-space: nowrap;
}
.xh-table-container .table thead th:first-child {
  border-radius: 12px 0 0 0;
}
.xh-table-container .table thead th:last-child {
  border-radius: 0 12px 0 0;
}
.xh-table-container .table thead th.sorting::after,
.xh-table-container .table thead th.sorting_asc::after,
.xh-table-container .table thead th.sorting_desc::after {
  opacity: 0.7;
}
.xh-table-container .table tbody tr {
  transition: background 0.2s;
}
.xh-table-container .table tbody tr:hover {
  background: var(--tg-color-gray-5, #f8f9fd);
  cursor: pointer;
}
.xh-table-container .table tbody td {
  padding: 14px 20px;
  border: none;
  border-bottom: 1px solid var(--tg-border-1, #e4e4e7);
  font-size: 14px;
  color: var(--tg-body-color, #5c5f74);
  vertical-align: middle;
}
.xh-table-container .table tbody tr:last-child td {
  border-bottom: none;
}
.xh-table-container .table tbody td strong {
  color: var(--tg-heading-color, #0e1b36);
  font-weight: 600;
}
.xh-table-container .table tbody td a {
  color: var(--tg-theme-secondary, #0e6eff);
}
.xh-table-container .table tbody td a:hover {
  text-decoration: underline;
}
.xh-table-container .label.status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.xh-table-container .label.status-active,
.xh-table-container .label.status-paid {
  background: #e6f9ed;
  color: #00a63e;
}
.xh-table-container .label.status-pending,
.xh-table-container .label.status-unpaid {
  background: #fff3e6;
  color: #f54a00;
}
.xh-table-container .label.status-cancelled,
.xh-table-container .label.status-terminated,
.xh-table-container .label.status-fraud,
.xh-table-container .label.status-cancelled {
  background: #fde8e8;
  color: #e7000b;
}
.xh-table-container .label.status-suspended {
  background: #f0e6ff;
  color: #7f22fe;
}
.xh-table-container .label.status-completed,
.xh-table-container .label.status-processed {
  background: #e0f5ff;
  color: #155dfc;
}
.xh-table-container .label.status-refunded {
  background: #e8e8e8;
  color: #6b7280;
}
.xh-table-container .label.status-expired {
  background: #f5f0e6;
  color: #9f6800;
}
.xh-table-container .label.status-Grace,
.xh-table-container .label.status-grace {
  background: #fff8e0;
  color: #b8860b;
}
.xh-table-container #tableLoading {
  padding: 30px;
}
.xh-table-container #tableLoading p {
  color: var(--tg-color-gray-4, #7c7e93);
  font-size: 14px;
}
.xh-table-container .dataTables_filter input {
  border: 1px solid var(--tg-border-1, #e4e4e7);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  margin-left: 8px;
}
.xh-table-container .dataTables_length select {
  border: 1px solid var(--tg-border-1, #e4e4e7);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 14px;
}
.xh-table-container .dataTables_info {
  font-size: 13px;
  color: var(--tg-color-gray-4, #7c7e93);
  padding: 12px 20px;
}
.xh-table-container .dataTables_paginate {
  padding: 12px 20px;
}
.xh-table-container .dataTables_paginate .paginate_button {
  border-radius: 6px !important;
  margin: 0 2px;
}

@media (max-width: 767.98px) {
  .xh-table-container {
    overflow-x: auto;
  }
  .xh-table-container .table thead th {
    padding: 10px 14px;
    font-size: 13px;
  }
  .xh-table-container .table tbody td {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ===== Invoice Page: Xhosting Visual Style ===== */
.xh-invoice-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.xh-invoice-container .invoice-status span {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.xh-invoice-container .invoice-status .draft {
  background: #e8e8e8;
  color: #6b7280;
}
.xh-invoice-container .invoice-status .unpaid {
  background: #fff3e6;
  color: #f54a00;
}
.xh-invoice-container .invoice-status .paid,
.xh-invoice-container .invoice-status .paid {
  background: #e6f9ed;
  color: #00a63e;
}
.xh-invoice-container .invoice-status .refunded {
  background: #e0f5ff;
  color: #155dfc;
}
.xh-invoice-container .invoice-status .cancelled {
  background: #fde8e8;
  color: #e7000b;
}
.xh-invoice-container .invoice-status .collections {
  background: #f0e6ff;
  color: #7f22fe;
}
.xh-invoice-container .xh-card {
  background: #fff;
  border: 1px solid var(--tg-border-1, #e4e4e7);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.xh-invoice-container .xh-card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--tg-border-1, #e4e4e7);
  background: var(--tg-color-gray-5, #f8f9fd);
}
.xh-invoice-container .xh-card-header.bg-success {
  background: #e6f9ed !important;
  color: #00a63e !important;
  border-bottom: 1px solid #c6f0d6;
}
.xh-invoice-container .xh-card-header.bg-info {
  background: #e0f5ff !important;
  color: #155dfc !important;
  border-bottom: 1px solid #b8daff;
}
.xh-invoice-container .xh-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--tg-heading-color, #0e1b36);
}
.xh-invoice-container .font-size-24 {
  font-size: 20px;
}
.xh-invoice-container .xh-card-body {
  padding: 20px;
}
.xh-invoice-container .table {
  margin-bottom: 0;
}
.xh-invoice-container .table thead td {
  background: var(--tg-theme-secondary, #0e6eff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
}
.xh-invoice-container .table tbody td {
  padding: 12px 20px;
  border: none;
  border-bottom: 1px solid var(--tg-border-1, #e4e4e7);
  font-size: 14px;
  color: var(--tg-body-color, #5c5f74);
}
.xh-invoice-container .table tbody tr:last-child td {
  border-bottom: none;
}
.xh-invoice-container .table .total-row {
  background: var(--tg-color-gray-5, #f8f9fd);
}
.xh-invoice-container .table .total-row td {
  font-weight: 600;
  color: var(--tg-heading-color, #0e1b36);
}
.xh-invoice-actions {
  gap: 8px;
  display: flex;
  flex-wrap: wrap;
}
.xh-invoice-actions .tg-btn {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
}
.xh-invoice-container a {
  color: var(--tg-theme-secondary, #0e6eff);
}
.xh-invoice-container a:hover {
  text-decoration: underline;
}

/* ===== Domain Pricing: Featured TLD Cards ===== */
.domain-pricing .featured-tld {
  background: #fff;
  border: 1px solid var(--tg-border-1, #e4e4e7);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.domain-pricing .featured-tld:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.domain-pricing .featured-tld .img-container img {
  max-height: 40px;
  width: auto;
  margin-bottom: 10px;
}
.domain-pricing .featured-tld .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--tg-heading-color, #0e1b36);
}
.domain-pricing .featured-tld .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--tg-color-gray-4, #7c7e93);
}
.domain-pricing .tld-filters {
  margin-bottom: 20px;
}
.domain-pricing .tld-filters .badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin: 0 6px 10px 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.domain-pricing .tld-filters .badge-secondary {
  background: var(--tg-color-gray-5, #f8f9fd);
  color: var(--tg-color-gray-4, #7c7e93);
  border: 1px solid var(--tg-border-1, #e4e4e7);
}
.domain-pricing .tld-filters .badge-secondary:hover {
  background: var(--tg-theme-secondary, #0e6eff);
  color: #fff;
  border-color: var(--tg-theme-secondary, #0e6eff);
}
.domain-pricing .tld-filters .badge-success {
  background: var(--tg-theme-secondary, #0e6eff);
  color: #fff;
  border-color: var(--tg-theme-secondary, #0e6eff);
}
.domain-pricing .currency-selector {
  border: 1px solid var(--tg-border-1, #e4e4e7);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

#main-body,
.xhosting-store-fallback,
.xhosting-store-fallback .main-area,
.xhosting-store-fallback .data__center-area-two,
.xhosting-store-fallback .data__center-inner-wrap,
.xhosting-store-fallback .data__center-map-wrap,
.xhosting-store-fallback .features__area-ten {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.xhosting-store-fallback .data__center-map-item,
.xhosting-store-fallback .data__center-map-item > img {
  max-width: 100%;
}

.xhosting-store-fallback .data__center-map-item > img {
  height: auto;
}

.xhosting-store-fallback .features__area-ten .shape {
  max-width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.xhosting-store-fallback .accordion-collapse.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.support__area-two [data-aos] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.support__area-two .support__inner-wrap-two {
  overflow: visible;
}

.support__area-two .support__thumb-two {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.support__area-two .support__thumb-two img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.xhosting-store-fallback [data-aos] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.xhosting-store-fallback .support__inner-wrap-two {
  overflow: visible;
}

.xhosting-store-fallback .support__thumb-two {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.xhosting-store-fallback .support__content-two {
  position: relative;
  z-index: 3;
}

.xhosting-store-fallback .support__thumb-two img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Domain register subtitle color visibility fix */
body #order-standard_cart.xhosting-domain-register-page .domain__search-area-two .section__title p,
body #order-standard_cart.xhosting-domain-register-page .xhosting-domain-register-hero .section__title p {
    color: var(--tg-color-gray-4, #717484) !important;
}

/* ===== Premium Client Area Dashboard Refresh ===== */

/* Header User Dropdown & Profile Button */
.tgmenu__action > ul li.header-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 32px !important;
}

.header-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(14, 110, 255, 0.12);
    border-radius: 50%;
    background: rgba(14, 110, 255, 0.04);
    color: var(--tg-heading-color, #0e1b36);
    font-size: 16px;
    line-height: 1;
    transition: all 0.25s ease;
}

.header-cart-btn[hidden] {
    display: none !important;
}

.header-cart-btn:hover,
.header-cart-btn:focus {
    border-color: var(--tg-theme-secondary, #0e6eff);
    background: rgba(14, 110, 255, 0.08);
    color: var(--tg-theme-secondary, #0e6eff);
    outline: none;
    box-shadow: 0 4px 12px rgba(14, 110, 255, 0.08);
}

.header-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: var(--tg-theme-secondary, #0e6eff);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(14, 27, 54, 0.18);
}

.header-profile-dropdown {
    display: inline-block;
    position: relative;
}

.header-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 110, 255, 0.04);
    border: 1px solid rgba(14, 110, 255, 0.12);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tg-heading-color, #0e1b36);
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    box-shadow: none;
}

.header-profile-btn::after {
    display: none !important;
}

.header-profile-btn:hover,
.header-profile-btn:focus,
.header-profile-dropdown.show .header-profile-btn {
    background: rgba(14, 110, 255, 0.08);
    border-color: var(--tg-theme-secondary, #0e6eff);
    color: var(--tg-theme-secondary, #0e6eff);
    outline: none;
    box-shadow: 0 4px 12px rgba(14, 110, 255, 0.08);
}

.header-profile-btn .user-name {
    font-size: 14px;
    font-weight: 600;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-profile-btn .chevron {
    color: var(--tg-color-gray-4, #7c7e93);
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.header-profile-dropdown.show .header-profile-btn .chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu styling */
.header-user-dropdown {
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(14, 27, 54, 0.12) !important;
    padding: 0 !important;
    min-width: 270px !important;
    background: #ffffff !important;
    margin-top: 12px !important;
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: 100% !important;
    transform: none !important;
    overflow: hidden;
    z-index: 9999 !important;
    animation: fadeInDropdown 0.25s ease-out;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(14, 110, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    text-align: left;
}

.dropdown-user-header .user-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e6effb;
    color: var(--tg-theme-secondary, #0e6eff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.dropdown-user-header .user-details-box {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dropdown-user-header .user-details-box .user-display-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--tg-heading-color, #0e1b36);
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-header .user-details-box .user-display-email {
    font-size: 12px;
    color: var(--tg-color-gray-4, #7c7e93);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-user-dropdown .dropdown-divider {
    margin: 0 !important;
    border-top: 1px solid rgba(14, 27, 54, 0.06) !important;
}

.header-user-dropdown .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--tg-heading-color, #0e1b36);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    background: transparent;
    text-align: left;
    width: 100%;
}

.header-user-dropdown .dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 15px;
    color: var(--tg-theme-secondary, #0e6eff);
    margin: 0;
}

.header-user-dropdown .dropdown-item:hover {
    background: rgba(14, 110, 255, 0.04);
    color: var(--tg-theme-secondary, #0e6eff);
    border-left-color: var(--tg-theme-secondary, #0e6eff);
    padding-left: 20px;
}

.header-user-dropdown .dropdown-item.logout-link {
    color: #e7000b;
}

.header-user-dropdown .dropdown-item.logout-link i {
    color: #e7000b;
}

.header-user-dropdown .dropdown-item.logout-link:hover {
    background: rgba(231, 0, 11, 0.04);
    color: #e7000b;
    border-left-color: #e7000b;
}

/* Dashboard Statistics Gradients */
.counter__item-two--link.services-counter .icon {
    background: linear-gradient(135deg, #0e6eff, #00c7ff) !important;
}
.counter__item-two--link.domains-counter .icon {
    background: linear-gradient(135deg, #00c753, #10b981) !important;
}
.counter__item-two--link.tickets-counter .icon {
    background: linear-gradient(135deg, #ff4d4d, #f43f5e) !important;
}
.counter__item-two--link.invoices-counter .icon {
    background: linear-gradient(135deg, #ffaa00, #f59e0b) !important;
}

/* Form Controls & Custom Fields styling */
#main-body .form-control,
#main-body .custom-select,
#main-body select.form-control,
#main-body input[type="text"],
#main-body input[type="password"],
#main-body input[type="email"],
#main-body input[type="tel"],
#main-body input[type="url"],
#main-body textarea {
    background-color: #ffffff;
    border: 1px solid var(--tg-border-2, #e4e4e7);
    border-radius: 8px;
    height: 48px;
    padding: 10px 16px;
    font-size: 15px;
    color: var(--tg-heading-color, #0e1b36);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
#main-body textarea {
    height: auto;
    min-height: 120px;
}
#main-body .form-control:focus,
#main-body .custom-select:focus,
#main-body select.form-control:focus,
#main-body input:focus,
#main-body textarea:focus {
    border-color: var(--tg-theme-primary, #00c753);
    box-shadow: 0 0 0 3px rgba(0, 199, 83, 0.15);
    outline: none;
}
#main-body label {
    font-size: 14px;
    font-weight: 600;
    color: var(--tg-heading-color, #0e1b36);
    margin-bottom: 6px;
}

/* Button Upgrades */
#main-body .btn,
#main-body input[type="submit"],
#main-body input[type="reset"],
#main-body input[type="button"] {
    border-radius: 999px !important;
    padding: 10px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    transition: all 0.3s ease !important;
    margin: 4px 6px !important; /* Spacing between buttons */
    display: inline-block;
}

/* Ensure block level buttons display as full-width blocks and align cleanly without offset margins */
#main-body .btn-block {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#main-body .btn:hover,
#main-body input[type="submit"]:hover,
#main-body input[type="reset"]:hover,
#main-body input[type="button"]:hover {
    transform: translateY(-1px);
}

/* Primary buttons */
#main-body .btn-primary,
#main-body input[type="submit"].btn-primary,
#main-body button.btn-primary {
    background: var(--tg-theme-primary, #00c753) !important;
    border-color: var(--tg-theme-primary, #00c753) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 199, 83, 0.15) !important;
}
#main-body .btn-primary:hover,
#main-body input[type="submit"].btn-primary:hover,
#main-body button.btn-primary:hover {
    background: var(--tg-heading-color, #0e1b36) !important;
    border-color: var(--tg-heading-color, #0e1b36) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(14, 27, 54, 0.2) !important;
}

/* Success buttons */
#main-body .btn-success,
#main-body input[type="submit"].btn-success,
#main-body button.btn-success {
    background: var(--tg-theme-primary, #00c753) !important;
    border-color: var(--tg-theme-primary, #00c753) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 199, 83, 0.15) !important;
}
#main-body .btn-success:hover,
#main-body input[type="submit"].btn-success:hover,
#main-body button.btn-success:hover {
    background: var(--tg-heading-color, #0e1b36) !important;
    border-color: var(--tg-heading-color, #0e1b36) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(14, 27, 54, 0.2) !important;
}

/* Default buttons */
#main-body .btn-default,
#main-body input[type="reset"],
#main-body button.btn-default {
    background: #f3f5f8 !important;
    border: 1px solid #e4e4e7 !important;
    color: var(--tg-heading-color, #0e1b36) !important;
    box-shadow: none !important;
}
#main-body .btn-default:hover,
#main-body button.btn-default:hover {
    background: #e4e4e7 !important;
    border-color: #d0d5dd !important;
    color: var(--tg-heading-color, #0e1b36) !important;
}

/* Danger buttons */
#main-body .btn-danger,
#main-body input[type="submit"].btn-danger,
#main-body button.btn-danger {
    background: #e7000b !important;
    border-color: #e7000b !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(231, 0, 11, 0.15) !important;
}
#main-body .btn-danger:hover,
#main-body input[type="submit"].btn-danger:hover,
#main-body button.btn-danger:hover {
    background: var(--tg-heading-color, #0e1b36) !important;
    border-color: var(--tg-heading-color, #0e1b36) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(14, 27, 54, 0.2) !important;
}

/* Cards Auto-styling in Client Area */
#main-body .primary-content .card {
    background: #fff;
    border: 1px solid rgba(24, 25, 28, 0.08);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(24, 25, 28, 0.07);
    margin-bottom: 24px;
    overflow: hidden;
}
#main-body .primary-content .card-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(24, 25, 28, 0.08);
    background: #fff;
    color: #18191c;
    font-weight: 800;
}
#main-body .primary-content .card-body {
    padding: 22px;
}
#main-body .primary-content .card-footer {
    border-top: 1px solid rgba(24, 25, 28, 0.08);
    background: #f7f8fb;
    padding: 14px 22px;
}

/* Sidebar Styling Upgrades */
#main-body .sidebar .card-sidebar,
#main-body .sidebar .card {
    border: 1px solid rgba(24, 25, 28, 0.08) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 12px 34px rgba(24, 25, 28, 0.06) !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}
#main-body .sidebar .card-sidebar .card-header,
#main-body .sidebar .card .card-header {
    border-bottom: 1px solid rgba(24, 25, 28, 0.08) !important;
    background: #fff !important;
    color: #18191c !important;
    padding: 16px 20px !important;
}
#main-body .sidebar .card-sidebar .card-title,
#main-body .sidebar .card .card-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: var(--tg-heading-color, #0e1b36) !important;
}
#main-body .sidebar .card-sidebar .list-group-item,
#main-body .sidebar .card .list-group-item {
    border: none !important;
    border-bottom: 1px solid rgba(24, 25, 28, 0.06) !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    color: #5d6370 !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}
#main-body .sidebar .card-sidebar .list-group-item:last-child,
#main-body .sidebar .card .list-group-item:last-child {
    border-bottom: none !important;
}
#main-body .sidebar .card-sidebar .list-group-item:hover,
#main-body .sidebar .card .list-group-item:hover {
    background: rgba(30, 197, 94, 0.05) !important;
    color: var(--tg-theme-primary, #00c753) !important;
    padding-left: 24px !important;
}
#main-body .sidebar .card-sidebar .list-group-item.active,
#main-body .sidebar .card .list-group-item.active {
    background: var(--tg-theme-primary, #00c753) !important;
    color: #fff !important;
    font-weight: 600 !important;
}
#main-body .sidebar .card-sidebar .list-group-item.active .sidebar-menu-item-icon,
#main-body .sidebar .card .list-group-item.active .sidebar-menu-item-icon {
    color: #fff !important;
}

/* Table Wrapper Auto-styling */
.xh-table-container,
.table-container {
    background: #fff !important;
    border: 1px solid var(--tg-border-1, #e4e4e7) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 40px rgba(24, 25, 28, 0.07) !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}
.xh-table-container .table,
.table-container .table {
    margin-bottom: 0 !important;
}
.xh-table-container .table thead th,
.table-container .table thead th {
    background: var(--tg-theme-secondary, #0e6eff) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 14px 20px !important;
    border: none !important;
    white-space: nowrap !important;
}
.xh-table-container .table tbody tr:hover,
.table-container .table tbody tr:hover {
    background: var(--tg-color-gray-5, #f8f9fd) !important;
    cursor: pointer !important;
}
.xh-table-container .table tbody td,
.table-container .table tbody td {
    padding: 14px 20px !important;
    border: none !important;
    border-bottom: 1px solid var(--tg-border-1, #e4e4e7) !important;
    font-size: 14px !important;
    color: var(--tg-body-color, #5c5f74) !important;
    vertical-align: middle !important;
}
.xh-table-container .table tbody tr:last-child td,
.table-container .table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Alert Styling */
#main-body .alert {
    border: 0 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}
#alertOverdueInvoice,
#alertUnpaidInvoice,
#main-body .alert:has(.float-right) {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}
#alertOverdueInvoice .float-right,
#alertUnpaidInvoice .float-right,
#main-body .alert:has(.float-right) .float-right {
    float: none !important;
    margin: 0 !important;
}
#main-body .alert-success {
    background: #e6f9ed !important;
    color: #00a63e !important;
}
#main-body .alert-danger {
    background: #fde8e8 !important;
    color: #e7000b !important;
}
#main-body .alert-warning {
    background: #fff3e6 !important;
    color: #f54a00 !important;
}
#main-body .alert-info {
    background: #e0f5ff !important;
    color: #155dfc !important;
}

/* Tabs Navigation Styling */
#main-body .nav-tabs {
    border-bottom: 2px solid rgba(24, 25, 28, 0.08) !important;
    margin-bottom: 20px !important;
}
#main-body .nav-tabs .nav-link {
    border: none !important;
    color: #5d6370 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 12px 20px !important;
    position: relative !important;
    transition: all 0.2s ease !important;
}
#main-body .nav-tabs .nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--tg-theme-primary, #00c753) !important;
    transition: all 0.3s ease !important;
}
#main-body .nav-tabs .nav-link:hover {
    color: var(--tg-theme-primary, #00c753) !important;
}
#main-body .nav-tabs .nav-link.active {
    color: var(--tg-theme-primary, #00c753) !important;
    background: transparent !important;
}
#main-body .nav-tabs .nav-link.active::after {
    width: 100% !important;
}

/* Dynamic Spacing between text inputs and adjacent buttons */
#main-body input.form-control + .btn,
#main-body input.form-control + input[type="submit"],
#main-body input.form-control + button,
#main-body .form-control + .btn,
#main-body .form-control + input[type="submit"],
#main-body .form-control + button {
    margin-left: 12px !important;
}

/* Flexbox Auto-growing Stats Grid */
.client-home-stats .row {
    display: flex !important;
    flex-wrap: wrap !important;
}
.client-home-stats .row > [class*="col-"] {
    flex: 1 1 auto !important;
    max-width: none !important;
    width: auto !important;
}
.counter__item-two--link .content p {
    white-space: normal !important;
    word-break: break-word !important;
}

/* DataTables length and filter spacing & layout styling */
.xh-table-container .dataTables_length,
.table-container .dataTables_length {
    padding-left: 20px !important;
    padding-top: 18px !important;
    margin-bottom: 12px !important;
}
.xh-table-container .dataTables_filter,
.table-container .dataTables_filter {
    padding-right: 20px !important;
    padding-top: 18px !important;
    margin-bottom: 12px !important;
}
#main-body .dataTables_length select {
    width: auto !important;
    display: inline-block !important;
    height: auto !important;
    margin: 0 8px !important;
    padding: 6px 12px !important;
}

/* Fix DataTable Search Input Icon padding, remove duplicate background images and pseudo-elements */
body .dataTables_wrapper .dataTables_filter label .form-control,
.dataTables_wrapper .dataTables_filter label .form-control,
.dataTables_filter label .form-control,
.dataTables_filter input {
    background: #fff !important;
    background-image: none !important;
}

#main-body .dataTables_wrapper .dataTables_filter label .form-control,
#main-body input[type="search"].form-control {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23717484' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l4 4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 16px 16px !important;
    padding-left: 40px !important;
}

/* Ensure main body stacks above breadcrumb background shapes & doesn't block events */
#main-body {
    position: relative !important;
    z-index: auto !important;
}
.breadcrumb__area .shape {
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Disable Webkit native search input decorations to prevent duplicate icons */
#main-body input[type="search"]::-webkit-search-decoration,
#main-body input[type="search"]::-webkit-search-cancel-button,
#main-body input[type="search"]::-webkit-search-results-button,
#main-body input[type="search"]::-webkit-search-results-decoration {
    display: none !important;
    -webkit-appearance: none !important;
}

/* Spacing & Flex layout for input-group elements in client area */
#main-body:not(.xhosting-orderform-body) .input-group {
    display: flex !important;
    flex-wrap: wrap !important;
}
#main-body:not(.xhosting-orderform-body) .input-group > .form-control {
    flex: 1 1 100% !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}
#main-body:not(.xhosting-orderform-body) .input-group-append,
#main-body:not(.xhosting-orderform-body) .input-group-btn {
    flex: 1 1 100% !important;
    margin-left: 0 !important;
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
}
#main-body:not(.xhosting-orderform-body) .input-group-append .btn,
#main-body:not(.xhosting-orderform-body) .input-group-btn .btn {
    margin: 0 !important;
    flex: 1 !important;
}

/* Hide duplicate search icon in DataTable filters (pseudo-elements) */
body .dataTables_wrapper .dataTables_filter::after,
.dataTables_wrapper .dataTables_filter::after,
.dataTables_filter::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Align table headers and cell text to the left by default in xHosting data tables */
.xh-table-container .table tbody td,
.table-container .table tbody td {
    text-align: left !important;
}

.xh-table-container .table thead th,
.table-container .table thead th {
    text-align: left !important;
}

/* Maintain center alignment for explicitly marked columns/headers */
.xh-table-container .table tbody td.text-center,
.table-container .table tbody td.text-center,
.xh-table-container .table thead th.text-center,
.table-container .table thead th.text-center {
    text-align: center !important;
}

.xh-table-container .table tbody td.text-right,
.table-container .table tbody td.text-right,
.xh-table-container .table thead th.text-right,
.table-container .table thead th.text-right {
    text-align: right !important;
}

/* ==========================================================================
   FORM INPUT ICON OVERLAP & DROPDOWN FIXED LOGIC
   ========================================================================== */

/* Fundamentally prevent icons and text overlapping in all form__grp inputs, selects, and nice-selects */
.form__grp {
    position: relative !important;
}

/* Position form__grp icons (labels) absolutely inside the group */
.form__grp label,
.form__grp .field-icon {
    position: absolute !important;
    left: 16px !important;
    top: 16px !important;
    margin: 0 !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* Ensure inputs, textareas, selects, and custom nice-selects have enough padding to clear the left icon */
.form__grp input,
.form__grp select,
.form__grp textarea,
.form__grp .nice-select {
    padding-left: 55px !important;
    width: 100% !important;
}

/* Special alignment for custom nice-select arrow and content */
.form__grp .nice-select .current {
    display: block !important;
    padding-left: 0 !important;
}

/* Phone input flag container adjustments to prevent overlaps */
.form__grp .intl-tel-input,
.form__grp .iti {
    display: block !important;
    width: 100% !important;
    position: relative !important;
}

/* Hide SVG icon label for phone input since the flag selector replaces it */
.form__grp label[for="inputPhone"],
.form__grp label[for="inputPhoneNumber"],
.form__grp label[for="inputPhone"] svg,
.form__grp label[for="inputPhoneNumber"] svg {
    display: none !important;
}

/* Keep separate dial-code labels from overlapping the phone number text */
.form__grp .intl-tel-input.separate-dial-code .selected-flag,
#main-body .intl-tel-input.separate-dial-code .selected-flag {
    width: 88px !important;
}

.form__grp .intl-tel-input.separate-dial-code .selected-dial-code,
#main-body .intl-tel-input.separate-dial-code .selected-dial-code {
    padding-right: 12px !important;
    white-space: nowrap !important;
}

.form__grp .intl-tel-input.separate-dial-code input[type="tel"],
.form__grp .iti.separate-dial-code input[type="tel"],
#main-body .intl-tel-input.separate-dial-code input[type="tel"],
#main-body .iti.separate-dial-code input[type="tel"],
#main-body .intl-tel-input.separate-dial-code .form-control,
#main-body .iti.separate-dial-code .form-control {
    padding-left: 102px !important;
}

.form__grp .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 .selected-flag,
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 .selected-flag {
    width: 82px !important;
}

.form__grp .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type="tel"],
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type="tel"],
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 .form-control {
    padding-left: 96px !important;
}

.form__grp .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 .selected-flag,
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 .selected-flag {
    width: 90px !important;
}

.form__grp .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type="tel"],
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type="tel"],
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 .form-control {
    padding-left: 104px !important;
}

.form__grp .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag,
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag {
    width: 98px !important;
}

.form__grp .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type="tel"],
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type="tel"],
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .form-control {
    padding-left: 112px !important;
}

.form__grp .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 .selected-flag,
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 .selected-flag {
    width: 106px !important;
}

.form__grp .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type="tel"],
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type="tel"],
#main-body .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 .form-control {
    padding-left: 120px !important;
}

/* Country dropdown list styling logic so it remains readable and high z-index */
#main-body .intl-tel-input .country-list,
#main-body .iti .country-list {
    z-index: 10000 !important;
    width: 300px !important;
    max-width: none !important;
    white-space: nowrap !important;
    background-color: #fff !important;
    border: 1px solid var(--tg-border-1, #e4e4e7) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
}

/* Prevent parent card containers from cutting off the country dropdown while maintaining float containment */
#main-body .xh-card,
#main-body .card,
#main-body .xh-card-body,
#main-body .card-body {
    overflow: visible !important;
    display: flow-root !important;
}

/* Clearfix fallback to guarantee floated elements (like first/last name, address) do not collapse the cards */
#main-body .xh-card::after,
#main-body .card::after,
#main-body .xh-card-body::after,
#main-body .card-body::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Custom sleek and narrow breadcrumb styling overrides */
.breadcrumb__area {
    padding: 16px 0 !important;
    background-color: #f8fafc !important; /* extremely clean off-white/slate-50 background */
    border-bottom: 1px solid #e2e8f0 !important; /* soft bottom divider */
}

.breadcrumb__area .shape {
    display: none !important; /* hide the large decorative background shape to keep it flat & clean */
}

.breadcrumb__content .breadcrumb {
    margin-bottom: 0 !important;
    background: transparent !important; /* transparent breadcrumb box for cleaner integration */
    padding: 0 !important;
}

.breadcrumb__content .breadcrumb span {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important; /* slate-500 for secondary items */
}

.breadcrumb__content .breadcrumb span a {
    color: #94a3b8 !important; /* slate-400 for link items */
    transition: color 0.15s ease !important;
}

.breadcrumb__content .breadcrumb span a:hover {
    color: var(--tg-theme-secondary, #0e6eff) !important;
}

.breadcrumb__content .breadcrumb span.breadcrumb-separator {
    color: #cbd5e1 !important; /* soft slate-300 separator */
}

/* Homepage Domain Search Styles - matching domainregister.tpl */
.domain-checker-advanced .domain__search-form-two {
    display: block;
    margin-bottom: 0;
}

.domain-checker-advanced .advanced-search-group {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    min-height: 138px;
    padding: 24px 20px 20px 30px;
    background: var(--tg-color-white-default, #fff);
    border-color: var(--tg-theme-secondary, #6243ff);
    border-style: solid;
    border-width: 1px;
    border-radius: 48px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: visible;
}

.domain-checker-advanced .advanced-search-group.focused {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.52);
}

.domain-checker-advanced .search-icon {
    position: absolute;
    left: 0 !important;
    top: 7px !important;
    color: var(--tg-color-gray-4, #717484) !important;
    transform: none !important;
}

.domain-checker-advanced .advanced-search-input-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0 0 0 44px;
    margin: 0;
}

.domain-checker-advanced textarea.advanced-search-textarea {
    display: block !important;
    width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 2px 0 0 !important;
    overflow: hidden !important;
    resize: none !important;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--tg-heading-color, #0e1b36) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    white-space: nowrap !important;
    word-break: normal !important;
}

.domain-checker-advanced textarea.advanced-search-textarea::placeholder {
    color: #6C757D;
    font-weight: 400;
}

.domain-checker-advanced .advanced-search-actions {
    position: absolute !important;
    right: 18px;
    bottom: 12px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px !important;
    width: auto;
    max-width: calc(100% - 48px);
    margin-top: 0;
}

.domain-checker-advanced .advanced-search-selects {
    display: flex;
    align-items: center;
    gap: 12px !important;
}

.domain-checker-advanced .btn-group {
    position: relative;
}

.domain-checker-advanced .multiselect-container {
    z-index: 2000;
    width: max-content !important;
    min-width: 150px;
    max-width: 220px;
    max-height: 180px !important;
    padding: 6px 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(24, 25, 28, 0.12);
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(24, 25, 28, 0.14);
}

.domain-checker-advanced .multiselect-container > li > a {
    display: block;
    min-height: 30px;
    padding: 0;
    color: var(--tg-heading-color, #0e1b36);
    text-decoration: none;
}

.domain-checker-advanced .multiselect-container label {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 30px;
    margin: 0;
    padding: 5px 12px;
    color: var(--tg-heading-color, #0e1b36);
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.domain-checker-advanced .multiselect-container label.checkbox,
.domain-checker-advanced .multiselect-container label.radio {
    padding-left: 12px;
}

.domain-checker-advanced .multiselect-container .icheckbox_square-blue,
.domain-checker-advanced .multiselect-container .iradio_square-blue {
    display: none !important;
}

.domain-checker-advanced .multiselect-container input[type="checkbox"],
.domain-checker-advanced .multiselect-container input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.domain-checker-advanced .multiselect-container > li > a:hover,
.domain-checker-advanced .multiselect-container > li.active > a {
    background: #f4f6fb;
}

.domain-checker-advanced .multiselect-container > li.active label {
    color: var(--tg-theme-secondary, #6243ff);
    font-weight: 700;
}

.domain-checker-advanced .btn-group .multiselect {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 134px;
    height: 42px;
    padding: 8px 14px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 32px;
    box-shadow: none;
    color: var(--tg-heading-color, #0e1b36);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.domain-checker-advanced .btn-group .multiselect:hover {
    background: #f1f3f5;
}

.domain-checker-advanced .btn-group.open .multiselect {
    background: #e9ecef;
}

.domain-checker-advanced .safe-search-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    cursor: pointer;
    color: var(--tg-color-gray-4, #717484);
    font-size: 14px;
    white-space: nowrap;
}

.domain-checker-advanced .safe-search-label input {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.domain-checker-advanced .domain-check-availability {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    align-self: center;
    border: 0;
    border-radius: 32px !important;
    outline: 0;
    box-shadow: none;
    font-weight: 700;
    font-size: 14px !important;
    white-space: nowrap;
}

/* Green Domain Search Button classes */
.domain-checker-advanced .xhosting-domain-search-btn {
    position: static !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    min-width: 150px;
    max-width: 180px;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 32px !important;
    border: 0;
    border-radius: 32px !important;
    background: #1ebd60 !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    z-index: 2;
    box-shadow: none !important;
    transition: background 0.2s ease-in-out !important;
}

.domain-checker-advanced .xhosting-domain-search-btn::before,
.domain-checker-advanced .xhosting-domain-search-btn::after {
    content: none !important;
    display: none !important;
}

.domain-checker-advanced .xhosting-domain-search-btn:hover,
.domain-checker-advanced .xhosting-domain-search-btn:focus {
    background: #129046 !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    outline: 0;
}

@media (max-width: 1199.98px) {
    .domain-checker-advanced .safe-search-label {
        display: none !important;
    }
    .domain-checker-advanced .advanced-search-group {
        padding-left: 24px;
    }
    .domain-checker-advanced .advanced-search-input-wrap {
        min-width: 0;
    }
}

@media (max-width: 991.98px) {
    .domain-checker-advanced .advanced-search-group {
        border-radius: 24px;
        padding: 16px 16px 18px 20px;
        min-height: 144px;
    }
    .domain-checker-advanced .advanced-search-input-wrap {
        min-width: 0;
    }
    .domain-checker-advanced .advanced-search-actions {
        right: 16px;
        bottom: 14px;
        width: auto;
        justify-content: space-between;
        gap: 10px;
    }
    .domain-checker-advanced .advanced-search-selects {
        flex-wrap: wrap;
    }
    .domain-checker-advanced .domain-check-availability {
        flex: 0 0 auto;
        width: auto !important;
    }
}

@media (max-width: 767.98px) {
    .domain-checker-advanced .advanced-search-selects {
        display: none !important;
    }
    .domain-checker-advanced .advanced-search-actions {
        max-width: calc(100% - 32px);
    }
}

@media (max-width: 575.98px) {
    .domain-checker-advanced .advanced-search-group {
        min-height: 154px;
    }
    .domain-checker-advanced .advanced-search-actions {
        flex-direction: row;
        align-items: center;
    }
    .domain-checker-advanced .domain-check-availability {
        width: auto !important;
    }
}

/* Highlight active selected items in multiselect list */
.domain-checker-advanced .multiselect-container > li > a {
    display: block !important;
    width: 100% !important;
}

.domain-checker-advanced .multiselect-container label {
    display: block !important;
    width: 100% !important;
}

.domain-checker-advanced .multiselect-container > li.active label {
    color: #1ebd60 !important; /* Green color for active TLDs */
    font-weight: 700 !important;
}

.domain-checker-advanced .multiselect-container > li.active label::after {
    content: "\f00c" !important; /* FontAwesome checkmark icon */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    float: right !important;
    color: #1ebd60 !important;
}

.domain-checker-advanced .btn-group .multiselect.has-selections {
    border-color: #1ebd60 !important;
    color: #1ebd60 !important;
    background: rgba(30, 189, 96, 0.05) !important;
}

.site-logo-link .site-logo-text {
    display: inline-block;
    color: var(--tg-heading-color, #111111);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.site-logo-link img {
    max-height: 45px;
    width: auto;
}

.tgmobile__menu .nav-logo .site-logo-link img {
    max-width: 150px;
}

.footer__logo .site-logo-link img {
    max-width: 180px;
}

.footer__logo .site-logo-text {
    color: var(--tg-color-white-default, #ffffff);
}

/* ===========================================
   Sticky Navbar — Evolved Modern Look
   =========================================== */

/* Base transitions for smooth evolution */
.tgmenu__nav .logo img {
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.tgmenu__navbar-wrap > ul > li > a {
    transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.2s ease;
}
.domain-checker-advanced .safe-search-label input {
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.domain-checker-advanced .domain-check-availability {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    align-self: center;
    border: 0;
    border-radius: 32px !important;
    outline: 0;
    box-shadow: none;
    font-weight: 700;
    font-size: 14px !important;
    white-space: nowrap;
}

/* Green Domain Search Button classes */
.domain-checker-advanced .xhosting-domain-search-btn {
    position: static !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    min-width: 150px;
    max-width: 180px;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 32px !important;
    border: 0;
    border-radius: 32px !important;
    background: #1ebd60 !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    z-index: 2;
    box-shadow: none !important;
    transition: background 0.2s ease-in-out !important;
}

.domain-checker-advanced .xhosting-domain-search-btn::before,
.domain-checker-advanced .xhosting-domain-search-btn::after {
    content: none !important;
    display: none !important;
}

.domain-checker-advanced .xhosting-domain-search-btn:hover,
.domain-checker-advanced .xhosting-domain-search-btn:focus {
    background: #129046 !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    outline: 0;
}

@media (max-width: 1199.98px) {
    .domain-checker-advanced .safe-search-label {
        display: none !important;
    }
    .domain-checker-advanced .advanced-search-group {
        padding-left: 24px;
    }
    .domain-checker-advanced .advanced-search-input-wrap {
        min-width: 0;
    }
}

@media (max-width: 991.98px) {
    .domain-checker-advanced .advanced-search-group {
        border-radius: 24px;
        padding: 16px 16px 18px 20px;
        min-height: 144px;
    }
    .domain-checker-advanced .advanced-search-input-wrap {
        min-width: 0;
    }
    .domain-checker-advanced .advanced-search-actions {
        right: 16px;
        bottom: 14px;
        width: auto;
        justify-content: space-between;
        gap: 10px;
    }
    .domain-checker-advanced .advanced-search-selects {
        flex-wrap: wrap;
    }
    .domain-checker-advanced .domain-check-availability {
        flex: 0 0 auto;
        width: auto !important;
    }
}

@media (max-width: 767.98px) {
    .domain-checker-advanced .advanced-search-selects {
        display: none !important;
    }
    .domain-checker-advanced .advanced-search-actions {
        max-width: calc(100% - 32px);
    }
}

@media (max-width: 575.98px) {
    .domain-checker-advanced .advanced-search-group {
        min-height: 154px;
    }
    .domain-checker-advanced .advanced-search-actions {
        flex-direction: row;
        align-items: center;
    }
    .domain-checker-advanced .domain-check-availability {
        width: auto !important;
    }
}

/* Highlight active selected items in multiselect list */
.domain-checker-advanced .multiselect-container > li > a {
    display: block !important;
    width: 100% !important;
}

.domain-checker-advanced .multiselect-container label {
    display: block !important;
    width: 100% !important;
}

.domain-checker-advanced .multiselect-container > li.active label {
    color: #1ebd60 !important; /* Green color for active TLDs */
    font-weight: 700 !important;
}

.domain-checker-advanced .multiselect-container > li.active label::after {
    content: "\f00c" !important; /* FontAwesome checkmark icon */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    float: right !important;
    color: #1ebd60 !important;
}

.domain-checker-advanced .btn-group .multiselect.has-selections {
    border-color: #1ebd60 !important;
    color: #1ebd60 !important;
    background: rgba(30, 189, 96, 0.05) !important;
}

.site-logo-link .site-logo-text {
    display: inline-block;
    color: var(--tg-heading-color, #111111);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.site-logo-link img {
    max-height: 45px;
    width: auto;
}

.tgmobile__menu .nav-logo .site-logo-link img {
    max-width: 150px;
}

.footer__logo .site-logo-link img {
    max-width: 180px;
}

.footer__logo .site-logo-text {
    color: var(--tg-color-white-default, #ffffff);
}

/* ===========================================
   Sticky Navbar — Evolved Modern Look
   =========================================== */

/* Base transitions for smooth evolution */
.tgmenu__nav {
    transition: padding 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tgmenu__nav .logo img {
    transition: max-height 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tgmenu__navbar-wrap > ul > li > a {
    transition: padding 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.2s ease !important;
}
.tgmenu__action .tg-btn {
    transition: border-radius 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s ease,
                background 0.2s ease,
                color 0.2s ease !important;
}

/* Base style for sticky-header supporting transitions */
#sticky-header {
    border-radius: 0 !important;
    overflow: visible;
    will-change: background, box-shadow, border-radius, backdrop-filter, top, left, right;
    transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                -webkit-backdrop-filter 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                top 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                right 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: none !important;
    -webkit-animation: none !important;
}

/* Disable transitions entirely when not in fixed sticky mode to prevent relative offset drift */
#sticky-header:not(.sticky-active),
#sticky-header:not(.sticky-active) .tgmenu__nav,
#sticky-header:not(.sticky-active) .tgmenu__navbar-wrap > ul > li > a,
#sticky-header:not(.sticky-active) .logo img,
#sticky-header:not(.sticky-active) .tgmenu__action .tg-btn {
    transition: none !important;
}

/* Active sticky state: positioned fixed but still full-width (Fixed Normal) */
#sticky-header.sticky-active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: var(--nexus-scrollbar-width, 0px) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--tg-border-2, #e5e7eb) !important;
    background: var(--tg-color-white-default, #ffffff) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    z-index: 9999 !important;
    animation: none !important;
    -webkit-animation: none !important;
}

/* Evolved sticky state (Fixed Pill) */
#sticky-header.sticky-active.sticky-menu {
    top: 15px !important;
    left: calc(50% - min(47.5%, 700px)) !important;
    right: calc(50% - min(47.5%, 700px) + var(--nexus-scrollbar-width, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 30px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.62) 100%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(185%) !important;
    backdrop-filter: blur(20px) saturate(185%) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01),
                0 4px 12px rgba(0, 0, 0, 0.02),
                0 20px 48px rgba(0, 0, 0, 0.055),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.8),
                inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
                inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    animation: none !important;
    -webkit-animation: none !important;
}

/* Shopping cart scope specific overrides if needed (always fixed, transitions to sticky menu) */
header.xhosting-fixed-header-scope #sticky-header.sticky-active {
    left: 0 !important;
    right: var(--nexus-scrollbar-width, 0px) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

header.xhosting-fixed-header-scope #sticky-header.sticky-active.sticky-menu {
    left: var(--nexus-sticky-left) !important;
    right: var(--nexus-sticky-right) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Tighter padding inside the evolved bar */
#sticky-header.sticky-menu .tgmenu__nav {
    padding: 2px 0;
}

header.xhosting-fixed-header-scope #sticky-header.sticky-menu .tgmenu__nav {
    padding: 2px 0 !important;
}

/* Compact link padding in evolved state */
#sticky-header.sticky-menu .tgmenu__navbar-wrap > ul > li > a {
    padding-top: 18px;
    padding-bottom: 18px;
}

header.xhosting-fixed-header-scope #sticky-header.sticky-menu .tgmenu__navbar-wrap > ul > li > a {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

/* CTA button rounded + hover lift */
#sticky-header.sticky-menu .tgmenu__action .tg-btn {
    border-radius: 12px;
}
#sticky-header.sticky-menu .tgmenu__action .tg-btn:hover {
    transform: translateY(-1px);
}

/* Logo shrinks slightly in evolved state */
#sticky-header.sticky-menu .logo img {
    max-height: 38px;
}

header.xhosting-fixed-header-scope #sticky-header.sticky-menu .logo img {
    max-height: 38px !important;
}

/* Mega menus rounded to match evolved bar - Opaque white with clean outline */
#sticky-header.sticky-menu .tg-mega-menu-wrap {
    margin-top: 10px;
    border-radius: 20px;
    background: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(24, 25, 28, 0.12) !important;
    box-shadow: 0 20px 50px rgba(24, 25, 28, 0.08), 0 2px 8px rgba(24, 25, 28, 0.04) !important;
}

/* Dropdown menus and profile dropdown menus styled in sticky state - Opaque white with clean outline */
#sticky-header.sticky-menu .header-dropdown-wrap .dropdown-menu,
#sticky-header.sticky-menu .header-profile-dropdown .header-user-dropdown {
    border-radius: 20px !important;
    margin-top: 10px !important;
    background: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(24, 25, 28, 0.12) !important;
    box-shadow: 0 20px 50px rgba(24, 25, 28, 0.08), 0 2px 8px rgba(24, 25, 28, 0.04) !important;
}

/* Fixed headers keep a stable spacer so reverse transitions never flash a gap. */
#header-fixed-height {
    display: block !important;
    height: 0;
    overflow: hidden;
}
#header-fixed-height.active-height {
    height: var(--nexus-header-height, 90px);
}

/* Mobile responsive: less margin on small screens */
@media (max-width: 991.98px) {
    #sticky-header.sticky-active.sticky-menu {
        left: 12px !important;
        right: calc(var(--nexus-scrollbar-width, 0px) + 12px) !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        top: 10px !important;
        border-radius: 16px !important;
        padding: 10px 0 !important;
    }

    header.xhosting-fixed-header-scope #sticky-header.sticky-active.sticky-menu {
        left: 12px !important;
        right: calc(var(--nexus-scrollbar-width, 0px) + 12px) !important;
        width: auto !important;
        margin: 0 !important;
    }
}

@media (max-width: 575.98px) {
    #sticky-header.sticky-active.sticky-menu {
        left: 8px !important;
        right: calc(var(--nexus-scrollbar-width, 0px) + 8px) !important;
        width: auto !important;
        top: 6px !important;
        border-radius: 14px !important;
    }

    header.xhosting-fixed-header-scope #sticky-header.sticky-active.sticky-menu {
        left: 8px !important;
        right: calc(var(--nexus-scrollbar-width, 0px) + 8px) !important;
        width: auto !important;
    }
}


/* Configure-product Multiselect Container & Dropdown Styling */
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container {
    z-index: 2000 !important;
    width: max-content !important;
    min-width: 150px !important;
    max-width: 220px !important;
    max-height: 180px !important;
    padding: 6px 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(24, 25, 28, 0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 36px rgba(24, 25, 28, 0.14) !important;
    background: #fff !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li > a {
    display: block !important;
    min-height: 30px !important;
    padding: 0 !important;
    color: var(--tg-heading-color, #0e1b36) !important;
    text-decoration: none !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    position: relative !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 5px 12px !important;
    color: var(--tg-heading-color, #0e1b36) !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label.checkbox,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label.radio {
    padding-left: 34px !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label.checkbox::before,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label.radio::before {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    width: 14px !important;
    height: 14px !important;
    border: 1px solid #cfd5df !important;
    border-radius: 4px !important;
    background: #fff !important;
    transform: translateY(-50%) !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label.checkbox::before,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label.radio::before {
    border-color: var(--tg-theme-secondary, #6243ff) !important;
    background: var(--tg-theme-secondary, #6243ff) !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label.checkbox::after,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label.radio::after {
    content: "" !important;
    position: absolute !important;
    left: 17px !important;
    top: 50% !important;
    width: 4px !important;
    height: 8px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: translateY(-58%) rotate(45deg) !important;
}

/* Keep multiselect selections as a standalone tick without covering the TLD text. */
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label.checkbox,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label.radio,
body #order-standard_cart.xhosting-domain-register-page .domain-checker-advanced .multiselect-container label.checkbox,
body #order-standard_cart.xhosting-domain-register-page .domain-checker-advanced .multiselect-container label.radio {
    position: relative !important;
    padding-left: 16px !important;
    padding-right: 34px !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label.checkbox::before,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container label.radio::before,
body #order-standard_cart.xhosting-domain-register-page .domain-checker-advanced .multiselect-container label.checkbox::before,
body #order-standard_cart.xhosting-domain-register-page .domain-checker-advanced .multiselect-container label.radio::before {
    content: none !important;
    display: none !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label.checkbox::after,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label.radio::after,
body #order-standard_cart.xhosting-domain-register-page .domain-checker-advanced .multiselect-container > li.active label.checkbox::after,
body #order-standard_cart.xhosting-domain-register-page .domain-checker-advanced .multiselect-container > li.active label.radio::after {
    content: "" !important;
    position: absolute !important;
    right: 16px !important;
    left: auto !important;
    top: 50% !important;
    width: 6px !important;
    height: 11px !important;
    border: solid #1ebd60 !important;
    border-width: 0 2.5px 2.5px 0 !important;
    transform: translateY(-60%) rotate(45deg) !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container .icheckbox_square-blue,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container .iradio_square-blue {
    display: none !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container input[type="checkbox"],
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li > a:hover,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active > a {
    background: #f4f6fb !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label {
    color: var(--tg-theme-secondary, #6243ff) !important;
    font-weight: 700 !important;
}

/* Multiselect Filter Search Field Styling */
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    background: #f1f3f5 !important;
    border: 1px solid #e9ecef !important;
    border-radius: 30px !important; /* Rounded pill style */
    padding: 2px 12px !important;
    margin: 4px 10px !important;
    width: calc(100% - 20px) !important;
    height: 36px !important;
    box-shadow: none !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container .input-group-addon {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container .input-group-addon i {
    font-size: 13px !important;
    color: #94a3b8 !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container input.multiselect-search.form-control {
    border: 0 !important;
    border-style: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    height: 100% !important;
    width: 100% !important;
    color: var(--tg-heading-color, #0e1b36) !important;
    outline: none !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container input.multiselect-search.form-control:focus {
    border: 0 !important;
    border-style: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container input.multiselect-search.form-control::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}


/* Prevent dropdown from being covered by subsequent cards */
body #order-standard_cart.xhosting-product-domain-flow .domain-selection-options .option.card {
    position: relative;
    z-index: 1;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-selection-options .option.card:has(.open),
body #order-standard_cart.xhosting-product-domain-flow .domain-selection-options .option.card:has(.show) {
    z-index: 20 !important;
}

/* Configure-product advanced search: keep translated controls in normal flow. */
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .advanced-search-group {
    height: auto !important;
    min-height: 0 !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced textarea.advanced-search-textarea {
    field-sizing: content !important;
    height: auto !important;
    min-height: 64px !important;
    max-height: none !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .advanced-search-actions {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 14px !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .advanced-search-selects {
    display: flex !important;
    flex: 1 1 320px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .advanced-search-selects > .btn-group {
    flex: 1 1 150px !important;
    min-width: 0 !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .btn-group .multiselect {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 42px !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: normal !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-selected-text {
    min-width: 0 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .safe-search-label {
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .safe-search-label .form-check-input {
    position: static !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    border-radius: 3px !important;
    transform: none !important;
    pointer-events: auto !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .safe-search-label .form-check-input:checked::after {
    content: none !important;
    display: none !important;
}

/* Configure-product selected/search states use the flow's purple accent. */
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label {
    color: var(--tg-theme-secondary, #6243ff) !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label.checkbox::after,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container > li.active label.radio::after {
    border-color: var(--tg-theme-secondary, #6243ff) !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .btn-group .multiselect.has-selections {
    border-color: var(--tg-theme-secondary, #6243ff) !important;
    background: rgba(98, 67, 255, 0.06) !important;
    color: var(--tg-theme-secondary, #6243ff) !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .multiselect-container .input-group:focus-within {
    border-color: var(--tg-theme-secondary, #6243ff) !important;
    box-shadow: 0 0 0 3px rgba(98, 67, 255, 0.15) !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .safe-search-label .form-check-input {
    accent-color: var(--tg-theme-secondary, #6243ff);
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .safe-search-label:has(.form-check-input:checked) {
    color: var(--tg-theme-secondary, #6243ff) !important;
    font-weight: 700 !important;
}

body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .xhosting-domain-search-btn,
body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .domain-check-availability {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 120px !important;
    max-width: none !important;
    height: auto !important;
    min-height: 42px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

@media (max-width: 991.98px) {
    body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .advanced-search-selects {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .safe-search-label {
        flex: 1 1 auto !important;
    }
}

@media (max-width: 767.98px) {
    body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .advanced-search-actions,
    body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .advanced-search-selects {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .advanced-search-selects > .btn-group,
    body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .safe-search-label,
    body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .xhosting-domain-search-btn,
    body #order-standard_cart.xhosting-product-domain-flow .domain-checker-advanced .domain-check-availability {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: none !important;
    }
}

/* Support Ticket View Enhancements - Modern Minimalist Chat-Bubble Thread Design */
.view-ticket {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.view-ticket > .card-body {
    padding: 0 !important;
}

/* Modern Minimalist Ticket Header */
.ticket-header-flat {
    padding: 20px 24px;
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ticket-id-flat {
    background-color: rgba(98, 67, 255, 0.08) !important;
    color: var(--tg-theme-secondary, #6243ff) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-subject-flat {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: var(--neutral-900) !important;
    margin-top: 4px !important;
}

.btn-primary-flat, #ticketReply {
    background-color: #00c753 !important;
    border-color: #00c753 !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    transition: all 0.15s ease;
    box-shadow: 0 4px 10px rgba(0, 199, 83, 0.15) !important;
}

.btn-primary-flat:hover, #ticketReply:hover {
    background-color: #00a846 !important;
    border-color: #00a846 !important;
    box-shadow: 0 6px 14px rgba(0, 168, 70, 0.2) !important;
}

.btn-danger-flat {
    background-color: #ef4444 !important;
    border-color: #ef4444 !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    transition: all 0.15s ease;
}

.btn-danger-flat:hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
}

.btn-secondary-flat {
    background-color: var(--neutral-100) !important;
    border-color: var(--neutral-200) !important;
    color: var(--neutral-700) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
}

/* Reply Bubbles - Modern Minimalist */
.ticket-reply-bubble {
    border: 1px solid var(--neutral-200) !important;
    border-radius: 12px !important;
    background-color: var(--white) !important;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.ticket-reply-bubble:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Bubble Headers */
.ticket-reply-bubble .reply-header {
    background-color: transparent !important; /* Transparent header for flat look */
    border-bottom: 1px solid var(--neutral-100) !important; /* Soft hairline separator */
    font-size: 0.85rem !important;
    color: var(--neutral-500) !important;
    padding: 14px 20px !important;
}

.ticket-reply-bubble .reply-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
}

.ticket-reply-bubble .reply-avatar i,
.ticket-reply-bubble .reply-avatar svg {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 1 !important;
    text-align: center !important;
}

/* Visually center fa-user-shield to compensate for asymmetric shape */
.ticket-reply-bubble .reply-avatar .fa-user-shield {
    transform: translateX(1.5px) !important;
}

.ticket-reply-bubble.staff-reply .reply-avatar {
    background-color: rgba(98, 67, 255, 0.08) !important;
    color: var(--tg-theme-secondary, #6243ff) !important;
    border: 1px solid rgba(98, 67, 255, 0.15) !important;
}

.ticket-reply-bubble.client-reply .reply-avatar {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}

.ticket-reply-bubble .reply-sender-name {
    font-size: 0.92rem;
    color: var(--neutral-800);
}

.ticket-reply-bubble.staff-reply .reply-sender-name {
    color: var(--tg-theme-secondary, #6243ff) !important;
    font-weight: 700 !important;
}

/* Badges - Premium Capsule Shape with Soft Border & Tint */
.ticket-reply-bubble .requestor-badge {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.ticket-reply-bubble.staff-reply .requestor-badge {
    background-color: rgba(98, 67, 255, 0.08) !important;
    color: var(--tg-theme-secondary, #6243ff) !important;
    border: 1px solid rgba(98, 67, 255, 0.15) !important;
}

.ticket-reply-bubble.client-reply .requestor-badge {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}

/* Bubble Bodies */
.ticket-reply-bubble .reply-body {
    padding: 18px 20px !important;
}

.ticket-reply-bubble .reply-message-content {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: var(--neutral-800) !important;
}

.ticket-reply-bubble .reply-message-content p:last-child {
    margin-bottom: 0 !important;
}

.ticket-reply-bubble .reply-ip-address {
    font-size: 0.78rem;
    border-top: 1px dashed var(--neutral-200);
}

/* Staff Specific Bubble Layout */
.ticket-reply-bubble.staff-reply {
    border-color: rgba(98, 67, 255, 0.12) !important;
    background-color: #fcfcff !important; /* Soft flat brand indigo tint */
}

.ticket-reply-bubble.staff-reply .reply-header {
    border-bottom-color: rgba(98, 67, 255, 0.06) !important;
}

/* Ratings */
.reply-rating-container {
    border-top: 1px dashed var(--neutral-200);
    font-size: 0.82rem;
}

.rating-done .stars-display i {
    color: #ffb700;
    margin-right: 2px;
}

.rating-prompt .stars-interactive {
    display: inline-flex;
    flex-direction: row-reverse;
}

.rating-prompt .stars-interactive .star-interactive-item {
    font-size: 1rem;
    color: var(--neutral-300);
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.15s ease;
}

.rating-prompt .stars-interactive .star-interactive-item:hover,
.rating-prompt .stars-interactive .star-interactive-item:hover ~ .star-interactive-item {
    color: #ffb700;
}

.rating-prompt .stars-interactive .star-interactive-item:hover i:before,
.rating-prompt .stars-interactive .star-interactive-item:hover ~ .star-interactive-item i:before {
    content: "\f005"; /* FontAwesome Solid Star */
    font-weight: 900;
}

/* Attachment Chips */
.reply-attachments {
    background-color: var(--neutral-50);
    border-top: 1px solid var(--neutral-200);
    padding: 12px 20px !important;
    font-size: 0.82rem;
}

.ticket-reply-bubble.staff-reply .reply-attachments {
    background-color: rgba(98, 67, 255, 0.01);
    border-top-color: rgba(98, 67, 255, 0.06);
}

.attachment-item-card {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: 6px;
    color: var(--neutral-600);
    text-decoration: none !important;
    font-size: 0.82rem !important;
    transition: all 0.15s ease;
}

.attachment-item-card:hover {
    border-color: var(--tg-theme-secondary, #6243ff);
    color: var(--tg-theme-secondary, #6243ff);
}

.attachment-item-card.removed {
    background-color: var(--neutral-100);
    color: var(--neutral-400);
    cursor: not-allowed;
}

/* Form Card */
.ticket-reply-form-card {
    border: 1px solid var(--neutral-200) !important;
    border-radius: 12px !important;
    background-color: var(--white) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.ticket-reply-form-card .form-label {
    font-weight: 600;
    color: var(--neutral-700);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.ticket-reply-form-card .form-control {
    border: 1px solid var(--neutral-300);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.92rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ticket-reply-form-card .form-control:focus {
    border-color: var(--tg-theme-secondary, #6243ff);
    box-shadow: 0 0 0 3px rgba(98, 67, 255, 0.1);
}

/* Sidebar Footer Buttons - Flat Styling & Green Theme Sync */
.sidebar .card-footer,
.card-sidebar .card-footer {
    padding: 12px 8px !important;
}

.sidebar .card-footer .row,
.card-sidebar .card-footer .row {
    display: flex !important;
    flex-direction: column !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.sidebar .card-footer .row > div,
.card-sidebar .card-footer .row > div,
.sidebar .card-footer [class*="col-"],
.card-sidebar .card-footer [class*="col-"] {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sidebar .card-footer .row > div:not(:last-child),
.card-sidebar .card-footer .row > div:not(:last-child),
.sidebar .card-footer [class*="col-"]:not(:last-child),
.card-sidebar .card-footer [class*="col-"]:not(:last-child) {
    margin-bottom: 8px !important;
}

.sidebar .card-footer .btn,
.card-sidebar .card-footer .btn {
    width: 100% !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
    box-shadow: none !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

.sidebar .card-footer .btn i,
.card-sidebar .card-footer .btn i {
    margin-right: 5px !important;
}

.sidebar .card-footer .btn-success,
.card-sidebar .card-footer .btn-success {
    background: #00c753 !important;
    border-color: #00c753 !important;
}

.sidebar .card-footer .btn-success:hover,
.card-sidebar .card-footer .btn-success:hover {
    background: #00a846 !important;
    border-color: #00a846 !important;
}

.sidebar .card-footer .btn-danger,
.card-sidebar .card-footer .btn-danger {
    background: #e7000b !important;
    border-color: #e7000b !important;
}

.sidebar .card-footer .btn-danger:hover,
.card-sidebar .card-footer .btn-danger:hover {
    background: #c30009 !important;
    border-color: #c30009 !important;
}

/* Markdown Editor Toolbar Styles */
#main-body .md-editor {
    border: 1px solid var(--neutral-200) !important;
}

#main-body .md-editor .md-header {
    background-color: var(--neutral-50) !important;
    border-bottom: 1px solid var(--neutral-200) !important;
    padding: 8px 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
}

#main-body .md-editor .md-header .btn-toolbar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100% !important;
}

#main-body .md-editor .md-header .btn-group {
    display: flex !important;
    gap: 3px !important;
    margin-right: 4px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#main-body .md-editor .md-header .btn {
    border-radius: 999px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    width: auto !important;
    min-width: auto !important;
    background-color: var(--white) !important;
    border: 1px solid var(--neutral-300) !important;
    color: var(--neutral-700) !important;
    transition: all 0.15s ease !important;
}

#main-body .md-editor .md-header .btn:hover {
    background-color: var(--neutral-100) !important;
    border-color: var(--neutral-400) !important;
    color: var(--neutral-900) !important;
    transform: translateY(-1px) !important;
}

#main-body .md-editor .md-header .btn.active,
#main-body .md-editor .md-header .btn-primary {
    background-color: #00c753 !important;
    border-color: #00c753 !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
    width: auto !important;
    height: 34px !important;
}

#main-body .md-editor .md-header .btn.active:hover,
#main-body .md-editor .md-header .btn-primary:hover {
    background-color: #00a846 !important;
    border-color: #00a846 !important;
    color: var(--white) !important;
}

#main-body .md-editor .md-header .btn-primary span,
#main-body .md-editor .md-header .btn-primary i,
#main-body .md-editor .md-header .btn.active span,
#main-body .md-editor .md-header .btn.active i {
    margin-right: 6px !important;
}

#main-body .md-editor .md-header .md-controls {
    margin-left: auto !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 34px !important;
}

#main-body .md-editor .md-header .md-controls .md-control {
    padding: 4px 8px !important;
    color: var(--neutral-500) !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 34px !important;
}

#main-body .md-editor .md-header .md-controls .md-control:hover {
    color: var(--neutral-800) !important;
}

/* Ticket CC Recipients Sidebar Card Styles */
#ccCloneRow,
#main-body #ccCloneRow {
    display: none !important;
}

#main-body #frmAddCcEmail {
    margin-top: 10px !important;
    padding: 0 !important;
    width: 100% !important;
}

#main-body #containerAddCcEmail {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

#main-body #inputAddCcEmail {
    width: 100% !important;
    border-radius: 8px !important;
    border: 1px solid var(--neutral-300, #d1d5db) !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    height: auto !important;
    background-color: var(--white, #ffffff) !important;
    margin: 0 !important;
    color: var(--neutral-800, #1f2937) !important;
    box-shadow: none !important;
}

#main-body #inputAddCcEmail:focus {
    border-color: #00c753 !important;
    box-shadow: 0 0 0 3px rgba(0, 199, 83, 0.1) !important;
}

#main-body #containerAddCcEmail .input-group-append,
#main-body #containerAddCcEmail .input-group-btn {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#main-body #btnAddCcEmail {
    width: 100% !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    background-color: var(--neutral-100, #f3f4f6) !important;
    border: 1px solid var(--neutral-300, #d1d5db) !important;
    color: var(--neutral-700, #374151) !important;
    margin: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
    box-shadow: none !important;
    text-transform: none !important;
}

#main-body #btnAddCcEmail:hover {
    background-color: #00c753 !important;
    border-color: #00c753 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Cloned CC List Item Styles */
#main-body .sidebar .card .list-group-item .ticket-cc-email,
#main-body .sidebar .card-sidebar .list-group-item .ticket-cc-email {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

#main-body .sidebar .card .list-group-item .ticket-cc-email .email,
#main-body .sidebar .card-sidebar .list-group-item .ticket-cc-email .email {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: var(--neutral-700, #374151) !important;
    max-width: 80% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#main-body .sidebar .card .list-group-item .ticket-cc-email .delete-cc-email i,
#main-body .sidebar .card-sidebar .list-group-item .ticket-cc-email .delete-cc-email i {
    color: #ef4444 !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
}

#main-body .sidebar .card .list-group-item .ticket-cc-email .delete-cc-email i:hover,
#main-body .sidebar .card-sidebar .list-group-item .ticket-cc-email .delete-cc-email i:hover {
    color: #dc2626 !important;
    transform: scale(1.1) !important;
}

/* Override padding shift hover for CC email list items */
#main-body .sidebar .card-sidebar .list-group-item:has(.ticket-cc-email):hover,
#main-body .sidebar .card .list-group-item:has(.ticket-cc-email):hover {
    background-color: rgba(239, 68, 68, 0.03) !important;
    padding-left: 20px !important;
    color: inherit !important;
}

/* ==========================================================================
   Smooth Dropdown/Mega Menu Animation & Premium Pages Options
   ========================================================================== */

@media (min-width: 992px) {
    /* Hidden menus must stop receiving pointer input as soon as their owner is left. */
    .tgmenu__navbar-wrap .tg-mega-menu-wrap {
        transform: translateY(8px) scale(0.975) translateX(-50%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.16s ease-out,
                    transform 0.16s ease-out !important;
        transform-origin: top center !important;
        will-change: transform, opacity;
    }

    /* JavaScript guarantees that only the latest hovered or focused item owns an open menu. */
    .tgmenu__navbar-wrap .menu-item-has-children.is-menu-open > .tg-mega-menu-wrap {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) translateX(-50%) !important;
    }

    /* Bridge the hover gap between sticky navbar pill and mega menu */
    .tgmenu__navbar-wrap .tg-mega-menu-wrap::before {
        content: '';
        position: absolute;
        top: -25px; /* Bridges the 10px-15px margin gap perfectly */
        left: 0;
        right: 0;
        height: 30px;
        background: transparent;
        z-index: 10;
        pointer-events: auto;
    }

    /* Premium style for the Pages mega menu links (option elements) */
    .tg-mega-menu-wrap-four .mega-sub-menu li a {
        padding: 10px 16px !important;
        border-radius: 8px !important;
        background: transparent !important;
        color: var(--tg-heading-color, #1a202c) !important;
        font-weight: 500 !important;
        transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
        display: block !important;
        margin-bottom: 4px !important;
    }

    /* Option hover effect: slide-in padding + soft theme secondary translucent background */
    .tg-mega-menu-wrap-four .mega-sub-menu li:hover > a {
        color: var(--tg-theme-secondary, #6F56DA) !important;
        background: rgba(111, 86, 218, 0.08) !important;
        padding-left: 22px !important;
    }
}

/* ==========================================================================
   Legal Documents / Terms Sidebar and layout styling
   ========================================================================== */
.terms-sidebar {
    background: #ffffff;
    border: 1px solid var(--tg-border-2, #e5e7eb);
    border-radius: 12px;
    padding: 16px 20px;
    position: sticky;
    top: 100px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.terms-sidebar .title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--tg-heading-color);
    border-bottom: 1px solid var(--tg-border-2, #e5e7eb);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.terms-sidebar .list-wrap {
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-sidebar .list-wrap li {
    margin-bottom: 4px;
}

.terms-sidebar .list-wrap li:last-child {
    margin-bottom: 0;
}

.terms-sidebar .list-wrap li a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tg-body-color, #717484);
    background: transparent;
    border-left: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.terms-sidebar .list-wrap li a:hover {
    color: var(--tg-theme-secondary, #6F56DA) !important;
    background: rgba(111, 86, 218, 0.04);
    border-left-color: rgba(111, 86, 218, 0.3);
    padding-left: 16px;
    text-decoration: none;
}

.terms-sidebar .list-wrap li.active a {
    color: var(--tg-theme-secondary, #6F56DA) !important;
    background: rgba(111, 86, 218, 0.08) !important;
    border-left-color: var(--tg-theme-secondary, #6F56DA) !important;
    font-weight: 600;
    padding-left: 16px;
    box-shadow: none;
}

.terms__content {
    background: #ffffff;
    border: 1px solid var(--tg-border-2, #e5e7eb);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.terms__content .intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--tg-body-color, #717484);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--tg-border-2, #e5e7eb);
}

.terms__content .title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--tg-heading-color);
}

.terms__content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--tg-body-color, #717484);
}

.terms__content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.terms__content ul li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--tg-body-color, #717484);
    margin-bottom: 8px;
    list-style-type: disc;
}

.xhosting-homepage-plans .pricing__item-wrap [class*="col-"] {
    display: flex;
}

.xhosting-homepage-plans .pricing__box {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.xhosting-homepage-plans .pricing__btn {
    margin-top: 0;
}

.xhosting-homepage-plans-more {
    margin-top: 40px;
}

/* Özellik düğmesinin rengi, kartın grid içindeki sırasıyla eşleşir. */
.pricing__select {
    position: relative;
    margin-top: 20px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    padding: 0 45px 0 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: capitalize;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.pricing__select:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.pricing__select span {
    display: block;
    line-height: 1;
    transition: color 0.2s ease;
}

/* Açık/kapalı durum oku. */
.pricing__select::after {
    content: "\f078";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%) rotate(0deg);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.pricing__box.active .pricing__select::after,
.pricing__box-bottom.active .pricing__select::after,
.xhosting-features-expanded .pricing__select::after,
.xhosting-product-card.active .pricing__select::after {
    transform: translateY(-50%) rotate(180deg) !important;
}

.pricing__select .less-item {
    display: none;
}
.pricing__box.active .pricing__select .more-item,
.pricing__box-bottom.active .pricing__select .more-item,
.xhosting-features-expanded .pricing__select .more-item {
    display: none !important;
}
.pricing__box.active .pricing__select .less-item,
.pricing__box-bottom.active .pricing__select .less-item,
.xhosting-features-expanded .pricing__select .less-item {
    display: block !important;
}


/* Mor kartlar */
.pricing__box-seven .pricing__select,
.pricing__item-wrap .row > *:nth-child(3n+1) .pricing__box .pricing__select,
.pricing__item-wrap-two .row > *:nth-child(4n+1) .pricing__box-top ~ .pricing__box-bottom .pricing__select,
.pricing__item-wrap-four .row > *:nth-child(4n+1) .pricing__box-seven .pricing__select,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+1) .xhosting-product-card .pricing__select,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n+1) .xhosting-product-card .pricing__select {
    background: rgba(238, 235, 255, 0.85) !important;
    color: #5b21b6 !important;
    border: 1px solid rgba(211, 206, 241, 0.9) !important;
}
.pricing__box-seven .pricing__select::after,
.pricing__item-wrap .row > *:nth-child(3n+1) .pricing__box .pricing__select::after,
.pricing__item-wrap-two .row > *:nth-child(4n+1) .pricing__box-top ~ .pricing__box-bottom .pricing__select::after,
.pricing__item-wrap-four .row > *:nth-child(4n+1) .pricing__box-seven .pricing__select::after,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+1) .xhosting-product-card .pricing__select::after,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n+1) .xhosting-product-card .pricing__select::after {
    color: #7c3aed !important;
}

.pricing__box-seven .pricing__select:hover,
.pricing__item-wrap .row > *:nth-child(3n+1) .pricing__box .pricing__select:hover,
.pricing__item-wrap-two .row > *:nth-child(4n+1) .pricing__box-top ~ .pricing__box-bottom .pricing__select:hover,
.pricing__item-wrap-four .row > *:nth-child(4n+1) .pricing__box-seven .pricing__select:hover,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+1) .xhosting-product-card .pricing__select:hover,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n+1) .xhosting-product-card .pricing__select:hover {
    background: rgba(225, 219, 255, 0.95) !important;
    color: #4c1d95 !important;
    border-color: rgba(186, 175, 248, 1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.12) !important;
}
.pricing__box-seven .pricing__select:hover::after,
.pricing__item-wrap .row > *:nth-child(3n+1) .pricing__box .pricing__select:hover::after,
.pricing__item-wrap-two .row > *:nth-child(4n+1) .pricing__box-top ~ .pricing__box-bottom .pricing__select:hover::after,
.pricing__item-wrap-four .row > *:nth-child(4n+1) .pricing__box-seven .pricing__select:hover::after,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+1) .xhosting-product-card .pricing__select:hover::after,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n+1) .xhosting-product-card .pricing__select:hover::after {
    color: #5b21b6 !important;
}


/* Mavi kartlar */
.pricing__item-wrap .row > *:nth-child(3n+2) .pricing__box .pricing__select,
.pricing__item-wrap-two .row > *:nth-child(4n+2) .pricing__box-top ~ .pricing__box-bottom .pricing__select,
.pricing__item-wrap-four .row > *:nth-child(4n+2) .pricing__box-seven .pricing__select,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+2) .xhosting-product-card .pricing__select,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n+2) .xhosting-product-card .pricing__select {
    background: rgba(236, 245, 255, 0.85) !important;
    color: #1d4ed8 !important;
    border: 1px solid rgba(211, 225, 240, 0.9) !important;
}
.pricing__item-wrap .row > *:nth-child(3n+2) .pricing__box .pricing__select::after,
.pricing__item-wrap-two .row > *:nth-child(4n+2) .pricing__box-top ~ .pricing__box-bottom .pricing__select::after,
.pricing__item-wrap-four .row > *:nth-child(4n+2) .pricing__box-seven .pricing__select::after,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+2) .xhosting-product-card .pricing__select::after,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n+2) .xhosting-product-card .pricing__select::after {
    color: #2563eb !important;
}

.pricing__item-wrap .row > *:nth-child(3n+2) .pricing__box .pricing__select:hover,
.pricing__item-wrap-two .row > *:nth-child(4n+2) .pricing__box-top ~ .pricing__box-bottom .pricing__select:hover,
.pricing__item-wrap-four .row > *:nth-child(4n+2) .pricing__box-seven .pricing__select:hover,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+2) .xhosting-product-card .pricing__select:hover,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n+2) .xhosting-product-card .pricing__select:hover {
    background: rgba(217, 235, 255, 0.95) !important;
    color: #1e40af !important;
    border-color: rgba(179, 212, 248, 1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12) !important;
}
.pricing__item-wrap .row > *:nth-child(3n+2) .pricing__box .pricing__select:hover::after,
.pricing__item-wrap-two .row > *:nth-child(4n+2) .pricing__box-top ~ .pricing__box-bottom .pricing__select:hover::after,
.pricing__item-wrap-four .row > *:nth-child(4n+2) .pricing__box-seven .pricing__select:hover::after,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+2) .xhosting-product-card .pricing__select:hover::after,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n+2) .xhosting-product-card .pricing__select:hover::after {
    color: #1d4ed8 !important;
}


/* Dört sütunlu gridlerin üçüncü kartı sarıdır. */
.pricing__item-wrap-two .row > *:nth-child(4n+3) .pricing__box-top ~ .pricing__box-bottom .pricing__select,
.pricing__item-wrap-four .row > *:nth-child(4n+3) .pricing__box-seven .pricing__select,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+3) .xhosting-product-card .pricing__select {
    background: rgba(248, 247, 215, 0.85) !important;
    color: #854d0e !important;
    border: 1px solid rgba(225, 224, 164, 0.9) !important;
}
.pricing__item-wrap-two .row > *:nth-child(4n+3) .pricing__box-top ~ .pricing__box-bottom .pricing__select::after,
.pricing__item-wrap-four .row > *:nth-child(4n+3) .pricing__box-seven .pricing__select::after,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+3) .xhosting-product-card .pricing__select::after {
    color: #b45309 !important;
}

.pricing__item-wrap-two .row > *:nth-child(4n+3) .pricing__box-top ~ .pricing__box-bottom .pricing__select:hover,
.pricing__item-wrap-four .row > *:nth-child(4n+3) .pricing__box-seven .pricing__select:hover,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+3) .xhosting-product-card .pricing__select:hover {
    background: rgba(243, 241, 185, 0.95) !important;
    color: #713f12 !important;
    border-color: rgba(210, 208, 130, 1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.12) !important;
}
.pricing__item-wrap-two .row > *:nth-child(4n+3) .pricing__box-top ~ .pricing__box-bottom .pricing__select:hover::after,
.pricing__item-wrap-four .row > *:nth-child(4n+3) .pricing__box-seven .pricing__select:hover::after,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n+3) .xhosting-product-card .pricing__select:hover::after {
    color: #854d0e !important;
}


/* Üç sütunlu gridlerin üçüncü, dört sütunlu gridlerin dördüncü kartı yeşildir. */
.pricing__item-wrap .row > *:nth-child(3n) .pricing__box .pricing__select,
.pricing__item-wrap-two .row > *:nth-child(4n) .pricing__box-top ~ .pricing__box-bottom .pricing__select,
.pricing__item-wrap-four .row > *:nth-child(4n) .pricing__box-seven .pricing__select,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n) .xhosting-product-card .pricing__select,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n) .xhosting-product-card .pricing__select {
    background: rgba(222, 247, 234, 0.85) !important;
    color: #15803d !important;
    border: 1px solid rgba(197, 230, 213, 0.9) !important;
}
.pricing__item-wrap .row > *:nth-child(3n) .pricing__box .pricing__select::after,
.pricing__item-wrap-two .row > *:nth-child(4n) .pricing__box-top ~ .pricing__box-bottom .pricing__select::after,
.pricing__item-wrap-four .row > *:nth-child(4n) .pricing__box-seven .pricing__select::after,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n) .xhosting-product-card .pricing__select::after,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n) .xhosting-product-card .pricing__select::after {
    color: #16a34a !important;
}

.pricing__item-wrap .row > *:nth-child(3n) .pricing__box .pricing__select:hover,
.pricing__item-wrap-two .row > *:nth-child(4n) .pricing__box-top ~ .pricing__box-bottom .pricing__select:hover,
.pricing__item-wrap-four .row > *:nth-child(4n) .pricing__box-seven .pricing__select:hover,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n) .xhosting-product-card .pricing__select:hover,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n) .xhosting-product-card .pricing__select:hover {
    background: rgba(200, 242, 220, 0.95) !important;
    color: #166534 !important;
    border-color: rgba(165, 220, 192, 1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.12) !important;
}
.pricing__item-wrap .row > *:nth-child(3n) .pricing__box .pricing__select:hover::after,
.pricing__item-wrap-two .row > *:nth-child(4n) .pricing__box-top ~ .pricing__box-bottom .pricing__select:hover::after,
.pricing__item-wrap-four .row > *:nth-child(4n) .pricing__box-seven .pricing__select:hover::after,
.pricing__item-wrap-three-4cols .row > *:nth-child(4n) .xhosting-product-card .pricing__select:hover::after,
.pricing__item-wrap-three:not(.pricing__item-wrap-three-4cols) .row > *:nth-child(3n) .xhosting-product-card .pricing__select:hover::after {
    color: #15803d !important;
}

/* Keep the site copyright and WHMCS license branding stacked cleanly in footer. */
#footer .xhosting-footer-copyright-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

#footer .xhosting-site-copyright,
#footer .xhosting-license-copyright {
    display: flex;
    align-items: center;
}

#footer .xhosting-site-copyright p {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 14px;
    color: var(--tg-color-gray-1, #b1b5c2);
    line-height: 1.5;
}

#footer .xhosting-site-copyright p span {
    color: var(--tg-color-gray-1, #b1b5c2);
    font-weight: 600;
}

#footer .xhosting-license-copyright:empty {
    display: none;
}

#footer .xhosting-license-copyright .xhosting-whmcs-branding {
    margin: 0 !important;
    text-align: left !important;
    font-size: 13px;
    font-weight: 500;
    color: var(--tg-color-gray-1, #b1b5c2);
    line-height: 1.4;
}

#footer .xhosting-license-copyright .xhosting-whmcs-branding a {
    color: var(--tg-color-gray-1, #b1b5c2);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

#footer .xhosting-license-copyright .xhosting-whmcs-branding a:hover {
    color: var(--tg-theme-secondary, #ff3c00);
}

@media (max-width: 991.98px) {
    #footer .xhosting-footer-copyright-row {
        align-items: center;
        text-align: center;
    }

    #footer .xhosting-license-copyright .xhosting-whmcs-branding {
        text-align: center !important;
    }
}

/* Align homepage main-body and section backgrounds 1-to-1 with xhosting-html design */
#main-body.xhosting-homepage-body {
    background-color: var(--tg-color-white-default, #ffffff);
}

/* Give the homepage TLD highlights breathing room before the hero banner. */
.xhosting-homepage-tld-list {
    margin-bottom: 24px;
}

.hosting__area,
.pricing__area,
.pricing__area-two,
.pricing__area-three,
.xhosting-homepage-plans,
.services__area,
.brand__area,
.testimonial__area,
.faq__area,
.blog__area {
    background-color: var(--tg-color-white-default, #ffffff);
}

/* Choose area in xhosting-html has light gray background */
.choose__area {
    background-color: var(--tg-color-gray-3, #f4f5f7) !important;
}

/* Brand area spacing matching reference layout */
.brand__area {
    padding: 100px 0;
}

/* Shared vertical rhythm for every order-form marketing section.
   Each section owns its spacing, so optional/removed siblings cannot collapse the layout. */
.xhosting-section-stack {
    --xhosting-section-space: clamp(72px, 8vw, 120px);
}

.xhosting-section-stack > section,
.xhosting-section-stack > .brand__area,
.xhosting-section-stack > .brand__area-two {
    padding-top: var(--xhosting-section-space) !important;
}

/* Related hosting cards use the source-aligned feature-card primitive. */
.xhosting-related-hosting__grid > [class*="col-"] {
    display: flex;
}

.xhosting-related-hosting__card {
    width: 100%;
    min-width: 0;
}

.xhosting-related-hosting__card .features__content-five {
    min-width: 0;
}

.xhosting-related-hosting__card .tg-btn {
    max-width: 100%;
    flex-shrink: 0;
    white-space: normal;
    text-align: center;
}

@media (max-width: 767.98px) {
    .xhosting-section-stack {
        --xhosting-section-space: 64px;
    }
}

/* Compact marketing consent heading with accessible help tooltip. */
.xh-marketing-consent-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
}

.xh-marketing-consent-heading h3,
.xh-marketing-consent-heading h4 {
    margin: 0;
}

.xh-marketing-help {
    position: relative;
    display: inline-grid;
    width: 23px;
    height: 23px;
    padding: 0;
    flex: 0 0 23px;
    place-items: center;
    border: 1.5px solid #8064e8;
    border-radius: 50%;
    background: #f7f5ff;
    color: #6545cf;
    font: 700 13px/1 Arial, sans-serif;
    cursor: help;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.xh-marketing-help:hover {
    border-color: #6545cf;
    outline: 0;
    background: #6545cf;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(101, 69, 207, 0.14);
}

.xh-marketing-help__tooltip {
    position: absolute;
    z-index: 1100;
    bottom: calc(100% + 12px);
    left: 50%;
    width: 320px;
    max-width: calc(100vw - 48px);
    padding: 11px 13px;
    border-radius: 9px;
    background: #252238;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    box-shadow: 0 12px 30px rgba(27, 22, 48, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 5px);
    transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease;
}

.xh-marketing-help__tooltip::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #252238;
    content: "";
    transform: translateX(-50%);
}

.xh-marketing-help:hover .xh-marketing-help__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

@media (max-width: 575.98px) {
    .xh-marketing-help__tooltip {
        right: -16px;
        left: auto;
        transform: translateY(5px);
    }

    .xh-marketing-help__tooltip::after {
        right: 21px;
        left: auto;
        transform: none;
    }

    .xh-marketing-help:hover .xh-marketing-help__tooltip {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .xh-marketing-help,
    .xh-marketing-help__tooltip {
        transition: none;
    }
}

/* Simple, checked-by-default marketing consent control. */
.xh-marketing-consent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #252a34;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.xh-marketing-consent__input {
    display: grid;
    place-content: center;
    width: 22px;
    height: 22px;
    margin: 0;
    flex: 0 0 22px;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #a8aebb;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.xh-marketing-consent__input::before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6d4dde;
    content: "";
    transform: scale(0);
    transition: transform 160ms ease;
}

.xh-marketing-consent__input:checked {
    border-color: #6d4dde;
    box-shadow: 0 0 0 4px rgba(109, 77, 222, 0.13);
}

.xh-marketing-consent__input:checked::before {
    transform: scale(1);
}

.xh-marketing-consent:hover .xh-marketing-consent__input {
    border-color: #6d4dde;
}

.xh-marketing-consent__input:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(109, 77, 222, 0.2);
}

/* WHMCS outputs the Answered ticket state with an inline black color. */
[menuitemname="Recent_Support_Tickets"] .list-group-item .label[style*="#000000"],
[id^="ClientAreaHomePagePanels-Recent_Support_Tickets"] .label[style*="#000000"] {
    display: inline-block;
    margin-left: 6px;
    padding: 4px 9px;
    border: 1px solid #d9d0fb;
    border-radius: 999px;
    background-color: #eeeafd !important;
    color: #6545cf !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: middle;
}

/* Keep WHMCS JS-dependent switches horizontal and visually aligned. */
.bootstrap-switch {
    overflow: hidden !important;
    border: 1px solid #d7dbe3 !important;
    border-radius: 10px !important;
    background: #f1f3f6 !important;
    box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04) !important;
    vertical-align: middle;
}

.bootstrap-switch .bootstrap-switch-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
}

.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-label {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success {
    background: #16a34a !important;
    color: #fff !important;
}

.bootstrap-switch .bootstrap-switch-handle-off {
    background: #fff !important;
    color: #252a34 !important;
}

.bootstrap-switch .bootstrap-switch-label {
    background: #f1f3f6 !important;
    color: #697083 !important;
}

/* ==========================================================================
   Payment Methods & Credit Card Form Enhancements (Nexus Modern UI)
   ========================================================================== */
.frm-credit-card-input {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 5px;
}

.frm-credit-card-input .form-group.row {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.25rem !important;
}

.frm-credit-card-input .control-label {
    font-size: 0.925rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .frm-credit-card-input .control-label {
        margin-bottom: 0;
        padding-top: 8px;
    }
}

/* Modern Input Controls */
.frm-credit-card-input .form-control {
    height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.frm-credit-card-input .form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    outline: none;
}

.frm-credit-card-input .form-control:disabled {
    background-color: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

/* Fix for Input Group and Optional badge layout */
.frm-credit-card-input .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
}

.frm-credit-card-input .input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0;
    margin-bottom: 0;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.frm-credit-card-input .input-group-append {
    display: flex !important;
    margin-left: -1px;
}

.frm-credit-card-input .input-group-text {
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 0;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    white-space: nowrap;
}

/* Payment Type Selector Pills */
.frm-credit-card-input .form-check-inline {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-right: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.frm-credit-card-input .form-check-inline:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

.frm-credit-card-input .form-check-inline .icheckbox_square-blue,
.frm-credit-card-input .form-check-inline .iradio_square-blue,
.frm-credit-card-input .form-check-inline input[type="radio"] {
    margin-right: 8px;
    vertical-align: middle;
}

/* Billing Contact Cards */
.billing-contact-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.billing-contact-card {
    display: flex !important;
    align-items: flex-start;
    padding: 12px 16px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px;
    margin-bottom: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.billing-contact-card:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

.billing-contact-card.active,
.billing-contact-card:has(.checked),
.billing-contact-card:has(input:checked) {
    border-color: #10b981 !important;
    background: #f0fdf4 !important;
    box-shadow: 0 0 0 1px #10b981;
}

.billing-contact-card .contact-card-info {
    flex: 1;
    line-height: 1.4;
}

.billing-contact-card .name {
    font-size: 0.95rem;
}

.billing-contact-card .address-text {
    font-size: 0.85rem;
    color: #64748b;
}

/* Error Messages */
.frm-credit-card-input .field-error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 6px;
}

/* Button & Action Container */
.frm-credit-card-input #btnSubmit {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
}

.frm-credit-card-input #btnSubmit:hover {
    background-color: #059669 !important;
    border-color: #059669 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.frm-credit-card-input .btn-default,
.frm-credit-card-input .btn-light {
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.frm-credit-card-input .btn-default:hover,
.frm-credit-card-input .btn-light:hover {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
}

/* Payment Methods List Table (account-paymentmethods.tpl) */
#payMethodList {
    border-collapse: separate;
    border-spacing: 0 8px;
}

#payMethodList tr {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-radius: 10px;
}

#payMethodList td {
    padding: 14px 16px;
    vertical-align: middle;
    border: 1px solid #e2e8f0;
}

#payMethodList td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-right: 0;
}

#payMethodList td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-left: 0;
}

#payMethodList td:not(:first-child):not(:last-child) {
    border-left: 0;
    border-right: 0;
}

/* Modal Centering & Header Z-Index Fix */
.modal {
    z-index: 100050 !important;
}

.modal-backdrop {
    z-index: 100040 !important;
}

.modal-dialog-centered {
    display: flex !important;
    align-items: center !important;
    min-height: calc(100% - 3.5rem) !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

#modalBillingAddress .modal-content {
    border-radius: 16px;
    border: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


