/* ==========================================================
   StarHost Design System
   File: starhost.css
   Version: 2.0.0
   Purpose:
   StarHost WHMCS Theme Foundation
   Header / Footer / Dashboard / Global UI
   ========================================================== */


/* ==========================================================
   SECTION: DESIGN TOKENS
   ========================================================== */

:root {

    --sh-primary: #0F4C81;
    --sh-secondary: #1F8A70;
    --sh-accent: #39A2DB;

    --sh-success: #16A34A;
    --sh-warning: #F59E0B;
    --sh-danger: #DC2626;

    --sh-bg: #F8FAFC;
    --sh-surface: #FFFFFF;

    --sh-text: #1E293B;
    --sh-text-light: #64748B;

    --sh-border: #E2E8F0;

    --sh-radius-sm: 8px;
    --sh-radius-md: 12px;
    --sh-radius-lg: 16px;

    --sh-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --sh-shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --sh-shadow-lg: 0 10px 25px rgba(0,0,0,.10);

    --sh-space-1: 4px;
    --sh-space-2: 8px;
    --sh-space-3: 16px;
    --sh-space-4: 24px;
    --sh-space-5: 32px;
    --sh-space-6: 48px;
}


/* ==========================================================
   SECTION: GLOBAL FOUNDATION
   ========================================================== */

body {

    background: var(--sh-bg);
    color: var(--sh-text);

}

a {

    color: var(--sh-primary);

}

a:hover {

    color: var(--sh-accent);

}




/* ==========================================================
   SECTION: STARHOST COMMERCIAL HEADER
   Version: 2.1.0
   Phase: H1
   ----------------------------------------------------------
   Architecture:
   - Custom StarHost header.tpl structure
   - Original WHMCS navbar.tpl behavior
   - Scoped Bootstrap-compatible dropdowns
   - Desktop and mobile layouts
   ========================================================== */


/* ==========================================================
   HEADER FOUNDATION
   ========================================================== */

header.header {

    position: relative;
    z-index: 1000;
    background: var(--sh-surface);

}

.sh-main-header {

    position: relative;
    background: var(--sh-surface);
    border-bottom: 1px solid var(--sh-border);
    box-shadow: 0 8px 28px rgba(15, 76, 129, .06);

}

.sh-main-header > .container {

    width: 100%;
    max-width: 1380px;

}


/* ==========================================================
   DESKTOP HEADER LAYOUT
   Logo | Navigation | Search and Cart
   ========================================================== */

.sh-header-inner {

    min-height: 78px;

    display: flex;
    align-items: center;

    gap: 24px;

    direction: rtl;

}


/* ==========================================================
   BRAND / LOGO
   ========================================================== */

.sh-header-brand {

    flex: 0 0 auto;

    display: flex;
    align-items: center;

}

.sh-header-logo {

    display: inline-flex;
    align-items: center;

    margin: 0;

    text-decoration: none;

}

.sh-header-logo:hover {

    text-decoration: none;

}

.sh-header-logo img {

    display: block;

    width: auto;
    max-width: 170px;
    max-height: 52px;

}


/* ==========================================================
   NAVIGATION CONTAINER
   ========================================================== */

.sh-header-nav {

    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    align-items: center;

    direction: rtl;

}


/*
   Bootstrap adds display:none to .collapse when it is closed.
   On desktop the navigation must always remain visible.
*/

@media (min-width: 1200px) {

    .sh-header-nav.collapse {

        display: flex !important;

        height: auto !important;
        visibility: visible !important;

    }

}


/* ==========================================================
   PRIMARY AND SECONDARY NAVIGATION LISTS
   ========================================================== */

.sh-main-header .sh-primary-nav,
.sh-main-header .sh-secondary-nav {

    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 2px;

    margin: 0 !important;
    padding: 0;

    list-style: none;

}

.sh-main-header .sh-primary-nav {

    flex: 0 1 auto;

}

.sh-main-header .sh-secondary-nav {

    flex: 0 0 auto;

    margin-right: 10px !important;

}


/* ==========================================================
   TOP-LEVEL MENU ITEMS
   navbar.tpl generates:
   li > a
   li.dropdown > a.dropdown-toggle
   ========================================================== */

.sh-main-header .sh-primary-nav > li,
.sh-main-header .sh-secondary-nav > li {

    position: relative;

    display: flex;
    align-items: center;

    margin: 0;

    white-space: nowrap;

}


/*
   The original navbar.tpl adds Bootstrap spacing classes such
   as pr-4 with !important. Therefore padding is intentionally
   overridden here with a more specific scoped rule.
*/

.sh-main-header .sh-primary-nav > li > a,
.sh-main-header .sh-secondary-nav > li > a {

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 12px 11px !important;

    color: #334155;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    border-radius: 10px;

    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease;

}

.sh-main-header .sh-primary-nav > li > a:hover,
.sh-main-header .sh-primary-nav > li > a:focus,
.sh-main-header .sh-secondary-nav > li > a:hover,
.sh-main-header .sh-secondary-nav > li > a:focus {

    color: var(--sh-primary);

    background: #F1F7FB;

    text-decoration: none;
    outline: none;

}


/* Active WHMCS menu items */

.sh-main-header .sh-primary-nav > li.active > a,
.sh-main-header .sh-secondary-nav > li.active > a {

    color: var(--sh-primary);

    background: #EDF6FC;

}


/* Menu icons */

.sh-main-header .sh-primary-nav > li > a > i,
.sh-main-header .sh-secondary-nav > li > a > i {

    margin-left: 6px;
    margin-right: 0;

    font-size: 13px;

}


/* Bootstrap dropdown arrow */

.sh-main-header .dropdown-toggle::after {

    margin-right: 6px;
    margin-left: 0;

    vertical-align: middle;

}


/* ==========================================================
   DROPDOWN MENUS
   Scoped to StarHost header only
   ========================================================== */

.sh-main-header .dropdown-menu {

    min-width: 220px;

    margin-top: 8px;

    padding: 10px;

    direction: rtl;
    text-align: right;

    background: #ffffff;

    border: 1px solid #E5EDF5;
    border-radius: 14px;

    box-shadow:
        0 18px 45px rgba(15, 76, 129, .14);

}


/* Preserve correct RTL dropdown alignment */

.sh-main-header .sh-primary-nav .dropdown-menu {

    right: 0;
    left: auto;

}

.sh-main-header .dropdown-menu-right {

    right: auto;
    left: 0;

}


/* Original navbar.tpl uses nested li.dropdown-item */

.sh-main-header .dropdown-menu > li {

    width: 100%;

    margin: 0;

}

.sh-main-header .dropdown-menu .dropdown-item {

    display: flex;
    align-items: center;

    width: 100%;

    padding: 9px 12px !important;

    color: #475569;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;

    border-radius: 9px;

    text-align: right;
    white-space: normal;

    transition:
        color .2s ease,
        background-color .2s ease;

}

.sh-main-header .dropdown-menu .dropdown-item:hover,
.sh-main-header .dropdown-menu .dropdown-item:focus {

    color: var(--sh-primary);

    background: #F1F7FB;

    text-decoration: none;
    outline: none;

}

.sh-main-header .dropdown-menu .dropdown-item i {

    margin-left: 8px;
    margin-right: 0;

}

.sh-main-header .dropdown-divider {

    margin: 8px 0;

    border-top-color: #E5EDF5;

}


/* ==========================================================
   HEADER ACTIONS
   Search / Cart / Mobile Menu
   ========================================================== */

.sh-header-actions {

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 10px;

    direction: ltr;

}


/* ==========================================================
   DESKTOP SEARCH
   ========================================================== */

.sh-header-search {

    flex: 0 0 auto;

    margin: 0;

}

.sh-header-search .search {

    width: 230px;

}

.sh-header-search .input-group {

    flex-wrap: nowrap;

}

.sh-header-search .search input {

    height: 42px;

    padding-right: 14px;
    padding-left: 14px;

    color: var(--sh-text);

    font-size: 13px;

    background: #ffffff;

    border-color: #D8E2EC;

    box-shadow: none;

}

.sh-header-search .search input:focus {

    border-color: var(--sh-accent);

    box-shadow: 0 0 0 3px rgba(57, 162, 219, .12);

}

.sh-header-search .search .btn {

    height: 42px;

    color: var(--sh-text-light);

    background: #ffffff;

    border-color: #D8E2EC;

}


/* ==========================================================
   CART AND MOBILE MENU BUTTONS
   ========================================================== */

.sh-cart-btn,
.sh-mobile-menu-btn {

    position: relative;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: var(--sh-primary);

    background: #F5F8FB;

    border: 1px solid transparent;
    border-radius: 50%;

    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;

}

.sh-cart-btn:hover,
.sh-cart-btn:focus,
.sh-mobile-menu-btn:hover,
.sh-mobile-menu-btn:focus {

    color: var(--sh-primary);

    background: #EAF5FC;
    border-color: #D9EBF7;

    text-decoration: none;
    outline: none;

}

.sh-cart-btn .badge {

    position: absolute;

    top: -4px;
    right: -4px;

    min-width: 18px;
    height: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 4px;

    color: #ffffff;

    font-size: 10px;
    line-height: 18px;

    background: var(--sh-accent);

    border: 2px solid #ffffff;
    border-radius: 999px;

}


/* ==========================================================
   MEDIUM DESKTOP REFINEMENT
   Prevent menu compression at 1200–1399px
   ========================================================== */

@media (min-width: 1200px) and (max-width: 1399px) {

    .sh-main-header > .container {

        max-width: 1180px;

    }

    .sh-header-inner {

        gap: 14px;

    }

    .sh-header-logo img {

        max-width: 145px;
        max-height: 46px;

    }

    .sh-main-header .sh-primary-nav > li > a,
    .sh-main-header .sh-secondary-nav > li > a {

        padding-right: 8px !important;
        padding-left: 8px !important;

        font-size: 12px;

    }

    .sh-main-header .sh-secondary-nav {

        margin-right: 4px !important;

    }

    .sh-header-search .search {

        width: 190px;

    }

}



/* ==========================================================
   MOBILE / TABLET HEADER
   Phase: H2
   Compact commercial navigation panel
   ========================================================== */

