:root {
    --kontai-ink: #080c15;
    --kontai-muted: #5e6b7d;
    --kontai-green: #02bd5e;
    --kontai-green-dark: #02994d;
    --kontai-line: #dfe6e8;
    --kontai-soft: #f3f6f7;
}

body {
    color: var(--kontai-ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:focus-visible {
    outline: 3px solid rgba(24, 92, 255, .42);
    outline-offset: 3px;
}

a, a:hover { color: var(--kontai-green-dark); }

#header .navbar-light,
#header .main-navbar-wrapper {
    background: #fff;
    border-bottom: 1px solid var(--kontai-line);
}

#header .navbar-brand {
    color: var(--kontai-ink);
    font-weight: 800;
    letter-spacing: -.035em;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

#header .navbar-brand:not(:has(.logo-img))::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url('../img/kontai-isotipo.svg') center / contain no-repeat;
}

#header .navbar-brand .logo-img { max-height: 2.5rem; }

.main-navbar-wrapper .nav-link,
.main-navbar-wrapper .dropdown-item { color: #334056; font-weight: 650; }
.main-navbar-wrapper .nav-link:hover,
.main-navbar-wrapper .dropdown-item:hover { color: var(--kontai-ink); background: var(--kontai-soft); }

.btn-primary,
.btn-success,
.btn-info {
    color: #fff;
    background: var(--kontai-ink);
    border-color: var(--kontai-ink);
    border-radius: .7rem;
    font-weight: 700;
}
.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
    color: #fff;
    background: #172137;
    border-color: #172137;
}

