:root {
    --ssl-green: #0c9d48;
    --ssl-green-hover: #087a3a;
    --ssl-green-deep: #073b2a;
    --ssl-ink: #29372f;
    --ssl-muted: #66756d;
    --ssl-soft: #f6f9f7;
    --ssl-soft-green: #edf8f1;
    --ssl-line: rgba(24, 91, 64, .14);
    --ssl-white: #fff;
    --ssl-radius: 10px;
    --ssl-shadow: 0 16px 44px rgba(17, 78, 52, .09);
    --ssl-font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.ssl-client-theme {
    min-height: 100vh;
    background: var(--ssl-white);
    color: var(--ssl-ink);
    font-family: var(--ssl-font-sans);
    line-height: 1.65;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
optgroup,
select,
textarea {
    font-family: var(--ssl-font-sans);
}

a {
    color: var(--ssl-green);
}

a:hover {
    color: var(--ssl-green-hover);
}

.container {
    max-width: 1120px;
}

.ssl-skip-link {
    position: fixed;
    z-index: 10000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--ssl-green);
    color: #fff;
    transform: translateY(-150%);
}

.ssl-skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

/* Header */
.ssl-site-header {
    position: sticky;
    z-index: 1030;
    top: 0;
    border-bottom: 1px solid var(--ssl-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.ssl-account-bar {
    border-bottom: 1px solid rgba(60, 60, 67, .1);
    background: #fbfbfc;
    font-size: 13px;
}

.ssl-account-bar .btn {
    min-height: 34px;
    border: 0;
    background: transparent;
    color: var(--ssl-muted);
    font-size: 13px;
}

.ssl-account-bar .btn:hover {
    color: var(--ssl-green);
}

.ssl-main-nav {
    min-height: 64px;
    padding: 0;
}

.ssl-main-nav .navbar-brand {
    display: inline-flex;
    align-items: center;
    min-height: 64px;
    padding: 0;
}

.ssl-main-nav .logo-img,
.ssl-brand-logo {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.ssl-main-nav .navbar-collapse {
    align-items: center;
}

.ssl-main-nav .navbar-nav > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 22px 12px;
    color: #3c3c43;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.ssl-main-nav .navbar-nav > .nav-item > .nav-link .ssl-icon-svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    stroke-width: 1.9;
}

.ssl-main-nav #sslPrimaryNav .ssl-nav-product-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    fill: #9aa0a8;
    stroke: none;
}

.ssl-main-nav #sslPrimaryNav .nav-link:hover .ssl-nav-product-icon,
.ssl-main-nav #sslPrimaryNav .nav-link:focus .ssl-nav-product-icon,
.ssl-main-nav #sslPrimaryNav .nav-item.active .ssl-nav-product-icon {
    fill: currentColor;
}

.ssl-main-nav .navbar-nav > .nav-item > .nav-link:hover,
.ssl-main-nav .navbar-nav > .nav-item.active > .nav-link {
    color: var(--ssl-green);
}

.ssl-main-nav .dropdown-menu {
    margin-top: 0;
    border: 1px solid var(--ssl-line);
    border-radius: var(--ssl-radius);
    box-shadow: var(--ssl-shadow);
}

.ssl-main-nav .dropdown-item {
    padding: 9px 16px;
    font-size: 14px;
}

.ssl-main-nav .dropdown-item:hover,
.ssl-main-nav .dropdown-item:focus {
    background: var(--ssl-soft-green);
    color: var(--ssl-green-deep);
}

.ssl-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
}

.btn.ssl-admin-return {
    position: fixed;
    z-index: 1045;
    top: 50%;
    right: 0;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    min-width: 42px;
    min-height: 0;
    border: 1px solid #e5a93d;
    border-radius: 8px 0 0 8px;
    padding: 12px 9px;
    background: #fff8e8;
    color: #8a5600;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(0, 51, 36, .14);
    transform: translateY(-50%);
}

.ssl-admin-return span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.ssl-admin-return:hover,
.ssl-admin-return:focus {
    border-color: #c98a18;
    background: #fff1cc;
    color: #684000;
    transform: translateY(-50%);
}

@media (max-width: 991.98px) {
    .btn.ssl-admin-return {
        top: 14px;
        right: 72px;
        min-width: 42px;
        min-height: 42px;
        padding: 10px;
        border-radius: 6px;
        box-shadow: none;
        transform: none;
    }

    .ssl-admin-return:hover,
    .ssl-admin-return:focus {
        transform: none;
    }
}

.ssl-nav-icon,
.ssl-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border: 1px solid var(--ssl-line);
    border-radius: 6px;
    background: #fff;
    color: var(--ssl-ink);
}

.ssl-icon-svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ssl-nav-icon:hover,
.ssl-menu-toggle:hover {
    border-color: var(--ssl-green);
    color: var(--ssl-green);
}

.ssl-login-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    border: 1px solid #00ab00 !important;
    border-radius: 6px !important;
    padding: 7px 18px !important;
    background: #00ab00 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

.ssl-main-nav #sslPrimaryNav > .ssl-login-item > .ssl-login-link {
    min-height: 34px !important;
    margin: 15px 6px !important;
    padding: 7px 18px !important;
    background: #00ab00 !important;
    border-color: #00ab00 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.ssl-main-nav #sslPrimaryNav > .ssl-login-item > .ssl-login-link:hover,
.ssl-main-nav #sslPrimaryNav > .ssl-login-item > .ssl-login-link:focus,
.ssl-main-nav #sslPrimaryNav > .ssl-login-item > .ssl-login-link:active {
    border-color: #00cc00 !important;
    background: #00cc00 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.ssl-main-nav #sslPrimaryNav > .my-account {
    margin-left: 8px;
}

.ssl-main-nav #sslPrimaryNav > .my-account > .ssl-my-account-toggle {
    gap: 6px;
    padding: 22px 12px;
    color: var(--ssl-green);
    font-size: 16px;
}

.ssl-my-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 24.75px;
    flex: 0 0 17px;
    background: transparent;
}

.ssl-my-account-avatar i {
    color: currentColor;
    font-size: 17px;
    line-height: 1;
}

.ssl-my-account-label {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    max-width: 126px;
    line-height: 24.75px;
}

.ssl-my-account-label strong {
    overflow: hidden;
    color: var(--ssl-green);
    font-size: 15px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssl-account-menu {
    overflow-y: auto;
    width: max-content;
    min-width: 220px;
    max-width: min(320px, calc(100vw - 24px));
    max-height: calc(100vh - 86px);
    padding: 0;
}

.ssl-account-summary {
    display: flex;
    overflow: hidden;
    align-items: center;
    gap: 13px;
    padding: 18px;
    color: var(--ssl-ink);
}

.ssl-my-account-avatar-lg {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.ssl-my-account-avatar-lg i {
    font-size: 23px;
}

.ssl-account-summary-text {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    min-width: 0;
}

.ssl-account-summary-text strong,
.ssl-account-summary-text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ssl-account-summary-text strong {
    color: var(--ssl-ink);
    font-size: 17px;
}

.ssl-account-summary-text small {
    order: -1;
    margin-bottom: 2px;
    color: var(--ssl-muted);
    font-size: 12px;
}

.ssl-account-menu .dropdown-divider {
    margin: 0;
}

.ssl-main-nav .ssl-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    color: var(--ssl-ink);
    font-size: 14px;
}

.ssl-account-menu .dropdown-item > svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: #a7aab4;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ssl-main-nav .ssl-account-menu .dropdown-item:hover,
.ssl-main-nav .ssl-account-menu .dropdown-item:focus {
    background: var(--ssl-soft-green);
    color: var(--ssl-green);
}

.ssl-account-menu .dropdown-item:hover > svg,
.ssl-account-menu .dropdown-item:focus > svg {
    stroke: currentColor;
}

/* Language Submenu in Account Dropdown */
.ssl-account-submenu-item {
    position: relative;
}

.ssl-main-nav .ssl-account-menu .ssl-account-submenu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.ssl-submenu-title {
    flex: 1 1 auto;
}

.ssl-account-menu .dropdown-item > svg.ssl-submenu-arrow {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-left: auto;
    stroke: #9ca3af;
    stroke-width: 2.2;
    transition: transform 0.2s ease, stroke 0.15s ease;
}

.ssl-account-submenu-item:hover > .ssl-account-submenu-toggle .ssl-submenu-arrow,
.ssl-account-submenu-item.is-open > .ssl-account-submenu-toggle .ssl-submenu-arrow {
    stroke: var(--ssl-green);
}

.ssl-account-submenu-item:hover > .ssl-account-submenu-toggle,
.ssl-account-submenu-item.is-open > .ssl-account-submenu-toggle {
    background: var(--ssl-soft-green);
    color: var(--ssl-green);
}

.ssl-account-submenu-item:hover > .ssl-account-submenu-toggle > svg,
.ssl-account-submenu-item.is-open > .ssl-account-submenu-toggle > svg {
    stroke: currentColor;
}

/* Submenu Flyout Container */
.ssl-account-submenu {
    display: none;
    position: absolute;
    right: calc(100% + 4px);
    top: -6px;
    min-width: 155px;
    padding: 6px;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    z-index: 1060;
}

/* Hover bridge between parent menu and flyout submenu */
.ssl-account-submenu::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 12px;
    height: 100%;
}