@media (max-width: 1199px) {

    .sh-main-header > .container {

        width: 100%;
        max-width: 100%;

        padding-right: 16px;
        padding-left: 16px;

    }

    .sh-header-inner {

        position: relative;

        min-height: 72px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 12px;

    }

    .sh-header-logo img {

        max-width: 145px;
        max-height: 44px;

    }

    .sh-header-actions {

        margin-right: auto;

    }


    /* Main collapsible panel */

    .sh-header-nav {

        position: absolute;

        top: 100%;
        right: 0;
        left: 0;

        z-index: 1001;

        display: none;

        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100vh - 72px);

        overflow-x: hidden;
        overflow-y: auto;

        padding: 14px 16px 16px;

        background: #ffffff;

        border-top: 1px solid var(--sh-border);

        box-shadow:
            0 18px 45px rgba(15, 76, 129, .14);

    }

    .sh-header-nav.show {

        display: block;

    }


    /* Mobile search */

    .sh-mobile-search {

        width: 100%;

        margin: 0 0 12px;

    }

    .sh-mobile-search .input-group {

        width: 100%;

    }

    .sh-mobile-search .search input,
    .sh-mobile-search .search .btn {

        height: 42px;

    }


    /* Navigation lists */

    .sh-main-header .sh-primary-nav,
    .sh-main-header .sh-secondary-nav {

        display: block;

        width: 100%;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0;

    }

    .sh-main-header .sh-secondary-nav {

        margin-top: 8px !important;
        padding-top: 8px;

        border-top: 1px solid var(--sh-border);

    }


    /* Top-level items */

    .sh-main-header .sh-primary-nav > li,
    .sh-main-header .sh-secondary-nav > li {

        display: block;

        width: 100%;
        height: auto !important;
        min-height: 0 !important;

        margin: 0;

        border-bottom: 1px solid #EEF2F6;

    }

    .sh-main-header .sh-primary-nav > li:last-child,
    .sh-main-header .sh-secondary-nav > li:last-child {

        border-bottom: 0;

    }

    .sh-main-header .sh-primary-nav > li > a,
    .sh-main-header .sh-secondary-nav > li > a {

        display: flex;
        align-items: center;

        width: 100%;
        min-height: 44px;

        padding: 10px 8px !important;

        font-size: 14px;
        line-height: 1.6;

        border-radius: 8px;

    }


    /* Dropdown menu inside mobile panel */

    .sh-main-header .dropdown-menu,
    .sh-main-header .dropdown-menu-right {

        position: static !important;

        float: none;

        width: 100%;
        min-width: 0;

        margin: 0 0 8px;
        padding: 6px 8px;

        direction: rtl;
        text-align: right;

        background: #F8FAFC;

        border: 0;
        border-radius: 10px;

        box-shadow: none;

        transform: none !important;

    }

    .sh-main-header .dropdown-menu > li {

        height: auto !important;
        min-height: 0 !important;

        border-bottom: 0;

    }

    .sh-main-header .dropdown-menu .dropdown-item {

        min-height: 40px;

        padding: 8px 10px !important;

        font-size: 13px;
        line-height: 1.6;

        border-radius: 7px;

    }

    .sh-main-header .dropdown-divider {

        margin: 5px 0;

    }

}




/* ==========================================================
   SMALL MOBILE REFINEMENT
   ========================================================== */

@media (max-width: 575px) {

    .sh-header-inner {

        min-height: 66px;

        gap: 8px;

    }

    .sh-header-logo img {

        max-width: 122px;
        max-height: 38px;

    }

    .sh-cart-btn,
    .sh-mobile-menu-btn {

        flex-basis: 38px;

        width: 38px;
        height: 38px;

    }

    .sh-header-nav {

        max-height: calc(100vh - 66px);

        padding: 12px;

    }

}



/* ==========================================================
   SECTION: STARHOST AUTHENTICATION SYSTEM
   Version: 1.0.0
   Phase: Authentication A1 / A2
   ----------------------------------------------------------
   Scope:
   - Login
   - Future registration
   - Future password reset
   - Captcha
   - Linked authentication providers
   ========================================================== */


/* ==========================================================
   AUTHENTICATION PAGE FOUNDATION
   ========================================================== */

.sh-auth-page {

    width: 100%;

    display: flex;
    justify-content: center;

    padding: 56px 0 72px;

}

.sh-auth-shell {

    width: 100%;
    max-width: 480px;

    margin: 0 auto;

}


/* Prevent the WHMCS primary-content container from creating
   unwanted alignment around the authentication component. */

.sh-auth-page,
.sh-auth-page * {

    box-sizing: border-box;

}


/* ==========================================================
   AUTHENTICATION CARD
   ========================================================== */

.sh-auth-card {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: var(--sh-surface);

    border: 1px solid var(--sh-border);
    border-radius: 22px;

    box-shadow:
        0 18px 48px rgba(15, 76, 129, .10);

}


/* ==========================================================
   CARD HEADER
   ========================================================== */

.sh-auth-card-header {

    padding: 34px 38px 24px;

    text-align: center;

    border-bottom: 1px solid #EDF2F7;

}

.sh-auth-icon {

    width: 58px;
    height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    color: var(--sh-primary);

    font-size: 23px;

    background:
        linear-gradient(
            135deg,
            rgba(57, 162, 219, .14),
            rgba(31, 138, 112, .10)
        );

    border: 1px solid rgba(57, 162, 219, .20);
    border-radius: 18px;

}

.sh-auth-title {

    margin: 0;

    color: var(--sh-primary);

    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;

}

.sh-auth-subtitle {

    margin: 8px 0 0;

    color: var(--sh-text-light);

    font-size: 14px;
    line-height: 1.9;

}


/* ==========================================================
   CARD BODY
   ========================================================== */

.sh-auth-card-body {

    padding: 30px 38px 32px;

}


/* WHMCS flash messages */

.sh-auth-card-body > .alert {

    margin-bottom: 24px;

    border: 0;
    border-radius: 12px;

    font-size: 13px;
    line-height: 1.8;

}


/* ==========================================================
   FORM FIELDS
   ========================================================== */

.sh-auth-field {

    margin-bottom: 22px;

}

.sh-auth-label-row {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 8px;

}

.sh-auth-label {

    display: block;

    margin: 0 0 8px;

    color: #334155;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;

}

.sh-auth-label-row .sh-auth-label {

    margin-bottom: 0;

}

.sh-auth-forgot-link {

    flex: 0 0 auto;

    color: var(--sh-text-light);

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;

}

.sh-auth-forgot-link:hover,
.sh-auth-forgot-link:focus {

    color: var(--sh-primary);

    text-decoration: none;

}


/* ==========================================================
   INPUT GROUP
   ========================================================== */

.sh-auth-input-group {

    direction: ltr;

    flex-wrap: nowrap;

}

.sh-auth-input-group .form-control {

    height: 48px;

    padding: 10px 14px;

    color: var(--sh-text);

    font-size: 14px;
    line-height: 1.5;

    background: #FFFFFF;

    border-color: #D8E2EC;

    box-shadow: none;

}

.sh-auth-input-group .form-control::placeholder {

    color: #94A3B8;

}

.sh-auth-input-group .form-control:focus {

    position: relative;
    z-index: 3;

    background: #FFFFFF;

    border-color: var(--sh-accent);

    box-shadow:
        0 0 0 3px rgba(57, 162, 219, .12);

}

.sh-auth-input-group .input-group-text,
.sh-auth-input-group .btn {

    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: var(--sh-primary);

    background: #F8FAFC;

    border-color: #D8E2EC;

}

.sh-auth-input-group .input-group-text {

    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

}

.sh-auth-input-group .input-group-append .btn {

    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

}

.sh-auth-input-group .btn:hover,
.sh-auth-input-group .btn:focus {

    color: var(--sh-primary);

    background: #EDF6FC;

    border-color: #CFE3F1;

    box-shadow: none;

}


/* Email should remain readable in LTR */

.sh-auth-input-group input[type="email"] {

    direction: ltr;
    text-align: left;

}


/* Password input */

.sh-auth-input-group input[type="password"],
.sh-auth-input-group input[type="text"].pw-input {

    direction: ltr;
    text-align: left;

}


/* ==========================================================
   CAPTCHA
   Scoped only to authentication forms
   ========================================================== */

.sh-auth-captcha {

    margin: 4px 0 22px;

}

.sh-auth-captcha > .text-center.row,
.sh-auth-captcha > .row {

    display: block;

    margin-right: 0;
    margin-left: 0;

}

.sh-auth-captcha .col-md-8 {

    flex: none;

    width: 100%;
    max-width: 100%;

    padding-right: 0;
    padding-left: 0;

    margin: 0;

}

.sh-auth-captcha #default-captcha-domainchecker {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 12px;

    margin: 0;

    padding: 18px !important;

    background: #F8FAFC;

    border: 1px solid #E5EDF5;
    border-radius: 14px;

}

.sh-auth-captcha #default-captcha-domainchecker > p {

    grid-column: 1 / -1;

    margin: 0 0 4px;

    color: #475569;

    font-size: 13px;
    line-height: 1.9;

    text-align: center;

}

.sh-auth-captcha #default-captcha-domainchecker > .col-6 {

    flex: none;

    width: 100%;
    max-width: 100%;

    padding: 0;

}

.sh-auth-captcha .captchaimage {

    display: flex;
    align-items: center;
    justify-content: center;

}

.sh-auth-captcha .captchaimage img {

    display: block;

    max-width: 100%;
    height: auto;
    min-height: 34px;

    border-radius: 6px;

}

.sh-auth-captcha #inputCaptcha {

    width: 100%;
    height: 42px;

    direction: ltr;
    text-align: center;

    background: #FFFFFF;

    border-color: #CBD8E5;
    border-radius: 9px;

    box-shadow: none;

}

.sh-auth-captcha #inputCaptcha:focus {

    border-color: var(--sh-accent);

    box-shadow:
        0 0 0 3px rgba(57, 162, 219, .12);

}


/* Google reCAPTCHA */

.sh-auth-captcha .recaptcha-container {

    max-width: 100%;

    overflow: hidden;

    margin-right: auto;
    margin-left: auto;

}


/* ==========================================================
   REMEMBER ME
   ========================================================== */

.sh-auth-options {

    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin: 0 0 22px;

}

.sh-auth-remember {

    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin: 0;

    color: #475569;

    font-size: 13px;
    line-height: 1.6;

    cursor: pointer;

}

.sh-auth-remember input {

    position: static;

    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: var(--sh-primary);

}


/* ==========================================================
   LOGIN BUTTON
   ========================================================== */

.sh-auth-submit {

    width: 100%;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 11px 20px;

    color: #FFFFFF !important;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;

    background:
        linear-gradient(
            135deg,
            var(--sh-primary),
            var(--sh-secondary)
        );

    border: 0;
    border-radius: 12px;

    box-shadow:
        0 12px 25px rgba(15, 76, 129, .20);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;

}

.sh-auth-submit:hover,
.sh-auth-submit:focus {

    color: #FFFFFF !important;

    transform: translateY(-2px);

    box-shadow:
        0 17px 32px rgba(15, 76, 129, .27);

    outline: none;

}

.sh-auth-submit:disabled,
.sh-auth-submit.disabled {

    opacity: .65;

    transform: none;

    cursor: not-allowed;

}


/* ==========================================================
   CARD FOOTER / REGISTRATION LINK
   ========================================================== */

.sh-auth-card-footer {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 18px 24px;

    color: var(--sh-text-light);

    font-size: 13px;
    line-height: 1.7;

    text-align: center;

    background: #F8FAFC;

    border-top: 1px solid #E9EFF5;

}

.sh-auth-card-footer a {

    color: var(--sh-primary);

    font-weight: 700;

    text-decoration: none;

}

.sh-auth-card-footer a:hover,
.sh-auth-card-footer a:focus {

    color: var(--sh-accent);

    text-decoration: none;

}


