/* =====================================================================
   Creative theme for SAJJEL.NET
   Layer on top of twenty-one (Bootstrap 4) + hh.css (Hosting Hub components).
   Written LTR; css/creative.rtl.css is generated from this file by rtlcss
   (build-rtl.cmd) - edit this file, then rebuild, never edit the .rtl copy.

   01. Tokens & base          07. Content pages (about / legal / portfolio)
   02. Bootstrap 5 shim       08. Client area (cards, sidebar, tiles, tables)
   03. Header & navigation    09. Forms, buttons, misc components
   04. Page banner & subnav   10. Auth pages (login / register / reset)
   05. Marketing sections     11. Support (KB / downloads / announcements)
   06. Footer                 12. Utilities & responsive
   ===================================================================== */

/* ---------------------------------------------------------------------
   01. Tokens & base
   --------------------------------------------------------------------- */
:root {
    --cr-red: #b5121b;
    --cr-red-bright: #de1e26;
    --cr-red-dark: #7a0c12;
    --cr-red-50: #fff4f4;
    --cr-red-100: #fde4e5;
    --cr-ink: #17171c;
    --cr-text: #26292e;
    --cr-text-2: #3d4048;
    --cr-line: #e6e7eb;
    --cr-bg: #f5f6f8;
    --cr-radius: 8px;
    --cr-shadow: 0 10px 30px rgba(23, 23, 28, 0.06);
    --cr-shadow-lg: 0 18px 50px rgba(23, 23, 28, 0.12);
    --cr-header-h: 132px;
}

html[dir="rtl"] {
    --font-primary: "Cairo", "Noto Sans Arabic", var(--fallback-fonts);
    --font-secondary: "Cairo", "Noto Sans Arabic", var(--fallback-fonts);
}

html,
body {
    height: auto;
}

body.cr-body {
    font-family: var(--font-primary);
    color: var(--cr-text);
    background: #fff;
    font-size: 15px;
    line-height: 1.65;
}

body.cr-layout-app {
    background: var(--cr-bg);
}

.cr-body h1, .cr-body h2, .cr-body h3, .cr-body h4, .cr-body h5, .cr-body h6,
.cr-body .h1, .cr-body .h2, .cr-body .h3, .cr-body .h4, .cr-body .h5, .cr-body .h6 {
    font-family: var(--font-primary);
    color: var(--cr-ink);
}

.cr-body p {
    color: var(--cr-text-2);
}

.cr-body a {
    color: var(--cr-red);
}

.cr-body a:hover,
.cr-body a:focus {
    color: var(--cr-red-dark);
}

.cr-skip-link {
    position: absolute;
    top: -60px;
    right: 16px;
    z-index: 10000;
    background: #fff;
    color: var(--cr-ink) !important;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    transition: top .2s;
}

.cr-skip-link:focus {
    top: 0;
}

/* The Hosting Hub text colours are a little light; this site wants body copy near-black. */
.testimonial-items p,
.hh-accordion li p,
.ulcollapse li p,
.free-ad-ons p,
.features-4 p,
.contact .info p,
.contact .info-item p,
.plan-style-one p {
    color: var(--cr-text-2);
    opacity: 1;
}

.testimonial-items .testimonial-author h6 {
    color: var(--cr-text-2);
}

.hh-accordion > li > a {
    color: var(--cr-ink);
}

/* ---------------------------------------------------------------------
   02. Bootstrap 5 shim (classes the Hosting Hub markup uses that BS4 lacks)
   --------------------------------------------------------------------- */
.row[class*="gy-"], .row[class*="g-"] { margin-top: calc(var(--cr-gy, 0) * -1); }
.row[class*="gy-"] > *, .row[class*="g-"] > * { margin-top: var(--cr-gy, 0); }
.row.g-4, .row.gy-4 { --cr-gy: 1.5rem; }
.row.g-3, .row.gy-3 { --cr-gy: 1rem; }
.row.gy-5 { --cr-gy: 3rem; }
.row.g-4 { margin-right: -12px; margin-left: -12px; }
.row.g-4 > * { padding-right: 12px; padding-left: 12px; }
@media (min-width: 768px) {
    .row.g-md-5 { --cr-gy: 3rem; margin-right: -24px; margin-left: -24px; }
    .row.g-md-5 > * { padding-right: 24px; padding-left: 24px; }
}
@media (min-width: 992px) {
    .row.gy-lg-0 { --cr-gy: 0px; }
    .row.gy-lg-5 { --cr-gy: 3rem; }
}
.ms-auto { margin-right: auto !important; }
.me-auto { margin-left: auto !important; }
.ms-2 { margin-right: .5rem !important; }
.me-2 { margin-left: .5rem !important; }
.me-3 { margin-left: 1rem !important; }
.ps-3 { padding-right: 1rem !important; }
.text-start { text-align: right !important; }
.text-end { text-align: left !important; }
@media (min-width: 576px) { .text-sm-end { text-align: left !important; } }
@media (min-width: 768px) { .text-md-end { text-align: left !important; } .text-md-start { text-align: right !important; } }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: 1rem; }
.align-items-strech { align-items: stretch; }

/* ---------------------------------------------------------------------
   03. Header & navigation
   --------------------------------------------------------------------- */
.cr-header.header {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    padding: 0;
    background: transparent;
    transition: background-color .3s, box-shadow .3s;
}

.cr-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14px;
    padding: 7px 0;
}