@media (min-width: 768px) {
    .ssl-account-menu {
        overflow: visible !important;
    }

    .ssl-account-submenu-item:hover > .ssl-account-submenu,
    .ssl-account-submenu-item.is-open > .ssl-account-submenu {
        display: block;
        animation: sslSubmenuFlyout 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@keyframes sslSubmenuFlyout {
    from {
        opacity: 0;
        transform: translateX(4px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ssl-account-submenu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ssl-account-submenu .ssl-language-option {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--ssl-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.ssl-account-submenu .ssl-language-option:hover,
.ssl-account-submenu .ssl-language-option:focus {
    background: #f3f4f6;
    color: var(--ssl-ink);
}

.ssl-account-submenu .ssl-language-option.active {
    font-weight: 600;
    color: var(--ssl-green-deep);
}

.ssl-account-submenu .ssl-language-option.active:hover {
    background: var(--ssl-soft-green);
    color: var(--ssl-green-deep);
}

.ssl-language-check {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-left: 14px;
    fill: none;
    stroke: var(--ssl-green);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Red Logout Item in Account Dropdown matching reference */
.ssl-main-nav .ssl-account-menu .ssl-item-logout,
.ssl-main-nav .ssl-account-menu .ssl-item-logout > svg {
    color: #e03131;
    stroke: #e03131;
}

.ssl-main-nav .ssl-account-menu .ssl-item-logout:hover,
.ssl-main-nav .ssl-account-menu .ssl-item-logout:focus {
    background: #fff5f5;
    color: #c92a2a;
}

.ssl-main-nav .ssl-account-menu .ssl-item-logout:hover > svg,
.ssl-main-nav .ssl-account-menu .ssl-item-logout:focus > svg {
    stroke: #c92a2a;
}

/* Mobile responsive styles */
@media (max-width: 767.98px) {
    .ssl-account-submenu-item {
        position: static;
    }

    .ssl-account-submenu {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 2px;
        padding: 4px 0 4px 28px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #f8faf9;
    }

    .ssl-account-submenu-item.is-open > .ssl-account-submenu {
        display: block;
    }

    .ssl-account-submenu-item.is-open .ssl-submenu-arrow {
        transform: rotate(90deg);
    }
}

/* WHMCS scaffolding */
.master-breadcrumb {
    border: 0;
    border-bottom: 1px solid var(--ssl-line);
    background: linear-gradient(90deg, #edf8f1 0%, #f7fbf8 58%, #f1f7f3 100%);
}

.breadcrumb {
    margin: 0;
    padding: 12px 0;
    background: transparent;
    font-size: 13px;
}

#main-body {
    min-height: 58vh;
    padding: 40px 0 64px;
    background: #fff;
}

.page-homepage #main-body {
    padding-top: 0;
    background: #fff;
}

.ssl-page-heading {
    margin: 0 0 22px;
}

.ssl-page-heading span {
    display: block;
    margin-bottom: 5px;
    color: #718078;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.ssl-page-heading h1 {
    margin: 0;
    color: var(--ssl-green-deep);
    font-size: 30px;
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.primary-content > h1,
.primary-content > h2,
.card-title,
.panel-title {
    color: var(--ssl-green-deep);
    font-weight: 600;
    line-height: 1.35;
}

.card,
.panel,
.list-group,
.form-control,
.custom-select,
.input-group-text,
.modal-content,
.sidebar .card-sidebar,
.sidebar .list-group {
    border-color: var(--ssl-line);
    border-radius: var(--ssl-radius);
}

.card,
.panel,
.modal-content {
    box-shadow: none;
}

.client-home-cards .card {
    overflow: hidden;
    border-radius: var(--ssl-radius);
}

.client-home-cards .card > .card-header,
.client-home-cards .card > .card-footer {
    border-radius: 0;
}

.sidebar .card-sidebar {
    overflow: hidden;
    border: 1px solid var(--ssl-line);
    border-radius: var(--ssl-radius);
}

.sidebar .ssl-table-search-card {
    margin-bottom: 20px;
}

.page-clientareaproducts .sidebar .ssl-table-search-card {
    display: none !important;
}

.sidebar .ssl-table-search-card .card-title {
    gap: 8px;
}

.sidebar .ssl-table-search-card .card-title > i {
    width: 16px;
    flex: 0 0 16px;
    text-align: center;
}

.sidebar .card-sidebar > .card-header,
.sidebar .card-sidebar > .card-footer {
    border-radius: 0;
}

.sidebar .card-sidebar > .card-header {
    border-bottom-color: rgba(12, 157, 72, .18);
    background: linear-gradient(90deg, #eaf7ee 0%, #f6fbf8 100%);
    color: var(--ssl-green-deep);
}

.sidebar .card-sidebar > .card-header i {
    color: var(--ssl-green);
}

.ssl-sidebar-title-label,
[menuitemname="balance-amount"],
[menuitemname="balance-amount"] .sidebar-menu-item-label,
[menuitemname="balance-amount"] h4,
[menuitemname="balance-amount"] span,
.balance-amount {
    font-family: var(--ssl-font-sans) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    color: var(--ssl-muted) !important;
    margin: 0 !important;
}

[menuitemname="Client-Balance"] .list-group-item,
[menuitemname="balance-amount"] {
    display: flex !important;
    align-items: center !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    line-height: 1.55 !important;
    box-sizing: border-box !important;
}

[menuitemname="Client-Balance"] .sidebar-menu-item-wrapper,
[menuitemname="balance-amount"] .sidebar-menu-item-wrapper {
    width: 100%;
    text-align: left !important;
    line-height: 1.55 !important;
}

[menuitemname="Client-Balance"] .card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 8px 16px !important;
}

[menuitemname="Client-Balance"] .card-footer .btn,
[menuitemname="Client-Balance"] .card-footer a.btn,
[menuitemname="Client-Balance"] .card-footer .btn-block {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: auto !important;
    margin: 0 auto 0 0 !important;
    gap: 6px !important;
}

.card-header,
.card-footer,
.panel-heading {
    border-color: var(--ssl-line);
    background: #fbfbfc;
}

.btn {
    border-radius: 6px;
    font-weight: 600;
}

.btn-primary,
.btn-success,
.bg-color-green,
.badge-primary {
    border-color: var(--ssl-green) !important;
    background-color: var(--ssl-green) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus {
    border-color: var(--ssl-green-hover) !important;
    background-color: var(--ssl-green-hover) !important;
}

.sidebar .btn.btn-success {
    border-color: var(--ssl-line) !important;
    background-color: #f7faf8 !important;
    color: var(--ssl-green-deep) !important;
    box-shadow: none;
    font-weight: 500;
}

.sidebar .btn.btn-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
}

.sidebar .btn.btn-success:hover,
.sidebar .btn.btn-success:focus {
    border-color: rgba(0, 171, 0, .28) !important;
    background-color: var(--ssl-soft-green) !important;
    color: var(--ssl-green-deep) !important;
    box-shadow: none;
}

.btn-outline-primary {
    border-color: var(--ssl-green);
    color: var(--ssl-green);
}

.btn-outline-primary:hover {
    border-color: var(--ssl-green);
    background: var(--ssl-green);
    color: #fff;
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--ssl-green);
    box-shadow: 0 0 0 3px rgba(0, 171, 0, .12);
}

.sidebar .list-group-item.active,
.sidebar .list-group-item.active:hover,
.sidebar .list-group-item.active:focus {
    border-color: var(--ssl-line);
    background: #fff;
    color: var(--ssl-green);
}

/* Shared client-area components. Kept inside #main-body to avoid module logic and site chrome. */
#main-body .primary-content {
    color: var(--ssl-ink);
    font-size: 16px;
}

#main-body .primary-content p,
#main-body .primary-content li {
    line-height: 1.7;
}

#main-body .primary-content .card,
#main-body .primary-content .panel,
#main-body .primary-content .modal-content {
    overflow: hidden;
    border: 1px solid var(--ssl-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

#main-body .primary-content .card + .card,
#main-body .primary-content .panel + .panel {
    margin-top: 18px;
}

#main-body .primary-content .card-header,
#main-body .primary-content .card-footer,
#main-body .primary-content .panel-heading {
    border-color: var(--ssl-line);
    background: #f8faf9;
}

#main-body .primary-content .card-header,
#main-body .primary-content .panel-heading {
    padding: 15px 18px;
}

#main-body .primary-content .card-body,
#main-body .primary-content .panel-body {
    padding: 20px;
}

#main-body .primary-content .card-title,
#main-body .primary-content .panel-title {
    margin-bottom: 12px;
    color: var(--ssl-green-deep);
    font-size: 19px;
    font-weight: 680;
    letter-spacing: -.012em;
    line-height: 1.35;
}

#main-body .primary-content label,
#main-body .primary-content .col-form-label {
    margin-bottom: 6px;
    color: #43544b;
    font-size: 13px;
    font-weight: 650;
}

#main-body .primary-content .form-control,
#main-body .primary-content .custom-select {
    min-height: 42px;
    border: 1px solid var(--ssl-line);
    border-radius: 8px;
    background-color: #fff;
    color: var(--ssl-ink);
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none;
}

#main-body .primary-content textarea.form-control {
    min-height: 120px;
}

#main-body .primary-content .form-control::placeholder {
    color: #929e97;
}