/* ==========================================================
   PROVIDER FEEDBACK AND LINKED ACCOUNTS
   ========================================================== */

.sh-auth-feedback:not(:empty) {

    margin-bottom: 18px;

}

.sh-auth-providers {

    margin-top: 24px;

}

.sh-auth-providers:empty {

    display: none;

}

.sh-auth-providers .providerPreLinking {

    width: 100%;

}

.sh-auth-providers .social-signin-btns {

    display: flex;
    flex-direction: column;

    gap: 10px;

}

.sh-auth-providers .social-signin-btns > * {

    max-width: 100%;

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 767px) {

    .sh-auth-page {

        padding: 34px 0 48px;

    }

    .sh-auth-shell {

        max-width: 440px;

    }

    .sh-auth-card-header {

        padding:
            30px
            28px
            22px;

    }

    .sh-auth-card-body {

        padding:
            26px
            28px
            30px;

    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 575px) {

    .sh-auth-page {

        padding:
            24px
            0
            36px;

    }

    .sh-auth-shell {

        max-width: 100%;

    }

    .sh-auth-card {

        border-radius: 16px;

    }

    .sh-auth-card-header {

        padding:
            26px
            20px
            20px;

    }

    .sh-auth-icon {

        width: 52px;
        height: 52px;

        margin-bottom: 14px;

        font-size: 20px;

        border-radius: 15px;

    }

    .sh-auth-title {

        font-size: 24px;

    }

    .sh-auth-subtitle {

        font-size: 13px;

    }

    .sh-auth-card-body {

        padding:
            24px
            20px
            26px;

    }

    .sh-auth-label-row {

        align-items: flex-start;

        gap: 8px;

    }

    .sh-auth-forgot-link {

        font-size: 11px;

    }

    .sh-auth-captcha #default-captcha-domainchecker {

        gap: 10px;

        padding: 14px !important;

    }

    .sh-auth-card-footer {

        flex-wrap: wrap;

        padding:
            16px
            18px;

        font-size: 12px;

    }

}


/* ==========================================================
   EXTRA-SMALL MOBILE
   320px viewport support
   ========================================================== */

@media (max-width: 359px) {

    .sh-auth-card-body {

        padding-right: 16px;
        padding-left: 16px;

    }

    .sh-auth-card-header {

        padding-right: 16px;
        padding-left: 16px;

    }

    .sh-auth-input-group .form-control {

        min-width: 0;

        padding-right: 10px;
        padding-left: 10px;

        font-size: 13px;

    }

    .sh-auth-input-group .input-group-text,
    .sh-auth-input-group .btn {

        width: 44px;
        height: 46px;

    }

    .sh-auth-input-group .form-control {

        height: 46px;

    }

    .sh-auth-captcha #default-captcha-domainchecker {

        grid-template-columns: 1fr;

    }

    .sh-auth-captcha #default-captcha-domainchecker > p {

        grid-column: auto;

    }

}



/* ==========================================================
   SECTION: DASHBOARD TILES
   Purpose:
   Modern client area cards
   ========================================================== */

.tiles {

    margin-bottom: 32px;

}

.tiles .tile {

    background: #ffffff;
    border: 0;
    border-radius: 18px;
    padding: 24px;
    min-height: 170px;
    box-shadow: 0 8px 25px rgba(15,76,129,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;

}

.tiles .tile:hover {

    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15,76,129,.14);

}

.tiles .tile .stat {

    font-size: 48px;
    font-weight: 700;
    color: var(--sh-primary);
    margin-top: 45px;

}

.tiles .tile .title {

    font-size: 14px;
    font-weight: 600;
    color: var(--sh-text-light);
    margin-top: 6px;
    text-transform: none;

}

.tiles .tile i {

    position: absolute;
    top: 20px;
    left: 20px;
    right: auto;
    font-size: 54px;
    color: rgba(15,76,129,.10);

}

.tiles .tile:hover i {

    transform: scale(1.08);

}

.tiles .tile .highlight {

    height: 5px;
    margin-top: 12px;
    border-radius: 999px;

}

.tiles .row {

    margin-right: -8px;
    margin-left: -8px;

}

.tiles .col-6,
.tiles .col-xl-3 {

    padding-right: 8px;
    padding-left: 8px;

}


/* ==========================================================
   SECTION: COLOR OVERRIDES
   ========================================================== */

.bg-color-blue {

    background: #0066cc !important;

}

.bg-color-green {

    background: #1f8f6b !important;

}

.bg-color-red {

    background: #e74c3c !important;

}

.bg-color-gold {

    background: #f4b400 !important;

}


/* ==========================================================
   SECTION: STARHOST GLOBAL FOOTER
   Phase: 2.2
   Purpose:
   Commercial WHMCS footer branding
   ========================================================== */

.sh-footer {

    background: #111827;
    color: #cbd5e1;
    padding: 56px 0 26px;

}

.sh-footer-main {

    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255,255,255,.08);

}

.sh-footer-logo {

    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;

}

.sh-footer-logo img {

    max-height: 44px;
    width: auto;

}

.sh-footer-brand p {

    max-width: 360px;
    margin: 0;
    font-size: 14px;
    line-height: 2;
    color: #94a3b8;

}

.sh-footer-col h4 {

    margin: 0 0 16px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;

}

.sh-footer-col ul {

    list-style: none;
    padding: 0;
    margin: 0;

}

.sh-footer-col li {

    margin-bottom: 10px;

}

.sh-footer-col a {

    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;

}

.sh-footer-col a:hover {

    color: var(--sh-accent);

}

.sh-footer-bottom {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    font-size: 13px;

}

.sh-footer-actions {

    display: flex;
    align-items: center;
    gap: 12px;

}

