/* ==========================================================
   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%;
    }

}