#main-body .primary-content .form-control:focus,
#main-body .primary-content .custom-select:focus {
    border-color: rgba(12, 157, 72, .72);
    box-shadow: 0 0 0 3px rgba(12, 157, 72, .11);
}

#main-body .primary-content .btn {
    min-height: 31px;
    border-radius: 7px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: none;
}

#main-body .primary-content .btn-primary,
#main-body .primary-content .btn-success {
    border-color: var(--ssl-green) !important;
    background: var(--ssl-green) !important;
}

#main-body .primary-content .btn-primary:hover,
#main-body .primary-content .btn-primary:focus,
#main-body .primary-content .btn-success:hover,
#main-body .primary-content .btn-success:focus {
    border-color: var(--ssl-green-hover) !important;
    background: var(--ssl-green-hover) !important;
}

#main-body .primary-content .btn-default,
#main-body .primary-content .btn-secondary,
#main-body .primary-content .btn-info {
    border-color: var(--ssl-line) !important;
    background: #f7faf8 !important;
    color: #365344 !important;
}

#main-body .primary-content .btn-default:hover,
#main-body .primary-content .btn-default:focus,
#main-body .primary-content .btn-secondary:hover,
#main-body .primary-content .btn-secondary:focus,
#main-body .primary-content .btn-info:hover,
#main-body .primary-content .btn-info:focus {
    border-color: rgba(0, 171, 0, .28) !important;
    background: var(--ssl-soft-green) !important;
    color: var(--ssl-green-deep) !important;
}

#main-body .primary-content .alert {
    border-width: 1px;
    border-radius: 9px;
    padding: 13px 16px;
    font-size: 13px;
}

#main-body .primary-content .alert-info {
    border-color: #cbdfe6;
    background: #f2f8fa;
    color: #315f6e;
}

#main-body .primary-content .alert-success {
    border-color: #cce8d4;
    background: #f1faf4;
    color: #17683a;
}

#main-body .primary-content .alert-warning {
    border-color: #eeddb3;
    background: #fffaf0;
    color: #795b18;
}

#main-body .primary-content .badge,
#main-body .primary-content .label {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
}

#main-body .primary-content .table-container,
#main-body .primary-content .dataTables_wrapper {
    width: 100%;
}

#main-body .primary-content .table-container {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ssl-line);
    border-radius: 12px;
    padding: 0;
    background: #dfe8e4;
    background-clip: padding-box;
    box-shadow: none;
}

#main-body .primary-content .ssl-table-page-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    border-bottom: 1px solid rgba(12, 157, 72, .18);
    padding: 12px 16px;
    background: linear-gradient(90deg, #eaf7ee 0%, #f6fbf8 100%);
}

#main-body .primary-content .ssl-table-page-header .ssl-card-title-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

#main-body .primary-content .ssl-table-page-header > i,
#main-body .primary-content .ssl-table-page-header .ssl-card-title-main > i {
    color: var(--ssl-green);
    font-size: 16px;
}

#main-body .primary-content .ssl-table-page-header h1 {
    margin: 0;
    color: var(--ssl-green-deep);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

#main-body .primary-content table.table-list,
#main-body .primary-content .dataTable {
    width: 100% !important;
    margin: 0 !important;
    border: 0;
    color: var(--ssl-ink);
    font-size: 14px;
    line-height: 1.5;
}

#main-body .primary-content table.table-list thead th,
#main-body .primary-content .dataTable thead th {
    border-top: 0;
    border-bottom: 1px solid var(--ssl-line);
    padding: 11px 12px;
    background: #fff;
    color: #68786f;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.5;
    text-transform: capitalize;
    white-space: nowrap;
}

#main-body .primary-content table.table-list tbody td,
#main-body .primary-content .dataTable tbody td {
    border-top: 1px solid rgba(24, 91, 64, .09);
    padding: 3px 12px;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
}

#main-body .primary-content table.table-list th,
#main-body .primary-content table.table-list td,
#main-body .primary-content .dataTable th,
#main-body .primary-content .dataTable td {
    text-align: left !important;
}

#main-body .primary-content table.table-list th:first-child,
#main-body .primary-content table.table-list td:first-child,
#main-body .primary-content .dataTable th:first-child,
#main-body .primary-content .dataTable td:first-child {
    padding-left: 40px;
}

.page-clientareaproducts #main-body table#tableServicesList th:first-child,
.page-clientareaproducts #main-body table#tableServicesList td:first-child {
    width: 0 !important;
    min-width: 0;
    max-width: 0;
    padding-right: 0;
    padding-left: 0;
    overflow: visible;
}

.page-clientareaproducts #main-body table#tableServicesList th:nth-child(2),
.page-clientareaproducts #main-body table#tableServicesList td:nth-child(2) {
    padding-left: 40px;
}

.page-clientareaemails #main-body table#tableEmailsList {
    table-layout: fixed;
}

.page-clientareaemails #main-body table#tableEmailsList .ssl-email-date-column,
.page-clientareaemails #main-body table#tableEmailsList th:first-child,
.page-clientareaemails #main-body table#tableEmailsList td:first-child {
    width: 32% !important;
}

.page-clientareaemails #main-body table#tableEmailsList .ssl-email-subject-column,
.page-clientareaemails #main-body table#tableEmailsList th:nth-child(2),
.page-clientareaemails #main-body table#tableEmailsList td:nth-child(2) {
    width: 68% !important;
}

#main-body .primary-content table.table-list tbody tr:hover,
#main-body .primary-content .dataTable tbody tr:hover {
    background: #f6fbf8;
}

#main-body .primary-content .dataTables_length,
#main-body .primary-content .dataTables_filter,
#main-body .primary-content .dataTables_info,
#main-body .primary-content .dataTables_paginate {
    color: var(--ssl-muted);
    font-size: 13px;
}

#main-body .primary-content .table-container .dataTables_info {
    display: none !important;
}

#main-body .primary-content .table-container .dataTables_filter {
    display: none;
}

.sidebar .ssl-table-search-card .dataTables_filter,
.sidebar .ssl-table-search-card .dataTables_filter label,
.sidebar .ssl-table-search-card .dataTables_filter input {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
}

.sidebar .ssl-table-search-card .card-body {
    padding: 12px;
}

.sidebar .ssl-table-search-card .form-control {
    min-height: 38px;
    border: 1px solid var(--ssl-line);
    border-radius: 7px;
    background: #fff;
    color: var(--ssl-ink);
    font-size: 13px;
}

.sidebar .ssl-table-search-card .form-control:focus {
    border-color: var(--ssl-green);
    box-shadow: 0 0 0 3px rgba(0, 171, 0, .12);
}

#main-body .primary-content table.table-list tfoot,
#main-body .primary-content .dataTable tfoot {
    border: 0;
}

#main-body .primary-content table.table-list tfoot td.ssl-table-footer-cell,
#main-body .primary-content .dataTable tfoot td.ssl-table-footer-cell {
    padding: 0 !important;
    border-top: 1px solid var(--ssl-line) !important;
    border-bottom: 0 !important;
    background: #fff;
}

#main-body .primary-content .ssl-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding: 6px 16px;
    gap: 12px;
    box-sizing: border-box;
}

#main-body .primary-content .ssl-table-footer .dataTables_length,
#main-body .primary-content .ssl-table-footer .dataTables_paginate {
    display: flex;
    float: none !important;
    align-items: center;
    margin: 0 !important;
    padding: 0;
    border: 0;
    min-height: auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

#main-body .primary-content .ssl-table-footer .dataTables_length {
    justify-content: flex-start;
}

#main-body .primary-content .ssl-table-footer .dataTables_paginate {
    justify-content: flex-end;
}

#main-body .primary-content .table-container .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    font-weight: inherit;
    line-height: 1.4;
}

#main-body .primary-content .table-container .dataTables_paginate .pagination {
    margin: 0;
}

#main-body .primary-content .table-container .dataTables_length select,
#main-body .primary-content .table-container .dataTables_paginate .page-link {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

#main-body .primary-content .dataTables_filter input {
    min-height: 36px;
    border: 1px solid var(--ssl-line);
    border-radius: 7px;
    background: #fff;
    color: var(--ssl-ink);
    font-size: 13px;
}

#main-body .primary-content .dataTables_length select {
    min-height: 24px !important;
    height: 24px !important;
    padding: 1px 6px !important;
    border: 1px solid var(--ssl-line);
    border-radius: 4px;
    background: #fff;
    color: var(--ssl-ink);
    font-size: 12px !important;
    line-height: 1.2;
}

#main-body .primary-content .pagination .page-link {
    min-width: auto;
    padding: 2px 8px;
    border-color: var(--ssl-line);
    color: #426050;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

#main-body .primary-content .pagination .active .page-link {
    border-color: rgba(12, 157, 72, .18);
    background: linear-gradient(90deg, #eaf7ee 0%, #f6fbf8 100%);
    color: var(--ssl-green-deep);
}

@media (max-width: 767.98px) {
    #main-body .primary-content .ssl-table-page-header {
        padding-right: 16px;
    }

    #main-body .primary-content .ssl-table-footer {
        flex-direction: column;
        justify-content: center;
        padding: 6px 16px;
        gap: 6px;
    }

    #main-body .primary-content .ssl-table-footer .dataTables_length,
    #main-body .primary-content .ssl-table-footer .dataTables_paginate {
        justify-content: center;
        width: 100%;
    }
}

