/*
 * Trybot Control Center 2026
 * Shared visual system for every WHMCS view except the marketing homepage.
 * Loaded after page-level styles so legacy templates inherit one coherent UI.
 */

:root {
    --tbx-black: #050505;
    --tbx-ink: #1d1d1f;
    --tbx-copy: #515154;
    --tbx-muted: #86868b;
    --tbx-canvas: #f5f5f7;
    --tbx-card: #ffffff;
    --tbx-soft: #f0f0f2;
    --tbx-line: #dedee3;
    --tbx-line-dark: rgba(255,255,255,.14);
    --tbx-radius: 18px;
    --tbx-radius-sm: 12px;
    --tbx-shadow: 0 18px 55px rgba(0,0,0,.07);
    --tbx-focus: 0 0 0 4px rgba(0,0,0,.12);
}

/* =========================================================
   TRYBOT EXPERIENCE V3 — expressive product UI
   ========================================================= */
:root {
    --tb3-navy: #071523;
    --tb3-navy-2: #0b2134;
    --tb3-cyan: #18baf4;
    --tb3-blue: #1689f5;
    --tb3-violet: #7567f8;
    --tb3-ice: #edf7ff;
    --tb3-canvas: #f3f7fb;
    --tb3-line: #d8e3ed;
    --tb3-copy: #526477;
    --tb3-ink: #122033;
    --tb3-shadow: 0 18px 52px rgba(29, 60, 88, .10);
}

/* Login: split product presentation, inspired by the homepage rather than a flat black screen. */
body.trybot-template-login .trybot-login-section {
    min-height: 100vh !important;
    padding: 0 !important;
    color: var(--tb3-ink) !important;
    background: #f8fafc !important;
}

body.trybot-template-login .trybot-login-section::before,
body.trybot-template-login .trybot-login-section::after {
    display: none !important;
}

body.trybot-template-login .trybot-login-shell {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(480px, .92fr) minmax(620px, 1.08fr) !important;
    align-items: stretch !important;
}