.cr-topbar .support-items {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cr-topbar .support-items a,
.cr-topbar-btn {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: .92;
}

.cr-topbar .support-items a + a {
    margin-inline-start: 0;
}

.cr-topbar .support-items a i {
    margin-inline-end: 0;
}

.cr-topbar .support-items a:hover,
.cr-topbar-btn:hover {
    color: #fff;
    opacity: 1;
}

.cr-topbar-btn {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.cr-topbar-btn .cr-dot {
    background: #fff;
    color: var(--cr-red);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
}

.cr-lang-switch {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 3px 12px;
}

.cr-header .main-header {
    padding-top: 8px;
    padding-bottom: 8px;
}

.cr-header .navbar-brand {
    padding: 0;
    margin: 0;
}

.cr-header .main-header .navbar-brand img.cr-logo {
    position: static;
    top: auto;
    height: 46px;
    width: auto;
    max-height: none;
}

.cr-header .cr-logo-dark {
    display: none;
}

/* Solid header after scrolling (and always on small screens once the menu is open). */
.cr-header.is-sticky {
    position: fixed;
    background: #fff;
    box-shadow: 0 6px 24px rgba(23, 23, 28, 0.10);
    animation: crSlideDown .35s ease-out;
}

.cr-header.is-sticky .cr-topbar {
    display: none;
}

.cr-header.is-sticky .cr-logo-light {
    display: none;
}

.cr-header.is-sticky .cr-logo-dark {
    display: block;
}

@keyframes crSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.nabbar-nav .mainmenu li.cart a i,
.nav-mobiles .cart-item-count i {
    font-size: 22px;
    line-height: 1;
}

.nabbar-nav .mainmenu li.cart a .item-count,
.nav-mobiles .cart-item-count .number {
    background: #fff;
    color: var(--cr-red);
    font-weight: 700;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 11px;
}

.nabbar-nav .mainmenu li a.login {
    background: #fff;
    color: var(--cr-red);
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 22px;
}

.nabbar-nav .mainmenu li a.login:hover {
    background: var(--cr-ink);
    color: #fff;
}

.nabbar-nav .mainmenu li a.login i {
    margin-inline-end: 4px;
}

@media (min-width: 1200px) {
    .nabbar-nav .mainmenu > li + li {
        margin-inline-start: 26px;
    }

    .nabbar-nav .mainmenu > li > a {
        padding: 26px 0;
    }

    .nabbar-nav .mainmenu > li.has-droupdown:hover > a {
        color: #fff;
        opacity: .85;
    }

    .nabbar-nav .mainmenu li.cart a {
        color: #fff;
        width: auto;
        height: auto;
    }

    .nabbar-nav .mainmenu li.cart a .item-count {
        top: 12px;
        left: -12px;
    }

    .cr-header.is-sticky .nabbar-nav .mainmenu > li > a,
    .cr-header.is-sticky .nabbar-nav .mainmenu li.cart a {
        color: var(--cr-ink);
    }

    .cr-header.is-sticky .nabbar-nav .mainmenu > li.has-droupdown:hover > a {
        color: var(--cr-red);
        opacity: 1;
    }

    .cr-header.is-sticky .nabbar-nav .mainmenu li a.login {
        background: var(--cr-red);
        color: #fff;
    }

    .cr-header.is-sticky .nabbar-nav .mainmenu li.cart a .item-count {
        background: var(--cr-red);
        color: #fff;
    }

    /* Mega menu: the left tab rail uses the brand gradient instead of a flat blue. */
    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu {
        width: 980px;
        max-width: 92vw;
        border-radius: 9px;
        top: calc(100% + 30px);
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain section article::after {
        background: var(--cr-gradient);
        box-shadow: none;
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain section label {
        color: #fff;
        border-radius: 8px;
        font-weight: 600;
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain input[name="crMegaTabs"] {
        position: absolute;
        right: -9999px;
        top: -9999px;
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain input[name="crMegaTabs"]:checked + label {
        background: #fff !important;
        color: var(--cr-red) !important;
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain input[name="crMegaTabs"]:checked ~ article {
        display: block;
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain .megamenu-list > li > a {
        border-radius: 9px;
        color: var(--cr-ink);
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain .megamenu-list > li > a:hover {
        background: var(--cr-red-50);
        color: var(--cr-red);
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain .megamenu-list > li > a .content .subcontent {
        color: #5d6069;
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain .tabheadline-title-inner {
        color: var(--cr-red);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: .08em;
    }

    /* Simple dropdowns (About / Support / account). */
    .nabbar-nav .mainmenu .has-droupdown .submenu.cr-simple-menu {
        min-width: 250px;
        padding: 10px;
        right: -14px;
        border-radius: 9px;
    }

    .nabbar-nav .mainmenu .has-droupdown .submenu.cr-simple-menu.cr-menu-end {
        right: auto;
        left: 0;
    }

    .nabbar-nav .mainmenu .cr-simple-menu li a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 9px 14px;
        color: var(--cr-ink);
        font-size: 15px;
        font-weight: 500;
        border-radius: 9px;
        white-space: nowrap;
    }

    .nabbar-nav .mainmenu .cr-simple-menu li a i {
        color: var(--cr-red);
        font-size: 17px;
    }

    .nabbar-nav .mainmenu .cr-simple-menu li a:hover {
        background: var(--cr-red-50);
        color: var(--cr-red);
    }
}

@media (max-width: 1199px) {
    .cr-header .main-header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .cr-header .main-header .navbar-brand img.cr-logo {
        height: 40px;
    }

    .nav-mobiles .cart-item-count {
        color: #fff;
    }

    .cr-header.is-sticky .nav-mobiles .cart-item-count {
        color: var(--cr-ink);
    }

    .cr-header.is-sticky .navbar-button > .icon,
    .cr-header.is-sticky .navbar-button > .icon::before,
    .cr-header.is-sticky .navbar-button > .icon::after {
        background: var(--cr-ink);
    }

    .cr-header.is-sticky .navbar-button.active > .icon {
        background: transparent;
    }

    .nabbar-nav {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        border-radius: 0 0 9px 9px;
    }

    .nabbar-nav .mainmenu > li > a {
        color: var(--cr-ink);
        padding: 10px 0;
        border-bottom: 1px solid var(--cr-line);
    }

    .nabbar-nav .mainmenu > li.cart {
        display: none;
    }

    .nabbar-nav .mainmenu li a.login {
        background: var(--cr-red);
        color: #fff;
        margin-top: 12px;
        border: 0;
    }

    .nabbar-nav .mainmenu .cr-simple-menu {
        padding: 6px 12px 6px 0;
    }

    .nabbar-nav .mainmenu .cr-simple-menu li a {
        display: flex;
        gap: 8px;
        align-items: center;
        padding: 8px 0;
        color: var(--cr-text-2);
        font-size: 15px;
        font-weight: 500;
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain input[name="crMegaTabs"] {
        position: absolute;
        right: -9999px;
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain input[name="crMegaTabs"]:checked + label {
        color: var(--cr-red);
    }

    .nabbar-nav .mainmenu .has-droupdown.megamenu .submenu .tabmain input[name="crMegaTabs"]:checked ~ article {
        display: block;
    }

    .nabbar-nav .mainmenu .megamenu-list > li > a {
        color: var(--cr-ink);
    }

    body.cr-menu-open .cr-header {
        background: #fff;
        position: fixed;
    }

    body.cr-menu-open .cr-header .cr-topbar {
        display: none;
    }

    body.cr-menu-open .cr-header .cr-logo-light { display: none; }
    body.cr-menu-open .cr-header .cr-logo-dark { display: block; }
    body.cr-menu-open .cr-header .nav-mobiles .cart-item-count { color: var(--cr-ink); }
    body.cr-menu-open .cr-header .navbar-button > .icon::before,
    body.cr-menu-open .cr-header .navbar-button > .icon::after { background: var(--cr-ink); }
}

/* Notification popover (WHMCS client alerts) */
.popover .client-alerts {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 260px;
}

.popover .client-alerts li a {
    display: flex;
    gap: 10px;
    padding: 8px 4px;
    color: var(--cr-text);
    border-bottom: 1px solid var(--cr-line);
}

.popover .client-alerts li:last-child a {
    border-bottom: 0;
}

.popover .client-alerts li a i {
    color: var(--cr-red);
    margin-top: 4px;
}

/* ---------------------------------------------------------------------
   04. Page banner & client sub-navigation
   --------------------------------------------------------------------- */
.banner.one,
.cr-page-banner {
    background: var(--cr-gradient);
}

.banner {
    overflow: hidden;
}

.banner::before,
.cr-page-banner::before {
    content: "";
    position: absolute;
    inset-inline-end: -120px;
    top: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.banner {
    padding-top: 175px;
}

.cr-page-banner {
    position: relative;
    overflow: hidden;
    padding: 160px 0 48px;
    color: #fff;
}

.cr-page-banner .cr-page-title {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.3;
}

.cr-page-banner .cr-page-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    margin: 0 0 8px;
    max-width: 760px;
}

.cr-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 6px 0 0;
    font-size: 14px;
}

.cr-breadcrumb .breadcrumb-item,
.cr-breadcrumb .breadcrumb-item a,
.cr-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.85);
}

.cr-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.cr-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.55);
    content: "›";
}

/* Banner call-to-action buttons sit on red, so the primary one turns white. */
.banner .btns.one,
.call-back .btns.one,
.cr-page-banner .btns.one,
.sectionbg4 .btns.one {
    background: #fff;
    color: var(--cr-red);
}

.banner .btns.one:hover,
.call-back .btns.one:hover,
.sectionbg4 .btns.one:hover {
    background: var(--cr-ink);
    color: #fff;
}

.banner .btns.two,
.call-back .btns.two {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.banner .btns.two:hover,
.call-back .btns.two:hover {
    background: #fff;
    color: var(--cr-red);
}

.btns.one:hover {
    background: var(--cr-red-dark);
    color: #fff;
}

.banner .banner-heading h2.h3 {
    font-size: 25px;
    font-weight: 600;
}

.banner .banner-heading.white h2 {
    color: #fff;
}

.banner .banner-heading h1 {
    font-size: 50px;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .banner .banner-heading h1 {
        font-size: 34px;
    }
}

.banner .cr-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
    padding: 0;
}

.banner .cr-hero-badges li {
    list-style: none;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.banner .cr-hero-badges li i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.cr-subnav {
    background: #fff;
    border-bottom: 1px solid var(--cr-line);
    box-shadow: 0 4px 18px rgba(23, 23, 28, 0.04);
    position: relative;
    z-index: 20;
}

.cr-subnav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cr-subnav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cr-subnav-list > li {
    position: relative;
}

.cr-subnav-list > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px !important;
    color: var(--cr-ink);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 3px solid transparent;
}

.cr-subnav-list > li > a:hover,
.cr-subnav-list > li.show > a,
.cr-subnav-list > li.active > a {
    color: var(--cr-red);
    border-bottom-color: var(--cr-red);
    text-decoration: none;
}

.cr-subnav-list .dropdown-menu {
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    box-shadow: var(--cr-shadow-lg);
    padding: 8px;
    margin-top: 0;
}

.cr-subnav-list .dropdown-menu li.dropdown-item {
    padding: 0;
    background: transparent;
}

.cr-subnav-list .dropdown-menu a.dropdown-item {
    padding: 8px 12px !important;
    border-radius: 8px;
    color: var(--cr-text);
    font-size: 14px;
}

.cr-subnav-list .dropdown-menu a.dropdown-item:hover,
.cr-subnav-list .dropdown-menu li.active a.dropdown-item {
    background: var(--cr-red-50);
    color: var(--cr-red);
}

.cr-subnav-list .badge {
    background: var(--cr-red);
    color: #fff;
    border-radius: 9px;
}

/* ---------------------------------------------------------------------
   05. Marketing sections
   --------------------------------------------------------------------- */
.section-heading h2 {
    font-weight: 800;
    letter-spacing: -0.01em;
}

html[dir="rtl"] .section-heading h2 {
    letter-spacing: 0;
}

.section-heading .cr-eyebrow {
    display: inline-block;
    color: var(--cr-red);
    background: var(--cr-red-50);
    border: 1px solid var(--cr-red-100);
    border-radius: 30px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-heading.center .cr-eyebrow {
    display: table;
    margin-right: auto;
    margin-left: auto;
}

.homepage-plan {
    height: 100%;
    color: inherit;
}

.homepage-plan:hover {
    text-decoration: none;
}

/* Homepage markup uses h3 card titles (correct outline under the section h2), so mirror the
   Hosting Hub h4/h3 card styles onto explicit classes. */
.homepage-plan .inner h3.cr-plan-title {
    color: #343434;
    font: 700 25px/1.3 var(--font-primary);
    text-align: center;
    margin-bottom: 12px;
}

.homepage-plan .inner .cr-plan-price {
    color: #343434;
    font: 800 40px/1.2 var(--font-primary);
    text-align: center;
    margin-top: 14px;
}

.homepage-plan .inner .cr-plan-price .start-at {
    display: block;
    font: 500 16px var(--font-primary);
    color: #343434;
}

.homepage-plan .inner .cr-plan-price .durection {
    font: 500 17px var(--font-primary);
}

.homepage-features h3 {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 700;
    color: #212121;
}

.cr-why-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.homepage-plan .inner .learn-more {
    color: var(--cr-red);
    font-weight: 600;
    margin-top: 10px;
}

.homepage-domain-search .homepage-domain-form .submit {
    border: 0;
}

/* TLD chips (text based so any extension WHMCS returns renders) */
.cr-tld-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.cr-tld-chips li {
    list-style: none;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 9px;
    padding: 12px 18px;
    min-width: 150px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}

.cr-tld-chips li:hover {
    transform: translateY(-4px);
    box-shadow: var(--cr-shadow);
}

.cr-tld-chips .cr-tld-name {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--cr-ink);
    direction: ltr;
}

.cr-tld-chips .cr-tld-price {
    display: block;
    background: var(--cr-red-50);
    color: var(--cr-red);
    border-radius: 9px;
    padding: 3px 14px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
    direction: ltr;
}

.cr-tld-name-lg {
    font-size: 30px;
    font-weight: 800;
    color: var(--cr-ink);
    direction: ltr;
    display: inline-block;
}

.domain-names-tld .one-year-free {
    background-color: var(--cr-red);
}

.domain-names-tld .inner .contents h5 {
    color: var(--cr-red);
    direction: ltr;
    display: inline-block;
}

.cr-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cr-stat {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--cr-shadow);
}

.cr-stat-num {
    font-size: 38px;
    font-weight: 800;
    color: var(--cr-red);
    line-height: 1.1;
}

.cr-stat-label {
    color: var(--cr-text-2);
    font-weight: 600;
    margin-top: 6px;
}

.cr-why-card {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 30px 26px;
    height: 100%;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.cr-why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cr-shadow-lg);
    border-color: var(--cr-red-100);
}

.cr-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 9px;
    background: var(--cr-red-50);
    color: var(--cr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.cr-why-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cr-why-card p {
    margin: 0;
}

.testimonial .testimonial-items {
    background: #fff;
}

.testimonial-items .cr-stars {
    color: #f5a524;
    font-size: 18px;
    display: flex;
    gap: 2px;
}

.testimonial-items .cr-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cr-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.faq {
    background: var(--cr-bg);
}

.hh-accordion > li.active {
    border-color: var(--cr-red-100);
}

.hh-accordion > li.active > a {
    color: var(--cr-red);
}

.plan-style-one {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-style-one ul {
    flex: 1;
}

.plan-style-one .plan-select-btn {
    margin-top: auto;
}

.plan-style-one .cr-plan-cta-wrap {
    margin-top: 18px;
}

.plan-style-one h3 .cr-price-prefix {
    font-size: 20px;
    vertical-align: super;
    margin-inline-end: 3px;
}

.plan-style-one h5 {
    color: #5d6069;
}

.plan-featured .plan-style-one {
    border-color: var(--cr-red);
    box-shadow: 0 18px 40px rgba(181, 18, 27, 0.14);
}

.plan-featured .plan-style-one::before {
    background: var(--cr-red);
}

.cr-cta-band {
    background: var(--cr-gradient);
    border-radius: 9px;
    padding: 46px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cr-cta-band h2,
.cr-cta-band h3,
.cr-cta-band p {
    color: #fff;
}

.cr-footer-cta {
    padding: 0 0 60px;
    background: transparent;
}

.cr-layout-app .cr-footer-cta {
    padding-top: 10px;
}

.call-back {
    background-color: var(--cr-red-dark);
    background-image: var(--cr-gradient);
    border-radius: 9px;
    position: relative;
    overflow: hidden;
}

.call-back::after {
    content: "";
    position: absolute;
    inset-inline-start: -80px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.call-back .inner {
    position: relative;
    z-index: 1;
}

.section-heading.white p {
    opacity: .9;
}

/* ---------------------------------------------------------------------
   06. Footer
   --------------------------------------------------------------------- */
.theme-footer.cr-footer {
    background: #141418;
    padding-top: 64px;
}

.theme-footer .footer-list li a {
    color: #d9d9de;
}

.theme-footer .footer-list li a:hover {
    color: #fff;
    text-decoration: none;
}

.theme-footer .footer-list li.heading_list {
    color: #fff;
    position: relative;
}

.theme-footer .footer-info > a.logo img {
    height: 48px;
    width: auto;
}

.theme-footer .footer-info > p {
    color: #c9cad0;
    line-height: 1.8;
}

.theme-footer .footer-social .social-icon a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.theme-footer .footer-social .social-icon a:hover {
    background: var(--cr-red);
    color: #fff;
}

.cr-footer-rule {
    border-color: rgba(255, 255, 255, 0.12);
}

.theme-footer .copyright-info {
    color: #b4b5bc;
}

.cr-footer-payments {
    max-height: 36px;
    width: auto;
}

.cr-locale-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e3e3e8;
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 14px;
    cursor: pointer;
}

.cr-locale-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

@media (max-width: 767px) {
    .cr-locale-btn {
        margin-top: 14px;
    }
}

/* ---------------------------------------------------------------------
   07. Content pages (about, policies, portfolio, infrastructure pages)
   --------------------------------------------------------------------- */
.cr-content-row {
    margin-top: 0;
}

.content-page,
.legal-content {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 38px 40px;
    box-shadow: var(--cr-shadow);
}

.content-hero {
    font-size: 19px;
    line-height: 1.8;
    color: var(--cr-ink);
    font-weight: 500;
    border-inline-start: 4px solid var(--cr-red);
    padding-inline-start: 18px;
    margin-bottom: 28px;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 0 0 34px;
}

.stats-bar .stat {
    background: var(--cr-red-50);
    border: 1px solid var(--cr-red-100);
    border-radius: 9px;
    padding: 18px 12px;
    text-align: center;
}

.stats-bar .stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--cr-red);
    line-height: 1.2;
}

.stats-bar .stat-label {
    color: var(--cr-text-2);
    font-size: 14px;
    font-weight: 600;
}

.content-section {
    margin-top: 34px;
}

.content-section-title,
.content-section h2.content-section-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--cr-ink);
}

.content-section-sub {
    color: var(--cr-text-2);
    margin-bottom: 20px;
}

.icon-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.icon-card-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 20px;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.icon-card:hover {
    border-color: var(--cr-red-100);
    box-shadow: var(--cr-shadow);
    transform: translateY(-3px);
}

.icon-card-grid.cols-3 .icon-card {
    flex-direction: column;
}

.icon-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 9px;
    background: var(--cr-red-50);
    color: var(--cr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.icon-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
}

.icon-card p {
    margin: 0;
    font-size: 14.5px;
}

.content-closing {
    margin-top: 34px;
    background: var(--cr-gradient);
    border-radius: 9px;
    padding: 26px 30px;
    color: #fff;
}

.content-closing p,
.content-closing h2,
.content-closing h3,
.content-closing a:not(.btn) {
    color: #fff;
}

.cr-body .content-closing .btn,
.cr-body .content-closing .btn-custom {
    background: #fff;
    color: var(--cr-red);
    border: 0;
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 24px;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 800;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--cr-line);
}

.legal-content h2:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-top: 18px;
}

.legal-content p,
.legal-content li {
    color: var(--cr-text);
    line-height: 1.85;
}

.legal-updated {
    display: inline-block;
    background: var(--cr-red-50);
    color: var(--cr-red) !important;
    border-radius: 30px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
}

.steps-list {
    counter-reset: crstep;
    list-style: none;
    padding: 0;
}

.steps-list li {
    counter-increment: crstep;
    position: relative;
    padding-inline-start: 52px;
    margin-bottom: 16px;
    min-height: 36px;
}

.steps-list li::before {
    content: counter(crstep);
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cr-gradient);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.tier-card {
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    text-align: center;
}

.tier-card-header {
    padding: 14px;
    font-weight: 800;
    color: #fff;
    background: #8d6e63;
}

.tier-silver .tier-card-header { background: #8a9099; }
.tier-gold .tier-card-header { background: #c9971c; }
.tier-diamond .tier-card-header { background: var(--cr-gradient); }

.tier-card-discount {
    font-size: 32px;
    font-weight: 800;
    color: var(--cr-red);
    padding-top: 14px;
}

.tier-card-range,
.tier-card-example {
    padding: 4px 14px 14px;
    color: var(--cr-text-2);
    font-size: 14px;
}

.portfolio-intro {
    font-size: 16px;
    margin-bottom: 26px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.portfolio-card {
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .25s, transform .25s;
}

.portfolio-card:hover {
    box-shadow: var(--cr-shadow-lg);
    transform: translateY(-4px);
}

.portfolio-card-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cr-bg);
}

.portfolio-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.portfolio-card-body {
    padding: 18px 20px 20px;
}

.portfolio-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.portfolio-card-body h3 a {
    color: var(--cr-ink);
}

.portfolio-card-date {
    font-size: 13px;
    color: #5d6069;
    margin-bottom: 8px;
}

.portfolio-card-tech {
    font-size: 13px;
    color: var(--cr-text-2);
    margin-bottom: 8px;
}

.portfolio-card-link {
    font-weight: 600;
    font-size: 14px;
    word-break: break-all;
}

.portfolio-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

/* Shared aside on content pages */
.cr-aside .sidebar-card {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: var(--cr-shadow);
}

.cr-aside .sidebar-card-title {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cr-aside .sidebar-card-title i {
    color: var(--cr-red);
}

.cr-aside .sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--cr-text);
    font-weight: 500;
    font-size: 14.5px;
}

.cr-aside .sidebar-link i {
    color: var(--cr-red);
    width: 18px;
    text-align: center;
}

.cr-aside .sidebar-link:hover,
.cr-aside .sidebar-link.active {
    background: var(--cr-red-50);
    color: var(--cr-red);
    text-decoration: none;
}

.cr-aside .sidebar-offer {
    display: block;
    background: var(--cr-gradient);
    color: #fff;
    border-radius: 9px;
    padding: 24px 20px;
    margin-bottom: 18px;
    text-align: center;
    box-shadow: 0 16px 34px rgba(181, 18, 27, 0.25);
}

.cr-aside .sidebar-offer:hover {
    text-decoration: none;
    color: #fff;
    transform: translateY(-3px);
}

.cr-aside .sidebar-offer-icon {
    font-size: 34px;
    display: block;
    margin-bottom: 6px;
}

.cr-aside .sidebar-offer-price {
    display: block;
    font-size: 18px;
}

.cr-aside .sidebar-offer-price strong {
    font-size: 30px;
    font-weight: 800;
}

.cr-aside .sidebar-offer-cta {
    display: inline-block;
    margin-top: 12px;
    background: #fff;
    color: var(--cr-red);
    font-weight: 700;
    border-radius: 30px;
    padding: 7px 22px;
}

.cr-aside .sidebar-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--cr-text);
}