.page-knowledgebase #main-body {
    padding-top: 32px;
}

.page-knowledgebase #main-body .ssl-page-heading {
    margin-bottom: 16px;
}

.page-knowledgebase #main-body .ssl-page-heading h1 {
    font-size: 28px;
}

.page-knowledgebase #main-body .primary-content > form[action="/knowledgebase/search"],
.page-knowledgebasecat #main-body .primary-content > form[action="/knowledgebase/search"],
.page-knowledgebasearticle #main-body .primary-content > form[action="/knowledgebase/search"] {
    display: none !important;
}

.page-knowledgebase #main-body .primary-content > .row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 16px;
}

.page-knowledgebase #main-body .primary-content > .row > [class*="col-"] {
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    padding: 0;
}

.page-knowledgebase #main-body .kb-category {
    width: max-content;
    min-width: 168px;
    margin: 0 !important;
}

.page-knowledgebase #main-body .kb-category .card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    gap: 16px;
    padding: 8px 12px;
}

.page-knowledgebase #main-body .kb-category .h5 {
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
}

.page-knowledgebase #main-body .kb-category p,
.page-knowledgebase #main-body .kb-category .text-muted {
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1.45;
}

.page-knowledgebase #main-body .kb-category .btn-sm {
    min-height: 24px;
    margin-left: 6px;
    padding: 3px 7px;
    font-size: 11px;
    line-height: 1.3;
}

.page-knowledgebase #main-body .primary-content > .card > .card-body {
    padding: 14px 16px;
}

.page-knowledgebase #main-body .primary-content > .card {
    margin-bottom: 16px;
}

[menuitemname="12SSL Knowledgebase Search"] .card-body {
    padding: 12px;
}

.ssl-kb-sidebar-search {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.ssl-kb-sidebar-search .form-control {
    min-width: 0;
    min-height: 38px;
    border-radius: 7px 0 0 7px;
    font-size: 13px;
}

.ssl-kb-sidebar-search .btn {
    min-width: 40px;
    min-height: 38px;
    border-radius: 0 7px 7px 0;
    padding: 7px 10px;
    font-size: 13px;
}

.page-knowledgebase #main-body .primary-content > .card > .card-body .card-title,
.page-knowledgebase #main-body .primary-content > .card > .card-body h3,
.page-knowledgebase #main-body .primary-content > .card > .card-body h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.page-knowledgebase #main-body .kb-article-item {
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 550;
    line-height: 1.5;
}

.page-knowledgebase #main-body .kb-article-item small {
    margin-top: 4px;
    color: var(--ssl-muted) !important;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.55;
}

.page-knowledgebase #main-body .kb-article-item .btn-sm {
    min-height: 28px;
    padding: 4px 9px;
    font-size: 12px;
    line-height: 1.35;
}

.page-knowledgebasecat #main-body .kb-article-item {
    padding: 18px 20px;
    color: #17683a;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
    transition: background-color .16s ease, color .16s ease;
}

.page-knowledgebasecat #main-body .kb-article-item:hover,
.page-knowledgebasecat #main-body .kb-article-item:focus {
    background: #f4faf6;
    color: var(--ssl-green-hover);
    text-decoration: none;
}

.page-knowledgebasecat #main-body .kb-article-item > i {
    margin-right: 6px;
    color: #7b8c82 !important;
    font-size: 15px;
}

.page-knowledgebasecat #main-body .kb-article-item small {
    display: block;
    overflow: hidden;
    margin: 7px 54px 0 25px;
    color: var(--ssl-muted) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-knowledgebasecat #main-body .kb-article-item .show-on-card-hover {
    margin-top: -3px;
}

.page-knowledgebasearticle #main-body .primary-content h1 {
    color: var(--ssl-green-deep);
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.page-knowledgebasearticle #main-body .primary-content > .card:first-of-type .btn,
.page-knowledgebasearticle #main-body .primary-content article + hr,
.page-knowledgebasearticle #main-body .primary-content article + hr + h4,
.page-knowledgebasearticle #main-body .primary-content article + hr + h4 + form,
.page-knowledgebasearticle #main-body .primary-content .list-inline-item:has(> .fa-thumbs-up) {
    display: none !important;
}

.page-knowledgebasearticle #main-body .primary-content .list-inline-item .fa-code::before {
    content: "\f02b";
}

.page-knowledgebasearticle #main-body .primary-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-user-security #main-body .primary-content > p {
    margin-bottom: 18px;
    color: var(--ssl-muted);
}

/* Public client portal homepage */
.ssl-portal-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    overflow: hidden;
    background: #002f22;
    color: #fff;
}

.ssl-portal-hero::after {
    position: absolute;
    right: -120px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 80px solid rgba(0, 204, 0, .1);
    border-radius: 50%;
    content: "";
}

.ssl-portal-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 76px 24px 80px;
}

.ssl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #7df27d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ssl-portal-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 750;
    line-height: 1.06;
    letter-spacing: -.035em;
}

.ssl-portal-hero p {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 18px;
    line-height: 1.7;
}

.ssl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ssl-hero-actions .btn {
    min-height: 44px;
    padding: 11px 20px;
}

.ssl-hero-actions .btn-outline-light:hover {
    color: var(--ssl-green-deep);
}

.ssl-home-section {
    padding: 64px 0 0;
}

.ssl-section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.ssl-section-heading h2 {
    margin: 0;
    color: var(--ssl-green-deep);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 720;
    letter-spacing: -.025em;
}

.ssl-section-heading p {
    margin: 10px 0 0;
    color: var(--ssl-muted);
    font-size: 16px;
    line-height: 1.7;
}

.ssl-product-grid,
.ssl-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ssl-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Domain and network-status UI is intentionally excluded from this portal. */
[menuitemname*="Domain"],
[href*="serverstatus.php"] {
    display: none !important;
}

.ssl-product-card,
.ssl-action-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    border: 1px solid var(--ssl-line);
    border-radius: var(--ssl-radius);
    padding: 26px;
    background: #fff;
    color: var(--ssl-ink);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ssl-product-card:hover,
.ssl-action-card:hover {
    border-color: rgba(0, 171, 0, .55);
    color: var(--ssl-ink);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: none;
}

.ssl-product-card h3,
.ssl-action-card h3 {
    margin: 14px 0 8px;
    color: var(--ssl-green-deep);
    font-size: 20px;
    font-weight: 700;
}

.ssl-product-card p,
.ssl-action-card p {
    margin: 0 0 22px;
    color: var(--ssl-muted);
    line-height: 1.65;
}

.ssl-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--ssl-soft-green);
    color: var(--ssl-green);
    font-size: 18px;
}

.ssl-card-link {
    margin-top: auto;
    color: var(--ssl-green);
    font-size: 14px;
    font-weight: 700;
}