.btn-outline-primary { color: var(--kontai-ink); border-color: var(--kontai-line); border-radius: .7rem; }
.btn-outline-primary:hover { color: #fff; background: var(--kontai-ink); border-color: var(--kontai-ink); }

.card, .panel, .login-form, .dataTables_wrapper {
    border-color: var(--kontai-line);
    border-radius: 1rem;
}

.card, .panel {
    box-shadow: 0 12px 32px rgba(8, 12, 21, .05);
}

.card-header, .panel-heading {
    background: #f9fbfa;
    border-color: var(--kontai-line);
}

.breadcrumb {
    background: transparent;
}

.form-control:focus {
    border-color: var(--kontai-green);
    box-shadow: 0 0 0 .2rem rgba(2, 189, 94, .15);
}

.kontai-client-home {
    padding: clamp(5rem, 11vw, 9rem) 0;
    background: radial-gradient(circle at 86% 12%, #e8fbf2 0, transparent 34%),
                linear-gradient(180deg, #fbfdfc 0%, #fff 100%);
}
.kontai-client-home__content { max-width: 46rem; }
.kontai-client-home__eyebrow {
    color: var(--kontai-green-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
}
.kontai-client-home h1 {
    margin: 1.2rem 0;
    color: var(--kontai-ink);
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.06;
}
.kontai-client-home p {
    color: var(--kontai-muted);
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.kontai-client-home__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    align-items: center;
}

.kontai-client-home__actions .btn {
    padding: .8rem 1.4rem;
}

.kontai-client-home .kontai-client-home__return {
    margin: 1.5rem 0 0;
    font-size: .95rem;
}

@media (max-width: 575px) {
    .kontai-client-home { padding: 4rem 0; }
    .kontai-client-home__actions { align-items: stretch; flex-direction: column; }
    .kontai-client-home__actions .btn { width: 100%; }
}

/* Public Kontai shell around the WHMCS account pages. */
#header.k-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 76px;
    border-bottom: 1px solid rgba(223, 230, 232, .82);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
}
#header .k-header-inner {
    width: min(calc(100% - 40px), 1200px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
}
#header .k-brand { display: flex; flex: 0 0 auto; align-items: center; }
#header .k-brand img { width: 125px; height: auto; }
#header .k-primary-nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
#header .k-primary-nav > a, #header .nav-dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 13px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334056;
    font-size: .91rem;
    font-weight: 680;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
}
#header .k-primary-nav > a:hover, #header .nav-dropdown > button:hover { color: #080c15; background: #f3f6f7; }
#header .nav-dropdown { position: relative; }
#header .nav-dropdown > button > span { display: inline-block; transform: translateY(-2px); }
#header .k-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 10;
    width: 360px;
    padding: 12px;
    border: 1px solid #dfe6e8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(8, 12, 21, .08);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
}
#header .nav-dropdown:hover .k-dropdown-panel, #header .nav-dropdown.is-open .k-dropdown-panel {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}
#header .k-dropdown-panel a { display: grid; padding: 12px; border-radius: 11px; color: #080c15; text-decoration: none; }
#header .k-dropdown-panel a:hover { background: #f3f6f7; }
#header .k-dropdown-panel strong { font-size: .9rem; }
#header .k-dropdown-panel small { color: #5e6b7d; font-size: .78rem; }
#header .k-header-actions { display: flex; align-items: center; gap: 18px; }
#header .k-text-link { white-space: nowrap; color: #080c15; font-size: .9rem; font-weight: 700; }
#header .k-demo-button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: #080c15;
    box-shadow: 0 13px 25px rgba(8, 12, 21, .16);
    color: #fff;
    font-size: .9rem;
    font-weight: 760;
    white-space: nowrap;
    text-decoration: none;
}
#header .k-demo-button:hover { color: #fff; background: #172137; }
#header .k-menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid #dfe6e8; border-radius: 10px; background: #fff; }
#header .k-menu-toggle span { display: block; height: 2px; margin: 4px 0; background: #080c15; }
#header .k-primary-nav > a.k-mobile-access { display: none; }
.k-account-nav { border-bottom: 1px solid #dfe6e8; background: #f8faf9; }
.k-account-nav-inner { display: flex; gap: 22px; width: min(calc(100% - 40px), 1200px); margin: 0 auto; overflow-x: auto; }
.k-account-nav-inner a { padding: 13px 0; color: #334056; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.k-account-nav-inner a:hover { color: #02994d; }

#footer.k-site-footer { padding: 72px 0 20px; background: #050912; color: #fff; }
#footer .k-footer-grid, #footer .k-footer-bottom { width: min(calc(100% - 40px), 1200px); margin: 0 auto; }
#footer .k-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; padding-bottom: 55px; }
#footer .k-footer-brand img { display: block; width: 130px; height: auto; }
#footer .k-footer-brand p { max-width: 240px; margin: 18px 0 12px; color: #8693a3; font-size: .84rem; }
#footer .k-footer-brand a { color: #72f7b4; font-size: .86rem; }
#footer .k-footer-grid h2 { margin: 0 0 20px; color: #dbe3ec; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
#footer .k-footer-grid > div:not(.k-footer-brand) a { display: block; margin: 11px 0; color: #8e9aaa; font-size: .84rem; text-decoration: none; }
#footer .k-footer-grid > div:not(.k-footer-brand) a:hover { color: #fff; }
#footer .k-footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; border-top: 1px solid #202938; color: #718092; font-size: .75rem; }
#footer .k-footer-bottom div { display: flex; gap: 22px; }
#footer .k-footer-bottom a { color: #8e9aaa; }

@media (max-width: 1020px) {
    #header .k-header-inner { gap: 18px; }
    #header .k-primary-nav { gap: 0; }
    #header .k-primary-nav > a, #header .nav-dropdown > button { padding-inline: 9px; font-size: .82rem; }
    #header .k-text-link { display: none; }
    #header .k-primary-nav > a.k-mobile-access { display: inline-flex; color: #02994d; font-weight: 800; }
    #footer .k-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    #footer .k-footer-grid > div:last-child { grid-column: 2; }
}
@media (max-width: 820px) {
    #header.k-site-header { height: 68px; }
    #header .k-header-inner { gap: 12px; }
    #header .k-menu-toggle { display: block; margin-left: auto; }
    #header .k-primary-nav {
        position: fixed;
        top: 68px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        max-height: calc(100vh - 68px);
        padding: 18px 20px 25px;
        overflow-y: auto;
        border-top: 1px solid #dfe6e8;
        background: #fff;
        box-shadow: 0 20px 30px rgba(8, 12, 21, .1);
    }
    #header .k-primary-nav.is-open { display: grid; }
    #header .k-primary-nav > a, #header .nav-dropdown > button { width: 100%; padding: 13px; text-align: left; font-size: .95rem; }
    #header .k-dropdown-panel { position: static; display: none; width: 100%; padding: 5px 10px; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; }
    #header .nav-dropdown:hover .k-dropdown-panel { display: none; }
    #header .nav-dropdown.is-open .k-dropdown-panel { display: grid; }
    #header .k-demo-button { min-height: 40px; padding-inline: 13px; }
    #footer .k-footer-grid { grid-template-columns: 1fr 1fr; }
    #footer .k-footer-grid > div:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
    #header .k-header-inner, #footer .k-footer-grid, #footer .k-footer-bottom, .k-account-nav-inner { width: min(calc(100% - 28px), 1200px); }
    #header .k-brand img { width: 112px; }
    #header .k-demo-button { display: none; }
    #footer .k-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    #footer .k-footer-bottom { display: grid; }
    #footer .k-footer-bottom div { flex-wrap: wrap; }
}

/* Login keeps WHMCS authentication, reset, captcha and linked accounts. */
body.k-login-body { background: #fff; }
body.k-login-body #header,
body.k-login-body .k-account-nav,
body.k-login-body .master-breadcrumb,
body.k-login-body #footer,
body.k-login-body .btn-return-to-admin { display: none !important; }
body.k-login-body #main-body { min-height: 100svh; padding: 0; margin: 0; background: #fff; }
body.k-login-body #main-body > .container { width: 100%; max-width: none; padding: 0; margin: 0; }
body.k-login-body #main-body > .container > .row { display: block; margin: 0; }
body.k-login-body #main-body .primary-content { width: 100%; max-width: none; padding: 0; margin: 0; }
body.k-login-body .providerLinkingFeedback:empty { display: none; }
.k-login-page { display: grid; grid-template-columns: 54% 46%; min-height: 100svh; color: #080c15; }
.k-login-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 780px;
    background: radial-gradient(circle at 100% 4%, rgba(3, 110, 72, .33), transparent 34%), linear-gradient(150deg, #061421 0%, #071925 52%, #0a2630 100%);
    color: #fff;
}
.k-login-visual::before {
    content: "";
    position: absolute;
    width: 760px;
    height: 760px;
    right: -380px;
    bottom: -470px;
    border: 1px solid rgba(50, 219, 147, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 58px rgba(39, 214, 141, .025), 0 0 0 115px rgba(39, 214, 141, .025), 0 0 0 175px rgba(39, 214, 141, .02);
    pointer-events: none;
}
.k-login-visual-inner { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100%; max-width: 780px; margin: 0 auto; padding: 56px clamp(36px, 8vw, 120px) 42px; }
.k-login-brand { display: inline-flex; width: fit-content; align-items: center; }
.k-login-brand img { display: block; width: 150px; height: auto; }
.k-login-story { margin: auto 0 0; padding-top: 70px; }
.k-login-eyebrow { color: #0ab368; font-size: .7rem; font-weight: 850; letter-spacing: .13em; }
.k-login-visual .k-login-eyebrow { color: #47edaa; }
.k-login-visual .k-login-eyebrow i { margin-right: 6px; }
.k-login-story h1 { max-width: 710px; margin: 27px 0 14px; color: #fff; font-size: clamp(3.3rem, 5.1vw, 5.3rem); font-weight: 850; letter-spacing: -.067em; line-height: 1.01; }
.k-login-story h1 em { color: #58e69c; font-style: normal; }
.k-login-story > p:not(.k-login-secure) { max-width: 570px; color: #d8e6eb; font-size: 1rem; line-height: 1.8; }
.k-login-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.k-login-benefits > div { min-height: 130px; padding: 17px 14px; border: 1px solid rgba(187, 223, 228, .14); border-radius: 13px; background: rgba(255, 255, 255, .065); backdrop-filter: blur(12px); }
.k-login-benefits span { display: inline-grid; width: 28px; height: 28px; place-items: center; margin-bottom: 12px; border-radius: 8px; background: rgba(1, 179, 95, .15); color: #55edab; font-size: .8rem; }
.k-login-benefits strong { display: block; color: #fff; font-size: .78rem; line-height: 1.25; }
.k-login-benefits small { display: block; margin-top: 5px; color: #a8bdc8; font-size: .69rem; line-height: 1.35; }
.k-login-secure { margin: 28px 0 0; color: #a5bcc7; font-size: .7rem; }
.k-login-secure i { margin-right: 7px; }
.k-login-access { display: flex; align-items: center; justify-content: center; min-width: 0; background: radial-gradient(circle at 100% 0, #f0fbf5, #fff 30%); }
.k-login-access-inner { display: flex; flex-direction: column; width: min(100% - 80px, 430px); min-height: min(780px, 100svh); padding: 52px 0 30px; }
.k-login-brand-dark img { width: 130px; }
.k-login-form-area { margin: auto 0; padding: 48px 0; }
.k-login-form-area h2 { margin: 14px 0 5px; color: #080c15; font-size: clamp(2.1rem, 3vw, 2.8rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.1; }
.k-login-subtitle { margin: 0 0 33px; color: #5e6b7d; font-size: .86rem; }
.k-login-form { display: grid; gap: 18px; }
.k-login-field label { display: block; margin-bottom: 8px; color: #1d2a3a; font-size: .78rem; font-weight: 760; }
.k-login-label-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.k-login-label-row a { margin-bottom: 8px; color: #3f6472; font-size: .74rem; font-weight: 650; }
.k-login-label-row a:hover { color: #02994d; }
.k-login-input-wrap { position: relative; display: flex; align-items: center; height: 48px; border: 1px solid #d6e0e4; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.k-login-input-wrap:focus-within { border-color: #02bd5e; box-shadow: 0 0 0 4px rgba(2, 189, 94, .12); }
.k-login-input-wrap > i { flex: 0 0 auto; width: 40px; color: #889eae; text-align: center; font-size: .8rem; }
.k-login-input-wrap input { width: 100%; min-width: 0; height: 100%; padding: 0 12px 0 0; border: 0; outline: 0; background: transparent; color: #080c15; font-size: .9rem; }
.k-login-input-wrap input::placeholder { color: #91a1ae; }
.k-login-reveal { flex: 0 0 42px; height: 100%; border: 0; background: transparent; color: #728597; cursor: pointer; }
.k-login-reveal:hover { color: #02994d; }
.k-login-remember { display: inline-flex; align-items: center; gap: 9px; margin-top: -3px; color: #526477; font-size: .76rem; }
.k-login-remember input { accent-color: #02bd5e; }
.k-login-submit { display: inline-flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 49px; border: 0; border-radius: 10px; background: #00b85b; box-shadow: 0 16px 28px rgba(0, 184, 91, .16); color: #fff; font-size: .9rem; font-weight: 790; cursor: pointer; }
.k-login-submit:hover { background: #009c4d; color: #fff; }
.k-login-assurance { margin: 16px 0 0; color: #6e7d90; text-align: center; font-size: .7rem; }
.k-login-assurance i { margin-right: 5px; color: #02bd5e; font-size: .44rem; vertical-align: middle; }
.k-login-help { display: grid; justify-items: center; gap: 4px; margin-top: 41px; padding-top: 23px; border-top: 1px solid #e7ebee; text-align: center; }
.k-login-help strong { color: #334056; font-size: .73rem; }
.k-login-help a { color: #02994d; font-size: .72rem; font-weight: 690; }
.k-login-help a i { margin-left: 4px; }
.k-login-help .k-login-register { margin-top: 5px; color: #008b4e; font-size: .86rem; font-weight: 800; }
.k-login-help .k-login-plans { color: #6e7d90; font-size: .7rem; }
.k-login-back { margin: 0; font-size: .74rem; }
.k-login-back a { color: #708296; }
.k-login-back a:hover { color: #02994d; }
.k-login-form .alert { margin: 0; font-size: .78rem; }
.k-login-captcha { min-width: 0; }

/* Consistent account surfaces beyond the login. */
body:not(.k-login-body) #main-body { background: #f8faf9; }
body:not(.k-login-body) #main-body .primary-content { padding-top: 28px; padding-bottom: 60px; }
body:not(.k-login-body) #main-body .card,
body:not(.k-login-body) #main-body .panel { overflow: hidden; border: 1px solid #dfe6e8; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(8, 12, 21, .05); }
body:not(.k-login-body) #main-body .card-header,
body:not(.k-login-body) #main-body .panel-heading { border-color: #dfe6e8; background: #f8fbf9; }
body:not(.k-login-body) #main-body .table thead { color: #526477; background: #eff5f2; font-size: .76rem; font-weight: 750; }
body:not(.k-login-body) #main-body .table td { border-color: #e5ebed; }
body:not(.k-login-body) #main-body .list-group-item.active { border-color: #d7f3e4; background: #e8fbf1; color: #056e3b; }
body:not(.k-login-body) #main-body .form-control:focus { border-color: #02bd5e; box-shadow: 0 0 0 .2rem rgba(2, 189, 94, .13); }

.k-dashboard { padding: 2px 0 22px; }
.k-dashboard-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding: clamp(30px, 4vw, 48px); border: 1px solid #c9eada; border-radius: 22px; background: radial-gradient(circle at 86% 0, #d9f9e8 0, transparent 36%), linear-gradient(120deg, #f8fdfb, #ecf9f1); }
.k-dashboard-eyebrow { color: #05814a; font-size: .7rem; font-weight: 850; letter-spacing: .14em; }
.k-dashboard-hero h1 { max-width: 680px; margin: 13px 0 11px; color: #080c15; font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.08; }
.k-dashboard-hero p { max-width: 580px; margin: 0; color: #526477; font-size: .98rem; line-height: 1.6; }
.k-dashboard-hero-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; padding: 0 18px; border-radius: 10px; background: #080c15; color: #fff; font-size: .82rem; font-weight: 750; white-space: nowrap; }
.k-dashboard-hero-action:hover { color: #fff; background: #172137; }
.k-dashboard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin: 23px 0 42px; }
.k-dashboard-stat { display: grid; justify-items: start; min-height: 185px; padding: 24px 25px; border: 1px solid #dfe6e8; border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(8, 12, 21, .04); transition: transform .2s, box-shadow .2s; }
.k-dashboard-stat:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(8, 12, 21, .08); }
.k-dashboard-stat-icon { display: inline-grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; background: #e8fbf1; color: #079755; font-size: .91rem; }
.k-dashboard-stat-value { margin-top: 11px; color: #080c15; font-size: 2rem; font-weight: 850; letter-spacing: -.05em; line-height: 1; }
.k-dashboard-stat strong { margin-top: 7px; color: #253344; font-size: .84rem; }
.k-dashboard-stat small { margin-top: 13px; color: #057e45; font-size: .73rem; font-weight: 720; }
.k-dashboard-stat small i { margin-left: 4px; }
.k-dashboard-section-heading { margin-bottom: 17px; }
.k-dashboard-section-heading span { color: #078b4f; font-size: .68rem; font-weight: 820; letter-spacing: .13em; }
.k-dashboard-section-heading h2 { margin: 7px 0 0; color: #080c15; font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; }
.k-dashboard-panels .card { border-radius: 16px; }
.k-dashboard-panels .card-header { padding: 18px 21px; }
.k-dashboard-panels .card-title { color: #172137; font-size: 1rem; font-weight: 780; }
.k-dashboard-panels .list-group-item { padding: 13px 20px; border-color: #edf0f1; font-size: .86rem; }
.k-dashboard-panels .card-footer:empty { display: none; }

/* Account selection and the license, invoice and support lists. */
.k-area-eyebrow { color: #078b4f; font-size: .7rem; font-weight: 830; letter-spacing: .14em; }
.k-button-primary, .k-button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 46px; padding: 0 20px; border-radius: 10px; font-size: .83rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.k-button-primary { background: #00b85b; box-shadow: 0 12px 24px rgba(0, 184, 91, .14); color: #fff; }
.k-button-primary:hover { background: #009c4d; color: #fff; }
.k-button-secondary { border: 1px solid #d6e0e4; background: #fff; color: #172137; }
.k-button-secondary:hover { border-color: #0ab368; color: #087b48; }
.k-account-switch { max-width: 760px; margin: 0 auto; padding: clamp(34px, 5vw, 58px); border: 1px solid #dce9e3; border-radius: 22px; background: radial-gradient(circle at 95% 4%, #e8fbf1, transparent 38%), #fff; box-shadow: 0 20px 50px rgba(8, 12, 21, .05); }
.k-account-switch-icon { display: grid; width: 52px; height: 52px; place-items: center; margin: 25px 0 18px; border-radius: 14px; background: #e5f9ed; color: #00a757; font-size: 1.2rem; }
.k-account-switch h1 { margin: 15px 0 10px; color: #080c15; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.12; }
.k-account-switch p { max-width: 550px; margin: 0; color: #526477; font-size: .96rem; line-height: 1.65; }
.k-account-switch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.k-account-switch-list { display: grid; gap: 10px; margin-top: 25px; }
.k-account-switch-list a { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid #dce9e3; border-radius: 12px; background: #fff; color: #172137; font-weight: 720; }
.k-account-switch-list a > span:first-child { flex: 1; }
.k-account-switch-list a > span:first-child i { margin-right: 8px; color: #078b4f; }
.k-account-switch-list a > i { color: #078b4f; }
.k-account-switch-list a:hover { border-color: #0ab368; background: #f4fdf8; color: #172137; }
.k-account-switch-list a.disabled { opacity: .52; cursor: not-allowed; }
.k-account-owner, .k-account-closed { padding: 4px 9px; border-radius: 999px; background: #e8fbf1; color: #087b48; font-size: .7rem; }
.k-account-closed { background: #f7f1ec; color: #87624b; }
.k-area-intro { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 24px; padding: 33px 34px; border: 1px solid #caebd9; border-radius: 20px; background: radial-gradient(circle at 92% 0, #ddf8e9, transparent 33%), #f8fdfb; }
.k-area-intro h1 { margin: 10px 0 7px; color: #080c15; font-size: clamp(2rem, 3vw, 2.65rem); font-weight: 840; letter-spacing: -.052em; }
.k-area-intro p { max-width: 550px; margin: 0; color: #526477; font-size: .9rem; line-height: 1.55; }
.k-area-table { padding: 14px 18px 20px; border: 1px solid #dfe6e8; border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(8, 12, 21, .04); }
.k-area-table table.table-list { width: 100% !important; margin-bottom: 0; }
.k-area-table table.table-list th { padding: 14px 12px; border-top: 0; border-bottom: 1px solid #dfe6e8; color: #526477; font-size: .72rem; font-weight: 790; letter-spacing: .06em; text-transform: uppercase; }
.k-area-table table.table-list td { padding: 17px 12px; vertical-align: middle; color: #253344; font-size: .85rem; }
.k-area-table table.table-list tr:hover td { background: #f7fcf9; }
.k-area-table .dataTables_filter input, .k-area-table .dataTables_length select { min-height: 38px; border: 1px solid #d6e0e4; border-radius: 8px; background: #fff; }
.k-area-table .dataTables_paginate .paginate_button.current { border-color: #c7eed9 !important; border-radius: 8px; background: #e8fbf1 !important; color: #087b48 !important; }

/* WHMCS keeps ownership of registration validation and CAPTCHA. */
body.k-register-body .master-breadcrumb { display: none; }
body.k-register-body #main-body > .container { max-width: 1320px; padding-inline: 24px; }
body.k-register-body #main-body .primary-content { width: 100%; max-width: none; padding-top: 34px; padding-bottom: 82px; }
.k-register-layout { display: grid; grid-template-columns: minmax(300px, .76fr) minmax(0, 1.36fr); align-items: start; gap: clamp(22px, 3vw, 38px); }
.k-register-story { position: sticky; top: 98px; isolation: isolate; overflow: hidden; min-height: min(740px, calc(100svh - 118px)); border-radius: 23px; background: radial-gradient(circle at 105% 3%, rgba(3, 110, 72, .4), transparent 41%), linear-gradient(150deg, #061421, #0a2630); color: #fff; }
.k-register-story::before { content: ""; position: absolute; right: -220px; bottom: -310px; width: 560px; height: 560px; border: 1px solid rgba(50, 219, 147, .17); border-radius: 50%; box-shadow: 0 0 0 50px rgba(39, 214, 141, .035), 0 0 0 105px rgba(39, 214, 141, .025); pointer-events: none; }
.k-register-story-inner { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: inherit; padding: clamp(30px, 3.6vw, 52px); }
.k-register-eyebrow { color: #55edab; font-size: .68rem; font-weight: 850; letter-spacing: .14em; }
.k-register-eyebrow i { margin-right: 6px; }
.k-register-story h1 { margin: 48px 0 16px; color: #fff; font-size: clamp(2.6rem, 3.8vw, 4rem); font-weight: 850; letter-spacing: -.066em; line-height: 1.04; }
.k-register-story h1 em { color: #58e69c; font-style: normal; }
.k-register-story > .k-register-story-inner > p:not(.k-register-story-note) { max-width: 360px; color: #d8e6eb; font-size: .9rem; line-height: 1.75; }
.k-register-story-points { display: grid; gap: 12px; margin-top: 33px; }
.k-register-story-points > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 13px; padding: 15px; border: 1px solid rgba(187, 223, 228, .13); border-radius: 12px; background: rgba(255, 255, 255, .06); }
.k-register-story-points span { display: grid; grid-row: span 2; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: rgba(1, 179, 95, .15); color: #55edab; font-size: .83rem; }
.k-register-story-points strong { align-self: end; color: #fff; font-size: .82rem; line-height: 1.2; }
.k-register-story-points small { margin-top: 3px; color: #a8bdc8; font-size: .7rem; line-height: 1.35; }
.k-register-story-note { margin: auto 0 0; padding-top: 28px; color: #a5bcc7; font-size: .71rem; }
.k-register-story-note i { margin-right: 7px; }
.k-register-panel { min-width: 0; }
.k-register-panel-head { position: relative; margin: 3px 0 24px; padding: 0 3px; }
.k-register-panel-head h2 { margin: 9px 0 4px; color: #080c15; font-size: clamp(2.2rem, 3.2vw, 3.1rem); font-weight: 850; letter-spacing: -.057em; line-height: 1.08; }
.k-register-panel-head p { margin: 0; color: #607080; font-size: .9rem; }
.k-register-panel-head a { display: inline-block; margin-top: 15px; color: #526477; font-size: .79rem; }
.k-register-panel-head a strong { margin-left: 3px; color: #008b4e; }
.k-register-panel-head a:hover strong { color: #006e3b; }
.k-register-panel-head a i { margin-left: 4px; }
body.k-register-body #registration .card { margin-bottom: 15px !important; border-color: #dfe8e5 !important; border-radius: 17px !important; box-shadow: 0 11px 30px rgba(8, 12, 21, .045) !important; }
body.k-register-body #registration .card-body { padding: clamp(22px, 2.8vw, 32px) !important; }
body.k-register-body #registration .card-title { display: flex; align-items: center; gap: 10px; margin: 0 0 3px; color: #0d1822; font-size: 1.13rem; font-weight: 800; letter-spacing: -.035em; }
.k-register-step { display: inline-grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: #e4f9ed; color: #07894d; font-size: .68rem; font-weight: 850; letter-spacing: .01em; }
.k-register-card-copy { margin: 0 0 23px 40px; color: #687889; font-size: .77rem; line-height: 1.5; }
body.k-register-body #registration .form-group { margin-bottom: 15px; }
body.k-register-body #registration .field,
body.k-register-body #registration select.form-control { min-height: 47px; border: 1px solid #d6e0e4; border-radius: 9px; background-color: #fff; color: #172137; box-shadow: none; }
body.k-register-body #registration .field:focus,
body.k-register-body #registration select.form-control:focus { border-color: #02bd5e; box-shadow: 0 0 0 4px rgba(2, 189, 94, .12); }
body.k-register-body #registration .field-icon { color: #8999a9; }
body.k-register-body #registration .btn-primary { min-height: 51px; width: 100%; padding: 0 28px; border: 0; border-radius: 10px; background: #00b85b; box-shadow: 0 14px 27px rgba(0, 184, 91, .16); color: #fff; font-size: .94rem; font-weight: 800; }
body.k-register-body #registration .btn-primary:hover { background: #009c4d; }
.k-register-optional { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: #eef6f2; color: #64796e; font-size: .67rem; font-weight: 700; letter-spacing: 0; }
body.k-register-body #registration .k-register-marketing { background: #f7fbf8; }
body.k-register-body #registration .k-register-marketing .card-body { padding-block: 21px !important; }
body.k-register-body #registration .k-register-marketing .card-title { margin-bottom: 9px; font-size: .96rem; }
body.k-register-body #registration .k-register-marketing p { margin-bottom: 10px; color: #607080; font-size: .77rem; line-height: 1.55; }
.k-register-privacy { margin: 22px 0 13px; color: #617184; text-align: left; font-size: .78rem; }
.k-register-privacy a { color: #087b48; font-weight: 720; }
body.k-register-body #registration .form-check { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 0; color: #526477; font-size: .78rem; line-height: 1.55; text-align: left; }
body.k-register-body #registration .form-check-input { position: static; flex: 0 0 auto; margin: 3px 0 0; }
body.k-register-body #registration .form-check a { color: #087b48; font-weight: 720; }
body.k-register-body #registration .accepttos { accent-color: #00b85b; }
.k-register-submit-wrap { margin: 18px 0 0; }

@media (max-width: 1020px) {
    .k-login-page { grid-template-columns: 50% 50%; }
    .k-login-visual-inner { padding-inline: 44px; }
    .k-login-story h1 { font-size: clamp(3.2rem, 5vw, 4.7rem); }
    .k-login-benefits { gap: 7px; }
    .k-login-benefits > div { padding: 13px 10px; }
    .k-login-access-inner { width: min(100% - 60px, 430px); }
}
@media (max-width: 980px) {
    .k-register-layout { grid-template-columns: 1fr; gap: 25px; }
    .k-register-story { position: relative; top: auto; min-height: 0; }
    .k-register-story-inner { min-height: 0; padding: 32px 38px; }
    .k-register-story h1 { max-width: 650px; margin: 20px 0 10px; font-size: clamp(2.4rem, 5vw, 3.5rem); }
    .k-register-story > .k-register-story-inner > p:not(.k-register-story-note) { max-width: 660px; }
    .k-register-story-points, .k-register-story-note { display: none; }
}
@media (max-width: 820px) {
    .k-login-page { grid-template-columns: 1fr; }
    .k-login-visual { min-height: auto; }
    .k-login-visual-inner { padding: 26px 28px 30px; }
    .k-login-story { padding-top: 22px; }
    .k-login-story h1 { max-width: 570px; margin: 12px 0; font-size: clamp(2.4rem, 7vw, 3.6rem); }
    .k-login-story > p:not(.k-login-secure), .k-login-benefits, .k-login-secure { display: none; }
    .k-login-brand-light img { width: 118px; }
    .k-login-access-inner { min-height: auto; width: min(100% - 56px, 430px); padding: 37px 0; }
    .k-login-brand-dark { display: none; }
    .k-login-form-area { padding: 0; }
    .k-login-back { margin-top: 32px; }
    .k-dashboard-hero { display: grid; }
    .k-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .k-area-intro { display: grid; padding: 27px; }
    .k-area-intro .k-button-primary, .k-area-intro .k-button-secondary { justify-self: start; }
}
@media (max-width: 480px) {
    .k-login-visual-inner { padding: 20px 22px 24px; }
    .k-login-story h1 { font-size: 2.25rem; }
    .k-login-access-inner { width: min(100% - 40px, 430px); }
    .k-login-form-area h2 { font-size: 2rem; }
    .k-dashboard-hero { padding: 27px 22px; }
    .k-dashboard-stats { grid-template-columns: 1fr; gap: 12px; }
    .k-dashboard-stat { min-height: 145px; }
    .k-account-switch { padding: 30px 24px; }
    .k-area-table { overflow-x: auto; padding: 10px; }
    .k-area-table table.table-list { min-width: 620px; }
    body.k-register-body #main-body > .container { padding-inline: 15px; }
    body.k-register-body #main-body .primary-content { padding-top: 20px; }
    .k-register-story-inner { padding: 28px 25px; }
    .k-register-story h1 { font-size: 2.25rem; }
    .k-register-panel-head { padding-inline: 3px; }
    .k-register-panel-head h2 { font-size: 2.2rem; }
    .k-register-card-copy { margin-left: 0; }
}
