/* =========================================================
   CNCTASPHR PUBLIC SIGN-UP PAGE
   Uses the shared brand-only header and shared site footer.
========================================================= */

:root {
    --cnctasphr-signup-blue: #3b82f6;
    --cnctasphr-signup-blue-dark: #1e40af;
    --cnctasphr-signup-purple: #8b5cf6;
    --cnctasphr-signup-ink: #0f172a;
    --cnctasphr-signup-muted: #64748b;
    --cnctasphr-signup-surface: #ffffff;
    --cnctasphr-signup-line: rgba(59, 130, 246, 0.20);
    --cnctasphr-signup-shadow:
        0 20px 55px rgba(15, 23, 42, 0.16);
}

body.cnctasphr-signup-body {
    min-height: 100vh;
    color: var(--cnctasphr-signup-ink);
    background:
        linear-gradient(
            rgba(42, 157, 194, 0.28),
            rgba(8, 24, 36, 0.24)
        ),
        url("/assets/brand/body-bg-cnctasphr.png")
        center top / cover fixed no-repeat;

    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    line-height: 1.6;
}

body.cnctasphr-signup-body
> main.site-content.cnctasphr-signup-content {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.cnctasphr-signup-body
.cnctasphr-signup-content
.main-container {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    width: min(1380px, calc(100% - 36px));
    min-height: calc(100vh - 110px);
    margin: 0 auto;
    padding: 42px 18px;
}

/* =========================================================
   SIGN-UP CARD
========================================================= */

.signup-card {
    width: min(100%, 650px);
    padding: 46px;
    color: #000000;
       background: rgb(255 255 255 / 70%);
    border:
        1px solid rgba(255, 255, 255, 0.46);
    border-radius: 22px;
    box-shadow:
        0 18px 40px rgba(18, 40, 54, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    backdrop-filter:
        blur(2px)
        saturate(106%);
    -webkit-backdrop-filter:
        blur(2px)
        saturate(106%);
}

.signup-header {
    margin-bottom: 28px;

    text-align: center;
}


.signup-title {
    margin: 0 0 7px;
    color: #000000;
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    font-size: clamp(1.9rem, 5vw, 2.25rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing:
        -0.035em;
}


.signup-subtitle {
    margin: 0;
    color: rgba(0, 0, 0, 0.60);
    font-size: 0.88rem;
    font-weight:450;
    line-height: 1.5;
}


.signup-header > p:not(.signup-subtitle):not(.cnctasphr-signup-neighbor-note) {
    margin: 8px 0 0;
    color: rgba(0, 0, 0, 0.62);
    font-size: 0.80rem;
    line-height: 1.5;
}

.cnctasphr-signup-age-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 11px 14px;
    color: rgba(0, 0, 0, 0.76);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.45;
}

.cnctasphr-signup-neighbor-note {
    margin: 10px 0 0;
    color:rgba(127, 29, 29, 0.88);
    font-size: 0.70rem;
    font-weight: 550;
    font-style: italic;
    line-height: 1.5;
}

/* =========================================================
   FORM
========================================================= */

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.form-label {
    color:
        rgba(0, 0, 0, 0.78);
    font-size: 0.80rem;
    font-weight: 650;
    letter-spacing: 0.005em;
}

.form-input {
    position: relative;
}

.form-input > i {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    color:
        rgba(0, 0, 0, 0.56);
    transform:
        translateY(-50%);
    pointer-events: none;
}

.form-input input,
.form-input select {
    display: block;
    width: 100%;
    min-height: 49px;
    margin: 0;
    padding:
        12px
        44px
        12px
        42px;
    color: #000000;
    background:
        rgba(255, 255, 255, 0.24);
    border:
        1px solid rgba(255, 255, 255, 0.52);
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30),
        0 4px 12px rgba(18, 40, 54, 0.06);
    backdrop-filter:
        blur(3px);
    -webkit-backdrop-filter:
        blur(3px);
    font: inherit;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}


.form-input select {
    padding-right: 36px;
}


.form-input input:focus,
.form-input select:focus {
    color: #000000;
    background:
        rgba(255, 255, 255, 0.38);
    border-color:
        rgba(8, 102, 255, 0.62);
    box-shadow:
        0 0 0 3px rgba(8, 102, 255, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
}


.form-input input::placeholder {
    color:
        rgba(0, 0, 0, 0.42);
    opacity: 1;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 9px;

    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    padding: 0;

    color:
        rgba(0, 0, 0, 0.56);

    background: transparent;

    border: 0;
    border-radius: 5px;

    cursor: pointer;

    transform:
        translateY(-50%);

    transition:
        color 0.16s ease,
        background 0.16s ease;
}


.password-toggle:hover {
    color: #000000;

    background:
        rgba(255, 255, 255, 0.18);
}
/* =========================================================
   PASSWORD STRENGTH
========================================================= */

.password-strength {
    display: none;

    margin-top: 5px;
}


.password-strength.show {
    display: block;
}


.strength-bar {
    height: 4px;

    margin-bottom: 6px;

    overflow: hidden;

    background:
        rgba(0, 0, 0, 0.12);

    border:
        1px solid rgba(255, 255, 255, 0.18);

    border-radius: 999px;
}


.strength-fill {
    height: 100%;

    border-radius: inherit;

    transition:
        width 0.30s ease,
        background-color 0.30s ease;
}


.strength-weak {
    width: 25%;

    background:
        #dc2626;
}


.strength-fair {
    width: 50%;

    background:
        #d97706;
}


.strength-good {
    width: 75%;

    background:
        #059669;
}


.strength-strong {
    width: 100%;

    background:
        #047857;
}


.strength-text {
    color:
        rgba(0, 0, 0, 0.58);

    font-size: 0.70rem;
    font-weight: 550;

    line-height: 1.4;
}

/* =========================================================
   TERMS
========================================================= */

.terms-privacy {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color:
        rgba(0, 0, 0, 0.68);

    font-size: 0.80rem;
    font-weight: 500;

    line-height: 1.5;
}


.terms-privacy input[type="checkbox"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin:
        2px
        0
        0;

    accent-color:
        #0a0f14;

    cursor: pointer;
}


.terms-privacy a {
    color:
        #000000;

    font-weight: 650;

    text-decoration: none;

    border-bottom:
        1px solid rgba(0, 0, 0, 0.24);

    transition:
        border-color 0.16s ease;
}


.terms-privacy a:hover {
    border-color:
        rgba(0, 0, 0, 0.68);

    text-decoration: none;
}
/* =========================================================
   BUTTONS + MESSAGES
========================================================= */

.signup-btn {
    position: relative;
    isolation: isolate;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;
    min-height: 50px;

    margin-top: 4px;

    padding:
        13px
        22px;

    color: #ffffff;

    background:
        #0a0f14;

    background-image:
        none;

    border:
        1px solid rgba(255, 255, 255, 0.16);

    border-radius: 5px;

    outline: none;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.22);

    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 0.89rem;
    font-weight: 650;

    line-height: 1;

    letter-spacing:
        0.005em;

    cursor: pointer;

    transform: none;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}


.signup-btn:hover {
    color: #ffffff;

    background-color:
        #101820;

    border-color:
        rgba(255, 255, 255, 0.30);

    box-shadow:
        0 11px 24px rgba(0, 0, 0, 0.24);

    transform:
        translateY(-1px);
}


.signup-btn:active {
    background-color:
        #0a0f14;

    transform:
        translateY(0);

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.18);
}