/* Logged-in dashboard */
.ssl-dashboard-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.ssl-dashboard-intro h1 {
    margin: 0 0 6px;
    color: var(--ssl-green-deep);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.ssl-dashboard-intro p {
    margin: 0;
    color: var(--ssl-muted);
    font-size: 16px;
    line-height: 1.65;
}

.ssl-dashboard-tiles > .row {
    row-gap: 16px;
    margin-right: -8px;
    margin-left: -8px;
}

.ssl-dashboard-tiles > .row > [class*="col-"] {
    display: flex;
    padding-right: 8px;
    padding-left: 8px;
}

.tiles .tile {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 112px;
    border: 1px solid var(--ssl-line);
    border-radius: var(--ssl-radius);
    padding: 18px;
    background: #fff;
    color: var(--ssl-ink);
    box-shadow: none;
    text-align: left;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tiles.ssl-dashboard-tiles > .row > [class*="col-"] > .tile {
    border: 1px solid var(--ssl-line);
    border-radius: var(--ssl-radius);
}

.tiles .tile:hover {
    border-color: rgba(0, 171, 0, .32);
    background: var(--ssl-soft-green);
    box-shadow: none;
    transform: translateY(-2px);
}

.tiles .tile > i {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #a7aab4;
    font-size: 20px;
    transform: none;
    transition: none;
    animation: none;
}

.tiles .tile:hover > i {
    color: #a7aab4;
    font-size: 20px;
    transform: none;
}

.tiles .tile .stat {
    color: var(--ssl-green-deep);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.tiles .tile .title {
    margin-top: 8px;
    color: var(--ssl-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tiles .tile .highlight {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 3px;
    background: var(--ssl-green) !important;
}

.page-clientareahome .client-home-cards > .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.page-clientareahome .ssl-home-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.page-clientareahome #main-body .ssl-home-panel-grid > .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    margin: 0 !important;
}

.page-clientareahome .ssl-home-panel-grid > .card > .card-body,
.page-clientareahome .ssl-home-panel-grid > .card > .list-group {
    flex: 1 1 auto;
}

#main-body .card-header .card-title,
#main-body .panel-heading .panel-title {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 24px;
    line-height: 1.35;
}

#main-body .card-header .card-title > .float-right,
#main-body .panel-heading .panel-title > .float-right {
    float: none !important;
    align-self: center;
    margin-left: auto;
}

#main-body .ssl-card-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.page-clientareahome .ssl-card-title-main,
.page-clientareahome .ssl-card-title-action {
    display: flex;
    align-items: baseline;
}

.page-clientareahome .ssl-card-title-main {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    gap: 8px;
}

.page-clientareahome .ssl-card-title-action {
    flex: 0 0 auto;
    gap: 5px;
    padding: 0;
    color: var(--ssl-green-deep);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

.page-clientareahome .ssl-card-title-action:hover,
.page-clientareahome .ssl-card-title-action:focus {
    color: var(--ssl-green);
    text-decoration: underline;
}

.page-clientareahome [menuitemname="Active Products/Services"] {
    margin-bottom: 24px;
}

.page-clientareahome [menuitemname*="Domain"] + [menuitemname="Recent Support Tickets"] {
    margin-top: 0 !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"],
.page-clientareahome [menuitemname="Recent News"] {
    flex: 1 1 auto;
    width: 100%;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .card-body,
.page-clientareahome [menuitemname="Recent News"] .list-group {
    flex: 1 1 auto;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .list-group-item,
.page-clientareahome [menuitemname="Recent News"] .list-group-item {
    padding: 8px 16px !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .list-group-item,
.page-clientareahome [menuitemname="Recent Support Tickets"] .list-group-item *,
.page-clientareahome [menuitemname="Recent Support Tickets"] strong,
.page-clientareahome [menuitemname="Recent Support Tickets"] b,
.page-clientareahome [menuitemname="Recent Support Tickets"] .unread,
.page-clientareahome [menuitemname="Recent Support Tickets"] a {
    font-weight: 400 !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .card-body,
.page-clientareahome [menuitemname="Recent News"] .card-body {
    padding: 12px 16px !important;
}

.page-clientareahome .client-home-cards .card {
    font-size: 14px;
    line-height: 1.5;
}

.page-clientareahome .client-home-cards .list-group-item {
    font-size: 14px;
    line-height: 1.5;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] p,
.page-clientareahome [menuitemname="Recent News"] p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.5;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .list-group-item small {
    display: none;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] > .card-footer,
.page-clientareahome [menuitemname="Recent News"] > .card-footer {
    padding: 8px 16px !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] > .card-footer .btn-view-more {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.card-footer:empty {
    display: none !important;
}

.page-clientareahome .client-home-cards .card-body:has(> p:only-child) {
    padding: 12px 16px !important;
}

.page-clientareahome .client-home-cards .card-body > p:only-child {
    margin: 0;
    color: var(--ssl-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* WHMCS wraps the active-service summary in a padded body and a padded p. */
.page-clientareahome [menuitemname="Active Products/Services"] > .card-body {
    flex: 0 0 auto;
    padding: 0 !important;
}

.page-clientareahome [menuitemname="Active Products/Services"] > .card-body > p {
    margin: 0 !important;
    padding: 8px 16px !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .status,
.page-clientareahome [menuitemname="Recent Support Tickets"] [class*="status-"] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .status-open,
.page-clientareahome [menuitemname="Recent Support Tickets"] .status-active {
    border-color: #bfe6ca !important;
    background: #e8f7ed !important;
    color: #14743a !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .status-answered {
    border-color: #c8ddf8 !important;
    background: #edf5ff !important;
    color: #245ea8 !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .status-customer-reply,
.page-clientareahome [menuitemname="Recent Support Tickets"] .status-on-hold {
    border-color: #eed7a6 !important;
    background: #fff5df !important;
    color: #8a5c08 !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .status-in-progress {
    border-color: #d9cef4 !important;
    background: #f3effd !important;
    color: #65469a !important;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] .status-closed {
    border-color: #d8e0dc !important;
    background: #f1f4f2 !important;
    color: #526158 !important;
}

/* WHMCS home panels output ticket statuses as inline-coloured label elements. */
.page-clientareahome [menuitemname="Recent Support Tickets"] label.label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border: 1px solid #c8ddf8 !important;
    border-radius: 999px;
    padding: 3px 9px;
    background: #edf5ff !important;
    color: #245ea8 !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.page-clientareahome [menuitemname="Recent Support Tickets"] label.label[style*="#888888"] {
    border-color: #d8e0dc !important;
    background: #f1f4f2 !important;
    color: #526158 !important;
}

#servicesPanel .div-service-name,
#servicesPanel .div-service-name *,
#servicesPanel .div-service-name .font-weight-bold,
[menuitemname="Active Products/Services"] .div-service-name,
[menuitemname="Active Products/Services"] .div-service-name *,
[menuitemname="Active Products/Services"] .div-service-name .font-weight-bold,
.div-service-item .div-service-name,
.div-service-item .div-service-name *,
.div-service-item .div-service-name .font-weight-bold {
    font-weight: 400 !important;
}

.page-clientareahome [menuitemname="Recent News"] .list-group-item small {
    font-size: 13px;
    line-height: 1.55;
}

.sidebar .card-sidebar .card-body,
.sidebar .card-sidebar .list-group-item {
    font-size: 14px;
    line-height: 1.65;
}

/* WHMCS outputs a <br> for each client-detail field, including empty ones. */
.sidebar [menuitemname="Client Details"] .card-body br + br {
    display: none;
}

@media (max-width: 767.98px) {
    .page-clientareahome .ssl-home-panel-grid {
        grid-template-columns: 1fr;
    }
}

/* Product details: scoped visual system over the WHMCS and module markup. */

.ssl-product-page-heading {
    margin: 0 0 20px;
}

.ssl-product-page-heading span {
    display: block;
    margin-bottom: 4px;
    color: #66756d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ssl-product-page-heading h1 {
    margin: 0;
    color: var(--ssl-green-deep);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.page-clientareaproductdetails .primary-content > .tab-content {
    margin-bottom: 0;
}

.page-clientareaproductdetails #tabOverview > .card {
    overflow: hidden;
    border: 1px solid rgba(24, 91, 64, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.page-clientareaproductdetails #tabOverview > .card > .card-body {
    padding: 20px;
}

.page-clientareaproductdetails .product-details > .row {
    align-items: stretch;
}

.page-clientareaproductdetails .product-status {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    height: 100%;
    min-height: 270px;
    border: 1px solid #cce8d4;
    border-radius: 10px;
    background: #f1fbf4;
    color: var(--ssl-ink);
}

.page-clientareaproductdetails div.product-details div.product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-direction: column;
    margin: 0;
    border-radius: 0;
    padding: 34px 22px 28px;
    background: transparent;
    font-size: 48px;
    line-height: 1;
}

.page-clientareaproductdetails .product-icon .fa-stack {
    color: #10a64a;
}

.page-clientareaproductdetails .product-icon h3 {
    margin: 20px 0 4px;
    color: var(--ssl-green-deep);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.page-clientareaproductdetails .product-icon h4 {
    margin: 0;
    color: #66756d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.page-clientareaproductdetails .product-status-text {
    border-top: 1px solid #cce8d4;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .62);
    color: #14743a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
}

.page-clientareaproductdetails .product-status-pending {
    border-color: #f4d7a1;
    background: #fff9ed;
}

.page-clientareaproductdetails .product-status-suspended {
    border-color: #bfd7f3;
    background: #f1f7ff;
}

.page-clientareaproductdetails .product-status-cancelled,
.page-clientareaproductdetails .product-status-terminated {
    border-color: #d9dde3;
    background: #f6f7f8;
}

.page-clientareaproductdetails .product-status-fraud {
    border-color: #f0c6c3;
    background: #fff4f3;
}

.page-clientareaproductdetails .product-details > .row > .col-md-6.text-center {
    border: 1px solid rgba(24, 91, 64, .12);
    border-radius: 10px;
    padding: 20px 24px;
    background: #fcfdfc;
    color: #24342d;
    font-size: 15px;
    line-height: 1.5;
    text-align: left !important;
}

.page-clientareaproductdetails .product-details > .row > .col-md-6.text-center h4 {
    margin: 14px 0 2px;
    color: #718078;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-clientareaproductdetails .product-details > .row > .col-md-6.text-center h4:first-child {
    margin-top: 0;
}

.page-clientareaproductdetails .responsive-tabs-sm {
    gap: 4px;
    margin-top: 24px;
    border-bottom: 1px solid rgba(24, 91, 64, .14);
}

.page-clientareaproductdetails .responsive-tabs-sm .nav-item a {
    margin: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 8px 8px 0 0;
    padding: 11px 14px;
    background: transparent;
    color: #66756d;
    font-size: 14px;
    font-weight: 600;
}

.page-clientareaproductdetails .responsive-tabs-sm .nav-item a:hover,
.page-clientareaproductdetails .responsive-tabs-sm .nav-item a:focus {
    border-bottom-color: #b8dec4;
    background: #f1f8f3;
    color: #17683a;
}

.page-clientareaproductdetails .responsive-tabs-sm .nav-item a.active {
    border-bottom-color: #10a64a;
    background: #edf8f0;
    color: var(--ssl-green-deep);
}

.page-clientareaproductdetails div.product-details-tab-container {
    margin: 0;
    border: 1px solid rgba(24, 91, 64, .14);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    padding: 24px;
    background: #fff;
    box-shadow: none;
    color: #29372f;
    font-size: 14px;
}

.page-clientareaproductdetails .product-details-tab-container > .tab-pane > .row {
    align-items: center;
    margin: 0;
    border-bottom: 1px solid #edf1ee;
    padding: 9px 0;
}

.page-clientareaproductdetails .product-details-tab-container > .tab-pane > .row .col-sm-5 {
    color: #66756d;
    font-size: 13px;
}

.page-clientareaproductdetails .product-details-tab-container > .tab-pane > .row .col-sm-7 {
    color: #24342d;
    font-size: 14px;
}

.page-clientareaproductdetails .module-client-area {
    margin-top: 24px;
    font-family: var(--ssl-font-sans);
    text-align: left;
}

.page-clientareaproductdetails #mainTable {
    overflow: hidden;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(24, 91, 64, .14);
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    background: #fff;
    color: #29372f;
    font-size: 14px;
}

.page-clientareaproductdetails #mainTable > tbody > tr > td {
    border: 0;
    border-bottom: 1px solid #e8eeea;
    padding: 11px 13px;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.page-clientareaproductdetails #mainTable > tbody > tr:last-child > td {
    border-bottom: 0;
}

.page-clientareaproductdetails #mainTable > tbody > tr > td:first-child {
    background: #f7faf8;
    color: #5f7067;
    font-size: 13px;
    font-weight: 600;
}

.page-clientareaproductdetails #mainTable .table-condensed {
    margin: 0;
    color: #34443b;
    font-size: 13px;
}

.page-clientareaproductdetails #mainTable .table-condensed th {
    border-top: 0;
    color: #5f7067;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-clientareaproductdetails #mainTable code {
    display: inline-block;
    max-width: 100%;
    border: 1px solid #dbe8df;
    border-radius: 6px;
    padding: 5px 7px;
    background: #f4f8f5;
    color: #175c3c;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.page-clientareaproductdetails .primary-content .label,
.page-clientareaproductdetails .primary-content .badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.page-clientareaproductdetails .primary-content .label-success,
.page-clientareaproductdetails .primary-content .badge-success {
    background: #e8f7ec;
    color: #13743a;
}

.page-clientareaproductdetails .primary-content .label-info,
.page-clientareaproductdetails .primary-content .badge-info {
    background: #edf5ff;
    color: #245ea8;
}

.page-clientareaproductdetails .primary-content .label-default,
.page-clientareaproductdetails .primary-content .badge-secondary {
    background: #eef1f0;
    color: #526158;
}

.page-clientareaproductdetails .primary-content .btn {
    border-radius: 7px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.page-clientareaproductdetails .primary-content .btn-xs {
    min-height: 0;
    padding: 3px 8px;
    font-size: 12px;
}

.page-clientareaproductdetails .primary-content .btn-primary {
    border-color: #0c9d48 !important;
    background: #0c9d48 !important;
}

.page-clientareaproductdetails .primary-content .btn-default {
    border-color: #cfd9d3;
    background: #fff;
    color: #34443b;
}

.page-clientareaproductdetails .primary-content .btn-default:hover,
.page-clientareaproductdetails .primary-content .btn-default:focus {
    border-color: #9bc7aa;
    background: #f1f8f3;
    color: #17683a;
}

.page-clientareaproductdetails .primary-content .btn-danger {
    border-color: #efc7c3;
    background: #fff5f4;
    color: #b42318;
}

.page-clientareaproductdetails .primary-content .btn-danger:hover,
.page-clientareaproductdetails .primary-content .btn-danger:focus {
    border-color: #d92d20;
    background: #d92d20;
    color: #fff;
}

@media (max-width: 767.98px) {
    .ssl-product-page-heading h1 {
        font-size: 26px;
    }

    .page-clientareaproductdetails .product-details > .row > .col-md-6 + .col-md-6 {
        margin-top: 16px;
    }

    .page-clientareaproductdetails .product-details-tab-container > .tab-pane > .row .col-sm-5,
    .page-clientareaproductdetails .product-details-tab-container > .tab-pane > .row .col-sm-7 {
        text-align: left !important;
    }

    .page-clientareaproductdetails div.product-details-tab-container {
        padding: 18px;
    }

    .page-clientareaproductdetails #mainTable > tbody > tr > td {
        padding: 10px;
    }

    .page-knowledgebase #main-body .primary-content > .row {
        gap: 10px;
    }

    .page-knowledgebase #main-body .primary-content > .row > [class*="col-"],
    .page-knowledgebase #main-body .kb-category {
        width: 100%;
    }
}

/* Footer */
.ssl-site-footer {
    border-top: 0;
    background: linear-gradient(135deg, #f5f7f8 0%, #fafafa 52%, #f2f4f6 100%);
    color: var(--ssl-muted);
}

.ssl-footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.05fr) repeat(3, minmax(0, .95fr));
    column-gap: 48px;
    row-gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 0 34px;
}

.ssl-footer-payments {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.ssl-payment-icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 7px;
}

.ssl-payment-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 34px;
    border: 1px solid rgba(0, 51, 36, .12);
    border-radius: 6px;
    background: #fff;
    color: var(--ssl-green-deep);
    box-shadow: none;
    pointer-events: none;
    user-select: none;
}

.ssl-payment-logo:hover {
    transform: none;
    box-shadow: none;
}

.ssl-payment-logo img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.ssl-payment-logo.card img,
.ssl-payment-logo.paypal img,
.ssl-payment-logo.alipay img,
.ssl-payment-logo.bank img,
.ssl-payment-logo.bankwire img {
    width: 22px;
    height: 22px;
}

.ssl-footer-copy {
    margin: 0;
    color: var(--ssl-muted);
    font-size: 13px;
}

.ssl-footer-group h2 {
    margin: 0 0 14px;
    color: var(--ssl-green-deep);
    font-size: 14px;
    font-weight: 700;
}

.ssl-footer-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ssl-footer-group li + li {
    margin-top: 9px;
}

.ssl-footer-group a {
    color: var(--ssl-muted);
    font-size: 13px;
}

.ssl-footer-group a:hover {
    color: var(--ssl-green);
}

/* Footer Language Menu */
.footer-language-item {
    position: relative;
    margin-top: 10px;
}

.footer-language-menu {
    position: relative;
    list-style: none;
}

.footer-language-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ssl-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    list-style: none;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
}

.footer-language-trigger::-webkit-details-marker {
    display: none;
}

.footer-language-trigger:hover,
.footer-language-menu[open] .footer-language-trigger {
    color: var(--ssl-green);
}

.footer-language-globe {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-language-label {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.footer-language-arrow {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.footer-language-menu[open] .footer-language-arrow {
    transform: rotate(180deg);
}

.footer-language-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    width: max-content;
    min-width: 140px;
    border: 1px solid rgba(60, 60, 67, .12);
    border-radius: 8px;
    padding: 6px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(0, 51, 36, .14), 0 2px 6px rgba(0, 0, 0, .04);
    z-index: 100;
}

.footer-language-dropdown .ssl-language-option {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--ssl-ink);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.footer-language-dropdown .ssl-language-option:hover {
    background: #f3f4f6;
    color: var(--ssl-ink);
    text-decoration: none !important;
}

.footer-language-dropdown .ssl-language-option.active {
    font-weight: 600;
    color: var(--ssl-green-deep);
}

.footer-language-dropdown .ssl-language-option.active:hover {
    background: rgba(0, 171, 0, 0.08);
    color: var(--ssl-green-deep);
}

.footer-language-dropdown .ssl-language-check {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-left: 10px;
    fill: none;
    stroke: var(--ssl-green);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 991.98px) {
    .ssl-main-nav {
        padding: 0 16px;
    }

    .ssl-main-nav .navbar-collapse {
        margin: 0 -16px;
        border-top: 1px solid var(--ssl-line);
        padding: 12px 16px 20px;
        background: #fff;
    }

    .ssl-main-nav .navbar-nav > .nav-item > .nav-link {
        padding: 10px 6px;
    }

    .ssl-main-nav #sslPrimaryNav > .ssl-login-item > .ssl-login-link {
        width: max-content;
        margin: 6px 0;
        padding: 7px 18px !important;
        min-height: 34px !important;
    }

    .ssl-account-menu {
        width: 100%;
        max-height: none;
        border: 0;
        box-shadow: none;
    }

    .ssl-main-nav #sslPrimaryNav > .my-account {
        margin-left: 0;
        border-top: 1px solid var(--ssl-line);
        margin-top: 8px;
        padding-top: 8px;
    }

    .ssl-main-nav #sslPrimaryNav > .my-account > .ssl-my-account-toggle {
        padding: 8px 6px;
    }

    .ssl-main-nav #sslPrimaryNav > .my-account .ssl-my-account-avatar {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .ssl-main-nav #sslPrimaryNav > .my-account .ssl-my-account-avatar i {
        font-size: 20px;
    }

    .ssl-nav-actions {
        margin: 12px 0 0;
    }

    .ssl-product-grid,
    .ssl-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ssl-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 575.98px) {
    #main-body {
        padding: 28px 0 48px;
    }

    .tiles .tile {
        min-height: 112px;
        padding: 20px;
    }

    .tiles .tile > i {
        top: 20px;
        right: 20px;
    }

    .ssl-portal-hero-inner {
        padding: 58px 20px 64px;
    }

    .ssl-portal-hero h1 {
        font-size: 39px;
    }

    .ssl-portal-hero p {
        font-size: 16px;
    }

    .ssl-home-section {
        padding-top: 46px;
    }

    .ssl-product-grid,
    .ssl-action-grid {
        grid-template-columns: 1fr;
    }

    .ssl-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 24px 30px;
    }

    .ssl-product-card,
    .ssl-action-card {
        min-height: 0;
    }

    .ssl-dashboard-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-knowledgebasecat #main-body .kb-article-item {
        padding: 16px;
        font-size: 16px;
    }

    .page-knowledgebasecat #main-body .kb-article-item small {
        margin-right: 0;
        margin-left: 24px;
        white-space: normal;
    }

}

