/* PK Domain look for the CoreInto client area (maps the old WHMCS twenty-one restyle onto CoreInto's markup) */
:root{--pkd-navy:#0b1f3a;--pkd-navy2:#12305a;--pkd-acc:#16a34a;--pkd-acc2:#12863d;--pkd-line:#dfe5ee}
html[data-theme="dark"]{--pkd-line:#24344d}

/* the pk-domain.com header already shows the logo and the theme switch */
.client .masthead .brand,.client .strip .theme-toggle,.client .strip [data-theme-toggle]{display:none}

/* row 1: white utility bar (cart, language, currency, account) */
.client .strip{background:var(--card,#fff);color:var(--ink,#0f172a);border-bottom:1px solid var(--pkd-line)}
.client .strip a,.client .strip .menu-btn{color:var(--ink,#0f172a)}
.client .strip .count{background:var(--pkd-acc);color:#fff}

/* row 2: navy client area navigation, as on the old WHMCS client area */
.client .masthead{background:var(--pkd-navy);border:0;box-shadow:none}
.client .masthead-in{min-height:52px}
.client .masthead .menus>ul>li>a,.client .masthead .menus>ul>li>.menu-btn,.client .masthead .menu-link,.client .masthead .nav-toggle{color:#fff}
.client .masthead .menus>ul>li>a:hover,.client .masthead .menus>ul>li>.menu-btn:hover,.client .masthead .menu.current>.menu-btn,.client .masthead .menu.current>.menu-link{background:var(--pkd-navy2);color:#fff}
.client .masthead .drop{border-radius:0}
.client .masthead .drop a{color:var(--ink,#0f172a)}
.client .masthead-cta .btn-primary{background:var(--pkd-acc);border-color:var(--pkd-acc);color:#fff}
.client .masthead-cta .btn-primary:hover{background:var(--pkd-acc2);border-color:var(--pkd-acc2)}

/* square corners and the main site's green call-to-action buttons */
.client .btn,.client .card,.client input,.client select,.client textarea,.client .drop,.client .modal,.client .acct-card,.client .sb-block,.client .badge{border-radius:0}
.client .btn-primary{background:var(--pkd-acc);border-color:var(--pkd-acc);color:#fff}
.client .btn-primary:hover,.client .btn-primary:focus-visible{background:var(--pkd-acc2);border-color:var(--pkd-acc2)}
.client a{color:inherit}
.client main a:not(.btn){color:var(--pkd-navy2)}
html[data-theme="dark"] .client main a:not(.btn){color:#8fb6ff}

/* account sidebar headings in navy */
.client .sb-head{background:var(--pkd-navy);color:#fff;margin:0;padding:10px 14px}
.client .sb-head svg{color:#fff}
.client .sb-links a.on{border-left:3px solid var(--pkd-acc)}

/* page spacing under the sticky pk header */
.client main.page{padding-top:24px}

/* the main site footer replaces the CoreInto footer; keep the language/currency menus readable inside it */
.pkd-locale-menus{display:inline-flex;gap:10px;align-items:center}
.pkd-locale-menus .menu-btn{color:#cfe0ff}
.pkd-locale-menus .drop{color:var(--ink,#0f172a)}

/* fixes after first review */
.client .strip .menu-btn,.client .strip .menu-btn *,.client .strip a,.client .strip span{opacity:1}
.client .strip .menu-btn{color:var(--ink,#0f172a)}
html[data-theme="dark"] .client .strip{background:#0f1c33;border-bottom-color:#24344d;color:#dbe6f5}
html[data-theme="dark"] .client .strip a,html[data-theme="dark"] .client .strip .menu-btn,html[data-theme="dark"] .client .strip span{color:#dbe6f5}
.client .masthead .menus{margin-left:0;margin-right:auto}
.client .masthead .menus>ul{justify-content:flex-start}
.client .strip .lang-btn,.client .strip .cur-btn{color:var(--ink,#0f172a)}
html[data-theme="dark"] .client .strip .lang-btn,html[data-theme="dark"] .client .strip .cur-btn{color:#dbe6f5}

/* sign-in and registration pages: main site header and footer around the centred card */
body.auth.client{display:block;min-height:0;padding:0}
body.auth.client .auth-brand,body.auth.client .auth-foot{display:none}
body.auth.client .auth-box{margin:40px auto 56px}

/* pk mega menu anchor: the client area's own .menu rule made the menu list the anchor, so the mega menu overflowed; anchor it to the full-width header again */
@media(min-width:1001px){header.pkd .menu{position:static}}
header.pkd.site{z-index:60}
/* the Client Area button in the navy bar is not wanted (the header already has Client login) */
.client .masthead-cta{display:none}
/* mega-card icons: outline style like the other menu icons */
.pkd .mega-card>svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* inline-style priority: these classes replace the old inline styles, which always won */
.pkd-i15{width:15px!important;height:15px!important;vertical-align:-3px!important;margin-right:4px!important}
.pkd-mt10{margin-top:10px!important}.pkd-mt12{margin-top:12px!important}.pkd-mb10{margin-bottom:10px!important}
.pkd-col8{display:flex!important;flex-direction:column!important;gap:8px!important}
.pkd-white,.pkd-white strong{color:#fff!important}.pkd-muted{color:#a9bad4!important}
.pkd-abs{position:absolute!important}
.pkd-hp{position:absolute!important;left:-5000px!important;width:1px!important;height:1px!important;opacity:0!important}

/* footer menus open upwards (they sit at the very bottom of the page) */
.pkd-locale-menus .menu{position:relative}
.pkd-locale-menus .drop{top:auto!important;bottom:calc(100% + 8px)!important}
/* links inside the navy hero boxes stay light */
.client main .hero a:not(.btn){color:#cfe0ff}
.client main .hero a:not(.btn):hover,.client main .hero a:not(.btn):focus-visible{color:#fff;text-decoration:underline}

/* phones: the client area menu as one slim bar that opens into a tidy list */
@media (max-width: 860px){
.client .masthead-in{min-height:0;padding-top:0;padding-bottom:0}
.client .masthead .nav-toggle{display:flex;width:100%;height:48px;margin:0;padding:0;border:0;border-radius:0;background:none;color:#fff;align-items:center;justify-content:space-between;font:inherit;font-weight:600;font-size:15px}
.client .masthead .nav-toggle::before{content:"Store & account"}
.client .masthead .nav-toggle[aria-expanded="true"]{color:#4ade80}
.client .masthead .menus>ul{padding:0 0 10px;gap:0}
.client .masthead .menus>ul>li{border-top:1px solid rgba(255,255,255,.09)}
.client .masthead .menus>ul>li>a,.client .masthead .menus>ul>li>.menu-btn{display:flex;width:100%;align-items:center;gap:10px;padding:13px 2px;font-size:15px;font-weight:500;background:none;border:0;box-shadow:none}
.client .masthead .menus>ul>li>.menu-btn>svg:last-child{margin-left:auto;opacity:.7}
.client .masthead .menus>ul>li>a svg,.client .masthead .menus>ul>li>.menu-btn>svg:first-child{color:#8fa6c4}
.client .masthead .menu.current>.menu-btn,.client .masthead .menu.current>.menu-link{background:none;color:#4ade80;box-shadow:none;border:0}
.client .masthead .menu.current>.menu-btn svg,.client .masthead .menu.current>.menu-link svg{color:#4ade80}
.client .masthead .menu>.menu-btn:hover,.client .masthead .menu>.menu-link:hover{background:none}
.client .masthead .drop{background:rgba(255,255,255,.05);margin:0 0 8px;padding:4px 0 6px 12px;border-left:2px solid #16a34a}
.client .masthead .drop a,.client .masthead .drop summary,.client .masthead .drop .ds-n{color:#dbe6f5}
.client .masthead .drop a:hover{background:rgba(255,255,255,.06)}
}