.sh-footer-lang {

    background: rgba(255,255,255,.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;

}

.sh-footer-lang:hover {

    background: rgba(255,255,255,.14);
    color: #ffffff;

}

@media (max-width: 991px) {

    .sh-footer-main {

        grid-template-columns: 1fr 1fr;

    }

}

@media (max-width: 767px) {

    .sh-footer {

        text-align: center;
        padding: 44px 0 24px;

    }

    .sh-footer-main {

        grid-template-columns: 1fr;
        gap: 28px;

    }

    .sh-footer-brand p {

        margin: 0 auto;

    }

    .sh-footer-bottom {

        flex-direction: column;
        justify-content: center;

    }

    .sh-footer-actions {

        justify-content: center;
        flex-wrap: wrap;

    }

}


/* ==========================================================
   SECTION: STARHOST PASSWORD RESET
   Version: 2.2.0
   Phase: Authentication A2

   Extends the shared StarHost authentication system.
   ========================================================== */

.sh-auth-page--password-reset .sh-auth-card-body > p {
    margin: 0 0 24px;
    color: var(--sh-text-light);
    font-size: 14px;
    line-height: 2;
    text-align: center;
}

.sh-auth-icon.is-success {
    color: var(--sh-success);
    background: rgba(22, 163, 74, .08);
    border-color: rgba(22, 163, 74, .20);
}

.sh-auth-icon.is-warning {
    color: var(--sh-warning);
    background: rgba(245, 158, 11, .08);
    border-color: rgba(245, 158, 11, .22);
}

.sh-auth-success .alert {
    margin-bottom: 24px;
    line-height: 1.9;
}

.sh-auth-strength {
    margin-top: 4px;
    margin-bottom: 24px;
}

.sh-auth-strength .progress {
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e8eef5;
}

.sh-auth-strength .progress-bar {
    border-radius: 999px;
}

.sh-auth-password-message {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
}

.sh-auth-button-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.sh-auth-button-group .sh-auth-submit {
    width: 100%;
}

.sh-auth-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 18px;
    color: var(--sh-primary);
    background: #ffffff;
    border: 1px solid var(--sh-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.sh-auth-secondary:hover,
.sh-auth-secondary:focus {
    color: var(--sh-primary);
    background: #f8fafc;
    border-color: rgba(15, 76, 129, .28);
    box-shadow: none;
}

@media (max-width: 390px) {

    .sh-auth-page--password-reset .sh-auth-card {
        width: 100%;
    }

    .sh-auth-page--password-reset .sh-auth-card-body {
        padding-right: 20px;
        padding-left: 20px;
    }

}


/* ==========================================================
   SECTION: STARHOST REGISTRATION SYSTEM
   Version: 3.0.0
   Phase: Authentication A3.2

   Scope:
   - Client registration page only
   - No global header, footer, login or password-reset changes
   ========================================================== */


/* ----------------------------------------------------------
   Registration page foundation
   ---------------------------------------------------------- */

.sh-register-page {
    width: 100%;
    padding: 18px 0 56px;
}

.sh-register-shell {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.sh-register-container {
    width: 100%;
}

.sh-register-form {
    width: 100%;
}


/* ----------------------------------------------------------
   Page heading
   ---------------------------------------------------------- */

.sh-register-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    padding: 26px 28px;
    background: linear-gradient(
        135deg,
        rgba(15, 76, 129, .07),
        rgba(31, 138, 112, .06)
    );
    border: 1px solid rgba(15, 76, 129, .10);
    border-radius: 20px;
}

.sh-register-heading-icon {
    display: inline-flex;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(57, 162, 219, .24);
    border-radius: 16px;
    background: rgba(57, 162, 219, .10);
    color: var(--sh-primary);
    font-size: 22px;
}

.sh-register-heading-content {
    min-width: 0;
}

.sh-register-title {
    margin: 0 0 8px;
    color: var(--sh-primary);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.45;
}

.sh-register-subtitle {
    max-width: 720px;
    margin: 0;
    color: var(--sh-text-light);
    font-size: 14px;
    line-height: 2;
}


/* ----------------------------------------------------------
   Status and validation messages
   ---------------------------------------------------------- */

.sh-register-message {
    margin-bottom: 22px;
}

.sh-register-message .alert {
    margin: 0;
    border: 0;
    border-radius: 14px;
    padding: 16px 18px;
    line-height: 1.9;
}


/* ----------------------------------------------------------
   Registration sections
   ---------------------------------------------------------- */

.sh-register-section {
    margin-bottom: 22px;
    overflow: hidden;
    background: var(--sh-surface);
    border: 1px solid var(--sh-border);
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(15, 76, 129, .06);
}

.sh-register-section-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 24px;
    background: #fbfdff;
    border-bottom: 1px solid var(--sh-border);
}

.sh-register-section-icon {
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(57, 162, 219, .22);
    border-radius: 13px;
    background: rgba(57, 162, 219, .09);
    color: var(--sh-primary);
    font-size: 17px;
}

.sh-register-section-title {
    margin: 0 0 5px;
    color: var(--sh-primary);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
}

.sh-register-section-help {
    margin: 0;
    color: var(--sh-text-light);
    font-size: 13px;
    line-height: 1.9;
}

.sh-register-section-body {
    padding: 24px;
}


/* ----------------------------------------------------------
   Fields and labels
   ---------------------------------------------------------- */

.sh-register-field {
    margin-bottom: 20px;
}

.sh-register-label {
    display: block;
    margin-bottom: 8px;
    color: var(--sh-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.sh-register-optional {
    color: var(--sh-text-light);
    font-size: 11px;
    font-weight: 400;
}

.sh-register-field-help {
    display: block;
    margin-top: 7px;
    color: var(--sh-text-light);
    font-size: 12px;
    line-height: 1.8;
}


/* ----------------------------------------------------------
   Input groups
   Logical border properties support RTL and LTR
   ---------------------------------------------------------- */

.sh-register-input-group {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    align-items: stretch;
}

.sh-register-input-group .input-group-prepend {
    display: flex;
    margin: 0;
}

.sh-register-input-group .input-group-text {
    display: inline-flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid #d6e1eb;
    border-inline-end: 0;
    border-start-start-radius: 12px;
    border-end-start-radius: 12px;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
    background: #f8fbfd;
    color: var(--sh-primary);
}

.sh-register-input-group .form-control {
    width: 1%;
    min-width: 0;
    min-height: 48px;
    flex: 1 1 auto;
    border: 1px solid #d6e1eb;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    border-start-end-radius: 12px;
    border-end-end-radius: 12px;
    background: #ffffff;
    color: var(--sh-text);
    font-size: 14px;
    box-shadow: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.sh-register-input-group .form-control:hover {
    border-color: #b7cadb;
}

.sh-register-input-group .form-control:focus {
    position: relative;
    z-index: 2;
    border-color: var(--sh-accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(57, 162, 219, .12);
}

.sh-register-input-group input[type="email"],
.sh-register-input-group input[type="tel"] {
    direction: ltr;
    text-align: left;
}


/* ----------------------------------------------------------
   Normal controls, selects and custom fields
   ---------------------------------------------------------- */

.sh-register-section select.form-control,
.sh-register-section .sh-register-custom-control input,
.sh-register-section .sh-register-custom-control select,
.sh-register-section .sh-register-custom-control textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d6e1eb;
    border-radius: 12px;
    background: #ffffff;
    color: var(--sh-text);
    font-size: 14px;
    box-shadow: none;
}

.sh-register-section textarea.form-control,
.sh-register-section .sh-register-custom-control textarea {
    min-height: 110px;
    resize: vertical;
}

.sh-register-section select.form-control:focus,
.sh-register-section .sh-register-custom-control input:focus,
.sh-register-section .sh-register-custom-control select:focus,
.sh-register-section .sh-register-custom-control textarea:focus {
    border-color: var(--sh-accent);
    box-shadow: 0 0 0 3px rgba(57, 162, 219, .12);
}



/* ----------------------------------------------------------
   International telephone input
   Canonical component — Authentication A3.2.6
   Legacy WHMCS intl-tel-input compatible

   Architecture:
   - .sh-register-phone-control owns border and focus ring
   - Icon and telephone field are borderless inner sections
   - Selected country remains above the telephone input
   - Country list width follows the complete telephone field
   ---------------------------------------------------------- */

.sh-register-phone-control {
    position: relative;

    overflow: visible;
}




/* ----------------------------------------------------------
   Flexible telephone field section
   ---------------------------------------------------------- */

.sh-register-phone-field {
    position: relative;

    width: 1%;
    min-width: 0;

    flex: 1 1 auto;

    overflow: visible;
}


/* Legacy WHMCS intl-tel-input root */

.sh-register-phone-field .intl-tel-input {
    position: relative;

    display: block;

    width: 100%;
    height: 48px;
    min-width: 0;

    direction: ltr;
}


/* ----------------------------------------------------------
   Telephone input
   ---------------------------------------------------------- */

#registration
.sh-register-phone-field
.intl-tel-input
input,

#registration
.sh-register-phone-field
.intl-tel-input
input[type="tel"],

#registration
.sh-register-phone-field
.intl-tel-input
input[type="text"],

#registration
.sh-register-phone-field >
input[type="tel"] {
    position: relative;
    z-index: 1;

    display: block;
    vertical-align: top;

    width: 100%;
    height: 48px;
    min-width: 0;
    min-height: 48px;

    margin: 0 !important;

    padding-top: 10px;
    padding-right: 14px;
    padding-bottom: 10px;

    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;

    color: var(--sh-text);
    background: #ffffff;

    border: 1px solid #d6e1eb;

    border-radius: 3px 0 0 3px;

    font-size: 14px;
    line-height: 1.5;

    box-shadow: none;
    outline: 0;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


/*
   Do not define padding-left here.

   WHMCS intl-tel-input uses the iti-sdc-* classes to calculate
   the exact space required for the selected flag and dial code.
*/


/* Persian placeholder remains readable in RTL. */

.sh-register-phone-field
.intl-tel-input
input::placeholder,
.sh-register-phone-field >
input[type="tel"]::placeholder {
    direction: rtl;
    text-align: right;

    color: #94a3b8;

    opacity: 1;
}


.sh-register-phone-field
.intl-tel-input
input::-webkit-input-placeholder,
.sh-register-phone-field >
input[type="tel"]::-webkit-input-placeholder {
    direction: rtl;
    text-align: right;

    color: #94a3b8;

    opacity: 1;
}


.sh-register-phone-field
.intl-tel-input
input::-moz-placeholder,
.sh-register-phone-field >
input[type="tel"]::-moz-placeholder {
    direction: rtl;
    text-align: right;

    color: #94a3b8;

    opacity: 1;
}







/* ----------------------------------------------------------
   Selected country control
   ---------------------------------------------------------- */

/*
   flag-container must remain static.

   The country list is a child of flag-container. Keeping this
   parent static makes .intl-tel-input the containing block for
   the absolutely positioned country list.
*/

.sh-register-phone-field
.intl-tel-input
.flag-container {
    position: static;

    width: 100%;
    height: 0;

    margin: 0;
    padding: 0;

    direction: ltr;
    text-align: left;

    line-height: 0;
}


/*
   selected-flag must remain above the input so that the flag,
   arrow and dial code stay visible while typing.
*/

.sh-register-phone-field
.intl-tel-input
.selected-flag {
    position: absolute;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    top: 1px;
    bottom: 1px;
    left: 1px;
    right: auto;

    height: auto;

    direction: ltr;
    text-align: left;

    border-radius: 2px 0 0 2px;
}


/* Dial code is technical LTR content. */

.sh-register-phone-field
.intl-tel-input.separate-dial-code
.selected-dial-code {
    padding-right: 18px;
    padding-left: 34px;

    direction: ltr;
    text-align: left;

    white-space: nowrap;
}


/* Flag and arrow positioning */

.sh-register-phone-field
.intl-tel-input
.selected-flag
.iti-flag {
    left: 8px;
    right: auto;
}


.sh-register-phone-field
.intl-tel-input
.selected-flag
.iti-arrow {
    left: auto;
    right: 7px;
}


/* ----------------------------------------------------------
   Country list
   ---------------------------------------------------------- */

.sh-register-phone-field
.intl-tel-input
.country-list {
    position: absolute;

    top: 100%;
    bottom: auto;
    left: 0;
    right: auto;

    z-index: 2200;

    width: 340px;
    min-width: 240px;
    max-width: 100%;

    max-height: 260px;

    margin: 4px 0 0;

    overflow-x: hidden;
    overflow-y: auto;

    direction: ltr;
    text-align: left;

    white-space: normal;

    border: 1px solid #d6e1eb;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(0, 45, 82, .16);
}


/* ----------------------------------------------------------
   Country rows
   ---------------------------------------------------------- */

.sh-register-phone-field
.intl-tel-input
.country-list
.country {
    display: grid;

    grid-template-columns:
        20px
        minmax(0, 1fr)
        auto;

    min-height: 42px;

    align-items: center;

    column-gap: 8px;

    padding: 8px 12px;

    line-height: 1.5;
}


.sh-register-phone-field
.intl-tel-input
.country-list
.country.highlight {
    background: #eef7fc;
}


.sh-register-phone-field
.intl-tel-input
.country-list
.flag-box {
    display: inline-flex;

    width: 20px;
    min-width: 20px;

    align-items: center;
    justify-content: center;

    margin: 0;
}


.sh-register-phone-field
.intl-tel-input
.country-list
.country-name {
    min-width: 0;

    margin: 0;

    overflow-wrap: anywhere;

    white-space: normal;
    unicode-bidi: plaintext;
}


.sh-register-phone-field
.intl-tel-input
.country-list
.dial-code {
    margin: 0;

    direction: ltr;

    white-space: nowrap;

    color: var(--sh-text-light);
}


/* ----------------------------------------------------------
   Mobile country list
   ---------------------------------------------------------- */

@media (max-width: 575.98px) {

    .sh-register-phone-field
    .intl-tel-input
    .country-list {
        width: 100%;
        min-width: 100%;
        max-width: 100%;

        max-height: 240px;
    }


    .sh-register-phone-field
    .intl-tel-input
    .country-list
    .country {
        min-height: 44px;

        grid-template-columns:
            20px
            minmax(0, 1fr)
            auto;

        padding: 9px 10px;
    }

}









/* ----------------------------------------------------------
   Password controls
   ---------------------------------------------------------- */

.sh-register-secondary-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border: 1px solid #cbd9e5;
    border-radius: 11px;
    background: #ffffff;
    color: var(--sh-primary);
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

.sh-register-secondary-action:hover,
.sh-register-secondary-action:focus {
    border-color: var(--sh-accent);
    background: #f2f9fd;
    color: var(--sh-primary);
}

.sh-register-password-strength {
    padding-top: 4px;
}

.sh-register-password-strength .progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7eef5;
}

.sh-register-password-strength .progress-bar {
    border-radius: 999px;
    transition: width .25s ease;
}

.sh-register-password-strength p {
    margin: 9px 0 0;
}


/* ----------------------------------------------------------
   Marketing
   ---------------------------------------------------------- */

.sh-register-marketing-message {
    margin: 0 0 18px;
    color: var(--sh-text-light);
    font-size: 13px;
    line-height: 2;
}

.sh-register-switch {
    display: inline-flex;
    align-items: center;
    margin: 0;
}


/* ----------------------------------------------------------
   Captcha
   ---------------------------------------------------------- */

.sh-register-captcha-section .sh-register-section-body {
    padding-top: 20px;
}

.sh-register-captcha {
    max-width: 680px;
    margin: 0 auto;
}

.sh-register-captcha > .text-center {
    margin: 0;
}

.sh-register-captcha .col-md-8 {
    max-width: 100%;
    flex: 0 0 100%;
}

.sh-register-captcha #default-captcha-domainchecker {
    align-items: center;
    margin: 0;
    padding: 18px !important;
    border: 1px solid #dce7f0;
    border-radius: 15px;
    background: #f8fbfd;
}

.sh-register-captcha #default-captcha-domainchecker > p {
    display: none;
}

.sh-register-captcha .captchaimage,
.sh-register-captcha #default-captcha-domainchecker > .col-6 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sh-register-captcha .captchaimage img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.sh-register-captcha #inputCaptcha {
    width: 100%;
    min-height: 46px;
    border: 1px solid #ccdbe7;
    border-radius: 10px;
    background: #ffffff;
    text-align: center;
    direction: ltr;
    font-size: 16px;
    letter-spacing: 2px;
    box-shadow: none;
}

.sh-register-captcha #inputCaptcha:focus {
    border-color: var(--sh-accent);
    box-shadow: 0 0 0 3px rgba(57, 162, 219, .12);
}