/* Unified 12SSL module-heading component: page, card, panel and sidebar titles. */
#main-body .ssl-module-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 18px;
    border: 1px solid rgba(12, 157, 72, .18);
    border-radius: var(--ssl-radius);
    padding: 12px 16px;
    background: linear-gradient(90deg, #eaf7ee 0%, #f6fbf8 100%);
}

#main-body .ssl-module-heading-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    margin: 0 !important;
    color: var(--ssl-green) !important;
    font-size: 16px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
}

#main-body .ssl-module-heading-copy {
    min-width: 0;
}

#main-body .ssl-module-heading h1 {
    margin: 0;
    color: var(--ssl-green-deep);
    font-size: 16px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.35;
}

.page-clientareaproductdetails #main-body .ssl-product-main-card {
    overflow: hidden;
    border: 1px solid var(--ssl-line);
    border-radius: var(--ssl-radius);
    background: #fff;
}

.page-clientareaproductdetails #main-body .ssl-product-main-card > .ssl-product-page-heading {
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--ssl-line);
    border-radius: 0;
    padding: 12px 16px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-clientareaproductdetails #main-body .ssl-product-main-card > .tab-content {
    margin: 0;
    padding: 18px 20px;
    background: #fff;
}

.page-clientareaproductdetails #main-body .ssl-product-main-card > .tab-content:has(#sslContent),
.page-clientareaproductdetails #main-body .ssl-product-main-card > .tab-content:has(.ssl-pending-view),
.page-clientareaproductdetails #main-body .ssl-product-main-card > .tab-content:has(.ssl-top-actions),
.page-clientareaproductdetails #main-body .ssl-product-main-card > .tab-content:has(#orderInfoPart),
.page-clientareaproductdetails #main-body .ssl-product-main-card > .tab-content:has(#csrPart),
.page-clientareaproductdetails #main-body .ssl-product-main-card > .tab-content:has(.main-content) {
    padding: 0 !important;
}

