/* WONDERWEB CLIENT CONSOLE V2.4 | Scoped to authenticated WHMCS client pages only. */
body.ww-portal.ww-console-on { --wwc-side:248px; --wwc-navy:#0c1129; --wwc-nav-hover:#1b2443; --wwc-purple:#7047f5; --wwc-content:#f5f7fc; background:var(--wwc-content) !important; overflow-x:hidden; }
body.ww-console-on .ww-utility,body.ww-console-on .ww-page-accent{display:none!important}
body.ww-console-on #header.wwc-topbar,body.ww-console-on .master-breadcrumb,body.ww-console-on #main-body,body.ww-console-on #footer{margin-left:var(--wwc-side)!important;width:calc(100% - var(--wwc-side))!important;box-sizing:border-box}
body.ww-console-on #header.wwc-topbar {background:#fff!important; min-height:68px!important; box-shadow:0 1px 0 #e3e8f0!important;position:relative;z-index:25;padding:0!important}
.wwc-topbar-inner{min-height:68px;display:flex;align-items:center;gap:20px;padding:10px clamp(16px,2vw,30px)}
.wwc-topbar-title{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.wwc-topbar-title small{font-size:10px;letter-spacing:.09em;color:#687693;font-weight:850}
.wwc-topbar-title strong{font-size:18px;color:#121a36;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:800}
.wwc-topbar-search{height:40px;gap:9px;align-items:center;background:#f6f7fb;border:1px solid #e4e9f2;border-radius:10px;padding:0 12px;flex:0 1 280px;color:#66748d}
.wwc-topbar-search input{min-width:0;border:0!important;outline:0!important;background:transparent!important;font-size:13px;width:100%;box-shadow:none!important}
.wwc-topbar-actions{display:flex;align-items:center;gap:9px}
.wwc-action,.wwc-menu-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border:1px solid #e3e7f0;border-radius:9px;padding:9px 12px;background:white;color:#182341;text-decoration:none!important;font-size:13px;font-weight:750;min-height:40px;cursor:pointer}
.wwc-action:hover,.wwc-menu-toggle:hover{color:#633ae4;background:#f7f4ff;border-color:#d8ccff}
.wwc-topbar-cta{background:#7047f5;color:#fff;border-color:#7047f5}.wwc-topbar-cta:hover{background:#5a36d5;color:#fff}
.wwc-menu-toggle{display:none;font-size:17px;width:43px;padding:0}
.wwc-alert-count,.wwc-cart-count{position:absolute;top:-6px;right:-5px;font-size:10px;min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;background:#7047f5;color:white;font-weight:800}
.wwc-cart-count{background:#e9edfa;color:#151b3b;top:-4px}
.wwc-sidebar{position:fixed;z-index:120;inset:0 auto 0 0;width:var(--wwc-side,248px);display:flex;flex-direction:column;background:var(--wwc-navy,#0c1129);color:#ecf0ff;box-shadow:3px 0 16px rgba(0,0,0,.08)}
.wwc-sidebar-brand{padding:24px 19px 19px;flex:0 0 auto;border-bottom:1px solid rgba(255,255,255,.09)}
.wwc-brand-link{display:flex;align-items:center;width:100%;min-height:35px}
.wwc-brand-image{display:block;width:100%;max-width:195px;height:auto;max-height:48px;object-fit:contain;background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
.wwc-console-name{display:block;margin-top:10px;font-size:10px;letter-spacing:.21em;color:#b8b1fc;font-weight:900}
.wwc-nav{display:flex;flex-direction:column;gap:3px;overflow-y:auto;min-height:0;padding:14px 12px 24px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#424766 transparent;flex:1 1 auto}
.wwc-nav::-webkit-scrollbar{width:6px}.wwc-nav::-webkit-scrollbar-thumb{background:#404768;border-radius:8px}
.wwc-nav-label{font-size:10px;letter-spacing:.13em;color:#8794b8;font-weight:900;margin:18px 12px 7px}
.wwc-link{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;min-height:43px;font-size:13.5px;font-weight:650;color:#d6def0!important;text-decoration:none!important;transition:background .12s ease,color .12s ease}
.wwc-link i{width:19px;text-align:center;color:#a8b5d5;font-size:14px}
.wwc-link:hover,.wwc-link:focus-visible{color:#fff!important;background:#1c2545}.wwc-link.is-active{color:#fff!important;background:linear-gradient(100deg,#5e3ddf,#714cf6);font-weight:800}.wwc-link.is-active i{color:#fff}
.wwc-more{margin:10px 3px 12px;border:1px solid #303951;border-radius:9px;color:#d7e0f8}
.wwc-more summary{cursor:pointer;font-weight:750;font-size:12px;padding:12px;color:#bfcaf0;list-style:none}.wwc-more summary::-webkit-details-marker{display:none}.wwc-more summary i{margin-right:9px}
.wwc-native-nav{padding:5px 10px 13px;margin:0!important;display:block!important}.wwc-native-nav li{display:block!important;width:100%;white-space:normal!important}
.wwc-native-nav li a{display:block!important;color:#dbe3f8!important;font-size:12px!important;text-decoration:none!important;padding:8px!important;border-radius:7px;white-space:normal!important}
.wwc-native-nav li a:hover{background:#273050!important;color:#fff!important}.wwc-native-nav .dropdown-menu{position:static!important;float:none!important;display:block!important;background:#1b2440!important;box-shadow:none!important;border:0!important;max-width:none!important;margin:0 0 6px!important;padding:5px!important}
.wwc-native-nav .dropdown-menu .dropdown-item{display:block!important;color:#dbe3f8!important}
.wwc-sidebar-bottom{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:10px;align-items:center;flex:0 0 auto;padding:13px 15px 16px;border-top:1px solid rgba(255,255,255,.12);background:#0a0f25}
.wwc-account-icon{width:32px;height:32px;background:#273256;border-radius:8px;display:grid;place-items:center;color:#fff}
.wwc-account-identity{min-width:0}.wwc-account-identity strong{display:block;font-size:12px;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wwc-account-identity span{display:block;font-size:10px;color:#99a8cb}
.wwc-signout{grid-column:1/-1;text-align:center;color:#dae4fd!important;text-decoration:none!important;font-size:12px;font-weight:750;border:1px solid #303c58;padding:8px;border-radius:8px;margin-top:12px}.wwc-signout:hover{color:#fff!important;background:#202b4b}
body.ww-console-on .master-breadcrumb{padding:10px clamp(16px,2vw,30px)!important;background:transparent!important;min-height:0!important;border:0!important}
body.ww-console-on .master-breadcrumb .container{max-width:none!important;padding:0!important}
body.ww-console-on #main-body{padding:10px 0 36px!important;min-height:calc(100vh - 170px)}
body.ww-console-on #main-body>.container{max-width:1510px!important;width:100%!important;padding:0 clamp(16px,2vw,30px)!important}
body.ww-console-on #main-body>.container>.row{margin:0!important}
body.ww-console-on #main-body .primary-content{max-width:100%;min-width:0;flex:0 0 100%;padding:0!important}
body.ww-console-on #main-body .ww-dashboard-intro{margin-top:5px}
body.ww-console-on #footer{background:transparent!important;border-top:1px solid #e3e9f2!important;padding:14px 26px!important;color:#738099!important}
body.ww-console-on #footer .ww-footer-grid,body.ww-console-on #footer .nav{display:none!important}
body.ww-console-on #footer>.container{max-width:none!important;width:100%;padding:0!important}
body.ww-console-on #footer .copyright{color:#667591!important}
.wwc-tools{position:fixed;z-index:142;right:0;top:0;bottom:0;max-width:calc(100vw - 24px);width:340px;background:#f7f8fc;box-shadow:-10px 0 40px rgba(5,10,31,.2);transform:translateX(110%);transition:transform .2s ease;display:flex;flex-direction:column;visibility:hidden}
.wwc-tools-heading{display:flex;align-items:center;justify-content:space-between;background:#0c1129;color:white;padding:17px 18px}.wwc-tools-heading h2{margin:0!important;font-size:17px!important;color:white!important}.wwc-tools-heading button{color:white;border:1px solid #495373;background:transparent;border-radius:8px;padding:8px 11px}
.wwc-tools-content{overflow-y:auto;flex:1;padding:18px}.wwc-tools-content .sidebar{margin:0}.wwc-tools-content .card{margin-bottom:14px}
.wwc-tools-backdrop,.wwc-backdrop{display:none;position:fixed;inset:0;z-index:140;background:rgba(9,14,36,.58);border:0}
body.wwc-tools-open .wwc-tools{transform:none;visibility:visible}body.wwc-tools-open .wwc-tools-backdrop{display:block}
/* Sidebar is permanent on desktop; mobile uses a left drawer. */
@media(max-width:991px){
  body.ww-portal.ww-console-on{--wwc-side:0px}
  body.ww-console-on #header.wwc-topbar,body.ww-console-on .master-breadcrumb,body.ww-console-on #main-body,body.ww-console-on #footer{margin-left:0!important;width:100%!important}
  .wwc-sidebar{width:min(288px,85vw);transform:translateX(-105%);transition:transform .2s ease;visibility:hidden}
  body.wwc-drawer-open .wwc-sidebar{transform:translateX(0);visibility:visible}
  body.wwc-drawer-open .wwc-backdrop{display:block;z-index:110}
  .wwc-menu-toggle{display:inline-flex}
  .wwc-topbar-inner{padding:8px 14px;gap:10px;min-height:60px}
  .wwc-topbar-title strong{font-size:15px}
  .wwc-topbar-cta span,.wwc-page-tools span,.wwc-return-admin span{display:none}
  .wwc-topbar-cta,.wwc-page-tools{width:40px;padding:0}
  body.ww-console-on #main-body>.container{padding:0 15px!important}
}
@media(max-width:480px){.wwc-topbar-title small{display:none}.wwc-topbar-actions{gap:5px}.wwc-topbar-inner{gap:7px}.wwc-action{padding:7px 8px;min-height:38px}.wwc-topbar-cta{display:none}.wwc-topbar-title strong{font-size:14px}}
@media print {body.ww-console-on #header.wwc-topbar,body.ww-console-on .wwc-sidebar,body.ww-console-on .wwc-tools,body.ww-console-on .wwc-backdrop,body.ww-console-on .wwc-tools-backdrop{display:none!important}body.ww-console-on #main-body,body.ww-console-on #footer,body.ww-console-on .master-breadcrumb{margin-left:0!important;width:100%!important}}
@media(prefers-reduced-motion:reduce){.wwc-sidebar,.wwc-tools{transition:none!important}}

/* WONDERWEB PROFILE LINK V2.6 — customer sidebar identity link */
.wwc-account-profile{grid-column:1/-1;display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:center;padding:7px 6px;border-radius:9px;text-decoration:none!important;color:#fff!important;min-height:48px;transition:background-color .14s ease}
.wwc-account-profile:hover,.wwc-account-profile:focus-visible{background:#1b2546!important;color:#fff!important;outline-offset:2px}
.wwc-account-profile:focus-visible{outline:2px solid #b8a3ff}
.wwc-account-profile .wwc-account-identity span{color:#b8c5e5!important}
.wwc-account-profile:hover .wwc-account-identity span{color:#fff!important}
.wwc-account-profile .wwc-account-identity span i{font-size:9px;margin-left:3px}


/* WONDERWEB HOSTING CENTER V1.2 | DASHBOARD + ADDON CSS */
/* Scoped v1.1 widget design, now served through the existing console stylesheet. */
/* Hosting Control Center V1.1 - Scoped account overview widget */
.wwhc-home{--wwhc-accent:#7045f8;--wwhc-navy:#131630;--wwhc-stroke:#e4e5f1;background:#fff;border:1px solid var(--wwhc-stroke);border-radius:18px;box-shadow:0 10px 30px rgba(17,18,52,.045);margin:0 0 30px;padding:24px;color:#171a33;font-size:15px}
.wwhc-home *{box-sizing:border-box}
.wwhc-home-top{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:22px}
.wwhc-home-kicker{font-size:11px;letter-spacing:1.3px;color:var(--wwhc-accent);font-weight:800}
.wwhc-home-kicker i{margin-right:6px}
.wwhc-home h2{font-size:23px;line-height:1.2;font-weight:760;color:var(--wwhc-navy);margin:6px 0}
.wwhc-home p{margin:0;color:#626985;font-size:13px;line-height:1.5}
.wwhc-home strong{font-weight:750}
.wwhc-home-open{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--wwhc-accent);padding:13px 17px;border-radius:11px;white-space:nowrap;color:#fff!important;font-size:13px;font-weight:750;text-decoration:none!important;box-shadow:0 5px 16px rgba(112,69,248,.22)}
.wwhc-home-open:hover,.wwhc-home-open:focus-visible{background:#5934d5;color:#fff!important}
.wwhc-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.wwhc-home-metric{padding:17px 17px 16px;border:1px solid var(--wwhc-stroke);border-radius:13px;background:#fafaff;min-width:0}
.wwhc-home-metric>span{display:flex;align-items:center;gap:9px;color:#646a83;font-size:12px;font-weight:650}
.wwhc-home-metric>span i{color:var(--wwhc-accent);width:19px;text-align:center}
.wwhc-home-metric>strong{display:block;color:var(--wwhc-navy);font-size:19px;line-height:1.3;margin:9px 0 0;overflow-wrap:anywhere}
.wwhc-home-note{padding:13px 0 0!important}
@media(max-width:1100px){.wwhc-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.wwhc-home{padding:18px;margin-bottom:22px}.wwhc-home-top{display:block}.wwhc-home-open{margin-top:15px;width:100%}.wwhc-home-grid{grid-template-columns:1fr;gap:9px}.wwhc-home-metric{padding:13px 15px}.wwhc-home-metric>strong{font-size:17px}}


/* Dedicated page design. Every selector is scoped to the addon components. */
/* Scoped to WWHC addon. Does not restyle WHMCS global navigation or Paynow. */
.wwhc-wrap{--wwhc-navy:#11142f;--wwhc-purple:#7045f8;--wwhc-border:#e7e8f2;--wwhc-ink:#171a33;--wwhc-muted:#707795;font-size:15px;max-width:1320px;margin:0 auto 50px;color:var(--wwhc-ink)}
.wwhc-wrap *{box-sizing:border-box}
.wwhc-wrap .wwhc-hero{background:radial-gradient(circle at 90% 10%,#292258 0,transparent 37%),var(--wwhc-navy);border-radius:18px;color:#fff;padding:32px 34px;display:flex;gap:20px;align-items:center;justify-content:space-between;box-shadow:0 15px 35px rgba(15,14,44,.12);margin-bottom:22px}
.wwhc-hero h1{font-size:clamp(24px,3vw,34px);line-height:1.15;margin:6px 0 12px;font-weight:750;color:#fff}
.wwhc-hero p{max-width:620px;line-height:1.6;margin:0;color:#dadbf0}
.wwhc-hero .wwhc-eyebrow{letter-spacing:2px;font-size:11px;font-weight:800;color:#baa8ff}
.wwhc-hero-badge{border:1px solid #514b80;border-radius:40px;padding:10px 15px;font-size:12px;white-space:nowrap;background:#ffffff0d}
.wwhc-hero-badge i{color:#b8a0ff;margin-right:4px}
.wwhc-panel{border:1px solid var(--wwhc-border);border-radius:16px;background:#fff;padding:24px;margin-bottom:20px;box-shadow:0 8px 25px rgba(17,20,47,.035)}
.wwhc-small-label{font-size:10px;letter-spacing:1.5px;color:#7d5ff2;font-weight:800}
.wwhc-panel h2{font-size:20px;font-weight:760;line-height:1.2;margin:5px 0 0;color:var(--wwhc-ink)}
.wwhc-picker{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:20px;align-items:center}
.wwhc-service-links{display:flex;gap:10px;flex-wrap:wrap}
.wwhc-service-link{color:var(--wwhc-ink);border:1px solid var(--wwhc-border);border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:10px;min-width:180px;text-decoration:none!important;background:#fcfcff}
.wwhc-service-link i{color:var(--wwhc-purple)}.wwhc-service-link span{font-weight:700;font-size:13px}.wwhc-service-link small{display:block;word-break:break-word;font-weight:400;color:var(--wwhc-muted);font-size:12px;margin-top:4px}
.wwhc-service-link:hover,.wwhc-service-link:focus-visible,.wwhc-service-link.is-active{border-color:var(--wwhc-purple);box-shadow:0 0 0 2px #7045f818;color:var(--wwhc-ink)}
.wwhc-summary{margin:26px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.wwhc-summary h2{margin:4px 0;font-size:25px;overflow-wrap:anywhere}.wwhc-summary p{margin:0;color:var(--wwhc-muted);font-size:13px}.wwhc-dot{padding:0 5px}.wwhc-active{font-size:12px;color:#096c48;font-weight:750;background:#e8f8f0;border-radius:60px;padding:9px 14px;white-space:nowrap}.wwhc-active i{font-size:8px;margin-right:4px}
.wwhc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}
.wwhc-stat{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--wwhc-border);background:#fff;padding:21px;border-radius:15px;min-width:0;min-height:164px;box-shadow:0 6px 21px rgba(17,20,47,.04)}
.wwhc-stat-icon{width:38px;height:38px;display:grid;place-items:center;background:#f1edff;color:var(--wwhc-purple);border-radius:11px;margin-bottom:12px}
.wwhc-stat>span:nth-child(2){font-size:12px;font-weight:650;color:#707795}.wwhc-stat strong{display:block;margin:7px 0 5px;font-size:clamp(19px,2vw,27px);font-weight:800;line-height:1.15;overflow-wrap:anywhere}.wwhc-stat small{color:var(--wwhc-muted);font-size:11px}
.wwhc-tools header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.wwhc-tools header p{margin:0;color:var(--wwhc-muted);font-size:12px}
.wwhc-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wwhc-tool-grid a{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid var(--wwhc-border);border-radius:13px;text-decoration:none!important;color:var(--wwhc-ink);min-width:0}
.wwhc-tool-grid a:hover,.wwhc-tool-grid a:focus-visible{border-color:var(--wwhc-purple);background:#faf8ff;color:var(--wwhc-ink)}
.wwhc-tool-grid a>i:first-child{font-size:18px;color:var(--wwhc-purple);width:23px;text-align:center}
.wwhc-tool-grid a>i:last-child{margin-left:auto;font-size:12px;color:var(--wwhc-purple)}
.wwhc-tool-grid span{font-size:14px;font-weight:700}.wwhc-tool-grid small{display:block;margin-top:5px;font-weight:400;color:var(--wwhc-muted);font-size:11px}
.wwhc-note,.wwhc-footer-note{font-size:12px;color:var(--wwhc-muted);line-height:1.6;margin:10px 0 22px}.wwhc-alert{border:1px solid #f5d2b3;background:#fff9f0;color:#6b481f;border-radius:12px;padding:14px 16px;margin:0 0 18px;font-size:14px}
.wwhc-empty{text-align:center;padding:45px 20px}.wwhc-empty>i{font-size:28px;color:var(--wwhc-purple)}.wwhc-empty p{color:var(--wwhc-muted);margin:15px 0}
.wwhc-primary{display:inline-block;padding:10px 16px;border-radius:9px;background:var(--wwhc-purple);color:white!important;font-weight:700;font-size:13px;text-decoration:none!important}
@media(max-width:1000px){.wwhc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wwhc-picker{grid-template-columns:1fr}}
@media(max-width:680px){.wwhc-wrap{font-size:14px}.wwhc-hero{padding:23px 20px;display:block}.wwhc-hero-badge{display:inline-block;margin-top:16px}.wwhc-stats,.wwhc-tool-grid{grid-template-columns:1fr}.wwhc-stat{min-height:135px}.wwhc-panel{padding:18px}.wwhc-summary{align-items:flex-start;flex-direction:column}.wwhc-summary h2{font-size:21px}.wwhc-tools header{display:block}.wwhc-service-link{width:100%}}

