/* TRADEJOUR AUTH V1 */

.tj-auth-body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(56, 217, 150, .055),
            transparent 35%
        ),
        #090b0e;
    color: #f4f6f8;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.tj-auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 32px 20px;
}

.tj-auth-card {
    width: min(100%, 430px);
    box-sizing: border-box;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 20px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.018)
        );
    box-shadow:
        0 26px 80px rgba(0,0,0,.35);
}

.tj-auth-brand {
    display: inline-block;
    margin-bottom: 34px;
    color: #f4f6f8;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.045em;
    text-decoration: none;
}

.tj-auth-copy {
    margin-bottom: 24px;
}

.tj-auth-copy h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -.025em;
}

.tj-auth-copy p {
    margin: 0;
    color: #8d97a3;
    font-size: 14px;
    line-height: 1.55;
}

.tj-auth-form {
    display: grid;
    gap: 16px;
}

.tj-auth-form label {
    display: grid;
    gap: 7px;
}

.tj-auth-form label > span {
    color: #aeb6bf;
    font-size: 12px;
    font-weight: 600;
}

.tj-auth-form input {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.095);
    border-radius: 11px;
    outline: none;
    background: #101318;
    color: #f4f6f8;
    font: inherit;
    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

.tj-auth-form input:focus {
    border-color: rgba(56,217,150,.42);
    box-shadow:
        0 0 0 3px rgba(56,217,150,.08);
}

.tj-auth-primary {
    min-height: 46px;
    margin-top: 4px;
    border: 1px solid rgba(56,217,150,.24);
    border-radius: 11px;
    background: rgba(56,217,150,.12);
    color: #67e4ac;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.tj-auth-primary:hover {
    background: rgba(56,217,150,.17);
}

.tj-auth-error {
    margin: 0 0 18px;
    padding: 11px 12px;
    border: 1px solid rgba(255,99,111,.2);
    border-radius: 10px;
    background: rgba(255,99,111,.07);
    color: #ff8992;
    font-size: 13px;
    line-height: 1.45;
}

.tj-auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.065);
    color: #7f8995;
    font-size: 13px;
}

.tj-auth-footer a {
    color: #c7cdd4;
    text-decoration: none;
}

.tj-auth-footer a:hover {
    color: #f4f6f8;
}

@media (max-width: 520px) {

    .tj-auth-card {
        padding: 26px 22px;
    }

}


/* =========================================================
   TRADEJOUR AUTH BRAND V1
   ========================================================= */

.tj-auth-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}


.tj-auth-card::before {
    content: "";

    position: absolute;
    z-index: -1;

    width: 340px;
    height: 340px;

    top: -145px;
    right: -145px;

    background:
        url("/static/brand/tradejour-mark.svg")
        center / contain
        no-repeat;

    opacity: .022;

    pointer-events: none;
}


.tj-auth-brand {
    width: max-content;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin:
        0
        auto
        28px;

    color: #f5f7f9;

    text-decoration: none;

    transition:
        opacity .16s ease,
        transform .16s ease;
}


.tj-auth-brand:hover {
    opacity: .94;

    transform:
        translateY(-1px);
}


.tj-auth-brand-mark-shell {
    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    flex:
        0
        0
        52px;

    border-radius:
        15px;

    box-shadow:
        0 0 0 1px
        rgba(
            255,
            255,
            255,
            .07
        ),
        0 16px 38px
        rgba(
            0,
            0,
            0,
            .34
        ),
        0 0 26px
        rgba(
            56,
            217,
            150,
            .055
        );

    overflow: hidden;
}


.tj-auth-brand-mark {
    display: block;

    width: 52px;
    height: 52px;

    object-fit: cover;
}


.tj-auth-brand-word {
    color:
        #f5f7f9;

    font-size:
        24px;

    line-height:
        1;

    font-weight:
        900;

    letter-spacing:
        -.035em;
}


@media (
    max-width: 520px
) {

    .tj-auth-brand {
        margin-bottom:
            24px;
    }


    .tj-auth-brand-mark-shell,
    .tj-auth-brand-mark {
        width:
            46px;

        height:
            46px;
    }


    .tj-auth-brand-mark-shell {
        flex-basis:
            46px;

        border-radius:
            13px;
    }


    .tj-auth-brand-word {
        font-size:
            22px;
    }

}

/* TRADEJOUR AUTH BRAND V1 END */