.cr-aside .sidebar-feature + .sidebar-feature {
    margin-top: 12px;
}

.cr-aside .sidebar-feature i {
    color: var(--cr-red);
    margin-top: 4px;
}

/* ---------------------------------------------------------------------
   08. Client area (kohost-inspired cards, sidebar, tiles, tables)
   --------------------------------------------------------------------- */
section#main-body {
    padding: 40px 0 60px;
    min-height: 400px;
}

.cr-layout-app .primary-content .card,
.cr-layout-app .sidebar .card,
.cr-layout-app .mc-promo-manage,
.cr-layout-app .mc-promo-login {
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    box-shadow: var(--cr-shadow);
    overflow: hidden;
    margin-bottom: 20px;
}

.cr-layout-app .card-header {
    background: #fff;
    border-bottom: 1px solid var(--cr-line);
    padding: 16px 20px;
}

.cr-layout-app .card-header .card-title,
.cr-layout-app .card-header h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--cr-ink);
    margin: 0;
}

.cr-layout-app .card-header .card-title i,
.cr-layout-app .card-header h3 i {
    color: var(--cr-red);
}

.cr-layout-app .card-footer {
    background: #fcfcfd;
    border-top: 1px solid var(--cr-line);
}

.cr-layout-app .primary-content .card-title {
    font-weight: 800;
    color: var(--cr-ink);
}