.error-message,
.success-message {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-bottom: 18px;

    padding:
        11px
        13px;

    border-radius: 8px;

    font-size: 0.80rem;
    font-weight: 650;

    line-height: 1.45;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}


.error-message {
    color:
        #7f1d1d;

    background:
        rgba(254, 226, 226, 0.34);

    border:
        1px solid rgba(185, 28, 28, 0.24);
}


.success-message {
    color:
        #14532d;

    background:
        rgba(220, 252, 231, 0.34);

    border:
        1px solid rgba(22, 101, 52, 0.24);
}

.login-link {
    margin-top: 20px;

    padding-top: 18px;

    color:
        rgba(0, 0, 0, 0.62);

    border-top:
        1px solid rgba(0, 0, 0, 0.14);

    font-size: 0.82rem;
    font-weight: 500;

    text-align: center;
}


.login-link a {
    color:
        #000000;

    font-weight: 700;

    text-decoration: none;

    border-bottom:
        1px solid rgba(0, 0, 0, 0.24);

    transition:
        border-color 0.16s ease;
}


.login-link a:hover {
    border-color:
        rgba(0, 0, 0, 0.68);

    text-decoration: none;
}

/* =========================================================
   PAYMENT
========================================================= */

.cnctasphr-signup-payment-card {
    margin-top: 24px;

    padding: 18px;

    background:
        rgba(255, 255, 255, 0.16);

    border:
        1px solid rgba(255, 255, 255, 0.42);

    border-radius: 10px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 6px 16px rgba(18, 40, 54, 0.06);

    backdrop-filter:
        blur(2px);

    -webkit-backdrop-filter:
        blur(2px);
}