/* ----------------------------------------------------------
   Terms
   ---------------------------------------------------------- */

.sh-register-terms {
    margin: 4px 0 22px;
    padding: 17px 19px;
    border: 1px solid #dce7f0;
    border-radius: 14px;
    background: #f8fbfd;
}

.sh-register-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--sh-text);
    font-size: 13px;
    line-height: 1.9;
}

.sh-register-checkbox input {
    flex: 0 0 auto;
    margin-top: 5px;
}


/* ----------------------------------------------------------
   Submit area
   ---------------------------------------------------------- */

.sh-register-submit-area {
    padding: 8px 0 0;
    text-align: center;
}

.sh-register-submit-note {
    margin: 0 0 14px;
    color: var(--sh-text-light);
    font-size: 12px;
    line-height: 1.9;
}

.sh-register-submit {
    display: inline-flex;
    width: 100%;
    max-width: 430px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(
        90deg,
        var(--sh-primary),
        var(--sh-secondary)
    );
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 76, 129, .18);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.sh-register-submit:hover,
.sh-register-submit:focus {
    color: #ffffff;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 76, 129, .23);
}

.sh-register-submit:active {
    transform: translateY(0);
}


/* ----------------------------------------------------------
   Linked authentication providers
   ---------------------------------------------------------- */

.sh-register-page .providerPreLinking,
.sh-register-page .social-signin-btns {
    margin-bottom: 20px;
}

.sh-register-page .social-signin-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 991px) {

    .sh-register-page {
        padding-top: 10px;
    }

    .sh-register-heading {
        padding: 22px;
    }

    .sh-register-section-header,
    .sh-register-section-body {
        padding-right: 20px;
        padding-left: 20px;
    }

}

@media (max-width: 767px) {

    .sh-register-page {
        padding: 8px 0 38px;
    }

    .sh-register-heading {
        flex-direction: column;
        align-items: center;
        padding: 22px 18px;
        text-align: center;
        border-radius: 17px;
    }

    .sh-register-title {
        font-size: 23px;
    }

    .sh-register-subtitle {
        font-size: 13px;
    }

    .sh-register-section {
        border-radius: 17px;
    }

    .sh-register-section-header {
        padding: 20px 17px;
    }

    .sh-register-section-body {
        padding: 20px 17px;
    }

    .sh-register-section-title {
        font-size: 18px;
    }

    .sh-register-secondary-action {
        width: 100%;
        margin-bottom: 14px;
    }

    .sh-register-captcha #default-captcha-domainchecker {
        padding: 15px !important;
    }

}

@media (max-width: 479px) {

    .sh-register-heading-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .sh-register-section-header {
        gap: 11px;
    }

    .sh-register-section-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .sh-register-input-group .input-group-text {
        min-width: 44px;
    }

    .sh-register-captcha #default-captcha-domainchecker {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .sh-register-captcha .captchaimage,
    .sh-register-captcha #default-captcha-domainchecker > .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .sh-register-submit {
        max-width: none;
    }

}



/* ==========================================================
   SECTION: STARHOST REGISTRATION STABILIZATION
   Version: 3.1.0
   Phase: Authentication A3.2.1
   ========================================================== */


/* ----------------------------------------------------------
   Allow international telephone dropdown to escape cards
   ---------------------------------------------------------- */

.sh-register-section {
    overflow: visible;
}

.sh-register-section-header {
    border-start-start-radius: 20px;
    border-start-end-radius: 20px;
}

.sh-register-section-body {
    border-end-start-radius: 20px;
    border-end-end-radius: 20px;
}


@media (max-width: 479px) {

    .sh-register-section-header {
        border-start-start-radius: 17px;
        border-start-end-radius: 17px;
    }

    .sh-register-section-body {
        border-end-start-radius: 17px;
        border-end-end-radius: 17px;
    }


}



/* ----------------------------------------------------------
   Password generator modal
   Generated by WHMCS outside .sh-register-page
   ---------------------------------------------------------- */

#modalGeneratePassword {
    z-index: 2200;
}

#modalGeneratePassword .modal-dialog {
    width: calc(100% - 32px);
    max-width: 620px;
    margin: 48px auto;
}

#modalGeneratePassword .modal-content {
    overflow: hidden;
    border: 1px solid rgba(15, 76, 129, .14);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 35, 55, .24);
}

#modalGeneratePassword .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 18px 22px;
    border: 0;
    background: linear-gradient(
        90deg,
        var(--sh-primary),
        var(--sh-secondary)
    );
    color: #ffffff;
}

#modalGeneratePassword .modal-title {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
}

#modalGeneratePassword .modal-header .close {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
}

#modalGeneratePassword .modal-header .close:hover,
#modalGeneratePassword .modal-header .close:focus {
    background: rgba(255, 255, 255, .22);
    color: #ffffff;
}

#modalGeneratePassword .modal-body {
    padding: 26px;
    background: #ffffff;
}

#modalGeneratePassword .form-group {
    align-items: center;
    margin-bottom: 18px;
}

#modalGeneratePassword .col-form-label {
    color: var(--sh-text);
    font-size: 13px;
    font-weight: 700;
}

#modalGeneratePassword .form-control {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d6e1eb;
    border-radius: 11px;
    background: #ffffff;
    color: var(--sh-text);
    box-shadow: none;
}

#modalGeneratePassword .form-control:focus {
    border-color: var(--sh-accent);
    box-shadow: 0 0 0 3px rgba(57, 162, 219, .12);
}

#modalGeneratePassword #inputGeneratePasswordLength {
    width: 110px;
    max-width: 100%;
    direction: ltr;
    text-align: center;
}

#modalGeneratePassword #inputGeneratePasswordOutput {
    direction: ltr;
    text-align: left;
    font-family: monospace;
    font-size: 15px;
}

#modalGeneratePassword .modal-body .btn {
    min-height: 40px;
    margin: 3px;
    padding: 8px 14px;
    border: 1px solid #cbd9e5;
    border-radius: 10px;
    background: #ffffff;
    color: var(--sh-primary);
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
}

#modalGeneratePassword .modal-body .btn:hover,
#modalGeneratePassword .modal-body .btn:focus {
    border-color: var(--sh-accent);
    background: #f2f9fd;
    color: var(--sh-primary);
}

#modalGeneratePassword .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 17px 26px;
    border-top: 1px solid var(--sh-border);
    background: #f8fbfd;
}

#modalGeneratePassword .modal-footer .btn {
    min-height: 42px;
    margin: 0;
    padding: 9px 17px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

#modalGeneratePassword .modal-footer .btn-default {
    border: 1px solid #cbd9e5;
    background: #ffffff;
    color: var(--sh-text);
}

#modalGeneratePassword .modal-footer .btn-primary {
    border: 0;
    background: linear-gradient(
        90deg,
        var(--sh-primary),
        var(--sh-secondary)
    );
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 76, 129, .16);
}

#modalGeneratePassword .alert-danger {
    border: 1px solid rgba(220, 53, 69, .22);
    border-radius: 11px;
    background: rgba(220, 53, 69, .09);
    color: #a52734;
}

@media (max-width: 575px) {

    #modalGeneratePassword .modal-dialog {
        width: calc(100% - 20px);
        margin: 18px auto;
    }

    #modalGeneratePassword .modal-content {
        border-radius: 16px;
    }

    #modalGeneratePassword .modal-header {
        min-height: 66px;
        padding: 15px 17px;
    }

    #modalGeneratePassword .modal-title {
        font-size: 18px;
    }

    #modalGeneratePassword .modal-body {
        padding: 20px 17px;
    }

    #modalGeneratePassword .form-group.row {
        display: block;
    }

    #modalGeneratePassword .form-group.row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #modalGeneratePassword .col-form-label {
        display: block;
        margin-bottom: 7px;
    }

    #modalGeneratePassword #inputGeneratePasswordLength {
        width: 100%;
    }

    #modalGeneratePassword .row > .offset-sm-4 {
        margin: 0;
    }

    #modalGeneratePassword .modal-body .btn {
        width: 100%;
        margin: 5px 0;
    }

    #modalGeneratePassword .modal-footer {
        flex-direction: column-reverse;
        padding: 15px 17px;
    }

    #modalGeneratePassword .modal-footer .btn {
        width: 100%;
    }

}





/* ==========================================================
   SECTION: STARHOST CLIENT AREA FOUNDATION
   Version: 4.0.0
   Phase: Client Area A4.1
   ----------------------------------------------------------
   Scope:
   - WHMCS authenticated client-area pages
   - Main content shell
   - Shared cards
   - Dynamic sidebars
   - Desktop, tablet and mobile layout foundation
   ========================================================== */


/* ----------------------------------------------------------
   Client-area page foundation
   ---------------------------------------------------------- */

#main-body {
    padding: 28px 0 56px;
}

#main-body > .container {
    width: 100%;
    max-width: 1180px;
}

#main-body .primary-content {
    min-width: 0;
}


/* ----------------------------------------------------------
   Shared client-area cards
   ---------------------------------------------------------- */

#main-body .primary-content .card,
#main-body .card-sidebar {
    overflow: hidden;

    background: var(--sh-surface);

    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius-lg);

    box-shadow:
        0 8px 26px rgba(15, 76, 129, .06);
}

/*
 * Active Products/Services contains Bootstrap/Popper dropdowns
 * that must be allowed to extend beyond the card boundary.
 */
#main-body .primary-content #servicesPanel {
    overflow: visible;
}

#main-body .primary-content .card {
    margin-bottom: 20px;
}

#main-body .primary-content .card-header,
#main-body .card-sidebar .card-header {
    min-height: 54px;

    display: flex;
    align-items: center;

    padding: 15px 18px;

    background: #fbfdff;

    border-bottom: 1px solid var(--sh-border);
}

#main-body .primary-content .card-header .card-title,
#main-body .card-sidebar .card-header .card-title {
    width: 100%;

    margin: 0;

    color: var(--sh-primary);

    font-size: 15px;
    font-weight: 800;
    line-height: 1.7;
}

#main-body .primary-content .card-header .card-title > i:first-child,
#main-body .card-sidebar .card-header .card-title > i:first-child {
    margin-left: 7px;
    margin-right: 0;

    color: var(--sh-primary);
}

#main-body .primary-content .card-body,
#main-body .card-sidebar .card-body {
    padding: 18px;

    color: var(--sh-text);

    font-size: 13px;
    line-height: 1.9;
}

#main-body .primary-content .card-footer,
#main-body .card-sidebar .card-footer {
    padding: 13px 16px;

    background: #fbfdff;

    border-top: 1px solid var(--sh-border);
}


/* ----------------------------------------------------------
   Dynamic WHMCS sidebar
   ---------------------------------------------------------- */

#main-body .card-sidebar {
    margin-bottom: 18px !important;
}

#main-body .card-sidebar .card-minimise {
    margin-top: 4px;

    color: #94a3b8;

    font-size: 12px;
}

