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

    ** Custom Stylesheet **

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

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

/* Click Web bilingual UI */
.cw-language-switch {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    margin-inline-end: 8px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 18px;
    color: #fff !important;
    font-weight: 700;
    line-height: 1;
}

.cw-language-switch:hover,
.cw-language-switch:focus {
    border-color: #fdd700;
    color: #fdd700 !important;
}

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .technical-ltr,
[dir="rtl"] [dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
}

[dir="rtl"] .price,
[dir="rtl"] .discount,
[dir="rtl"] .coin,
[dir="rtl"] .period,
[dir="rtl"] code {
    direction: ltr;
    unicode-bidi: isolate;
}

@media (max-width: 767px) {
    .cw-language-switch {
        min-height: 40px;
        margin: 8px 0;
        justify-content: center;
    }
}

/* === CLICK WEB BRAND START === */

/* =====================================================
   CLICK WEB BRAND THEME
   Blue : #29398F
   Gold : #F0C216
   ===================================================== */

:root {
    --cw-blue: #29398F;
    --cw-blue-dark: #202E78;
    --cw-gold: #F0C216;
    --cw-gold-hover: #D9AD12;

    --cw-dark-bg: #0D1620;
    --cw-dark-card: #121F2A;
    --cw-dark-soft: #162530;

    --cw-light-bg: #F7F9FC;
    --cw-light-card: #FFFFFF;

    --cw-dark-text: #F8FAFC;
    --cw-dark-muted: #AAB4C0;

    --cw-light-text: #111827;
    --cw-light-muted: #667085;
}

/* Hide Antler demo/settings controls from visitors */
.btn-settings,
.btn-demos {
    display: none !important;
}

/* Brand badges */
.bg-purple,
.bg-pink {
    background-color: var(--cw-blue) !important;
    border-color: var(--cw-blue) !important;
}

/* Only branding/feature badges - don't touch normal error alerts */
.badge.feat.bg-danger {
    background-color: var(--cw-blue) !important;
    border-color: var(--cw-blue) !important;
}

/* Primary CTA */
.btn-default-yellow-fill,
.btn-default-yellow {
    background-color: var(--cw-gold) !important;
    border-color: var(--cw-gold) !important;
    color: #111111 !important;
}

.btn-default-yellow-fill:hover,
.btn-default-yellow:hover,
.btn-default-yellow-fill:focus,
.btn-default-yellow:focus {
    background-color: var(--cw-gold-hover) !important;
    border-color: var(--cw-gold-hover) !important;
    color: #111111 !important;
}

/* Hosting pricing */
.pricing .title,
.product .title {
    color: var(--cw-gold) !important;
}

.product .product-desc {
    background-color: var(--cw-blue) !important;
}

.product .product-desc,
.product .product-desc li,
.product .product-desc span {
    color: #FFFFFF !important;
}

/* Navigation emphasis */
.nav-menu .main-menu > .menu-item > a.active,
.nav-menu .main-menu > li > a.active,
.nav-menu .main-menu > li > a:hover {
    color: var(--cw-gold) !important;
}

/* Links used as branded accents */
a:hover {
    text-decoration-color: var(--cw-gold);
}

/* ---------- DARK MODE ---------- */

body[data-background="dark"] {
    background-color: var(--cw-dark-bg) !important;
    color: var(--cw-dark-text);
}

[data-background="dark"] .sec-bg1 {
    background-color: var(--cw-dark-bg) !important;
}

[data-background="dark"] .sec-bg2 {
    background-color: var(--cw-dark-card) !important;
}

[data-background="dark"] .sec-bg3 {
    background-color: #0B151E !important;
}

/* ---------- LIGHT MODE ---------- */

body[data-background="light"] {
    background-color: var(--cw-light-bg) !important;
    color: var(--cw-light-text);
}

[data-background="light"] .sec-bg1 {
    background-color: var(--cw-light-bg) !important;
}

[data-background="light"] .sec-bg2 {
    background-color: var(--cw-light-card) !important;
}

[data-background="light"] .sec-bg3 {
    background-color: #FFFFFF !important;
}

/* === CLICK WEB BRAND END === */


/* === CLICK WEB BRAND BALANCE === */

/* Hosting plan feature panels */
.pricing.special .list-info.bg-purple {
    background-color: #29398F !important;
}

/* Why Choose section */
.services.sec-normal.motpath.sec-bg4 {
    background-color: #0D1620 !important;
}

.services.sec-normal.motpath.sec-bg4 .section-heading {
    color: #F8FAFC !important;
}

.services.sec-normal.motpath.sec-bg4 .section-subheading {
    color: #AAB4C0 !important;
}

.services.sec-normal.motpath.sec-bg4 .service-section {
    background-color: #121F2A !important;
}

.services.sec-normal.motpath.sec-bg4 .service-section .title {
    color: #F8FAFC !important;
}

.services.sec-normal.motpath.sec-bg4 .service-section .subtitle {
    color: #AAB4C0 !important;
}

.services.sec-normal.motpath.sec-bg4 .badge.bg-purple {
    background-color: #29398F !important;
    color: #FFFFFF !important;
}

/* === END CLICK WEB BRAND BALANCE === */


/* === CLICK WEB SECTION RHYTHM START === */