body.trybot-template-login .trybot-login-main {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 54px 62px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.trybot-template-login .trybot-login-brand {
    margin: 0 0 32px !important;
    text-align: left !important;
}

body.trybot-template-login .trybot-login-brand img {
    width: 178px !important;
    height: auto !important;
}

body.trybot-template-login .trybot-login-heading {
    margin: 0 0 28px !important;
    text-align: left !important;
}

body.trybot-template-login .trybot-login-heading h1 {
    margin-bottom: 8px !important;
    color: var(--tb3-ink) !important;
    font-size: 38px !important;
    font-weight: 750 !important;
    letter-spacing: -.035em !important;
}

body.trybot-template-login .trybot-login-heading p {
    color: var(--tb3-copy) !important;
    font-size: 15px !important;
}

body.trybot-template-login .trybot-login-card {
    border: 0 !important;
    border-radius: 22px !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.trybot-template-login .trybot-login-card-inner {
    padding: 0 !important;
}

body.trybot-template-login .trybot-login-card :where(label,strong,p,span) {
    color: var(--tb3-ink) !important;
}

body.trybot-template-login .trybot-login-card .form-control-label {
    font-weight: 650 !important;
}

body.trybot-template-login .trybot-login-card .input-group {
    border: 1px solid #cedae5 !important;
    border-radius: 13px !important;
    background: #edf4fb !important;
    box-shadow: none !important;
}

body.trybot-template-login .trybot-login-card :is(.input-group-text,.form-control,.btn-reveal-pw) {
    color: var(--tb3-ink) !important;
    border: 0 !important;
    background: transparent !important;
}

body.trybot-template-login .trybot-login-card .form-control,
body.trybot-template-login .trybot-login-card input:-webkit-autofill,
body.trybot-template-login .trybot-login-card input:-webkit-autofill:hover,
body.trybot-template-login .trybot-login-card input:-webkit-autofill:focus,
body.trybot-template-login .trybot-login-card input:-webkit-autofill:active {
    color: var(--tb3-ink) !important;
    -webkit-text-fill-color: var(--tb3-ink) !important;
    caret-color: var(--tb3-ink) !important;
    -webkit-box-shadow: 0 0 0 1000px #edf4fb inset !important;
    box-shadow: 0 0 0 1000px #edf4fb inset !important;
    transition: background-color 9999s ease-out 0s !important;
}

body.trybot-template-login .trybot-login-card .input-group:focus-within {
    border-color: var(--tb3-blue) !important;
    box-shadow: 0 0 0 4px rgba(22,137,245,.12) !important;
}

body.trybot-template-login .trybot-login-card .btn-primary {
    min-height: 52px !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(100deg,var(--tb3-blue),var(--tb3-cyan)) !important;
    box-shadow: 0 12px 28px rgba(22,137,245,.22) !important;
}

body.trybot-template-login .trybot-login-register {
    margin-top: 26px !important;
    padding-top: 22px !important;
    border-top: 1px solid var(--tb3-line) !important;
}

body.trybot-template-login .trybot-login-register-button {
    color: var(--tb3-ink) !important;
    border-color: var(--tb3-line) !important;
    border-radius: 13px !important;
    background: #fff !important;
}

body.trybot-template-login .trybot-login-register-button i,
body.trybot-template-login .trybot-login-forgot {
    color: var(--tb3-blue) !important;
}

body.trybot-template-login .trybot-login-footer {
    margin-top: 18px !important;
    color: var(--tb3-copy) !important;
    border: 1px solid var(--tb3-line) !important;
    border-radius: 12px !important;
    background: var(--tb3-ice) !important;
}

body.trybot-template-login .trybot-login-footer i {
    color: var(--tb3-blue) !important;
}

body.trybot-template-login :is(.trybot-login-back a,.trybot-login-security) {
    color: var(--tb3-copy) !important;
}

body.trybot-template-login .trybot-login-showcase {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(145deg,#05080d 0%,#081b2a 50%,#15204a 100%);
}

body.trybot-template-login .trybot-login-showcase-video,
body.trybot-template-login .trybot-login-showcase-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

body.trybot-template-login .trybot-login-showcase-video {
    z-index: -2;
    object-fit: cover;
    opacity: .78;
}

body.trybot-template-login .trybot-login-showcase-shade {
    z-index: -1;
    background: linear-gradient(180deg,rgba(4,9,16,.15),rgba(5,14,25,.48) 48%,rgba(3,9,16,.88));
}

body.trybot-template-login .trybot-login-showcase-copy {
    position: absolute;
    right: clamp(42px,7vw,110px);
    bottom: clamp(54px,9vh,110px);
    left: clamp(42px,7vw,110px);
    max-width: 680px;
    color: #fff;
}

body.trybot-template-login .trybot-login-showcase-pill {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 13px;
    color: #dff7ff !important;
    border: 1px solid rgba(89,213,255,.34);
    border-radius: 999px;
    background: rgba(13,147,202,.16);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 700;
}

body.trybot-template-login .trybot-login-showcase h2 {
    max-width: 650px;
    margin: 0 0 20px;
    color: #fff !important;
    font-size: clamp(40px,4.3vw,70px);
    font-weight: 720;
    line-height: .98;
    letter-spacing: -.05em;
}

body.trybot-template-login .trybot-login-showcase p {
    max-width: 610px;
    margin: 0;
    color: #c6d6e5 !important;
    font-size: 17px;
    line-height: 1.65;
}

body.trybot-template-login .trybot-login-showcase-points {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

body.trybot-template-login .trybot-login-showcase-points span {
    color: #fff !important;
    font-size: 13px;
    font-weight: 650;
}

body.trybot-template-login .trybot-login-showcase-points i {
    margin-right: 7px;
    color: #56d5ff;
}

/* Authenticated shell: richer surfaces and lighter typography. */
body.trybot-authenticated {
    background: var(--tb3-canvas) !important;
}

body.trybot-authenticated .trybot-client-content {
    background:
        radial-gradient(circle at 88% 3%,rgba(117,103,248,.11),transparent 26%),
        radial-gradient(circle at 28% 0%,rgba(24,186,244,.10),transparent 30%),
        linear-gradient(180deg,#f7fbff 0%,#f1f6fb 100%) !important;
}

body.trybot-authenticated .trybot-sidebar {
    background:
        radial-gradient(circle at 30% 0%,rgba(24,186,244,.18),transparent 28%),
        linear-gradient(180deg,#071523 0%,#05090f 100%) !important;
}

body.trybot-authenticated .trybot-sidebar :is(a,span,strong) {
    font-weight: 580 !important;
}

body.trybot-authenticated .trybot-sidebar :is(nav a:hover,.trybot-nav-item:hover,.active > a,.is-active) {
    color: #fff !important;
    background: linear-gradient(100deg,rgba(22,137,245,.22),rgba(24,186,244,.10)) !important;
}

body.trybot-authenticated .trybot-sidebar .trybot-logo,
body.trybot-authenticated .trybot-sidebar .trybot-logo:hover,
body.trybot-authenticated .trybot-sidebar .trybot-logo:focus {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.trybot-authenticated .trybot-content :is(h1,h2,h3,h4,h5,h6),
body.trybot-authenticated .trybot-client-content :is(.card-title,strong) {
    color: var(--tb3-ink) !important;
    font-weight: 700 !important;
    letter-spacing: -.025em !important;
}

body.trybot-authenticated .trybot-content :is(p,.text-muted,small),
body.trybot-authenticated .trybot-client-content :is(.text-muted,small) {
    color: var(--tb3-copy) !important;
}

body.trybot-template-clientareahome .trybot-home-shell {
    background: transparent !important;
}

body.trybot-template-clientareahome .trybot-home-shell::before,
body.trybot-template-clientareahome .trybot-home-shell::after {
    display: none !important;
}

body.trybot-template-clientareahome .trybot-home-hero {
    margin-bottom: 22px !important;
    padding: 34px 38px !important;
    color: #fff !important;
    border: 1px solid rgba(60,195,245,.20) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 86% 15%,rgba(117,103,248,.42),transparent 32%),
        radial-gradient(circle at 60% 120%,rgba(24,186,244,.22),transparent 35%),
        linear-gradient(125deg,#071523 0%,#0a2133 58%,#121c41 100%) !important;
    box-shadow: 0 24px 62px rgba(8,28,46,.20) !important;
}

body.trybot-template-clientareahome .trybot-home-hero :is(.trybot-kicker,.trybot-title,.trybot-subtitle) {
    color: #fff !important;
}

body.trybot-template-clientareahome .trybot-home-hero .trybot-kicker {
    color: #5bd8ff !important;
}

body.trybot-template-clientareahome .trybot-title {
    font-weight: 720 !important;
}

body.trybot-template-clientareahome .trybot-subtitle {
    max-width: 720px !important;
    opacity: .78;
}

body.trybot-template-clientareahome .trybot-hero-btn {
    color: #fff !important;
    border-color: rgba(255,255,255,.22) !important;
    background: rgba(255,255,255,.10) !important;
    backdrop-filter: blur(10px);
}

body.trybot-template-clientareahome .trybot-hero-btn.primary {
    color: #071523 !important;
    border-color: transparent !important;
    background: linear-gradient(100deg,#5edcff,#2cb7f4) !important;
    box-shadow: 0 12px 26px rgba(24,186,244,.22) !important;
}

body.trybot-template-clientareahome .trybot-alert {
    color: #17324a !important;
    border-color: #cce7f8 !important;
    background: linear-gradient(90deg,#e8f7ff,#f5fbff) !important;
}

body.trybot-template-clientareahome :is(.trybot-welcome-card,.trybot-stat-card,.trybot-panels .card) {
    color: var(--tb3-ink) !important;
    border-color: rgba(164,190,211,.48) !important;
    background: rgba(255,255,255,.90) !important;
    box-shadow: var(--tb3-shadow) !important;
}

body.trybot-template-clientareahome .trybot-stat-card {
    overflow: hidden;
}

body.trybot-template-clientareahome .trybot-stat-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -48px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(24,186,244,.16),transparent 68%);
}

body.trybot-template-clientareahome .trybot-stat-icon,
body.trybot-template-clientareahome .trybot-avatar-lg {
    color: #087eb7 !important;
    background: linear-gradient(145deg,#e2f6ff,#eef0ff) !important;
}

body.trybot-template-clientareahome .trybot-stat-number {
    color: var(--tb3-ink) !important;
    font-weight: 720 !important;
}

body.trybot-template-clientareahome .trybot-panels :is(.card-header,.card-footer,.list-group-item) {
    color: var(--tb3-ink) !important;
    border-color: var(--tb3-line) !important;
    background: rgba(255,255,255,.88) !important;
}

body.trybot-template-clientareahome :is(.trybot-hero-btn.primary,.trybot-panels .btn-primary,.trybot-panels .btn-success,.trybot-panels .bg-color-blue,.trybot-pin-btn) {
    color: #fff !important;
    border-color: transparent !important;
    background: linear-gradient(100deg,var(--tb3-blue),var(--tb3-cyan)) !important;
    box-shadow: 0 10px 24px rgba(22,137,245,.18) !important;
}

/* All authenticated content: fix pale text on white rows and preserve the new visual family. */
body.trybot-authenticated .trybot-client-content :is(.card,.panel,.well,.modal-content,.table-container,.dataTables_wrapper) {
    color: var(--tb3-ink) !important;
    border-color: var(--tb3-line) !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: var(--tb3-shadow) !important;
}

body.trybot-authenticated .trybot-client-content :is(.card-header,.card-footer,.panel-heading,.panel-footer,.modal-header,.modal-footer,thead th) {
    color: var(--tb3-ink) !important;
    border-color: var(--tb3-line) !important;
    background: linear-gradient(180deg,#f9fcff,#eef5fb) !important;
}

body.trybot-authenticated .trybot-client-content :is(table,tbody,tr,td,.list-group-item) {
    color: var(--tb3-ink) !important;
    border-color: var(--tb3-line) !important;
    background: #fff !important;
}

body.trybot-authenticated .trybot-client-content table a,
body.trybot-authenticated .trybot-client-content .list-group-item a {
    color: #087fbd !important;
    font-weight: 650 !important;
}

body.trybot-authenticated .trybot-client-content :is(.btn-primary,.btn-success,.btn-info,button[type="submit"]):not(.close) {
    color: #fff !important;
    border-color: transparent !important;
    background: linear-gradient(100deg,var(--tb3-blue),var(--tb3-cyan)) !important;
    box-shadow: 0 10px 24px rgba(22,137,245,.18) !important;
}

body.trybot-authenticated .trybot-client-content :is(.form-control,input,select,textarea) {
    color: var(--tb3-ink) !important;
    border-color: #cad9e6 !important;
    background: #f7fbff !important;
}

body.trybot-authenticated .trybot-client-content :is(.badge-primary,.badge-info,.label-primary,.status-active) {
    color: #0874a8 !important;
    background: #dff5ff !important;
}

@media (max-width: 1100px) {
    body.trybot-template-login .trybot-login-shell {
        grid-template-columns: minmax(440px,.95fr) minmax(480px,1.05fr) !important;
    }

    body.trybot-template-login .trybot-login-main {
        padding-right: 44px;
        padding-left: 44px;
    }
}

@media (max-width: 860px) {
    body.trybot-template-login .trybot-login-shell {
        display: block !important;
        min-height: 100vh !important;
        background:
            radial-gradient(circle at 85% 8%,rgba(117,103,248,.18),transparent 30%),
            radial-gradient(circle at 10% 0%,rgba(24,186,244,.16),transparent 34%),
            #f6faff !important;
    }

    body.trybot-template-login .trybot-login-main {
        max-width: 520px;
        min-height: 100vh;
        padding: 34px 22px 42px;
    }

    body.trybot-template-login .trybot-login-showcase {
        display: none !important;
    }

    body.trybot-template-login .trybot-login-brand {
        text-align: center !important;
    }

    body.trybot-template-login .trybot-login-heading {
        text-align: center !important;
    }

    body.trybot-template-login .trybot-login-heading h1 {
        font-size: 34px !important;
    }

    body.trybot-template-login .trybot-login-card {
        padding: 24px 20px !important;
        border: 1px solid rgba(190,210,225,.7) !important;
        background: rgba(255,255,255,.90) !important;
        box-shadow: 0 24px 62px rgba(25,61,92,.12) !important;
        backdrop-filter: blur(18px);
    }

    body.trybot-template-login .trybot-login-footer {
        color: var(--tb3-copy) !important;
    }

    body.trybot-template-clientareahome .trybot-home-hero {
        padding: 26px 22px !important;
    }
}

body:not(.trybot-template-homepage),
body:not(.trybot-template-homepage).primary-bg-color {
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

body:not(.trybot-template-homepage) #main-body {
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
}

body:not(.trybot-template-homepage) #main-body::before,
body:not(.trybot-template-homepage) #main-body::after {
    display: none !important;
}

body:not(.trybot-template-homepage) :where(h1,h2,h3,h4,h5,h6) {
    color: var(--tbx-ink);
    letter-spacing: -.035em;
    font-weight: 650;
}

body:not(.trybot-template-homepage) :where(p,label,small,.text-muted,.help-block) {
    color: var(--tbx-copy);
}

body:not(.trybot-template-homepage) a {
    color: var(--tbx-ink);
    text-underline-offset: 3px;
}

body:not(.trybot-template-homepage) a:hover,
body:not(.trybot-template-homepage) a:focus {
    color: #000;
}

/* Public navigation */
body.trybot-public:not(.trybot-template-homepage) .trybot-public-header {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
    background: rgba(5,5,5,.94) !important;
    backdrop-filter: saturate(150%) blur(18px);
}

body.trybot-public:not(.trybot-template-homepage) .trybot-public-nav {
    min-height: 66px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 18px !important;
    background: rgba(20,20,22,.82) !important;
    box-shadow: 0 14px 38px rgba(0,0,0,.22) !important;
}

body.trybot-public:not(.trybot-template-homepage) :is(.trybot-sales-link,.trybot-sales-trigger) {
    color: rgba(255,255,255,.78) !important;
}

body.trybot-public:not(.trybot-template-homepage) :is(.trybot-sales-link,.trybot-sales-trigger):hover,
body.trybot-public:not(.trybot-template-homepage) :is(.trybot-sales-link,.trybot-sales-trigger):focus {
    color: #fff !important;
    background: rgba(255,255,255,.08) !important;
}

body.trybot-public:not(.trybot-template-homepage) :is(.trybot-sales-dropdown,.trybot-hosting-mega,.trybot-domain-menu) {
    border-color: rgba(255,255,255,.14) !important;
    background: #111113 !important;
    box-shadow: 0 28px 80px rgba(0,0,0,.42) !important;
}

body.trybot-public:not(.trybot-template-homepage) :is(.trybot-sales-dropdown,.trybot-hosting-mega,.trybot-domain-menu) :where(strong,p,small,.trybot-mega-label) {
    color: #fff !important;
}

body.trybot-public:not(.trybot-template-homepage) :is(.trybot-sales-dropdown,.trybot-hosting-mega,.trybot-domain-menu) a:hover {
    background: rgba(255,255,255,.08) !important;
}

body.trybot-public:not(.trybot-template-homepage) .trybot-public-cart {
    color: #fff !important;
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.05) !important;
}

body.trybot-public:not(.trybot-template-homepage) .trybot-public-badge {
    color: #050505 !important;
    background: #fff !important;
}

body.trybot-public:not(.trybot-template-homepage) .trybot-public-client-btn {
    color: #050505 !important;
    border-color: #fff !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.trybot-public:not(.trybot-template-homepage) .trybot-public-toggle {
    color: #fff !important;
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.05) !important;
}

/* Authenticated application shell */
body.trybot-authenticated .trybot-sidebar {
    color: #fff !important;
    border-right: 1px solid rgba(255,255,255,.10) !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body.trybot-authenticated .trybot-sidebar::before,
body.trybot-authenticated .trybot-sidebar::after {
    display: none !important;
}

body.trybot-authenticated :is(.trybot-menu a,.trybot-menu-parent) {
    color: rgba(255,255,255,.68) !important;
    border-color: transparent !important;
}

body.trybot-authenticated :is(.trybot-menu a,.trybot-menu-parent):hover,
body.trybot-authenticated :is(.trybot-menu a.active,.trybot-menu-parent.active) {
    color: #050505 !important;
    background: #fff !important;
}

body.trybot-authenticated :is(.trybot-menu a,.trybot-menu-parent):hover i,
body.trybot-authenticated :is(.trybot-menu a.active,.trybot-menu-parent.active) i {
    color: #050505 !important;
}

body.trybot-authenticated .trybot-sidebar-cta {
    color: #050505 !important;
    border-color: #fff !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.trybot-authenticated .trybot-client-content {
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
}

body.trybot-authenticated .trybot-top {
    border-bottom: 1px solid var(--tbx-line) !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,.04) !important;
    backdrop-filter: saturate(150%) blur(18px);
}

body.trybot-authenticated :is(.trybot-back,.trybot-icon-btn,.trybot-user>summary,.trybot-mobile-toggle) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body.trybot-authenticated .trybot-green-btn {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body.trybot-authenticated .trybot-badge {
    color: #fff !important;
    background: #050505 !important;
}

body.trybot-authenticated .trybot-user-menu {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: var(--tbx-shadow) !important;
}

body.trybot-authenticated .trybot-user-menu :where(strong,small,a,i) {
    color: var(--tbx-ink) !important;
}

body.trybot-authenticated .trybot-user-menu-link:hover {
    background: var(--tbx-soft) !important;
}

/* Dashboard */
body.trybot-template-clientareahome .trybot-home-shell,
body.trybot-template-clientareahome .trybot-client-content {
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
}

body.trybot-template-clientareahome .trybot-home-shell::before,
body.trybot-template-clientareahome .trybot-home-shell::after,
body.trybot-template-clientareahome :is(.trybot-welcome-card,.trybot-stat-card)::before {
    display: none !important;
}

body.trybot-template-clientareahome .trybot-kicker {
    color: var(--tbx-muted) !important;
    letter-spacing: .08em !important;
}

body.trybot-template-clientareahome :is(.trybot-title,.trybot-welcome-head strong,.trybot-stat-number) {
    color: var(--tbx-ink) !important;
}

body.trybot-template-clientareahome :is(.trybot-subtitle,.trybot-stat-label,.trybot-pin-box) {
    color: var(--tbx-copy) !important;
}

body.trybot-template-clientareahome :is(.trybot-welcome-card,.trybot-stat-card,.trybot-panels .card) {
    color: var(--tbx-ink) !important;
    border: 1px solid var(--tbx-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: var(--tbx-shadow) !important;
}

body.trybot-template-clientareahome .trybot-stat-card:hover {
    border-color: #a8a8ad !important;
    background: #fff !important;
}

body.trybot-template-clientareahome :is(.trybot-avatar-lg,.trybot-stat-icon,.trybot-stat-card[class*="stat-"] .trybot-stat-icon) {
    color: #050505 !important;
    background: var(--tbx-soft) !important;
    box-shadow: none !important;
}

body.trybot-template-clientareahome .trybot-pin-box {
    border-color: var(--tbx-line) !important;
}

body.trybot-template-clientareahome :is(.trybot-pin-btn,.trybot-hero-btn) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.trybot-template-clientareahome :is(.trybot-hero-btn.primary,.trybot-panels .btn-primary,.trybot-panels .btn-success,.trybot-panels .bg-color-blue,.trybot-panels .btn-default.bg-color-blue) {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body.trybot-template-clientareahome .trybot-alert {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.trybot-template-clientareahome .trybot-panels :is(.card-header,.card-footer,.list-group-item) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body.trybot-template-clientareahome .trybot-panels :is(.card-title,.card-body,.list-group-item,a) {
    color: var(--tbx-ink) !important;
}

/* Login and account access */
body.trybot-template-login .trybot-login-section {
    background:
        radial-gradient(circle at 50% 28%,rgba(255,255,255,.065),transparent 34%),
        linear-gradient(180deg,#050505,#111113) !important;
}

body.trybot-template-login .trybot-login-section::before {
    opacity: .18 !important;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px) !important;
}

body.trybot-template-login .trybot-login-section::after {
    display: none !important;
}

body.trybot-template-login .trybot-login-heading h1,
body.trybot-template-login .trybot-login-heading p {
    color: #fff !important;
}

body.trybot-template-login .trybot-login-card {
    color: var(--tbx-ink) !important;
    border: 1px solid rgba(255,255,255,.24) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 36px 100px rgba(0,0,0,.42) !important;
}

body.trybot-template-login .trybot-login-card::before {
    display: none !important;
}

body.trybot-template-login .trybot-login-card :where(label,strong,p,span) {
    color: var(--tbx-ink) !important;
}

body.trybot-template-login .trybot-login-card :is(.input-group-text,.form-control,.btn-reveal-pw) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: var(--tbx-canvas) !important;
}

body.trybot-template-login .trybot-login-card .form-control::placeholder {
    color: var(--tbx-muted) !important;
}

body.trybot-template-login .trybot-login-card .input-group:focus-within {
    border-color: #050505 !important;
    box-shadow: var(--tbx-focus) !important;
}

body.trybot-template-login .trybot-login-card .input-group:focus-within :is(.input-group-text,.form-control,.btn-reveal-pw) {
    border-color: #050505 !important;
}

body.trybot-template-login .trybot-login-card .btn-primary {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body.trybot-template-login :is(.trybot-login-forgot,.trybot-login-register-button) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body.trybot-template-login .trybot-login-register-button i {
    color: #050505 !important;
}

body.trybot-template-login :is(.trybot-login-back a,.trybot-login-security,.trybot-login-footer) {
    color: rgba(255,255,255,.72) !important;
}

/* Shared WHMCS content */
body:not(.trybot-template-homepage) .primary-content > :where(.card,.panel,form,.table-container),
body.trybot-authenticated .trybot-client-content :where(.card,.panel,.well,.modal-content),
body.trybot-public:not(.trybot-template-homepage) .primary-content :where(.card,.panel,.well,.modal-content) {
    color: var(--tbx-ink);
    border-color: var(--tbx-line) !important;
    border-radius: var(--tbx-radius) !important;
    background: #fff !important;
    box-shadow: var(--tbx-shadow);
}

body:not(.trybot-template-homepage) :is(.card-header,.card-footer,.panel-heading,.panel-footer,.modal-header,.modal-footer) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) :is(.list-group-item,.dropdown-menu) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) .list-group-item:hover,
body:not(.trybot-template-homepage) .dropdown-item:hover {
    color: #000 !important;
    background: var(--tbx-soft) !important;
}

body:not(.trybot-template-homepage) :is(.form-control,input[type="text"],input[type="email"],input[type="password"],input[type="tel"],input[type="number"],input[type="search"],select,textarea,.input-group-text,.input-group-addon) {
    color: var(--tbx-ink) !important;
    border: 1px solid var(--tbx-line) !important;
    border-radius: var(--tbx-radius-sm) !important;
    background: #fff !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) :is(.form-control,input,select,textarea):focus {
    border-color: #050505 !important;
    box-shadow: var(--tbx-focus) !important;
    outline: 0 !important;
}

body:not(.trybot-template-homepage) input::placeholder,
body:not(.trybot-template-homepage) textarea::placeholder {
    color: var(--tbx-muted) !important;
    opacity: 1;
}

body:not(.trybot-template-homepage) select option {
    color: var(--tbx-ink);
    background: #fff;
}

body:not(.trybot-template-homepage) :is(.btn-primary,.btn-success,.btn-info,.btn-checkout,button[type="submit"]):not(.close) {
    color: #fff !important;
    border-color: #050505 !important;
    border-radius: var(--tbx-radius-sm) !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) :is(.btn-primary,.btn-success,.btn-info,.btn-checkout,button[type="submit"]):not(.close):hover {
    color: #fff !important;
    border-color: #29292c !important;
    background: #29292c !important;
    transform: none !important;
}

body:not(.trybot-template-homepage) :is(.btn-default,.btn-secondary,.btn-light) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    border-radius: var(--tbx-radius-sm) !important;
    background: #fff !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) :is(.table,table) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) :is(.table,table) :is(th,td) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: transparent !important;
}

body:not(.trybot-template-homepage) :is(.table,table) thead th {
    color: var(--tbx-copy) !important;
    background: var(--tbx-soft) !important;
}

body:not(.trybot-template-homepage) .table-striped tbody tr:nth-of-type(odd) {
    background: #fafafa !important;
}

body:not(.trybot-template-homepage) :is(.alert-info,.alert-primary) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) .badge-primary,
body:not(.trybot-template-homepage) .badge-info {
    color: #fff !important;
    background: #050505 !important;
}

body.trybot-template-contact .card :is(h1,h2,h3,h4,h5,h6) {
    color: var(--tbx-ink) !important;
}

body.trybot-template-contact .card label {
    color: var(--tbx-copy) !important;
}

body.trybot-template-contact .card .text-muted {
    color: var(--tbx-muted) !important;
}

body.trybot-template-contact .card form {
    margin-top: 26px;
}

@media (max-width: 760px) {
    body.trybot-template-contact .card {
        width: calc(100% - 28px) !important;
        margin: 24px auto 52px !important;
        border-radius: 22px !important;
    }

    body.trybot-template-contact .card .card-body {
        padding: 26px 20px !important;
    }

    body.trybot-template-contact .card .form-group {
        display: block !important;
    }

    body.trybot-template-contact .card label,
    body.trybot-template-contact .card [class*="col-"] {
        width: 100% !important;
        max-width: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
    }
}

body:not(.trybot-template-homepage) :is(.nav-tabs,.nav-tabs .nav-link) {
    border-color: var(--tbx-line) !important;
}

body:not(.trybot-template-homepage) .nav-tabs .nav-link.active {
    color: #050505 !important;
    background: #fff !important;
}

/* Shopping cart and domains */
body:not(.trybot-template-homepage) #order-standard_cart {
    --tb-bg: var(--tbx-canvas);
    --tb-bg-raised: #fff;
    --tb-surface: #fff;
    --tb-surface-soft: #f5f5f7;
    --tb-surface-hover: #eeeeF0;
    --tb-line: var(--tbx-line);
    --tb-line-strong: #050505;
    --tb-blue: #050505;
    --tb-blue-bright: #29292c;
    --tb-blue-soft: #1d1d1f;
    --tb-text: var(--tbx-ink);
    --tb-text-soft: var(--tbx-copy);
    --tb-text-muted: var(--tbx-muted);
    width: calc(100% - 48px) !important;
    max-width: 1240px !important;
    padding: 38px 0 72px !important;
    color: var(--tbx-copy) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart :where(h1,h2,h3,h4,h5,h6,.product-title,.product-name,strong) {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart :is(.panel,.card,.product,.product-info,.domain-selection-options,.domain-checker-container,.domain-pricing,.view-cart-items,.order-summary,.summary-container,.checkout-security-msg,.service-renewal,.mc-promo,.account,.field-container,.promo-code-form) {
    color: var(--tbx-copy) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: var(--tbx-shadow) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart :is(.panel-heading,.panel-footer,.card-header,.card-footer,.product header,.product footer,.view-cart-items-header,.list-group-item) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart :is(.btn-primary,.btn-success,.btn-info,.btn-checkout,button[type="submit"]) {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart .list-group-item.active {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
}

body:not(.trybot-template-homepage) #order-standard_cart .list-group-item.active::before {
    background: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart .form-control,
body:not(.trybot-template-homepage) #order-standard_cart input,
body:not(.trybot-template-homepage) #order-standard_cart select,
body:not(.trybot-template-homepage) #order-standard_cart textarea {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: var(--tbx-canvas) !important;
}

/* Custom product catalogue inherited from the former blue storefront. */
body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page::before {
    display: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page .trybot-store-shell {
    width: calc(100% - 48px) !important;
    max-width: 1200px !important;
    padding: 38px 0 76px !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page :is(.trybot-store-back,.trybot-store-cart) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page :is(.trybot-store-back,.trybot-store-cart):hover {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page .trybot-store-hero {
    color: #fff !important;
    border-color: rgba(255,255,255,.12) !important;
    background: #050505 !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.15) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page .trybot-store-hero::after {
    border-color: rgba(255,255,255,.12) !important;
    box-shadow: 0 0 0 34px rgba(255,255,255,.025),0 0 0 68px rgba(255,255,255,.018) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page :is(.trybot-store-title,.trybot-store-hero-meta strong) {
    color: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page :is(.trybot-store-kicker,.trybot-store-subtitle,.trybot-store-hero-meta span) {
    color: rgba(255,255,255,.62) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page .trybot-store-hero-meta {
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.07) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page .trybot-product-card {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: var(--tbx-shadow) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page :is(.trybot-product-card-head,.trybot-product-body,.trybot-product-footer) {
    color: var(--tbx-copy) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page :is(.trybot-product-name,.trybot-product-price,.trybot-product-feature strong,.trybot-product-feature .feature-value) {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page :is(.trybot-product-label,.trybot-product-description,.trybot-product-feature,.trybot-product-price-label,.trybot-product-cycle,.trybot-product-setup) {
    color: var(--tbx-copy) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page :is(.trybot-product-icon,.trybot-product-feature::before) {
    color: #050505 !important;
    border-color: var(--tbx-line) !important;
    background: var(--tbx-soft) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page .trybot-order-button {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

/* Footer */
body:not(.trybot-template-homepage) .trybot-footer {
    color: #fff !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    background: #050505 !important;
}

body:not(.trybot-template-homepage) .trybot-footer::before,
body:not(.trybot-template-homepage) .trybot-footer::after {
    display: none !important;
}

body:not(.trybot-template-homepage) .trybot-footer :where(h4,a) {
    color: #fff !important;
}

body:not(.trybot-template-homepage) .trybot-footer :where(p,.trybot-footer-bottom) {
    color: rgba(255,255,255,.58) !important;
}

body:not(.trybot-template-homepage) .trybot-footer-social a,
body:not(.trybot-template-homepage) .trybot-footer-locale .btn {
    color: #fff !important;
    border-color: rgba(255,255,255,.15) !important;
    background: rgba(255,255,255,.06) !important;
}

/* Mobile */
@media (max-width: 991px) {
    body.trybot-public:not(.trybot-template-homepage) .trybot-public-nav {
        border-radius: 16px !important;
    }

    body.trybot-public:not(.trybot-template-homepage) .trybot-public-menu {
        border-color: rgba(255,255,255,.12) !important;
        background: #111113 !important;
    }

    body.trybot-authenticated .trybot-sidebar {
        box-shadow: 20px 0 60px rgba(0,0,0,.28) !important;
    }

    body.trybot-authenticated .trybot-top {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }
}

@media (max-width: 760px) {
    body:not(.trybot-template-homepage) #main-body > .container,
    body:not(.trybot-template-homepage) #main-body > div.container {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body:not(.trybot-template-homepage) .primary-content {
        min-width: 0 !important;
    }

    body.trybot-authenticated .trybot-client-content > :not(.trybot-top):not([class*="trybot-"]) {
        width: calc(100% - 28px) !important;
    }

    body.trybot-template-clientareahome .trybot-content {
        width: 100% !important;
        padding: 26px 16px 56px !important;
        transform: none !important;
    }

    body.trybot-template-clientareahome .trybot-title {
        font-size: 32px !important;
        line-height: 1.08 !important;
    }

    body.trybot-template-clientareahome :is(.trybot-summary-grid,.trybot-stats-grid,.trybot-panels) {
        grid-template-columns: minmax(0,1fr) !important;
        gap: 14px !important;
    }

    body.trybot-template-clientareahome .trybot-stat-card {
        min-height: 84px !important;
        padding: 18px !important;
    }

    body.trybot-template-login .trybot-login-section {
        padding: 28px 16px 40px !important;
    }

    body.trybot-template-login .trybot-login-shell {
        max-width: 420px !important;
    }

    body.trybot-template-login .trybot-login-brand img {
        width: 190px !important;
    }

    body.trybot-template-login .trybot-login-card-inner {
        padding: 24px 20px !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart {
        width: calc(100% - 24px) !important;
        padding: 24px 0 48px !important;
        overflow: hidden;
    }

    body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page .trybot-store-shell {
        width: calc(100% - 24px) !important;
        padding: 24px 0 52px !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart.trybot-store-page .trybot-store-hero {
        padding: 26px 22px !important;
        border-radius: 20px !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart :is(.row,.products,.product) {
        min-width: 0 !important;
    }

    body:not(.trybot-template-homepage) :is(.table-responsive,.dataTables_wrapper) {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body:not(.trybot-template-homepage) :is(.btn,button,input,select,textarea) {
        max-width: 100%;
    }
}

/* Password recovery follows the login visual language. */
body:not(.trybot-template-homepage) .trybot-reset-section {
    color: #fff !important;
    background: #050505 !important;
}

body:not(.trybot-template-homepage) .trybot-reset-section::before,
body:not(.trybot-template-homepage) .trybot-reset-section::after,
body:not(.trybot-template-homepage) .trybot-reset-card::before {
    display: none !important;
}

body:not(.trybot-template-homepage) .trybot-reset-heading h1 {
    color: #fff !important;
}

body:not(.trybot-template-homepage) .trybot-reset-heading p,
body:not(.trybot-template-homepage) .trybot-reset-security {
    color: #a1a1a6 !important;
}

body:not(.trybot-template-homepage) .trybot-reset-card {
    color: var(--tbx-ink) !important;
    border-color: rgba(255,255,255,.16) !important;
    background: #fff !important;
    box-shadow: 0 28px 76px rgba(0,0,0,.34) !important;
}

body:not(.trybot-template-homepage) .trybot-reset-card :is(h1,h2,h3,h4,label,.form-control-label,p) {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) .trybot-reset-card :is(.input-group-text,.form-control,select.form-control,textarea.form-control) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: var(--tbx-soft) !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) .trybot-reset-card .form-control::placeholder {
    color: #85858b !important;
}

body:not(.trybot-template-homepage) .trybot-reset-card .input-group:focus-within :is(.input-group-text,.form-control) {
    border-color: #050505 !important;
}

body:not(.trybot-template-homepage) .trybot-reset-card :is(.btn-primary,button[type="submit"],input[type="submit"]) {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) .trybot-reset-back a {
    color: #fff !important;
}

@media (max-width: 760px) {
    body:not(.trybot-template-homepage) .trybot-reset-section {
        min-height: calc(100vh - 78px) !important;
        padding: 34px 16px 54px !important;
    }

    body:not(.trybot-template-homepage) .trybot-reset-heading h1 {
        font-size: 31px !important;
        line-height: 1.05 !important;
    }

    body:not(.trybot-template-homepage) .trybot-reset-card-inner {
        padding: 24px 20px !important;
    }
}

/* Registration: calm light form, neutral controls and stronger mobile readability. */
body:not(.trybot-template-homepage) .trybot-register-section {
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
}

body:not(.trybot-template-homepage) .trybot-register-section::before {
    display: none !important;
}

body:not(.trybot-template-homepage) .trybot-register-copy {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) .trybot-register-copy h1,
body:not(.trybot-template-homepage) .trybot-register-copy h1 span {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) .trybot-register-copy > p,
body:not(.trybot-template-homepage) .trybot-register-point p {
    color: var(--tbx-copy) !important;
}

body:not(.trybot-template-homepage) .trybot-register-kicker {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) .trybot-register-card {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.08) !important;
}

body:not(.trybot-template-homepage) .trybot-register-header h2,
body:not(.trybot-template-homepage) .trybot-register-block-header h3 {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) .trybot-register-header p,
body:not(.trybot-template-homepage) .trybot-register-block-header p,
body:not(.trybot-template-homepage) .trybot-register-card :is(.text-muted,.small,.field-help-text) {
    color: var(--tbx-muted) !important;
}

body:not(.trybot-template-homepage) :is(.trybot-register-block,.trybot-required-note,.trybot-register-newsletter) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fafafa !important;
}

body:not(.trybot-template-homepage) .trybot-register-block-header {
    border-color: var(--tbx-line) !important;
}

body:not(.trybot-template-homepage) :is(.trybot-register-block-icon,.trybot-field-control > i,.trybot-field-control > .trybot-control-icon,.trybot-register-point i) {
    color: #050505 !important;
    border-color: var(--tbx-line) !important;
    background: #f0f0f2 !important;
}

body:not(.trybot-template-homepage) .trybot-register-card .trybot-field-label,
body:not(.trybot-template-homepage) .trybot-register-card label {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) .trybot-register-card :is(.form-control,.field,select,textarea,input[type="text"],input[type="email"],input[type="password"],input[type="tel"]),
body:not(.trybot-template-homepage) .trybot-dynamic-fields :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
    color: var(--tbx-ink) !important;
    caret-color: #050505 !important;
    border-color: var(--tbx-line) !important;
    background-color: #fff !important;
    color-scheme: light !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) .trybot-register-card :is(.form-control,.field,select,textarea,input):focus {
    color: var(--tbx-ink) !important;
    border-color: #050505 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08) !important;
}

body:not(.trybot-template-homepage) .trybot-register-card :is(.form-control,.field,input,textarea)::placeholder {
    color: #85858b !important;
}

body:not(.trybot-template-homepage) .trybot-register-card select option {
    color: var(--tbx-ink) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) .trybot-register-card :is(.btn-primary,input[type="submit"].btn-primary,.trybot-register-submit) {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) .trybot-register-card .alert-info {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #f0f0f2 !important;
}

@media (max-width: 760px) {
    body:not(.trybot-template-homepage) .trybot-register-section {
        padding: 28px 12px 54px !important;
    }

    body:not(.trybot-template-homepage) .trybot-register-card-inner {
        padding: 24px 18px !important;
    }

    body:not(.trybot-template-homepage) .trybot-register-card,
    body:not(.trybot-template-homepage) .trybot-register-block {
        border-radius: 20px !important;
    }
}

@media (max-width: 420px) {
    body.trybot-public:not(.trybot-template-homepage) .trybot-public-header {
        padding: 8px 0 !important;
    }

    body.trybot-public:not(.trybot-template-homepage) .trybot-public-shell {
        width: calc(100% - 20px) !important;
    }

    body.trybot-public:not(.trybot-template-homepage) .trybot-public-nav {
        min-height: 62px !important;
    }

    body.trybot-template-login .trybot-login-heading h1 {
        font-size: 30px !important;
    }

    body.trybot-template-login .trybot-login-card {
        border-radius: 20px !important;
    }
}

/* Domain finder: neutral, editorial treatment shared with the new Trybot system. */
body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page {
    width: 100% !important;
    max-width: none !important;
    padding: 44px 0 80px !important;
    overflow: visible !important;
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
    --trybot-accent: #050505;
    --trybot-accent-light: #29292c;
    --trybot-accent-soft: #f0f0f2;
    --trybot-page: #f5f5f7;
    --trybot-card: #fff;
    --trybot-card-deep: #fff;
    --trybot-border: #d8d8dc;
    --trybot-border-blue: #d8d8dc;
    --trybot-text: #101012;
    --trybot-copy: #3f3f46;
    --trybot-muted: #6e6e73;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page::before,
body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-search-card::before {
    display: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-domain-shell {
    width: calc(100% - 48px) !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-domain-title,.trybot-results-title,.trybot-domain-name) {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-domain-subtitle,.trybot-results-note,.trybot-search-help,.trybot-security-item,.trybot-domain-empty p) {
    color: var(--tbx-copy) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-domain-kicker {
    color: var(--tbx-muted) !important;
    letter-spacing: .12em !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-search-card,.trybot-captcha-wrap,.trybot-domain-empty,#DomainSearchResults,.trybot-security-note) {
    border: 1px solid var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.06) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-search-label,.trybot-captcha-wrap p) {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-search-shell {
    border: 1px solid var(--tbx-line) !important;
    background: var(--tbx-soft) !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-search-icon,.trybot-search-help i,.trybot-results-icon,.trybot-domain-empty i,.trybot-security-item i) {
    color: #050505 !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-domain-input,
body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-captcha-wrap #inputCaptcha {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-domain-input::placeholder {
    color: #85858b !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-domain-input:focus,
body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-captcha-wrap #inputCaptcha:focus {
    border-color: #050505 !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page #btnCheckAvailability,
body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-result-row .btn-add-to-cart {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page #btnCheckAvailability:hover,
body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-result-row .btn-add-to-cart:hover {
    border-color: #29292c !important;
    background: #29292c !important;
    transform: translateY(-1px);
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-results-head,.trybot-result-row,.spotlight-tld-container) {
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-result-row:nth-child(even) {
    background: #fafafa !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-result-row:hover {
    background: #f2f2f4 !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-results-badge,.trybot-result-row.is-preferred) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: var(--tbx-soft) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-domain-price,.trybot-result-row .available.price,.trybot-transfer-price) {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page :is(.trybot-transfer-link,.domain-contact-support) {
    color: #050505 !important;
    border-color: #050505 !important;
    background: transparent !important;
}

@media (max-width: 760px) {
    body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page {
        width: 100% !important;
        padding: 28px 0 56px !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-domain-shell {
        width: calc(100% - 24px) !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-domain-title {
        font-size: clamp(32px, 10vw, 44px) !important;
        line-height: 1.02 !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart.trybot-domain-page .trybot-search-card {
        padding: 22px 18px !important;
        border-radius: 22px !important;
    }
}

/* Cart review: full-width light canvas with a single black editorial hero. */
body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page::before,
body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page #orderSummary::before {
    display: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page > .row > .cart-body {
    width: calc(100% - 48px) !important;
    max-width: 1200px !important;
    padding: 42px 0 80px !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page .trybot-cart-hero {
    color: #fff !important;
    border-color: #242426 !important;
    background: #050505 !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.14) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page .trybot-cart-hero::after {
    border-color: rgba(255,255,255,.10) !important;
    box-shadow: 0 0 0 34px rgba(255,255,255,.035),0 0 0 68px rgba(255,255,255,.018) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(.trybot-cart-title,.trybot-cart-count strong) {
    color: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(.trybot-cart-kicker,.trybot-cart-subtitle,.trybot-cart-count span) {
    color: #d1d1d6 !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page .trybot-cart-count {
    border-color: rgba(255,255,255,.16) !important;
    background: rgba(255,255,255,.07) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(.view-cart-empty,.view-cart-items,.view-cart-promotion-code,.view-cart-tabs,#orderSummary,.summary-container,.bordered-totals,.dropdown-menu) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
    box-shadow: 0 16px 44px rgba(0,0,0,.055) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(.view-cart-items-header,.view-cart-items .item,.view-cart-tabs .nav-tabs,.subtotal,.recurring-totals,.total-due-today) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page .view-cart-items .item:nth-child(even) {
    background: #fafafa !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(.empty-cart,.item-group,.item-domain,.item-price .cycle,.renewal,.recurring-charges,.view-cart-items small) {
    color: var(--tbx-copy) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(.item-title,.item-price,.item-price .amount,.order-summary h2,.subtotal > span:last-child,.bordered-totals > div > span:last-child,.recurring-charges .cost,.total-due-today .amt) {
    color: var(--tbx-ink) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(input[type="text"],select,.form-control) {
    color: var(--tbx-ink) !important;
    border-color: var(--tbx-line) !important;
    background: var(--tbx-soft) !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(input[type="text"],select,.form-control):focus {
    border-color: #050505 !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page .view-cart-promotion-code :is(i,.input-group-text) {
    color: #050505 !important;
    border-color: var(--tbx-line) !important;
    background: var(--tbx-soft) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page .view-cart-promotion-code :is(.nav-link,.btn-link) {
    color: #050505 !important;
    border-color: #050505 !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(#checkout,.btn-primary,button[type="submit"]) {
    color: #fff !important;
    border-color: #050505 !important;
    background: #050505 !important;
    box-shadow: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page :is(#continueShopping,#btnEmptyCart,.btn-default) {
    color: #050505 !important;
    border-color: #050505 !important;
    background: #fff !important;
}

/* Checkout uses the same visual hierarchy even when reached with a populated cart. */
body:not(.trybot-template-homepage) #order-standard_cart.trybot-checkout-professional {
    width: 100% !important;
    max-width: none !important;
    color: var(--tbx-ink) !important;
    background: var(--tbx-canvas) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-checkout-professional::before {
    display: none !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-checkout-professional .trybot-checkout-header {
    color: #fff !important;
    border-color: #242426 !important;
    background: #050505 !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.14) !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-checkout-professional :is(.trybot-checkout-heading,.trybot-checkout-trust strong) {
    color: #fff !important;
}

body:not(.trybot-template-homepage) #order-standard_cart.trybot-checkout-professional :is(.trybot-checkout-eyebrow,.trybot-checkout-description,.trybot-checkout-trust span) {
    color: #d1d1d6 !important;
}

@media (max-width: 760px) {
    body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page {
        width: 100% !important;
        overflow: visible !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page > .row > .cart-body {
        width: calc(100% - 24px) !important;
        padding: 24px 0 54px !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page .trybot-cart-hero {
        padding: 24px 20px !important;
        border-radius: 20px !important;
    }

    body:not(.trybot-template-homepage) #order-standard_cart.trybot-viewcart-page .trybot-cart-title {
        color: #fff !important;
        font-size: 31px !important;
        line-height: 1.04 !important;
    }
}

