/* *****************************************************
   WBCT look for the WHMCS client portal (Twenty-One theme), matching wbctwebhosting.com.

   Lives on the WEBSITE (/assets/css/wbct-portal.css), not in WHMCS: a WHMCS update (Oct 2026)
   replaced Twenty-One's custom.css with the stock one and wiped the styling. The portal hook
   (includes/hooks/wbct_portal.php) adds a <link> to this file after custom.css on every client-area
   page, so it wins over whatever custom.css holds. It restyles the portal (fonts, brand blues,
   gradient menu band with a wave, slate footer, cards, buttons, order forms, captcha notice).
   The footer logo/links and the reCAPTCHA notice are added by the same hook.
   Fonts and the footer logo are loaded from the website (/assets/...), same domain.
   The Nexus Cart color settings that this file held are kept below, in the brand colors.
***************************************************** */

/* Fonts: the website's own files (SIL Open Font License, see /assets/fonts/) */
@font-face { font-family: "Rubik"; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/rubik-latin.woff2") format("woff2"); }
@font-face { font-family: "Open Sans WBCT"; font-weight: 300 800; font-display: swap; src: url("/assets/fonts/open-sans-latin.woff2") format("woff2"); }

html { font-size: 14px; }

:root {
    /* Brand (from wbctwebhosting.com) */
    --wbct-blue: #186dfe;
    --wbct-blue-2: #3ea7ff;
    --wbct-blue-dark: #0f4fc4;
    --wbct-blue-soft: #eaf3ff;
    --wbct-slate: #263547;
    --wbct-ink: #2a3140;
    --wbct-ink-soft: #5a6475;
    --wbct-line: #e4e9f1;
    --wbct-mist: #f5f8fd;
    --wbct-orange: #ff9003;
    --wbct-green: #29cf8d;
    --wbct-shadow: 0 18px 40px -26px rgba(24, 60, 140, .45);
    --wbct-head: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wbct-body: "Open Sans WBCT", "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Nexus Cart colors (WHMCS's newer order form), in the brand palette */
    --white: #fff;
    --neutral-50: #f8fafd; --neutral-100: #f2f5fa; --neutral-200: #e4e9f1; --neutral-300: #d0d7e2;
    --neutral-400: #9aa4b5; --neutral-500: #6b7587; --neutral-600: #4d5768; --neutral-700: #374253;
    --neutral-800: #263547; --neutral-900: #1b2736; --neutral-950: #0f1823;
    --primary-50: #f0f6ff; --primary-100: #e1edff; --primary-200: #c2dafe; --primary-300: #92bdfe;
    --primary-400: #5b9bfe; --primary-500: #2f7dfe; --primary-600: #186dfe; --primary-700: #0f58d6;
    --primary-800: #0f4fc4; --primary-900: #123f8f; --primary-950: #0f2a5c;
    --primary: var(--primary-600); --primary-lifted: var(--primary-700); --primary-accented: var(--primary-800);
    --secondary: var(--neutral-500); --secondary-lifted: var(--neutral-600); --secondary-accented: var(--neutral-700);
    --success: #12a36c; --success-lifted: #0e8a5b; --success-accented: #0c7a50;
    --info: #186dfe; --info-lifted: #0f58d6; --info-accented: #0f4fc4;
    --notice: #7f22fe; --notice-lifted: #7008e7; --notice-accented: #5d0ec0;
    --warning: #e07b00; --warning-lifted: #b35f00; --warning-accented: #8f4c00;
    --error: #d92d20; --error-lifted: #b42318; --error-accented: #912018;
    --grayscale: var(--neutral-900); --grayscale-lifted: var(--neutral-800); --grayscale-accented: var(--neutral-700);
    --neutral: var(--neutral-500); --neutral-lifted: var(--neutral-600); --neutral-accented: var(--neutral-700);
    --text-inverted: var(--white); --text-muted: var(--neutral-400); --text-lifted: var(--neutral-500); --text-accented: var(--neutral-600); --text: var(--neutral-900);
    --border-muted: var(--neutral-200); --border: var(--neutral-300); --border-lifted: var(--neutral-400); --border-accented: var(--neutral-600);
    --bg: var(--white); --bg-muted: var(--neutral-50); --bg-lifted: var(--neutral-100); --bg-accented: var(--neutral-200); --bg-inverted: var(--neutral-900);
    --yellow-200: #fff085; --yellow-300: #ffdf20; --teal-300: #46edd5; --teal-400: #00d5be; --emerald-300: #5ee9b5; --pink-400: #fb64b6;
    --text-xs: 0.625rem; --text-sm: 0.75rem; --text-md: 0.875rem; --text-lg: 1rem;
    --outline-sm: 1px; --outline-md: 2px; --outline-lg: 3px;
    --rounding-sm: 0.375rem; --rounding-md: 0.5rem; --rounding-lg: 0.875rem;
    --letter-spacing: 0em; --disabled-opacity: 25%;
}

/* ---------- Base ---------- */
body, .tooltip, .popover { font-family: var(--wbct-body); color: var(--wbct-ink); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .card-title, .font-size-36, .header-lined h1 { font-family: var(--wbct-head); font-weight: 500; color: var(--wbct-slate); letter-spacing: -.005em; }
.primary-bg-color { background-color: var(--wbct-mist); }
a { color: var(--wbct-blue-dark); }
a:hover { color: var(--wbct-blue); }
.text-primary { color: var(--wbct-blue) !important; }
.bg-primary, .badge-primary { background-color: var(--wbct-blue) !important; }
.badge-info { background-color: var(--wbct-blue); }
::selection { background: #cfe2ff; }

/* ---------- Buttons and forms ---------- */
.btn { font-family: var(--wbct-head); font-weight: 500; border-radius: 8px; }
.btn-primary, .btn-primary:disabled, .btn-primary.disabled { background-color: var(--wbct-blue); border-color: var(--wbct-blue); color: #fff; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active { background-color: #0f5ee8; border-color: #0f5ee8; color: #fff; }
.btn-primary:focus, .btn-primary.focus { box-shadow: 0 0 0 .2rem rgba(24, 109, 254, .3); }
.btn-success { background-color: #12a36c; border-color: #12a36c; }
.btn-success:hover, .btn-success:not(:disabled):not(.disabled):active { background-color: #0e8a5b; border-color: #0e8a5b; }
.btn-default, .btn-light { border-color: var(--wbct-line); }
.btn-outline-primary { color: var(--wbct-blue-dark); border-color: var(--wbct-blue); }
.btn-outline-primary:hover { background-color: var(--wbct-blue); border-color: var(--wbct-blue); color: #fff; }
.form-control, .custom-select { border-color: #d6deea; border-radius: 8px; }
.form-control:focus, .custom-select:focus { border-color: var(--wbct-blue); box-shadow: 0 0 0 .2rem rgba(24, 109, 254, .15); }
.input-group-text { background-color: var(--wbct-mist); border-color: #d6deea; color: var(--wbct-ink-soft); }
.input-group > .form-control:not(:first-child), .input-group > .input-group-prepend > .input-group-text { border-radius: 8px; }
.input-group-merge .input-group-prepend + .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group-merge .input-group-prepend .input-group-text { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--wbct-blue); border-color: var(--wbct-blue); }

/* ---------- Header ---------- */
.header { background-color: #fff; }
.header .topbar { background-color: var(--wbct-slate); }
.header .navbar-light { padding-top: .8rem; padding-bottom: .8rem; }
.header .logo-img { max-height: 54px; }
.header .search .form-control, .header .search .btn { background-color: var(--wbct-mist); border-color: var(--wbct-line); }
.header .cart-btn { border-radius: 8px; }
.header .cart-btn .badge { background-color: var(--wbct-orange); }

/* The main menu sits on the same blue gradient as the website's hero... */
.main-navbar-wrapper { background: linear-gradient(115deg, var(--wbct-blue) 0%, #2c8cfe 55%, var(--wbct-blue-2) 100%); }
/* Twenty-One's menu links are plain <a class="pr-4"> inside the .navbar-nav lists. */
header.header .main-navbar-wrapper .navbar-collapse { padding-top: .7rem; padding-bottom: .7rem; }
/* (No extra padding on the links: Twenty-One measures their height to decide when to fold items into "More".) */
header.header .main-navbar-wrapper .navbar-nav > li > a { color: rgba(255, 255, 255, .92); font-family: var(--wbct-head); font-weight: 500; }
header.header .main-navbar-wrapper .navbar-nav > li > a:hover, header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > a, header.header .main-navbar-wrapper .navbar-nav > li.active > a { color: #fff; text-decoration: none; }
header.header .main-navbar-wrapper .navbar-nav > li > a:hover { text-decoration: underline; text-underline-offset: 5px; }
header.header .main-navbar-wrapper .dropdown-menu a { color: var(--wbct-ink); }
.main-navbar-wrapper .dropdown-menu { border: 0; border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(24, 60, 140, .45); padding: .5rem; }
.main-navbar-wrapper .dropdown-item { border-radius: 6px; }
.main-navbar-wrapper .dropdown-item:hover, .main-navbar-wrapper .dropdown-item:focus { background-color: var(--wbct-blue-soft); color: var(--wbct-blue-dark); }
.main-navbar-wrapper .navbar-collapse .search .form-control { background: #fff; }

/* ...and the breadcrumb band continues it down into a wave, like the website's hero. */
.master-breadcrumb {
    padding-bottom: 46px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 36c210-28 380-36 560-11s300 44 480 21 280-56 400-49v63H0z' fill='%23ffffff' fill-opacity='.35'/%3E%3Cpath d='M0 46c210-26 380-34 560-10s300 40 480 19 280-50 400-45v50H0z' fill='%23f5f8fd'/%3E%3C/svg%3E") center bottom / 100% 46px no-repeat,
        linear-gradient(115deg, var(--wbct-blue) 0%, #2c8cfe 55%, var(--wbct-blue-2) 100%);
}
.master-breadcrumb .breadcrumb { background: transparent; padding: .4rem 0 0; font-size: .95rem; }
.master-breadcrumb .breadcrumb-item, .master-breadcrumb .breadcrumb-item a, .master-breadcrumb .breadcrumb-item.active { color: rgba(255, 255, 255, .92); }
.master-breadcrumb .breadcrumb-item a:hover { color: #fff; text-decoration: underline; }
.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

/* ---------- Content ---------- */
#main-body { padding-top: 1.5rem; padding-bottom: 3.5rem; }
.card { border: 0; border-radius: 14px; box-shadow: var(--wbct-shadow); }
.card-header, .card-footer { background-color: #fff; border-color: var(--wbct-line); }
.card-header:first-child { border-radius: 14px 14px 0 0; }
.card-footer:last-child { border-radius: 0 0 14px 14px; background-color: var(--wbct-mist); }
.tiles .tile { border-radius: 14px; }
.tiles .tile i, .tiles .tile .stat { color: var(--wbct-blue); }
.list-group-item.active, .list-group-item.active:hover { background-color: var(--wbct-blue); border-color: var(--wbct-blue); }
.sidebar .list-group-item.active, .sidebar .list-group-item.active:hover { background-color: var(--wbct-blue-soft); border-color: var(--wbct-line); color: var(--wbct-blue-dark); font-weight: 600; }
.sidebar .card-header .card-title { font-size: 1.05rem; }
.nav-tabs .nav-link.active { color: var(--wbct-blue-dark); border-top: 3px solid var(--wbct-blue); }
.page-item.active .page-link { background-color: var(--wbct-blue); border-color: var(--wbct-blue); }
.page-link { color: var(--wbct-blue-dark); }
.table thead th { border-bottom-color: var(--wbct-line); color: var(--wbct-ink-soft); font-weight: 600; }
.alert { border-radius: 10px; }
.alert-info { background-color: var(--wbct-blue-soft); border-color: #cfe2ff; color: #123f8f; }

/* ---------- Footer: slate with the website's wave on top ---------- */
footer.footer { position: relative; margin-top: 80px; padding: 44px 0 56px; background-color: var(--wbct-slate); border: 0; color: rgba(255, 255, 255, .78); }
footer.footer::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 64px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 40c210 40 380 52 560 16S860-8 1040 26s280 60 400 50V90H0z' fill='%23263547'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
footer.footer .nav-link { color: rgba(255, 255, 255, .85); padding-left: 0; margin-right: 1.4rem; }
footer.footer .nav-link:hover { color: #fff; text-decoration: underline; }
footer.footer .btn { background-color: rgba(255, 255, 255, .1); border-radius: 8px; }
footer.footer .copyright { color: rgba(255, 255, 255, .6); margin-bottom: 0; }
footer.footer .wbct-footer-logo { display: block; width: 210px; height: auto; margin: 0 0 1.25rem; }

/* ---------- Order form: Premium Comparison (the hosting plans page) ----------
   Order forms load their own stylesheet after this one, hence the extra `body` in these selectors. */
body #order-premium_comparison, body #order-premium_comparison h5 { font-family: var(--wbct-body); }
body #order-premium_comparison .price-table-container .price-table { border-radius: 14px; overflow: hidden; box-shadow: var(--wbct-shadow); }
body #order-premium_comparison .price-table-container .price-table .top-head { background: linear-gradient(160deg, var(--wbct-blue) 0%, var(--wbct-blue-2) 100%); }
body #order-premium_comparison .price-table-container li:nth-child(1) .price-table .top-head { background: linear-gradient(160deg, #f07f00 0%, #ffab3d 100%); }
body #order-premium_comparison .price-table-container li:nth-child(3) .price-table .top-head { background: linear-gradient(160deg, #10a56b 0%, #33d39a 100%); }
body #order-premium_comparison .price-table-container .price-table .top-head .top-area,
body #order-premium_comparison .price-table-container .price-table .top-head .price-area { border-color: rgba(255, 255, 255, .22); text-shadow: none; }
body #order-premium_comparison .price-table-container .price-table .top-head h4 { font-family: var(--wbct-head); font-weight: 500; }
body #order-premium_comparison .price-table-container .price-table .top-head .price { font-family: var(--wbct-head); font-size: 1.35rem; font-weight: 500; }
body #order-premium_comparison .price-table-container .order-button,
body #order-premium_comparison .price-table-container .order-button:hover { background: #fff; color: var(--wbct-slate); border-radius: 8px; font-family: var(--wbct-head); font-weight: 600; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); }
body #order-premium_comparison .price-table-container .order-button:hover { color: var(--wbct-blue-dark); }
body #order-premium_comparison .price-table-container .price-table ul li { background: none; border-bottom: 1px solid var(--wbct-line); padding: 14px 10px; }
body #order-premium_comparison .price-table-container .price-table ul li a { color: var(--wbct-blue-dark); }

/* ---------- Order form: Standard Cart (domains, add-ons, cart, checkout) ---------- */
body #order-standard_cart .sub-heading span, body #order-standard_cart .sub-heading-borderless span { color: var(--wbct-blue-dark); font-family: var(--wbct-head); font-weight: 500; }
body #order-standard_cart .order-summary { background-color: var(--wbct-slate); border-bottom-color: var(--wbct-slate); border-radius: 14px; overflow: hidden; }
body #order-standard_cart .order-summary h2 { font-family: var(--wbct-head); color: #fff; }
body #order-standard_cart .summary-container { background-color: var(--wbct-mist); border-radius: 0 0 12px 12px; }
body #order-standard_cart .btn-checkout, body #order-standard_cart #checkout { background-color: var(--wbct-blue); border-color: var(--wbct-blue); color: #fff; }
body #order-standard_cart .btn-checkout:hover, body #order-standard_cart #checkout:hover { background-color: #0f5ee8; border-color: #0f5ee8; }
body #order-standard_cart .view-cart-items-header { background-color: var(--wbct-blue); border-radius: 10px 10px 0 0; }
body #order-standard_cart .empty-cart .btn { background-color: var(--wbct-blue); }
body #order-standard_cart .products .product { border-radius: 14px; overflow: hidden; box-shadow: var(--wbct-shadow); }
body #order-standard_cart .products .product header { background: var(--wbct-blue-soft); }
body #order-standard_cart .products .product header span { font-family: var(--wbct-head); color: var(--wbct-slate); }
body #order-standard_cart .domain-selection-options .option { background-color: var(--wbct-mist); border: 1px solid var(--wbct-line); }
body #order-standard_cart .domain-selection-options .option-selected { background-color: var(--wbct-blue-soft); border-color: #c2dafe; }
body .domain-checker-container { background: linear-gradient(115deg, var(--wbct-blue) 0%, #2c8cfe 55%, var(--wbct-blue-2) 100%); border-radius: 14px; box-shadow: var(--wbct-shadow); }
body .domain-checker-bg { background-image: none; }
body .domain-checker-container .btn-primary, body .domain-checker-container .btn-success { background-color: var(--wbct-slate); border-color: var(--wbct-slate); }
body .domain-checker-available { color: #0c7a50; }
body .domain-pricing .tld-pricing-header div:nth-child(odd) { border-color: var(--wbct-blue); }
body .spotlight-tlds, body .suggested-domains .domain-lookup-suggestions-loader { background-color: var(--wbct-mist); border-radius: 10px; }

/* ---------- Home page domain search (Twenty-One) ---------- */
.home-domain-search { background: transparent; }
.home-domain-search .p-5 { border-radius: 14px; }

/* ---------- Captcha notice (added by includes/hooks/wbct_portal.php) ---------- */
/* Invisible reCAPTCHA: Google lets sites hide its floating badge when the form shows the notice below
   instead, so the badge is hidden only on pages that show that notice. */
body:has(.wbct-captcha-note) .grecaptcha-badge { visibility: hidden; }
.wbct-captcha-note { display: inline-flex; align-items: center; gap: .65rem; max-width: 30rem; margin: .9rem auto; padding: .55rem .9rem .55rem .55rem;
    border: 1px solid var(--wbct-line); border-radius: 999px; background: #fff; box-shadow: 0 8px 20px -16px rgba(24, 60, 140, .5);
    font-size: .8rem; line-height: 1.4; color: var(--wbct-ink-soft); text-align: left; }
.wbct-captcha-note a { color: var(--wbct-blue-dark); font-weight: 600; }
.wbct-captcha-icon { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wbct-blue-soft); }
.wbct-captcha-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--wbct-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* reCAPTCHA checkbox and WHMCS's image code: a branded "security check" box */
.wbct-captcha-box { margin: 1rem auto; padding: 1.1rem 1.25rem 1rem; border: 1px solid var(--wbct-line); border-radius: 14px; background: var(--wbct-mist); text-align: center; }
.wbct-captcha-title { display: flex; align-items: center; justify-content: center; gap: .65rem; width: 100%; margin: 0 0 .9rem; font-size: .9rem; line-height: 1.45; color: var(--wbct-ink); text-align: left; }
.wbct-captcha-box .recaptcha-container { display: flex; justify-content: center; margin-bottom: 0; }
.wbct-captcha-box #default-captcha-domainchecker { align-items: center; margin: 0; padding-bottom: 0 !important; }
.wbct-captcha-box .captchaimage img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--wbct-line); background: #fff; cursor: pointer; }
.wbct-captcha-box #inputCaptcha { height: 46px; font-family: var(--wbct-head); font-size: 1.15rem; letter-spacing: .25em; text-align: center; text-transform: uppercase; }
/* The domain search on the blue panel: keep the notice readable there */
.domain-checker-container .wbct-captcha-note, .home-domain-search .wbct-captcha-note { background: rgba(255, 255, 255, .95); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