#main-body .card-sidebar .list-group-item {
    min-height: 44px;

    padding: 11px 15px;

    color: #475569;

    font-size: 13px;
    line-height: 1.7;

    background: #ffffff;

    border-color: #edf2f7;

    transition:
        color .2s ease,
        background-color .2s ease;
}

#main-body .card-sidebar .list-group-item:hover,
#main-body .card-sidebar .list-group-item:focus {
    color: var(--sh-primary);

    background: #f4f9fc;
}

#main-body .card-sidebar .list-group-item.active {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            var(--sh-primary),
            var(--sh-secondary)
        );

    border-color: transparent;
}

#main-body .sidebar-menu-item-wrapper {
    display: flex;
    align-items: center;

    width: 100%;

    gap: 9px;
}

#main-body .sidebar-menu-item-icon-wrapper {
    flex: 0 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--sh-primary);
}

#main-body .sidebar-menu-item-label {
    flex: 1 1 auto;
    min-width: 0;
}

#main-body .sidebar-menu-item-badge {
    flex: 0 0 auto;
}


/* ----------------------------------------------------------
   Shared client-area buttons
   ---------------------------------------------------------- */

#main-body .btn {
    border-radius: 9px;

    font-weight: 600;

    box-shadow: none;
}

#main-body .btn-primary {
    color: #ffffff;

    background: var(--sh-primary);
    border-color: var(--sh-primary);
}

#main-body .btn-primary:hover,
#main-body .btn-primary:focus {
    color: #ffffff;

    background: #0c416f;
    border-color: #0c416f;
}

#main-body .btn-success {
    color: #ffffff;

    background: var(--sh-success);
    border-color: var(--sh-success);
}

#main-body .btn-default {
    color: var(--sh-text);

    background: #ffffff;
    border-color: #d6e1eb;
}

#main-body .btn-default:hover,
#main-body .btn-default:focus {
    color: var(--sh-primary);

    background: #f5f9fc;
    border-color: #bfd2e1;
}


/* ----------------------------------------------------------
   Shared list groups
   ---------------------------------------------------------- */

#main-body .primary-content .card > .list-group,
#main-body .primary-content .card > .list-group-flush {
    border-radius: 0;
}

#main-body .primary-content .card .list-group-item {
    padding: 13px 16px;

    color: #475569;

    font-size: 13px;
    line-height: 1.8;

    border-color: #edf2f7;

    transition:
        color .2s ease,
        background-color .2s ease;
}

#main-body .primary-content .card .list-group-item:hover,
#main-body .primary-content .card .list-group-item:focus {
    color: var(--sh-primary);

    background: #f7fafc;
}


/* ----------------------------------------------------------
   Forms inside client-area cards
   ---------------------------------------------------------- */

#main-body .primary-content .form-control {
    min-height: 44px;

    color: var(--sh-text);

    background: #ffffff;

    border: 1px solid #d6e1eb;
    border-radius: 9px;

    box-shadow: none;
}

#main-body .primary-content .form-control:focus {
    border-color: var(--sh-accent);

    box-shadow:
        0 0 0 3px rgba(57, 162, 219, .12);
}


/* ----------------------------------------------------------
   Tablet and mobile layout
   Main customer content must appear before sidebar cards.
   ---------------------------------------------------------- */

@media (max-width: 991.98px) {

    #main-body {
        padding-top: 20px;
    }

    #main-body > .container {
        max-width: 760px;
    }

    #main-body > .container > .row {
        display: flex;
        flex-direction: column;
    }

    #main-body > .container > .row > .primary-content {
        order: 1;
    }

    #main-body > .container > .row > [class*="col-lg-4"],
    #main-body > .container > .row > [class*="col-xl-3"] {
        order: 2;
    }

    #main-body > .container > .row > .sidebar-secondary {
        order: 3;
    }

}


/* ----------------------------------------------------------
   Small mobile
   ---------------------------------------------------------- */

@media (max-width: 575.98px) {

    #main-body {
        padding: 16px 0 38px;
    }

    #main-body > .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    #main-body .primary-content .card,
    #main-body .card-sidebar {
        border-radius: 14px;
    }

    #main-body .primary-content .card-header,
    #main-body .card-sidebar .card-header {
        min-height: 50px;

        padding: 13px 14px;
    }

    #main-body .primary-content .card-header .card-title,
    #main-body .card-sidebar .card-header .card-title {
        font-size: 14px;
    }

    #main-body .primary-content .card-body,
    #main-body .card-sidebar .card-body {
        padding: 15px 14px;
    }

    #main-body .primary-content .card-footer,
    #main-body .card-sidebar .card-footer {
        padding: 12px 14px;
    }

}



/* ==========================================================
   SECTION: STARHOST CLIENT DASHBOARD SERVICES
   Version: 2.4.2
   Phase: Client Area A4.2.4
   ----------------------------------------------------------
   Scope:
   - Active Products/Services panel only
   - Scoped under .sh-client-dashboard #servicesPanel
   - Preserves native WHMCS action visibility breakpoints
   ========================================================== */


/* ----------------------------------------------------------
   Service row
   ---------------------------------------------------------- */

.sh-client-dashboard #servicesPanel .list-group-item {
    padding: 15px 16px;
}

.sh-client-dashboard #servicesPanel .div-service-item {
    min-width: 0;
    gap: 0;
}

.sh-client-dashboard #servicesPanel .div-service-status {
    flex: 0 0 auto;
}

.sh-client-dashboard #servicesPanel .div-service-name {
    margin-right: 12px;
    margin-left: 12px;
}

.sh-client-dashboard #servicesPanel .div-service-name > .font-weight-bold {
    color: var(--sh-text);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.sh-client-dashboard #servicesPanel .div-service-name > .text-domain {
    margin-top: 2px;

    color: var(--sh-muted);

    font-size: 12px;
    line-height: 1.6;

    direction: ltr;
    text-align: right;
}


/* ----------------------------------------------------------
   Service actions
   ---------------------------------------------------------- */

.sh-client-dashboard #servicesPanel .div-service-buttons {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 6px;

    margin-left: 0;
}

.sh-client-dashboard #servicesPanel .div-service-buttons > .btn-group,
.sh-client-dashboard #servicesPanel .div-service-buttons > .btn-view-details {
    margin: 0;
}

.sh-client-dashboard #servicesPanel .div-service-buttons .btn {
    min-height: 32px;

    padding: 5px 10px;

    border-radius: 8px;

    font-size: 12px;
    line-height: 1.5;
}

.sh-client-dashboard #servicesPanel .div-service-buttons .btn-group > .btn {
    border-radius: 8px;
}

.sh-client-dashboard #servicesPanel .div-service-buttons .dropdown-menu {
    min-width: 175px;

    padding: 6px;

    border: 1px solid var(--sh-border);
    border-radius: 10px;

    box-shadow:
        0 10px 28px rgba(15, 76, 129, .12);
}

.sh-client-dashboard #servicesPanel .div-service-buttons .dropdown-item {
    padding: 7px 10px;

    border-radius: 7px;

    color: var(--sh-text);

    line-height: 1.6;

    white-space: nowrap;
}

.sh-client-dashboard #servicesPanel .div-service-buttons .dropdown-item:hover,
.sh-client-dashboard #servicesPanel .div-service-buttons .dropdown-item:focus {
    color: var(--sh-primary);

    background: #f4f9fc;
}


/* ----------------------------------------------------------
   Mobile service row
   Native WHMCS switches to compact actions below 768px
   ---------------------------------------------------------- */

@media (max-width: 767.98px) {

    .sh-client-dashboard #servicesPanel .list-group-item {
        padding: 13px 14px;
    }

    .sh-client-dashboard #servicesPanel .div-service-name {
        margin-right: 10px;
        margin-left: 8px;
    }

    .sh-client-dashboard #servicesPanel .div-service-buttons {
        gap: 5px;
    }

    .sh-client-dashboard #servicesPanel .div-service-buttons .btn {
        min-height: 34px;
    }

}


/* ----------------------------------------------------------
   Small mobile
   ---------------------------------------------------------- */

@media (max-width: 575.98px) {

    .sh-client-dashboard #servicesPanel .div-service-name > .font-weight-bold {
        font-size: 12px;
    }

    .sh-client-dashboard #servicesPanel .div-service-name > .text-domain {
        font-size: 11px;
    }

}

/* ==========================================================
   SECTION: STARHOST CLIENT DASHBOARD PANELS
   Version: 2.4.2
   Phase: Client Area A4.2.5
   ----------------------------------------------------------
   Scope:
   - Recent Support Tickets
   - Recent News
   - Register a New Domain
   - Scoped to individual dashboard panel IDs
   ========================================================== */


/* ----------------------------------------------------------
   Recent tickets
   ---------------------------------------------------------- */

.sh-client-dashboard #ticketsPanel .list-group-item {
    position: relative;

    padding-top: 14px;
    padding-bottom: 14px;

    line-height: 1.75;
}

.sh-client-dashboard #ticketsPanel .list-group-item small {
    display: inline-block;

    margin-top: 4px;

    color: var(--sh-muted);

    font-size: 11px;
    line-height: 1.6;
}

.sh-client-dashboard #ticketsPanel .list-group-item .label {
    display: inline-block;

    margin-right: 6px;
    padding: 3px 7px;

    border-radius: 6px;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   Recent announcements
   ---------------------------------------------------------- */

.sh-client-dashboard #announcementsPanel .list-group-item {
    padding-top: 15px;
    padding-bottom: 15px;

    line-height: 1.75;
}

.sh-client-dashboard #announcementsPanel .text-last-updated {
    display: inline-block;

    margin-top: 5px;

    color: var(--sh-muted);

    font-size: 11px;
    line-height: 1.5;
}


/* ----------------------------------------------------------
   Register domain
   ---------------------------------------------------------- */

.sh-client-dashboard #registerDomainPanel .card-body {
    padding-top: 18px;
    padding-bottom: 18px;
}

.sh-client-dashboard #registerDomainPanel .input-group {
    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    flex-wrap: nowrap;
}

.sh-client-dashboard #registerDomainPanel .form-control {
    min-width: 0;
    flex: 1 1 auto;
}

.sh-client-dashboard #registerDomainPanel .input-group-append {
    display: flex;

    flex: 0 0 auto;
}

.sh-client-dashboard #registerDomainPanel .input-group-append .btn {
    min-height: 44px;

    padding-right: 14px;
    padding-left: 14px;

    font-size: 12px;
    font-weight: 700;
}


/* ----------------------------------------------------------
   Mobile dashboard panels
   ---------------------------------------------------------- */

@media (max-width: 575.98px) {

    .sh-client-dashboard #ticketsPanel .list-group-item,
    .sh-client-dashboard #announcementsPanel .list-group-item {
        padding-right: 13px;
        padding-left: 13px;
    }

    .sh-client-dashboard #ticketsPanel .list-group-item {
        font-size: 12px;
    }

    .sh-client-dashboard #registerDomainPanel .card-body {
        padding: 14px;
    }

    .sh-client-dashboard #registerDomainPanel .input-group-append .btn {
        padding-right: 11px;
        padding-left: 11px;
    }

}