.page-clientareaproductdetails #main-body .ssl-product-main-card #tabOverview > .card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.page-clientareaproductdetails #main-body .ssl-product-main-card #tabOverview > .card > .card-body {
    padding: 0;
}

#main-body .card > .card-header,
#main-body .panel > .panel-heading {
    border-bottom-color: rgba(12, 157, 72, .18);
    padding: 12px 16px;
    background: linear-gradient(90deg, #eaf7ee 0%, #f6fbf8 100%);
}

#main-body .card > .card-header .card-title,
#main-body .panel > .panel-heading .panel-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-height: 0;
    margin: 0;
    color: var(--ssl-green-deep);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

#main-body .card > .card-header i,
#main-body .panel > .panel-heading i {
    color: var(--ssl-green);
}

#main-body .primary-content .card > .card-body > .card-title:first-child {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: -20px -20px 18px !important;
    border-bottom: 1px solid rgba(12, 157, 72, .18);
    padding: 12px 16px;
    background: linear-gradient(90deg, #eaf7ee 0%, #f6fbf8 100%);
    color: var(--ssl-green-deep);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

#main-body .primary-content .card > .card-body > .card-title:first-child::before,
#main-body .primary-content > h1:first-child::before,
#main-body .primary-content > h2:first-child::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border: 2px solid var(--ssl-green);
    border-radius: 50%;
    background: transparent;
    align-self: center;
    flex: 0 0 8px;
    margin: 0;
}

#main-body .primary-content > h1:first-child,
#main-body .primary-content > h2:first-child {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 18px;
    border: 1px solid rgba(12, 157, 72, .18);
    border-radius: var(--ssl-radius);
    padding: 12px 16px;
    background: linear-gradient(90deg, #eaf7ee 0%, #f6fbf8 100%);
    color: var(--ssl-green-deep);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Support Tickets List: Left sidebar only retains View card, suppress search card */
.page-supportticketslist .ssl-table-search-card,
.page-supportticketslist .sidebar .ssl-table-search-card {
    display: none !important;
}

/* Support Tickets List: Align with services table style, remove vertical dividing lines */
#tableTicketsList th,
#tableTicketsList td {
    border-left: 0 !important;
    border-right: 0 !important;
}

.page-supportticketslist #main-body table#tableTicketsList a.border-left,
.page-supporttickets #main-body table#tableTicketsList a.border-left,
#main-body table#tableTicketsList a.border-left {
    border-left: 0 !important;
    padding-left: 0 !important;
}

#main-body table#tableTicketsList tbody tr {
    cursor: pointer;
}

#main-body table#tableTicketsList .ticket-number {
    display: inline-block;
    color: var(--ssl-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    margin-right: 4px;
}

#main-body table#tableTicketsList .ticket-subject {
    color: var(--ssl-ink);
    font-weight: 400;
}

#main-body table#tableTicketsList .ticket-subject.unread {
    color: var(--ssl-green-deep);
    font-weight: 400;
}

#main-body table#tableTicketsList tr:hover .ticket-subject {
    color: var(--ssl-green);
}

/* Status label styles matching clientarea Recent Tickets */
#main-body table#tableTicketsList .label.status,
#main-body table#tableTicketsList .label,
#main-body table#tableTicketsList .status,
#main-body table#tableTicketsList [class*="status-"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    min-height: 24px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    padding: 3px 9px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: left !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

#main-body table#tableTicketsList .status-open,
#main-body table#tableTicketsList .status-active,
#main-body table#tableTicketsList [class*="open" i],
#main-body table#tableTicketsList [data-status="open"],
#main-body table#tableTicketsList [data-status="开启"],
#main-body table#tableTicketsList [data-status="打开"] {
    border-color: #bfe6ca !important;
    background: #e8f7ed !important;
    background-color: #e8f7ed !important;
    color: #14743a !important;
}

#main-body table#tableTicketsList .status-answered,
#main-body table#tableTicketsList [class*="answered" i],
#main-body table#tableTicketsList [data-status="answered"],
#main-body table#tableTicketsList [data-status="已回复"] {
    border-color: #c8ddf8 !important;
    background: #edf5ff !important;
    background-color: #edf5ff !important;
    color: #245ea8 !important;
}

#main-body table#tableTicketsList .status-customer-reply,
#main-body table#tableTicketsList .status-customerreply,
#main-body table#tableTicketsList [class*="customer" i],
#main-body table#tableTicketsList [data-status="customer-reply"],
#main-body table#tableTicketsList [data-status="客户回复"],
#main-body table#tableTicketsList .status-on-hold,
#main-body table#tableTicketsList .status-onhold,
#main-body table#tableTicketsList [class*="hold" i],
#main-body table#tableTicketsList [data-status="on hold"],
#main-body table#tableTicketsList [data-status="暂停"] {
    border-color: #eed7a6 !important;
    background: #fff5df !important;
    background-color: #fff5df !important;
    color: #8a5c08 !important;
}

#main-body table#tableTicketsList .status-in-progress,
#main-body table#tableTicketsList .status-inprogress,
#main-body table#tableTicketsList [class*="progress" i],
#main-body table#tableTicketsList [data-status="in progress"],
#main-body table#tableTicketsList [data-status="处理中"] {
    border-color: #d9cef4 !important;
    background: #f3effd !important;
    background-color: #f3effd !important;
    color: #65469a !important;
}

#main-body table#tableTicketsList .status-closed,
#main-body table#tableTicketsList [class*="closed" i],
#main-body table#tableTicketsList [data-status="closed"],
#main-body table#tableTicketsList [data-status="已关闭"] {
    border-color: #d8e0dc !important;
    background: #f1f4f2 !important;
    background-color: #f1f4f2 !important;
    color: #526158 !important;
}
/* Support Tickets List: Table itself uses square corners (no border-radius), container keeps card radius */
#main-body table#tableTicketsList,
#main-body table#tableTicketsList thead th,
#main-body table#tableTicketsList tbody td,
#main-body table#tableTicketsList tbody tr,
#main-body table#tableTicketsList tfoot td {
    border-radius: 0 !important;
}

/* Support Tickets List: All content left-aligned, vertically centered, adaptive column widths */
#main-body table#tableTicketsList {
    table-layout: auto !important;
    width: 100% !important;
}

#main-body table#tableTicketsList th,
#main-body table#tableTicketsList td {
    text-align: left !important;
    vertical-align: middle !important;
}

#main-body table#tableTicketsList thead th {
    padding: 11px 12px !important;
}

#main-body table#tableTicketsList tbody td {
    padding: 3px 12px !important;
}

#main-body table#tableTicketsList th:first-child,
#main-body table#tableTicketsList td:first-child {
    padding-left: 16px !important;
}

#main-body table#tableTicketsList th:last-child,
#main-body table#tableTicketsList td:last-child {
    padding-right: 16px !important;
}

#main-body table#tableTicketsList th:nth-child(1),
#main-body table#tableTicketsList td:nth-child(1) {
    width: 60% !important;
    text-align: left !important;
}