/* Daily Backups + Security */
#scroll.history-section {
    background-color: #182B38 !important;
}
#scroll.history-section .sec-main {
    background-color: transparent !important;
}

/* Technical Specifications */
.services.sec-normal.motpath.sec-bg4 + section.sec-normal.sec-bg1.bg-colorstyle {
    background-color: #1D3240 !important;
}

/* Built for Speed, Security & Reliability */
.circle-section.sec-normal.sec-bg1.bg-seccolorstyle.bottomhalfpadding {
    background-color: #132430 !important;
}

/* FAQ */
.circle-section.sec-normal.sec-bg1.bg-seccolorstyle.bottomhalfpadding + section.sec-normal.sec-bg2.bg-colorstyle {
    background-color: #1A2E3B !important;
}

/* Slightly clearer separators */
#scroll hr,
.table.sample tr,
.accordion.faq .panel-wrap {
    border-color: rgba(255,255,255,0.10) !important;
}

/* === CLICK WEB SECTION RHYTHM END === */



/* === CLICK WEB TRUE LIGHT MODE START === */

body[data-background="light"] {
    background-color: #F7F9FC !important;
    color: #111827 !important;
}

[data-background="light"] #scroll.history-section {
    background-color: #EEF3F8 !important;
}

[data-background="light"] #scroll.history-section .sec-main {
    background-color: transparent !important;
}

[data-background="light"] .services.sec-normal.motpath.sec-bg4 {
    background-color: #FFFFFF !important;
}

[data-background="light"] .services.sec-normal.motpath.sec-bg4 .section-heading,
[data-background="light"] .services.sec-normal.motpath.sec-bg4 .service-section .title {
    color: #111827 !important;
}

[data-background="light"] .services.sec-normal.motpath.sec-bg4 .section-subheading,
[data-background="light"] .services.sec-normal.motpath.sec-bg4 .service-section .subtitle {
    color: #667085 !important;
}

[data-background="light"] .services.sec-normal.motpath.sec-bg4 .service-section {
    background-color: #F4F7FB !important;
    border: 1px solid #E2E8F0 !important;
}

[data-background="light"] .services.sec-normal.motpath.sec-bg4 + section.sec-normal.sec-bg1.bg-colorstyle {
    background-color: #EEF3F8 !important;
}

[data-background="light"] .circle-section.sec-normal.sec-bg1.bg-seccolorstyle.bottomhalfpadding {
    background-color: #F8FAFC !important;
}

[data-background="light"] .circle-section.sec-normal.sec-bg1.bg-seccolorstyle.bottomhalfpadding + section.sec-normal.sec-bg2.bg-colorstyle {
    background-color: #EEF3F8 !important;
}

[data-background="light"] .mergecolor {
    color: #111827;
}

[data-background="light"] .seccolor {
    color: #667085;
}

[data-background="light"] .pricing.special .list-info.bg-purple,
[data-background="light"] .product .product-desc {
    background-color: #29398F !important;
    color: #FFFFFF !important;
}

/* === CLICK WEB TRUE LIGHT MODE END === */


/* === CLICK WEB MAIN LANGUAGE DROPDOWN FIX === */

/* Keep the top bar height fixed when language menu opens */
.infonews,
.infonews .container-fluid,
.infonews .row,
.infonews .link,
.infonews-nav {
    overflow: visible !important;
}

/* Same dropdown behaviour as WHMCS */
.infonews-nav .lang-drop {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.infonews-nav .lang-drop > .dropdown-menu.lang-container {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;

    width: 500px !important;
    min-width: 500px !important;
    max-width: 500px !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 99999 !important;

    display: none !important;
    float: none !important;

    background: #15212a !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.35) !important;
}

/* Open state */
.infonews-nav .lang-drop > .dropdown-menu.lang-container.show {
    display: block !important;
}

/* Header identical in style to WHMCS */
.infonews-nav .lang-container .notify-header {
    position: relative !important;
    display: block !important;
    padding: 20px 30px !important;
    min-height: 72px !important;

    background: #55b9dc !important;
    border-radius: 10px 10px 0 0 !important;
}

.infonews-nav .lang-container .notify-header h6 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.infonews-nav .lang-container .notify-header > a {
    position: absolute !important;
    right: 30px !important;
    top: 18px !important;

    padding: 6px 14px !important;

    background: #101920 !important;
    color: #ffffff !important;

    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* Language grid */
.infonews-nav .lang-container > ul {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;

    margin: 0 !important;
    padding: 22px 28px 26px !important;

    background: #15212a !important;
    list-style: none !important;

    border-radius: 0 0 10px 10px !important;
}

.infonews-nav .lang-container > ul li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.infonews-nav .lang-container > ul li a {
    display: block !important;

    margin: 0 !important;
    padding: 8px 10px !important;

    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.infonews-nav .lang-container > ul li a:hover {
    color: #F0C216 !important;
}

/* Keep other top-bar icons perfectly aligned */
.infonews-nav > a.iconews,
.infonews-nav > .lang-drop {
    flex-shrink: 0 !important;
}

@media (max-width: 600px) {
    .infonews-nav .lang-drop > .dropdown-menu.lang-container {
        width: 330px !important;
        min-width: 330px !important;
        max-width: 330px !important;
    }

    .infonews-nav .lang-container > ul {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* === END CLICK WEB MAIN LANGUAGE DROPDOWN FIX === */