.cnctasphr-signup-payment-card h3 {
    margin: 0 0 8px;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 700;
}


.cnctasphr-signup-payment-copy {
    margin: 0 0 16px;
    color: rgba(0, 0, 0, 0.64);
    font-size: 0.80rem;
    font-weight: 500;
    line-height: 1.5;
}


#paypal-message {
    margin-top: 16px;
    color: rgba(0, 0, 0, 0.68);
    font-size: 0.80rem;
    line-height: 1.5;
}

/* =========================================================
   UNUSED ACCOUNT TYPE CONTROLS
========================================================= */

.account-type-toggle {
    display: flex;

    gap: 10px;

    margin-top: 16px;
}


.type-btn {
    flex: 1;

    padding:
        11px
        14px;

    color:
        rgba(0, 0, 0, 0.72);

    background:
        rgba(255, 255, 255, 0.18);

    border:
        1px solid rgba(255, 255, 255, 0.44);

    border-radius: 7px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    font: inherit;
    font-size: 0.82rem;
    font-weight: 650;

    cursor: pointer;

    transition:
        color 0.16s ease,
        background-color 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}


.type-btn:hover {
    color:
        #000000;

    background:
        rgba(255, 255, 255, 0.28);

    border-color:
        rgba(255, 255, 255, 0.62);
}


.type-btn.active {
    color:
        #ffffff;

    background:
        #0a0f14;

    border-color:
        rgba(255, 255, 255, 0.18);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    body.cnctasphr-signup-body
    .cnctasphr-signup-content
    .main-container {
        width: 100%;

        min-height:
            calc(100vh - 94px);

        padding:
            20px
            10px
            34px;
    }


    .signup-card {
        width: 100%;

        padding:
            30px
            24px;

        border-radius:
            18px;
    }


    .form-row {
        grid-template-columns:
            1fr;
    }


    .signup-form {
        gap:
            18px;
    }
}


@media (max-width: 480px) {

    body.cnctasphr-signup-body
    .cnctasphr-signup-content
    .main-container {
        padding:
            16px
            8px
            28px;
    }


    .signup-card {
        padding:
            26px
            18px;

        border-radius:
            16px;
    }


    .signup-title {
        font-size:
            1.75rem;
    }


    .signup-header {
        margin-bottom:
            24px;
    }


    .cnctasphr-signup-age-notice {
        align-items:
            flex-start;

        text-align:
            left;
    }


    .terms-privacy {
        font-size:
            0.78rem;
    }
}