/* ==========================================================
   SECTION: STARHOST CLIENT DASHBOARD STATISTICS
   Version: 2.4.1
   Phase: Client Area A4.2.2
   ----------------------------------------------------------
   Scope:
   - Client dashboard statistics tiles only
   - Scoped under .sh-client-dashboard
   - No global WHMCS tile overrides
   ---------------------------------------------------------- */


/* ==========================================================
   STATISTICS GRID
   ========================================================== */

.sh-client-dashboard .tiles {
    margin-bottom: 24px;
}

.sh-client-dashboard .tiles .row {
    margin-right: -7px;
    margin-left: -7px;
}

.sh-client-dashboard .tiles .col-6,
.sh-client-dashboard .tiles .col-xl-3 {
    padding-right: 7px;
    padding-left: 7px;
}


/* ==========================================================
   STATISTIC TILE
   ========================================================== */

.sh-client-dashboard .tiles .tile {
    position: relative;

    display: block;

    min-height: 168px;

    margin-bottom: 14px;
    padding: 24px 22px 20px;

    overflow: hidden;

    color: var(--sh-text);

    background: var(--sh-surface);

    border: 1px solid rgba(226, 232, 240, .85);
    border-radius: 18px;

    box-shadow:
        0 8px 24px rgba(15, 76, 129, .07);

    text-decoration: none;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.sh-client-dashboard .tiles .tile:hover,
.sh-client-dashboard .tiles .tile:focus {
    color: var(--sh-text);

    border-color: rgba(57, 162, 219, .22);

    box-shadow:
        0 14px 32px rgba(15, 76, 129, .12);

    text-decoration: none;

    transform: translateY(-3px);

    outline: none;
}


/* ==========================================================
   STATISTIC VALUE
   ========================================================== */

.sh-client-dashboard .tiles .tile .stat {
    position: relative;
    z-index: 2;

    margin-top: 42px;

    color: var(--sh-primary);

    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}


/* ==========================================================
   STATISTIC LABEL
   ========================================================== */

.sh-client-dashboard .tiles .tile .title {
    position: relative;
    z-index: 2;

    margin-top: 10px;

    color: var(--sh-text-light);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;

    text-transform: none;
}


/* ==========================================================
   STATISTIC ICON
   ========================================================== */

.sh-client-dashboard .tiles .tile > i {
    position: absolute;

    z-index: 1;

    top: 20px;
    left: 20px;
    right: auto;

    color: rgba(15, 76, 129, .09);

    font-size: 52px;

    pointer-events: none;

    transition:
        color .22s ease,
        transform .22s ease;
}

.sh-client-dashboard .tiles .tile:hover > i,
.sh-client-dashboard .tiles .tile:focus > i {
    color: rgba(15, 76, 129, .13);

    transform: scale(1.05);
}


/* ==========================================================
   STATISTIC ACCENT
   ========================================================== */

.sh-client-dashboard .tiles .tile .highlight {
    position: absolute;

    right: 22px;
    bottom: 18px;
    left: 22px;

    height: 4px;

    margin: 0;

    border-radius: 999px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1199px) {

    .sh-client-dashboard .tiles .tile {
        min-height: 160px;

        padding:
            22px
            20px
            19px;
    }

    .sh-client-dashboard .tiles .tile .stat {
        margin-top: 40px;

        font-size: 40px;
    }

    .sh-client-dashboard .tiles .tile > i {
        top: 19px;
        left: 19px;

        font-size: 49px;
    }

    .sh-client-dashboard .tiles .tile .highlight {
        right: 20px;
        bottom: 17px;
        left: 20px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 575px) {

    .sh-client-dashboard .tiles {
        margin-bottom: 20px;
    }

    .sh-client-dashboard .tiles .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .sh-client-dashboard .tiles .col-6,
    .sh-client-dashboard .tiles .col-xl-3 {
        padding-right: 5px;
        padding-left: 5px;
    }

    .sh-client-dashboard .tiles .tile {
        min-height: 145px;

        margin-bottom: 10px;

        padding:
            18px
            16px
            17px;

        border-radius: 15px;
    }

    .sh-client-dashboard .tiles .tile .stat {
        margin-top: 38px;

        font-size: 35px;
    }

    .sh-client-dashboard .tiles .tile .title {
        margin-top: 8px;

        font-size: 12px;
    }

    .sh-client-dashboard .tiles .tile > i {
        top: 17px;
        left: 16px;

        font-size: 43px;
    }

    .sh-client-dashboard .tiles .tile .highlight {
        right: 16px;
        bottom: 15px;
        left: 16px;

        height: 3px;
    }

}


/* ==========================================================
   EXTRA-SMALL MOBILE
   ========================================================== */

@media (max-width: 359px) {

    .sh-client-dashboard .tiles .tile {
        min-height: 136px;

        padding-right: 13px;
        padding-left: 13px;
    }

    .sh-client-dashboard .tiles .tile .stat {
        margin-top: 35px;

        font-size: 32px;
    }

    .sh-client-dashboard .tiles .tile > i {
        left: 13px;

        font-size: 39px;
    }

    .sh-client-dashboard .tiles .tile .highlight {
        right: 13px;
        left: 13px;
    }

}




/* ============================================================
   SECTION: STARHOST CLIENT SERVICES LIST
   Phase: Client Area A4.3.1
   Scope: #tableServicesList / #tableServicesList_wrapper
   ============================================================ */

/* ---------- DataTable shell ---------- */

#tableServicesList_wrapper {
    direction: rtl;
}

#tableServicesList_wrapper .listtable {
    margin-bottom: 14px;
}

#tableServicesList_filter {
    margin-bottom: 16px;
}

#tableServicesList_filter label {
    display: block;
    margin: 0;
}

#tableServicesList_filter input.form-control {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding-right: 14px;
    padding-left: 14px;
    border: 1px solid #dbe4ec;
    border-radius: 8px;
    background: #fff;
}

#tableServicesList_info {
    padding-top: 8px;
    color: #64748b;
    font-size: 12px;
}

/* ---------- Desktop service table ---------- */

#tableServicesList {
    margin-bottom: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
}

#tableServicesList thead th {
    padding-top: 12px;
    padding-bottom: 12px;
    vertical-align: middle;
    white-space: nowrap;
    border-bottom: 2px solid #dce5ed;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

#tableServicesList tbody tr {
    cursor: pointer;
    transition:
        background-color .15s ease,
        box-shadow .15s ease;
}

#tableServicesList tbody tr:hover {
    background: #f8fbfd;
}

#tableServicesList tbody td {
    padding-top: 14px;
    padding-bottom: 14px;
    vertical-align: middle;
    border-top-color: #edf2f6;
}

#tableServicesList tbody td:nth-child(2) strong {
    color: #1e293b;
    font-weight: 700;
}

#tableServicesList tbody td:nth-child(2) a {
    display: inline-block;
    margin-top: 2px;
}

/* ---------- DataTable controls ---------- */

#tableServicesList_paginate .page-link {
    min-width: 34px;
    text-align: center;
}

#tableServicesList_length {
    color: #64748b;
    font-size: 12px;
}

#tableServicesList_length select {
    min-width: 62px;
}

@media (min-width: 576px) {

    #tableServicesList_wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #tableServicesList_wrapper .listtable {
        flex: 0 0 100%;
        width: 100%;
    }

    #tableServicesList_paginate {
        float: none;
        flex: 0 0 auto;
        width: auto;
        margin: 0;
    }

    #tableServicesList_paginate .pagination {
        margin: 0;
    }

    #tableServicesList_length {
        float: none;
        flex: 0 0 auto;
        width: auto;
        margin: 0 14px 0 0;
    }

    #tableServicesList_length label {
        display: flex;
        align-items: center;
        gap: 7px;
        margin: 0;
        white-space: nowrap;
    }

    #tableServicesList_length select {
        margin: 0;
    }
}

/* ---------- Mobile service cards ---------- */

@media (max-width: 575.98px) {

    #tableServicesList_wrapper .listtable {
        width: 100%;
        margin-bottom: 12px;
    }

    #tableServicesList_filter {
        float: none;
        width: 100%;
        margin-bottom: 10px;
    }

    #tableServicesList_filter input.form-control {
        min-height: 44px;
    }

    #tableServicesList_info {
        float: none;
        width: 100%;
        margin: 0 0 14px;
        padding: 0;
        text-align: right;
    }

    #tableServicesList {
        display: block !important;
        width: 100% !important;
        border: 0;
        background: transparent;
    }

    #tableServicesList thead {
        display: none;
    }

    #tableServicesList tbody {
        display: block;
        width: 100%;
    }

    #tableServicesList tbody tr {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        width: 100%;
        margin: 0 0 12px;
        padding: 14px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    }

    #tableServicesList tbody tr:hover {
        background: #fff;
    }

    #tableServicesList tbody td {
        display: block;
        width: auto !important;
        padding: 5px 0 !important;
        border: 0 !important;
        text-align: right !important;
    }

    #tableServicesList tbody td:nth-child(1) {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        padding-left: 10px !important;
        text-align: center !important;
    }

    #tableServicesList tbody td:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        padding-bottom: 10px !important;
        font-size: 13px;
        line-height: 1.7;
    }

    #tableServicesList tbody td:nth-child(2) strong {
        font-size: 14px;
    }

    #tableServicesList tbody td:nth-child(3),
    #tableServicesList tbody td:nth-child(4),
    #tableServicesList tbody td:nth-child(5) {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 0;
        padding-top: 9px !important;
        padding-bottom: 9px !important;
        border-top: 1px solid #eef2f6 !important;
    }

    #tableServicesList tbody td:nth-child(3)::before {
        content: "Ù‚ÛŒÙ…Øª";
    }

    #tableServicesList tbody td:nth-child(4)::before {
        content: "ØªØ§Ø±ÛŒØ® Ø³Ø±Ø±Ø³ÛŒØ¯";
    }

    #tableServicesList tbody td:nth-child(5)::before {
        content: "ÙˆØ¶Ø¹ÛŒØª";
    }

    #tableServicesList tbody td:nth-child(3)::before,
    #tableServicesList tbody td:nth-child(4)::before,
    #tableServicesList tbody td:nth-child(5)::before {
        flex: 0 0 auto;
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
    }

    #tableServicesList tbody td:nth-child(3) small {
        margin-right: 4px;
    }

    #tableServicesList_paginate,
    #tableServicesList_length {
        float: none;
        width: 100%;
    }

    #tableServicesList_paginate .pagination {
        justify-content: center;
        margin: 8px 0 12px;
    }

    #tableServicesList_length {
        text-align: center;
    }
}


/* =========================================================
   SECTION: STARHOST CLIENT PRODUCT DETAILS
   A4.3.2 - Product Details / cPanel Overview
   Scope: #tabOverview
   ========================================================= */

#tabOverview {
    --sh-pd-border: #e6edf4;
    --sh-pd-muted: #64748b;
    --sh-pd-soft: #f8fafc;
}