/* Sidebar */
.cr-layout-app .sidebar .card-header {
    padding: 14px 18px;
    border-bottom: 2px solid var(--cr-red);
}

.cr-layout-app .sidebar .card-title {
    font-size: 15px;
    font-weight: 800;
}

.cr-layout-app .sidebar .card-title i {
    color: var(--cr-red);
}

.cr-layout-app .sidebar .list-group-item {
    border: 0;
    border-bottom: 1px solid #f1f2f4;
    padding: 11px 18px;
    color: var(--cr-text);
    font-size: 14.5px;
    font-weight: 500;
    transition: background .2s, color .2s;
}

.cr-layout-app .sidebar .list-group-item:last-child {
    border-bottom: 0;
}

.cr-layout-app .sidebar .list-group-item:hover {
    background: var(--cr-red-50);
    color: var(--cr-red);
}

.cr-layout-app .sidebar .list-group-item.active,
.cr-layout-app .sidebar .list-group-item.active:hover {
    background: var(--cr-red-50);
    color: var(--cr-red);
    font-weight: 700;
    box-shadow: inset -3px 0 0 var(--cr-red);
}

.cr-layout-app .sidebar .list-group-item .badge {
    background: var(--cr-red);
    color: #fff;
    border-radius: 9px;
}

.cr-layout-app .sidebar .list-group-item i {
    color: var(--cr-red);
}

.cr-layout-app .sidebar .list-group-item.active i {
    color: var(--cr-red);
}

/* Dashboard tiles: icon badge cards instead of the stock flat strip */
.tiles .row {
    margin-right: -8px;
    margin-left: -8px;
}

.tiles .row > [class*="col-"] {
    padding: 8px;
}

.tiles .tile {
    display: block;
    position: relative;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 22px 20px 20px;
    height: 100%;
    box-shadow: var(--cr-shadow);
    color: var(--cr-ink);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    overflow: hidden;
}

.tiles .tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--cr-shadow-lg);
    border-color: var(--cr-red-100);
    text-decoration: none;
    background: #fff;
}