#main-body table#tableTicketsList th:nth-child(2),
#main-body table#tableTicketsList td:nth-child(2) {
    width: 20% !important;
    text-align: left !important;
}

#main-body table#tableTicketsList th:nth-child(3),
#main-body table#tableTicketsList td:nth-child(3) {
    width: 20% !important;
    text-align: left !important;
}

/* Support Tickets List: Clean suppression of redundant search and info elements */
#tableTicketsList_filter,
#tableTicketsList_info {
    display: none !important;
}

/* Invoice view: use the regular 12SSL page frame while keeping the document compact. */
.page-viewinvoice #main-body {
    padding-top: 28px;
}

.page-viewinvoice .primary-content {
    max-width: 100%;
}

.ssl-invoice-card {
    display: flow-root;
    overflow: hidden;
    border: 1px solid var(--ssl-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ssl-ink);
}

.ssl-invoice-card .invoice-header {
    align-items: center;
    margin: 0;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ssl-line);
    background: #f8faf9;
}

.ssl-invoice-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ssl-invoice-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: var(--ssl-soft-green);
    color: var(--ssl-green);
    font-size: 15px;
}

.ssl-invoice-title h1 {
    margin: 0;
    color: var(--ssl-green-deep);
    font-size: 22px;
    font-weight: 680;
    letter-spacing: -.015em;
    line-height: 1.3;
}

.ssl-invoice-card .invoice-status > span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 680;
    line-height: 1.3;
}

.ssl-invoice-card .invoice-status .paid {
    border-color: #bfe6ca;
    background: #e8f7ed;
    color: #14743a;
}

.ssl-invoice-card .invoice-status .unpaid,
.ssl-invoice-card .invoice-status .payment-pending {
    border-color: #eed7a6;
    background: #fff5df;
    color: #8a5c08;
}

.ssl-invoice-card .invoice-status .draft,
.ssl-invoice-card .invoice-status .cancelled,
.ssl-invoice-card .invoice-status .collections {
    border-color: #d8e0dc;
    background: #f1f4f2;
    color: #526158;
}

.ssl-invoice-card .invoice-status .refunded {
    border-color: #c8ddf8;
    background: #edf5ff;
    color: #245ea8;
}

.ssl-invoice-card .invoice-header .small-text {
    margin-top: 5px;
    color: var(--ssl-muted);
    font-size: 13px;
}

.ssl-invoice-card .payment-btn-container {
    margin-top: 9px;
}

.ssl-invoice-card .payment-btn-container .btn {
    min-height: 33px;
    padding: 5px 14px;
    font-size: 14px;
}

.ssl-invoice-card > .row:not(.invoice-header),
.ssl-invoice-card > .row.justify-content-sm-between {
    margin: 0;
    padding: 18px 22px 0 67px;
}

.ssl-invoice-card > .row:not(.invoice-header) + .row,
.ssl-invoice-card > .row.justify-content-sm-between + .row {
    padding-top: 2px;
    padding-bottom: 8px;
    padding-left: 67px;
    padding-right: 22px;
}

.ssl-invoice-card .invoice-col {
    padding-right: 0;
    padding-left: 0;
}

.ssl-invoice-card .invoice-col > strong {
    color: var(--ssl-green-deep);
    font-size: 14px;
    font-weight: 680;
}

.ssl-invoice-card address,
.ssl-invoice-card .small-text {
    color: var(--ssl-muted);
    font-size: 14px;
    line-height: 1.65;
}

.ssl-invoice-card address {
    margin: 4px 0 0;
}

.ssl-invoice-card [data-role="paymethod-info"] {
    display: inline-block;
    margin-top: 5px;
}

.ssl-invoice-card [data-role="paymethod-info"] .form-inline {
    justify-content: flex-end;
}

.ssl-invoice-card .custom-select {
    min-height: 36px !important;
    border-color: var(--ssl-line);
    border-radius: 7px;
    font-size: 14px;
}

.ssl-invoice-card > br {
    display: none;
}

.ssl-invoice-card > .card,
.ssl-invoice-card > .panel {
    overflow: visible !important;
    margin: 16px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.ssl-invoice-card > .card > .card-header,
.ssl-invoice-card > .panel > .panel-heading {
    padding: 12px 22px 12px 67px !important;
    border: 0 !important;
    border-top: 1px solid var(--ssl-line) !important;
    border-bottom: 1px solid var(--ssl-line) !important;
    background: #fff !important;
}

.ssl-invoice-card > .card .card-title,
.ssl-invoice-card > .panel .panel-title {
    margin: 0 !important;
    color: var(--ssl-ink) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.ssl-invoice-card .table-responsive {
    overflow-x: auto;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ssl-line) !important;
}

.ssl-invoice-card table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    color: var(--ssl-ink);
    font-size: 14px;
}

.ssl-invoice-card table thead td,
.ssl-invoice-card table thead th {
    border-top: 0 !important;
    border-bottom: 1px solid var(--ssl-line) !important;
    background: var(--ssl-soft) !important;
    color: var(--ssl-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    padding: 10px 12px !important;
}

.ssl-invoice-card table td,
.ssl-invoice-card table th {
    padding: 10px 12px !important;
    border-top: 1px solid var(--ssl-line) !important;
    border-bottom: 0 !important;
    border-color: var(--ssl-line) !important;
    vertical-align: middle !important;
}

.ssl-invoice-card table td:first-child,
.ssl-invoice-card table th:first-child {
    padding-left: 67px !important;
}

.ssl-invoice-card table td:last-child,
.ssl-invoice-card table th:last-child {
    padding-right: 22px !important;
}

.ssl-invoice-card table .total-row {
    background: #fbfcfb !important;
}

.ssl-invoice-card .transactions-container {
    margin: 18px 0 0 !important;
    border-top: 1px solid var(--ssl-line) !important;
}

.ssl-invoice-card > .btn-group,
.ssl-invoice-card .ssl-invoice-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 16px 22px 20px !important;
}

.ssl-invoice-card > .btn-group > .btn,
.ssl-invoice-card .ssl-invoice-actions > .btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    height: 32px !important;
    padding: 0 12px !important;
    border: 1px solid var(--ssl-line) !important;
    background: #fff !important;
    color: var(--ssl-ink) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.15s ease !important;
}

.ssl-invoice-card > .btn-group > .btn:hover,
.ssl-invoice-card .ssl-invoice-actions > .btn:hover {
    background: var(--ssl-soft) !important;
    border-color: #b0b8c0 !important;
    color: var(--ssl-green-deep) !important;
}

.page-viewinvoice .primary-content > .d-print-none.text-center {
    margin: 14px 0 0;
    font-size: 14px;
}

.page-viewinvoice #fullpage-overlay {
    z-index: 2000;
}

@media (max-width: 575.98px) {
    .ssl-invoice-card .invoice-header {
        padding-right: 16px;
        padding-left: 16px;
    }

    .ssl-invoice-card > .row:not(.invoice-header),
    .ssl-invoice-card > .row.justify-content-sm-between {
        padding: 18px 16px 0 61px !important;
    }

    .ssl-invoice-card > .row:not(.invoice-header) + .row,
    .ssl-invoice-card > .row.justify-content-sm-between + .row {
        padding: 2px 16px 8px 61px !important;
    }

    .ssl-invoice-card .invoice-header .invoice-col:last-child {
        margin-top: 14px;
    }

    .ssl-invoice-card > .row:not(.invoice-header) .invoice-col + .invoice-col,
    .ssl-invoice-card > .row.justify-content-sm-between .invoice-col + .invoice-col {
        margin-top: 16px;
    }

    .ssl-invoice-card > .card,
    .ssl-invoice-card > .panel,
    .ssl-invoice-card .transactions-container {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .ssl-invoice-card > .card > .card-header,
    .ssl-invoice-card > .panel > .panel-heading {
        padding-right: 16px !important;
        padding-left: 61px !important;
    }

    .ssl-invoice-card table td:first-child,
    .ssl-invoice-card table th:first-child {
        padding-left: 61px !important;
    }

    .ssl-invoice-card table td:last-child,
    .ssl-invoice-card table th:last-child {
        padding-right: 16px !important;
    }

    .ssl-invoice-card [data-role="paymethod-info"] .form-inline {
        justify-content: flex-start;
    }

    .ssl-invoice-card > .btn-group,
    .ssl-invoice-card .ssl-invoice-actions {
        margin: 16px 16px 20px !important;
    }
}

@media print {
    .page-viewinvoice .ssl-site-header,
    .page-viewinvoice .master-breadcrumb,
    .page-viewinvoice .ssl-site-footer,
    .page-viewinvoice .ssl-admin-return,
    .page-viewinvoice .ssl-skip-link {
        display: none !important;
    }

    .page-viewinvoice #main-body {
        min-height: 0;
        padding: 0;
    }

    .page-viewinvoice .container {
        width: 100%;
        max-width: none;
    }

    .ssl-invoice-card {
        border: 0;
        border-radius: 0;
    }
}

.sidebar .card[menuItemName="Already Registered"],
.sidebar .card[menuitemname="Already Registered"] {
    --ssl-card-text-inset: 40px !important;
}

.sidebar .card[menuItemName="Already Registered"] .card-minimise,
.sidebar .card[menuitemname="Already Registered"] .card-minimise {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