/* ---------- Shared cPanel panels ---------- */

#tabOverview #cPanelPackagePanel,
#tabOverview #cPanelUsagePanel,
#tabOverview #cPanelQuickShortcutsPanel,
#tabOverview #cPanelQuickEmailPanel,
#tabOverview #cPanelBillingOverviewPanel {
    border: 1px solid var(--sh-pd-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

#tabOverview #cPanelPackagePanel > .card-header,
#tabOverview #cPanelUsagePanel > .card-header,
#tabOverview #cPanelQuickShortcutsPanel > .card-header,
#tabOverview #cPanelQuickEmailPanel > .card-header,
#tabOverview #cPanelBillingOverviewPanel > .card-header {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--sh-pd-border);
    background: #fff;
    font-weight: 700;
}

#tabOverview #cPanelPackagePanel > .card-body,
#tabOverview #cPanelUsagePanel > .card-body,
#tabOverview #cPanelQuickShortcutsPanel > .card-body,
#tabOverview #cPanelQuickEmailPanel > .card-body,
#tabOverview #cPanelBillingOverviewPanel > .card-body {
    padding: 22px;
}

/* ---------- Package / Sitejet ---------- */

#tabOverview #cPanelPackagePanel .cpanel-package-details {
    line-height: 1.7;
}

#tabOverview #cPanelPackagePanel .cpanel-package-details h3 {
    margin-top: 4px;
    margin-bottom: 4px;
}

#tabOverview #cPanelPackagePanel #sitejetViewLink,
#tabOverview #cPanelPackagePanel #sitejetEditBtn {
    margin-top: 8px;
}

/* ---------- Usage ---------- */

#tabOverview #cPanelUsagePanel .cpanel-usage-stats > .row {
    align-items: stretch;
}

#tabOverview #cPanelUsagePanel #diskUsage,
#tabOverview #cPanelUsagePanel #bandwidthUsage {
    padding-top: 6px;
    padding-bottom: 6px;
}

/* ---------- Quick shortcuts ---------- */

#tabOverview #cPanelQuickShortcutsPanel .cpanel-feature-row {
    row-gap: 8px;
}

#tabOverview #cPanelQuickShortcutsPanel .cpanel-feature-row > div > a {
    height: calc(100% - 1rem);
    min-height: 92px;
    padding: 12px 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    transition:
        background-color .15s ease,
        border-color .15s ease,
        transform .15s ease;
}

#tabOverview #cPanelQuickShortcutsPanel .cpanel-feature-row > div > a:hover {
    background: var(--sh-pd-soft);
    border-color: var(--sh-pd-border);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ---------- Quick email ---------- */

#tabOverview #cPanelQuickEmailPanel .card-body > form > .row {
    align-items: center;
}

#tabOverview #cPanelQuickEmailPanel .form-control,
#tabOverview #cPanelQuickEmailPanel .input-group-text,
#tabOverview #cPanelQuickEmailPanel .btn {
    min-height: 40px;
}

/* ---------- Billing overview ---------- */

#tabOverview #cPanelBillingOverviewPanel .card-body > .row {
    align-items: flex-start;
}

#tabOverview #cPanelBillingOverviewPanel #recurringAmount,
#tabOverview #cPanelBillingOverviewPanel #billingCycle,
#tabOverview #cPanelBillingOverviewPanel #paymentMethod,
#tabOverview #cPanelBillingOverviewPanel #registrationDate,
#tabOverview #cPanelBillingOverviewPanel #nextDueDate {
    min-height: 30px;
    align-items: center;
}

/* ---------- Tablet ---------- */

@media (max-width: 991.98px) {

    #tabOverview #cPanelPackagePanel > .card-body,
    #tabOverview #cPanelUsagePanel > .card-body,
    #tabOverview #cPanelQuickShortcutsPanel > .card-body,
    #tabOverview #cPanelQuickEmailPanel > .card-body,
    #tabOverview #cPanelBillingOverviewPanel > .card-body {
        padding: 18px;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 575.98px) {

    #tabOverview #cPanelPackagePanel,
    #tabOverview #cPanelUsagePanel,
    #tabOverview #cPanelQuickShortcutsPanel,
    #tabOverview #cPanelQuickEmailPanel,
    #tabOverview #cPanelBillingOverviewPanel {
        border-radius: 13px;
        margin-bottom: 12px !important;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .035);
    }

    #tabOverview #cPanelPackagePanel > .card-header,
    #tabOverview #cPanelUsagePanel > .card-header,
    #tabOverview #cPanelQuickShortcutsPanel > .card-header,
    #tabOverview #cPanelQuickEmailPanel > .card-header,
    #tabOverview #cPanelBillingOverviewPanel > .card-header {
        min-height: 46px;
        padding: 11px 14px;
    }

    #tabOverview #cPanelPackagePanel > .card-body,
    #tabOverview #cPanelUsagePanel > .card-body,
    #tabOverview #cPanelQuickShortcutsPanel > .card-body,
    #tabOverview #cPanelQuickEmailPanel > .card-body,
    #tabOverview #cPanelBillingOverviewPanel > .card-body {
        padding: 12px;
    }

    /* Package / Sitejet */

    #tabOverview #cPanelPackagePanel .card-body > .row > [class*="col-"] {
        margin-bottom: 8px;
    }

    #tabOverview #cPanelPackagePanel .cpanel-package-details {
        line-height: 1.5;
    }

    #tabOverview #cPanelPackagePanel .cpanel-package-details h3 {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    #tabOverview #cPanelPackagePanel #sitejetViewLink,
    #tabOverview #cPanelPackagePanel #sitejetEditBtn {
        margin-top: 4px;
    }

    /* Usage */

    #tabOverview #cPanelUsagePanel #diskUsage,
    #tabOverview #cPanelUsagePanel #bandwidthUsage {
        padding-top: 4px;
        padding-bottom: 6px;
    }

    #tabOverview #cPanelUsagePanel #diskUsage + #bandwidthUsage {
        border-top: 1px solid var(--sh-pd-border);
    }

    /* Quick shortcuts */

    #tabOverview #cPanelQuickShortcutsPanel .cpanel-feature-row {
        row-gap: 0;
        margin-right: -4px;
        margin-left: -4px;
    }

    #tabOverview #cPanelQuickShortcutsPanel .cpanel-feature-row > div {
        padding-right: 4px;
        padding-left: 4px;
    }

    #tabOverview #cPanelQuickShortcutsPanel .cpanel-feature-row > div > a {
        height: auto;
        min-height: 68px;
        margin-bottom: 2px !important;
        padding: 5px 3px;
        border-radius: 9px;
    }

    #tabOverview #cPanelQuickShortcutsPanel .cpanel-feature-row img {
        max-height: 38px;
        width: auto;
    }

    /* Quick email */

    #tabOverview #cPanelQuickEmailPanel .card-body > form > .row > [class*="col-"] {
        margin-bottom: 6px;
    }

    #tabOverview #cPanelQuickEmailPanel .form-control,
    #tabOverview #cPanelQuickEmailPanel .input-group-text,
    #tabOverview #cPanelQuickEmailPanel .btn {
        min-height: 38px;
    }

    #tabOverview #cPanelQuickEmailPanel .btn {
        width: 100%;
    }

    /* Billing */

    #tabOverview #cPanelBillingOverviewPanel .card-body > .row > [class*="col-md-"] {
        margin-bottom: 0;
    }

    #tabOverview #cPanelBillingOverviewPanel #recurringAmount,
    #tabOverview #cPanelBillingOverviewPanel #billingCycle,
    #tabOverview #cPanelBillingOverviewPanel #paymentMethod,
    #tabOverview #cPanelBillingOverviewPanel #registrationDate,
    #tabOverview #cPanelBillingOverviewPanel #nextDueDate {
        min-height: 27px;
        padding-top: 1px;
        padding-bottom: 1px;
    }
}


/* ============================================================
   SECTION: STARHOST CLIENT DOMAINS
   Phase: Client Area A4.3.3a
   Scope: #domainForm / #tableDomainsList / #tableDomainsList_wrapper
   State: Domains shell, toolbar, DataTables controls, empty state
   ============================================================ */

#domainForm {
    --sh-domain-border: #e3eaf2;
}

/* ---------- Bulk action toolbar ---------- */

#domainForm > .btn-group,
#domainForm .domain-bulk-options {
    margin-bottom: 14px;
}

#domainForm .setBulkAction,
#domainForm #btnGroupDrop1 {
    min-height: 38px;
    border-color: #dbe4ed;
}

/* ---------- DataTables shell ---------- */

#tableDomainsList_wrapper .listtable {
    width: 100%;
}

#tableDomainsList_wrapper .dataTables_filter {
    margin-bottom: 8px;
}

#tableDomainsList_wrapper .dataTables_filter input {
    min-height: 42px;
    border-radius: 9px;
}

#tableDomainsList {
    margin-bottom: 0 !important;
    border: 1px solid var(--sh-domain-border);
}

#tableDomainsList thead th {
    vertical-align: middle;
}

#tableDomainsList tbody .dataTables_empty {
    padding: 18px 14px;
    color: #64748b;
    background: #fff;
}

/* ---------- Desktop / Tablet controls ---------- */

@media (min-width: 576px) {

    #tableDomainsList_wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #tableDomainsList_wrapper .listtable {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #tableDomainsList_wrapper .dataTables_paginate {
        width: auto;
        flex: 0 0 auto;
        margin: 0;
    }

    #tableDomainsList_wrapper .dataTables_length {
        width: auto;
        flex: 0 0 auto;
        margin-right: 14px;
    }

    #tableDomainsList_wrapper .dataTables_length label {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-bottom: 0;
        white-space: nowrap;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 575.98px) {

    #domainForm .setBulkAction,
    #domainForm #btnGroupDrop1 {
        min-height: 48px;
        white-space: normal;
        line-height: 1.45;
    }

    #tableDomainsList_wrapper .dataTables_filter {
        width: 100%;
        margin: 8px 0 4px;
    }

    #tableDomainsList_wrapper .dataTables_filter label {
        display: block;
        width: 100%;
        margin: 0;
    }

    #tableDomainsList_wrapper .dataTables_filter input {
        width: 100% !important;
        min-height: 44px;
        margin: 0 !important;
    }

    #tableDomainsList_wrapper .dataTables_info {
        width: 100%;
        padding: 8px 0 10px;
        text-align: center;
    }

    #tableDomainsList {
        width: 100% !important;
    }

    #tableDomainsList tbody .dataTables_empty {
        padding: 16px 10px;
        text-align: center;
    }

    #tableDomainsList_wrapper .dataTables_paginate,
    #tableDomainsList_wrapper .dataTables_length {
        float: none !important;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    #tableDomainsList_wrapper .dataTables_paginate {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    #tableDomainsList_wrapper .dataTables_length {
        margin-top: 8px;
    }

    #tableDomainsList_wrapper .dataTables_length label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-bottom: 0;
        white-space: nowrap;
    }

    #tableDomainsList_wrapper .dataTables_length select {
        min-width: 56px;
        min-height: 42px;
    }
}