.tiles .tile i {
    position: static;
    width: 48px;
    height: 48px;
    border-radius: 9px;
    background: var(--cr-red-50);
    color: var(--cr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    opacity: 1;
    margin-bottom: 12px;
}

.tiles .tile .stat {
    font-size: 34px;
    font-weight: 800;
    color: var(--cr-ink);
    line-height: 1.1;
    margin: 0;
}

.tiles .tile .title {
    color: var(--cr-text-2);
    font-weight: 600;
    text-transform: none;
    font-size: 14px;
}

.tiles .tile .highlight {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: 3px;
    background: var(--cr-gradient) !important;
    opacity: 0;
    transition: opacity .25s;
}

.tiles .tile:hover .highlight {
    opacity: 1;
}

/* Client home panels */
.client-home-cards .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.client-home-cards .card .list-group-item {
    border-right: 0;
    border-left: 0;
    padding: 12px 20px;
    color: var(--cr-text);
}

.client-home-cards .card .list-group-item:hover {
    background: var(--cr-red-50);
}

/* Tables */
.cr-layout-app .table-container,
.cr-layout-app .dataTables_wrapper {
    background: #fff;
    border-radius: var(--cr-radius);
}

.cr-layout-app .table-list {
    border-collapse: separate;
    border-spacing: 0;
}

.cr-layout-app .table-list thead th,
.cr-layout-app .table thead th {
    background: #fafafb;
    color: var(--cr-text-2);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid var(--cr-line);
    border-top: 0;
}

html[dir="rtl"] .cr-layout-app .table-list thead th,
html[dir="rtl"] .cr-layout-app .table thead th {
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
}

.cr-layout-app .table-list tbody td,
.cr-layout-app .table td {
    border-top: 1px solid #f0f1f3;
    vertical-align: middle;
    color: var(--cr-text);
}

.cr-layout-app .table-list tbody tr:hover td {
    background: var(--cr-red-50);
}

.cr-layout-app .table-list > tbody > tr > td.sorting_1 {
    background: transparent;
}

.label.status,
.status-pill {
    border-radius: 30px;
    padding: 4px 12px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .02em;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 9px;
    border: 1px solid #dcdfe5;
}

.page-item.active .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--cr-red) !important;
    border-color: var(--cr-red) !important;
    color: #fff !important;
}

.page-link {
    color: var(--cr-red);
}

/* Product details / domain details tabs */
.cr-layout-app .nav-tabs .nav-link.active,
.cr-layout-app .nav-tabs .nav-item.show .nav-link {
    color: var(--cr-red);
    border-color: var(--cr-line) var(--cr-line) #fff;
    font-weight: 700;
}

.cr-layout-app .nav-tabs .nav-link {
    color: var(--cr-text-2);
}

.cr-layout-app .nav-pills .nav-link.active,
.cr-layout-app .nav-pills .show > .nav-link {
    background: var(--cr-red);
}

.product-status {
    border-radius: var(--cr-radius);
    overflow: hidden;
}

.product-status .product-icon {
    background: var(--cr-gradient) !important;
}

.product-status .product-status-text {
    font-weight: 700;
}

/* Ticket conversation */
.view-ticket .ticket-reply,
.ticket-reply {
    border-radius: var(--cr-radius);
}

.ticket-reply.staff .posted-by,
.ticket-reply .posted-by {
    border-radius: 9px 9px 0 0;
}

.ticket-reply.staff {
    border-color: var(--cr-red-100);
}

.ticket-reply.staff .posted-by {
    background: var(--cr-red-50);
}

/* Invoice / billing summaries */
.invoice-summary,
.cr-layout-app .summary-container {
    border-radius: var(--cr-radius);
}

/* ---------------------------------------------------------------------
   09. Forms, buttons, misc components
   --------------------------------------------------------------------- */
.cr-body .btn {
    border-radius: 9px;
    font-weight: 600;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}

.cr-body .btn-primary,
.cr-body .btn-primary:not(:disabled):not(.disabled):active,
.cr-body .btn-custom {
    background: var(--cr-red);
    border-color: var(--cr-red);
    color: #fff;
}

.cr-body .btn-primary:hover,
.cr-body .btn-primary:focus,
.cr-body .btn-custom:hover {
    background: var(--cr-red-dark);
    border-color: var(--cr-red-dark);
    color: #fff;
}

.cr-body .btn-primary:focus,
.cr-body .btn-primary.focus {
    box-shadow: 0 0 0 .2rem rgba(181, 18, 27, .25);
}

.cr-body .btn-outline-primary {
    color: var(--cr-red);
    border-color: var(--cr-red);
}

.cr-body .btn-outline-primary:hover {
    background: var(--cr-red);
    color: #fff;
}

.cr-body .btn-default {
    background: #fff;
    border-color: #d8dbe1;
    color: var(--cr-ink);
}

.cr-body .btn-default:hover {
    border-color: var(--cr-red);
    color: var(--cr-red);
    background: #fff;
}

.cr-body .btn-link {
    color: var(--cr-red);
}

.cr-body .form-control,
.cr-body .custom-select {
    border-radius: 9px;
    border-color: #d8dbe1;
    color: var(--cr-ink);
}

.cr-body .form-control:not(textarea):not([size]):not([multiple]),
.cr-body .custom-select {
    min-height: 44px;
}

.cr-body .form-control:focus,
.cr-body .custom-select:focus {
    border-color: var(--cr-red);
    box-shadow: 0 0 0 .2rem rgba(181, 18, 27, .15);
}

.cr-body .input-group > .form-control:not(:last-child),
.cr-body .input-group > .custom-select:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.cr-body .input-group > .form-control:not(:first-child),
.cr-body .input-group > .custom-select:not(:first-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cr-body .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--cr-red);
    border-color: var(--cr-red);
}

.cr-body label,
.cr-body .control-label {
    font-weight: 600;
    color: var(--cr-ink);
}

.cr-body .alert {
    border-radius: 9px;
}

.cr-body .badge-info,
.cr-body .badge-primary {
    background: var(--cr-red);
}

.cr-body .text-primary {
    color: var(--cr-red) !important;
}

.cr-body .bg-primary {
    background-color: var(--cr-red) !important;
}

.cr-body .dropdown-item.active,
.cr-body .dropdown-item:active {
    background: var(--cr-red);
}

.cr-body .progress-bar {
    background-color: var(--cr-red);
}

.cr-body .modal-content {
    border: 0;
    border-radius: 9px;
    overflow: hidden;
}

.cr-body .modal-localisation .modal-content {
    background: var(--cr-gradient);
}

.cr-body .modal-localisation .item-selector .item.active {
    background: #fff;
    color: var(--cr-red);
}

/* ---------------------------------------------------------------------
   10. Auth pages (login / register / password reset / 2FA)
   --------------------------------------------------------------------- */
.cr-auth.account-page {
    padding: 170px 0 70px;
    min-height: 100vh;
}

.cr-auth-card {
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 30px 80px rgba(23, 0, 0, 0.30);
    padding: 40px;
}

.cr-auth-card h1,
.cr-auth-card .h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.cr-auth-card .cr-auth-sub {
    color: var(--cr-text-2);
    margin-bottom: 24px;
}

.cr-auth-card .card {
    border: 0;
    box-shadow: none;
}

.cr-auth-card .card-body {
    padding: 0;
}

.cr-auth-side {
    color: #fff;
    padding: 10px 30px 10px 10px;
}

.cr-auth-side h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.35;
}

.cr-auth-side p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
}

.cr-auth-side .cr-auth-points {
    margin: 26px 0 0;
    padding: 0;
}

.cr-auth-side .cr-auth-points li {
    list-style: none;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.cr-auth-side .cr-auth-points li i {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cr-auth-side .cr-auth-points strong {
    display: block;
    font-size: 16px;
}

.cr-auth-side .cr-auth-points span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14.5px;
}

.cr-auth-quote {
    margin-top: 26px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    padding: 20px 22px;
}

.cr-auth-quote p {
    margin: 0 0 10px;
    font-size: 15.5px;
}

.cr-auth-quote .cr-stars {
    color: #ffcc4d;
}

.cr-auth .cr-auth-links {
    border-top: 1px dashed #d8dbe1;
    margin-top: 22px;
    padding-top: 16px;
    text-align: center;
    color: var(--cr-text-2);
}

.cr-auth .btn-lg,
.cr-auth .btn-block {
    padding: 12px 18px;
}

.cr-auth .linked-accounts .btn {
    border-radius: 9px;
}

/* ---------------------------------------------------------------------
   11. Support (knowledgebase / downloads / announcements / server status)
   --------------------------------------------------------------------- */
.cr-kb-search {
    background: #fff;
    border-radius: 9px;
    box-shadow: var(--cr-shadow-lg);
    padding: 10px;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.cr-kb-search input {
    border: 0;
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    outline: 0;
    min-width: 0;
    background: transparent;
}

.cr-kb-search .btn {
    padding: 10px 24px;
}

.cr-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 34px;
}

.cr-cat-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 20px;
    color: var(--cr-ink);
    box-shadow: var(--cr-shadow);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.cr-cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--cr-red-100);
    box-shadow: var(--cr-shadow-lg);
    text-decoration: none;
    color: var(--cr-ink);
}

.cr-cat-card .cr-icon-badge {
    width: 48px;
    height: 48px;
    font-size: 21px;
    margin: 0;
    border-radius: 9px;
}

.cr-cat-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 4px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.cr-cat-card p {
    margin: 0;
    font-size: 14px;
}

.cr-cat-count {
    background: var(--cr-red-50);
    color: var(--cr-red);
    font-size: 12px;
    border-radius: 9px;
    padding: 1px 9px;
    font-weight: 700;
}

.cr-article-list {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    box-shadow: var(--cr-shadow);
    overflow: hidden;
}

.cr-article-list a {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f1f3;
    color: var(--cr-ink);
}

.cr-article-list a:last-child {
    border-bottom: 0;
}

.cr-article-list a:hover {
    background: var(--cr-red-50);
    text-decoration: none;
}

.cr-article-list a > i {
    color: var(--cr-red);
    margin-top: 5px;
}

.cr-article-list strong {
    display: block;
    font-weight: 700;
}

.cr-article-list small {
    color: var(--cr-text-2);
    font-size: 13.5px;
    display: block;
}

.cr-section-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cr-section-title i {
    color: var(--cr-red);
}

.cr-article-body {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 34px 38px;
    box-shadow: var(--cr-shadow);
    font-size: 16px;
    line-height: 1.85;
}

.cr-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 9px;
}

.cr-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: var(--cr-text-2);
    font-size: 14px;
    margin-bottom: 18px;
}

.cr-article-meta i {
    color: var(--cr-red);
}

.cr-helpful {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 9px;
    background: var(--cr-red-50);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.cr-download-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f1f3;
    background: #fff;
}

.cr-download-item:last-child {
    border-bottom: 0;
}

.cr-download-item .cr-icon-badge {
    margin: 0;
    width: 48px;
    height: 48px;
    font-size: 22px;
}

.cr-download-item .cr-download-info {
    flex: 1;
    min-width: 0;
}

.cr-download-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px;
}

.cr-download-item p {
    margin: 0;
    font-size: 14px;
}

.cr-download-item .cr-download-meta {
    font-size: 13px;
    color: #5d6069;
}

.cr-empty {
    background: #fff;
    border: 1px dashed #d8dbe1;
    border-radius: 9px;
    padding: 40px 20px;
    text-align: center;
    color: var(--cr-text-2);
}

.cr-empty i {
    font-size: 40px;
    color: var(--cr-red);
    display: block;
    margin-bottom: 10px;
}

/* ---------------------------------------------------------------------
   12. Utilities & responsive
   --------------------------------------------------------------------- */
.cr-ltr {
    direction: ltr;
    unicode-bidi: embed;
}

.cr-card {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    box-shadow: var(--cr-shadow);
    padding: 30px;
}

.cr-mkt img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1199px) {
    .cr-page-banner {
        padding-top: 140px;
    }

    .banner {
        padding-top: 150px;
    }

    .cr-auth.account-page {
        padding-top: 140px;
    }
}

@media (max-width: 991px) {
    .stats-bar,
    .cr-stats,
    .tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .icon-card-grid.cols-3,
    .cr-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cr-aside {
        margin-top: 24px;
    }

    .cr-auth-side {
        padding: 30px 0 0;
    }
}

@media (max-width: 767px) {
    .cr-page-banner .cr-page-title {
        font-size: 28px;
    }

    .content-page,
    .legal-content,
    .cr-article-body {
        padding: 24px 20px;
    }

    .icon-card-grid,
    .icon-card-grid.cols-3,
    .portfolio-grid,
    .cr-cat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cr-auth-card {
        padding: 26px 20px;
    }

    .cr-cta-band {
        padding: 30px 22px;
    }

    .homepage-plan .inner h3 {
        font-size: 38px;
    }
}

@media (max-width: 575px) {
    .cr-stats,
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .cr-kb-search {
        flex-direction: column;
    }
}

@media print {
    .cr-header,
    .cr-footer,
    .cr-footer-cta,
    .scroll-top,
    .cr-subnav {
        display: none !important;
    }

    .cr-page-banner {
        padding: 20px 0;
        background: none;
    }

    .cr-page-banner .cr-page-title,
    .cr-breadcrumb .breadcrumb-item {
        color: #000;
    }
}

/* ---------------------------------------------------------------------
   13. Domain tools (generator, WHOIS, free add-ons)
   --------------------------------------------------------------------- */
.free-ad-ons h3 {
    font-size: 23px;
    font-weight: 700;
}

.cr-gen-form {
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 9px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(30, 0, 0, 0.25);
}

.cr-gen-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    font-size: 17px;
    padding: 12px 16px;
}

.cr-gen-select {
    border: 0;
    border-right: 1px solid var(--cr-line);
    background: transparent;
    font-weight: 700;
    padding: 0 12px;
    outline: 0;
}

.cr-gen-hint {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 14px;
    font-size: 14px;
}

.cr-gen-card {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 22px 20px;
    height: 100%;
    box-shadow: var(--cr-shadow);
    text-align: center;
    transition: border-color .25s, transform .25s;
}

.cr-gen-card.is-available {
    border-color: #a9dfbf;
}

.cr-gen-card.is-available:hover {
    transform: translateY(-4px);
}

.cr-gen-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--cr-ink);
    word-break: break-all;
    margin-bottom: 8px;
}

.cr-gen-status {
    min-height: 54px;
    font-weight: 600;
    font-size: 14px;
}

.cr-gen-status > span {
    display: none;
}

.cr-gen-card.is-checking .cr-gen-checking,
.cr-gen-card.is-available .cr-gen-available,
.cr-gen-card.is-available .cr-gen-price,
.cr-gen-card.is-taken .cr-gen-taken {
    display: block;
}

.cr-gen-checking { color: var(--cr-text-2); }
.cr-gen-checking i { display: inline-block; animation: crSpin 1s linear infinite; }
.cr-gen-available { color: #1e8a4c; }
.cr-gen-taken { color: #9a1b1b; }
.cr-gen-price { font-size: 20px; font-weight: 800; color: var(--cr-red); margin-top: 2px; }

.cr-gen-card .cr-gen-buy,
.cr-gen-card .cr-gen-whois {
    display: none;
    margin-top: 10px;
}

.cr-gen-card.is-available .cr-gen-buy,
.cr-gen-card.is-taken .cr-gen-whois,
.cr-gen-card.is-unknown .cr-gen-buy {
    display: block;
}

@keyframes crSpin {
    to { transform: rotate(-360deg); }
}

.cr-whois-output {
    background: #17171c;
    color: #e9e9ee;
    border-radius: 9px;
    padding: 20px 22px;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 640px;
    overflow: auto;
    text-align: left;
    margin: 0;
}

@media (max-width: 767px) {
    .cr-gen-form {
        flex-wrap: wrap;
    }

    .cr-gen-input {
        flex-basis: 100%;
    }

    .cr-gen-select {
        border-right: 0;
        border: 1px solid var(--cr-line);
        border-radius: 9px;
        height: 48px;
        flex: 1;
    }
}

/* Search buttons inside the hero sit on a white field, so they keep the brand red. */
.banner .domain-search-form .btns.one,
.banner .cr-gen-form .btns.one {
    background: var(--cr-red);
    color: #fff;
}

.banner .domain-search-form .btns.one:hover,
.banner .cr-gen-form .btns.one:hover {
    background: var(--cr-red-dark);
    color: #fff;
}

/* Coloured buttons rendered as links keep white text (the generic link colour would turn them red). */
.cr-body a.btn-success,
.cr-body a.btn-danger,
.cr-body a.btn-info,
.cr-body a.btn-warning,
.cr-body a.btn-dark,
.cr-body a.btn-primary,
.cr-body a.btn-success:hover,
.cr-body a.btn-danger:hover,
.cr-body a.btn-info:hover,
.cr-body a.btn-dark:hover,
.cr-body a.btn-primary:hover {
    color: #fff;
}

.cr-body a.btn-default,
.cr-body a.btn-light {
    color: var(--cr-ink);
}

/* Auth pages that keep twenty-one's markup (register, password reset, 2FA, logout). */
.cr-auth-head {
    margin-bottom: 30px;
}

.cr-auth-head h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
}

.cr-auth-head p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    margin: 0;
}

.cr-auth .card {
    border: 0;
    border-radius: 9px;
    box-shadow: 0 30px 80px rgba(23, 0, 0, 0.30);
    overflow: hidden;
}

.cr-auth .card.mw-540 {
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
}

.cr-auth .card-title {
    font-weight: 800;
    color: var(--cr-ink);
}

.cr-auth .card-footer {
    background: #fafafb;
}

.cr-auth .text-muted {
    color: var(--cr-text-2) !important;
}

.cr-tpl-clientregister .cr-auth form#frmCheckout {
    max-width: 960px;
    margin: 0 auto;
}

.cr-auth-card .linked-accounts,
.cr-auth-card .social-signin-btns {
    margin-top: 18px;
}

/* Domain pricing page */
.tld-filters a.badge {
    background: #fff;
    border: 1px solid var(--cr-line);
    color: var(--cr-text);
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    padding: 7px 14px;
    margin: 0 0 8px 4px;
}

.tld-filters a.badge.active,
.tld-filters a.badge-success,
.tld-filters a.badge:hover {
    background: var(--cr-red);
    border-color: var(--cr-red);
    color: #fff;
    text-decoration: none;
}

.domain-names-tld .inner .contents h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--cr-red);
    margin: 0;
    direction: ltr;
    display: inline-block;
}

a.domain-names-tld:hover {
    text-decoration: none;
}

.domain-pricing-table {
    border-radius: 9px;
    padding: 0;
}

.tld-sale-group {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 2px 6px;
    background: var(--cr-red);
    color: #fff;
    vertical-align: middle;
}

.tld-sale-group-sale { background: #c98a00; }
.tld-sale-group-new { background: #1e8a4c; }

/* Contact page */
.contact .info.cr-card {
    height: 100%;
}

.contact .info-item i {
    margin-left: 16px;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 9px;
    background: var(--cr-red-50);
    color: var(--cr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.contact .info-item p i {
    width: auto;
    height: auto;
    min-width: 0;
    background: none;
    margin: 0;
    font-size: 26px;
}

.contact .info-item a i.ri-arrow-right-line {
    width: auto;
    height: auto;
    min-width: 0;
    background: none;
    font-size: 15px;
    margin: 0;
    display: inline;
}

.contact form textarea {
    height: auto;
}

/* Arrows that point "forward" must flip in RTL (rtlcss cannot tell from the class name). */
html[dir="rtl"] .ri-arrow-right-line::before { content: "\ea60"; }
html[dir="rtl"] .ri-arrow-left-line::before { content: "\ea6c"; }
html[dir="rtl"] .ri-arrow-right-s-line::before { content: "\ea64"; }
html[dir="rtl"] .ri-arrow-left-s-line::before { content: "\ea6e"; }

.contact h2.h3 {
    font-size: 24px;
    font-weight: 800;
}

.contact .info-item h3.h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cr-body .btn-info {
    background: var(--cr-ink);
    border-color: var(--cr-ink);
    color: #fff;
}

.cr-body .btn-info:hover {
    background: var(--cr-red);
    border-color: var(--cr-red);
}

.product-status .product-icon h3,
.product-status .product-icon h4,
.product-status .product-icon i,
.product-status .product-icon .fa-stack {
    color: #fff;
}

.product-status .product-icon .fa-stack-2x {
    color: rgba(255, 255, 255, 0.25);
}

/* Inputs with an icon inside (register, checkout, contacts ...). The icon box is pinned to the
   start edge and the text is pushed clear of it; rtlcss mirrors both for Arabic. */
.cr-body .prepend-icon .field-icon {
    right: 0;
    left: auto;
    width: 44px;
    height: 44px;
    line-height: 44px;
    color: #8a8d95;
}

.cr-body .prepend-icon .field,
.cr-body #registration .prepend-icon .field,
.cr-body #order-standard_cart .prepend-icon .field {
    padding-right: 44px;
    padding-left: 14px;
}

.cr-body .prepend-icon .field:focus + .field-icon,
.cr-body .prepend-icon .field:focus ~ .field-icon {
    color: var(--cr-red);
}

/* Plain top-level menu links stay white on the red header (hover only dims them). */
@media (min-width: 1200px) {
    .cr-header .nabbar-nav .mainmenu > li > a:not(.login):hover,
    .cr-header .nabbar-nav .mainmenu > li > a:not(.login):focus {
        color: #fff;
        opacity: .8;
    }

    .cr-header.is-sticky .nabbar-nav .mainmenu > li > a:not(.login):hover,
    .cr-header.is-sticky .nabbar-nav .mainmenu > li > a:not(.login):focus {
        color: var(--cr-red);
        opacity: 1;
    }
}

/* Hero: the scroll-down notch hangs below the banner, so the banner must not clip it.
   The soft light that used a clipped ::before is drawn into the background instead. */
.banner {
    overflow: visible;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) 32%),
        var(--cr-gradient);
}

.banner::before {
    display: none;
}

.banner .scroll-down-block {
    z-index: 2;
}

/* Popper positions popovers from the left via transform; the RTL build must not flip that. */
.popover {
    left: 0;
    right: auto;
}

/* =====================================================================
   14. Client area dashboard layout (logged-in account pages)
   ===================================================================== */
.cr-app-banner {
    padding: 150px 0 70px;
}

.cr-app-banner-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Breadcrumb ribbon sitting on the banner's bottom edge (kohost style) */
.cr-breadcrumb-ribbon {
    background: #fff;
    border-radius: 9px 9px 0 0;
    padding: 12px 22px;
    margin-bottom: -70px;
    position: relative;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.cr-breadcrumb-ribbon .breadcrumb {
    margin: 0;
}

.cr-breadcrumb-ribbon .breadcrumb-item,
.cr-breadcrumb-ribbon .breadcrumb-item.active {
    color: var(--cr-text-2);
    font-weight: 600;
}

.cr-breadcrumb-ribbon .breadcrumb-item a {
    color: var(--cr-red);
}

.cr-breadcrumb-ribbon .breadcrumb-item + .breadcrumb-item::before {
    color: #b4b6bd;
}

.cr-app section#main-body {
    padding-top: 34px;
}

/* Side navigation */
.cr-app-aside {
    margin-bottom: 24px;
}

.cr-app-user {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cr-gradient);
    color: #fff;
    border-radius: 9px 9px 0 0;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.cr-app-user::after {
    content: "";
    position: absolute;
    inset-inline-end: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cr-app-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 9px;
    background: #fff;
    color: var(--cr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
}

.cr-app-user-info {
    min-width: 0;
    flex: 1;
    position: relative;
    z-index: 1;
}

.cr-app-user-info strong {
    display: block;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cr-app-user-info span {
    display: block;
    font-size: 12.5px;
    opacity: .85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: start;
}

.cr-app-credit {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.16);
    color: #fff !important;
    border-radius: 9px;
    padding: 6px 10px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.cr-app-nav-toggle {
    width: 100%;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-top: 0;
    border-radius: 0 0 9px 9px;
    padding: 12px 16px;
    font-weight: 700;
    color: var(--cr-ink);
    text-align: start;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cr-app-nav {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-top: 0;
    border-radius: 0 0 9px 9px;
    box-shadow: var(--cr-shadow);
    padding: 10px;
    margin-bottom: 20px;
}

.cr-app-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cr-app-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 9px;
    color: var(--cr-ink);
    font-weight: 600;
    font-size: 15px;
    transition: background .2s, color .2s;
}

.cr-app-link > i:first-child {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--cr-bg);
    color: var(--cr-text-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background .2s, color .2s;
}

.cr-app-link span {
    flex: 1;
}

.cr-app-link .badge {
    flex: 0 0 auto;
    background: var(--cr-red);
    color: #fff;
    border-radius: 9px;
}

.cr-app-link:hover,
.cr-app-link.active,
.cr-app-group.is-open > .cr-app-link {
    background: var(--cr-red-50);
    color: var(--cr-red);
    text-decoration: none;
}

.cr-app-link:hover > i:first-child,
.cr-app-link.active > i:first-child,
.cr-app-group.is-open > .cr-app-link > i:first-child {
    background: var(--cr-red);
    color: #fff;
}

.cr-app-caret {
    transition: transform .25s;
    color: #9a9ca3;
}

.cr-app-group-toggle:not(.collapsed) .cr-app-caret {
    transform: rotate(-180deg);
}

.cr-app-nav .cr-app-sub {
    padding: 4px 0 8px;
    margin-right: 28px;
    border-right: 2px solid var(--cr-red-100);
}

.cr-app-sublink {
    display: block;
    padding: 7px 18px;
    color: var(--cr-text-2);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px 0 0 8px;
    position: relative;
}

.cr-app-sublink:hover,
.cr-app-sublink.active {
    color: var(--cr-red);
    background: var(--cr-red-50);
    text-decoration: none;
}

.cr-app-sublink.active::before {
    content: "";
    position: absolute;
    right: -2px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--cr-red);
}

.cr-app-divider {
    height: 1px;
    background: var(--cr-line);
    margin: 6px 18px;
}

/* Contextual WHMCS sidebars under the nav, kept compact */
.cr-app-context .card {
    border-radius: 9px;
}

.cr-layout-app .cr-app-context .card-header {
    background: var(--cr-red-50);
    border-bottom: 0;
}

/* Dashboard */
.cr-dash-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: #17171c;
    background-image: radial-gradient(circle at 100% 0%, rgba(215, 25, 32, 0.55) 0, rgba(215, 25, 32, 0) 55%);
    color: #fff;
    border-radius: 9px;
    padding: 30px 32px;
    margin-bottom: 24px;
}

.cr-dash-welcome h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin: 4px 0 6px;
}

.cr-body .cr-dash-welcome p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 420px;
}

.cr-dash-date {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: .04em;
}

.cr-dash-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cr-body .cr-dash-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 104px;
    padding: 14px 8px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    transition: background .2s, transform .2s;
}

.cr-dash-action i {
    font-size: 22px;
}

.cr-body .cr-dash-action:hover {
    background: var(--cr-red);
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

.cr-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.cr-body .cr-dash-stat {
    position: relative;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 20px;
    box-shadow: var(--cr-shadow);
    color: var(--cr-ink);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    overflow: hidden;
}

.cr-body .cr-dash-stat:hover {
    color: var(--cr-ink);
    transform: translateY(-4px);
    box-shadow: var(--cr-shadow-lg);
    border-color: var(--cr-red-100);
    text-decoration: none;
}

.cr-dash-stat-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: var(--cr-red-50);
    color: var(--cr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.cr-dash-stat-num {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
}

.cr-dash-stat-label {
    color: var(--cr-text-2);
    font-weight: 600;
    font-size: 14px;
}

.cr-dash-stat-more {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--cr-line);
    color: var(--cr-red);
    font-size: 13px;
    font-weight: 700;
}

.cr-dash-stat.is-attention {
    border-color: var(--cr-red);
}

.cr-dash-stat.is-attention .cr-dash-stat-icon {
    background: var(--cr-red);
    color: #fff;
}

.cr-dash-alert {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-right: 5px solid var(--cr-red);
    border-radius: 9px;
    padding: 16px 20px;
    margin-bottom: 14px;
    box-shadow: var(--cr-shadow);
}

.cr-dash-alert-gold,
.cr-dash-alert-orange,
.cr-dash-alert-sun-flower {
    border-right-color: #e0a100;
}

.cr-dash-alert-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 9px;
    background: var(--cr-red-50);
    color: var(--cr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.cr-dash-alert-text {
    flex: 1;
    min-width: 220px;
    font-size: 14.5px;
}

.cr-dash-alert-text strong {
    display: block;
    color: var(--cr-ink);
    font-size: 15.5px;
}

.cr-dash-alert-text p {
    margin: 0;
}

.cr-dash-board {
    margin-top: 10px;
}

.cr-dash-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cr-dash-card .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cr-dash-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--cr-red-50);
    color: var(--cr-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.cr-dash-card .list-group-item {
    border-right: 0;
    border-left: 0;
    padding: 14px 20px;
}

.cr-dash-help {
    background: #fff;
    border: 1px dashed var(--cr-red-100);
    border-radius: 9px;
    padding: 22px;
    margin-bottom: 20px;
}

.cr-dash-help h3 {
    font-size: 17px;
    font-weight: 800;
}

@media (max-width: 1199px) {
    .cr-dash-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .cr-app-banner {
        padding-bottom: 40px;
    }

    .cr-breadcrumb-ribbon {
        margin-bottom: 0;
        border-radius: 9px;
    }

    .cr-dash-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .cr-body .cr-dash-action {
        width: auto;
    }

    .cr-dash-welcome {
        padding: 22px;
    }
}

.cr-body .cr-app-link {
    color: var(--cr-ink);
}

.cr-body .cr-app-link:hover,
.cr-body .cr-app-link.active,
.cr-body .cr-app-group.is-open > .cr-app-link {
    color: var(--cr-red);
}

.cr-body .cr-app-sublink {
    color: var(--cr-text-2);
}

.cr-body .cr-app-sublink:hover,
.cr-body .cr-app-sublink.active {
    color: var(--cr-red);
}

/* Affiliates (affiliates.php) */
.cr-aff-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--cr-gradient);
    color: #fff;
    border-radius: 9px;
    padding: 30px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.cr-aff-hero h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 8px 0 6px;
}

.cr-body .cr-aff-hero p {
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 560px;
}

.cr-eyebrow-light {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-radius: 30px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
}

.cr-aff-hero-icon {
    font-size: 84px;
    line-height: 1;
    opacity: .25;
}

.cr-aff-link {
    flex: 1;
    min-width: 0;
}

.cr-aff-copy {
    display: flex;
    gap: 8px;
    background: #fff;
    border-radius: 9px;
    padding: 8px;
    margin-top: 14px;
    max-width: 640px;
}

.cr-aff-copy input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 8px 12px;
    font-size: 15px;
    color: var(--cr-ink);
    background: transparent;
}

.cr-body .cr-aff-copy .btn {
    background: var(--cr-ink);
    color: #fff;
    border-radius: 9px;
    white-space: nowrap;
}

.cr-body .cr-aff-copy .btn:hover {
    background: var(--cr-red);
    color: #fff;
}

.cr-aff-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cr-aff-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 24px 22px;
    height: 100%;
    box-shadow: var(--cr-shadow);
}

.cr-aff-step-num {
    position: absolute;
    top: 16px;
    left: 18px;
    font-size: 40px;
    font-weight: 800;
    color: var(--cr-red-100);
    line-height: 1;
}

.cr-aff-step p {
    margin: 0;
    color: var(--cr-text);
    font-weight: 500;
}

.cr-aff-money {
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 9px;
    padding: 20px 22px;
    height: 100%;
    box-shadow: var(--cr-shadow);
}

.cr-aff-money span {
    display: block;
    color: var(--cr-text-2);
    font-weight: 600;
    font-size: 14px;
}

.cr-aff-money strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--cr-ink);
    margin-top: 6px;
    text-align: start;
}

.cr-aff-money.is-main {
    background: var(--cr-red-50);
    border-color: var(--cr-red-100);
}

.cr-aff-money.is-main strong {
    color: var(--cr-red);
}

.cr-aff-activate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px dashed var(--cr-red-100);
    border-radius: 9px;
    padding: 22px 26px;
}

.cr-aff-activate h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 4px;
}

.cr-aff-activate p {
    margin: 0;
}

.cr-aff-banners img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .cr-aff-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .cr-aff-hero-icon {
        display: none;
    }
}

.cr-credit-id { font-weight: 700; color: var(--cr-ink); }
.cr-credit-id i { color: var(--cr-red); }
.cr-credit-amount { font-weight: 800; color: #1e7a45; white-space: nowrap; }
.cr-credit-amount.is-negative { color: var(--cr-red); }

/* Hover states that otherwise inherit white-on-white from the header/banner rules. */
.cr-header .nabbar-nav .mainmenu > li.cr-account-menu > a.login:hover,
.cr-header .nabbar-nav .mainmenu > li.cr-account-menu:hover > a.login {
    background: var(--cr-ink);
    color: #fff;
    opacity: 1;
}

.cr-header.is-sticky .nabbar-nav .mainmenu > li.cr-account-menu > a.login:hover,
.cr-header.is-sticky .nabbar-nav .mainmenu > li.cr-account-menu:hover > a.login {
    background: var(--cr-red-dark);
    color: #fff;
}

.cr-breadcrumb-ribbon .breadcrumb-item a:hover,
.cr-breadcrumb-ribbon .breadcrumb-item a:focus {
    color: var(--cr-red-dark);
    text-decoration: underline;
}
