/* =========================================================
   COMPLETE BLISS - MEMBER LOGIN
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --cbx-primary: #2563eb;

    --cbx-primary-dark: #1d4ed8;

    --cbx-dark: #101828;

    --cbx-text: #475467;

    --cbx-muted: #667085;

    --cbx-light: #f8faff;

    --cbx-border: #e4e7ec;

    --cbx-white: #ffffff;

    --cbx-green: #16a34a;

}


html,
body {

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

}


body {

    margin: 0;

    color: var(--cbx-text);

    background: #ffffff;

    font-family:
        "Inter",
        sans-serif;

    -webkit-font-smoothing: antialiased;

}


a {

    text-decoration: none;

}


/* =========================================================
   PAGE
========================================================= */

.cbx-login-page {

    width: 100%;

    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(470px, .95fr);

    background: #ffffff;

}


/* =========================================================
   LEFT VISUAL
========================================================= */

.cbx-login-visual {

    position: relative;

    min-height: 100vh;

    padding: 46px 55px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    isolation: isolate;

    background: #0b172a;

}


/* IMAGE */

.cbx-login-bg {

    position: absolute;

    inset: 0;

    z-index: -3;

}


.cbx-login-bg img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;

}


/* OVERLAY */

.cbx-login-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:

        radial-gradient(
            circle at 80% 15%,
            rgba(59,130,246,.15),
            transparent 32%
        ),

        linear-gradient(
            90deg,
            rgba(4,12,29,.90),
            rgba(8,20,44,.78) 55%,
            rgba(8,20,44,.53)
        );

}


/* EXTRA DECORATION */

.cbx-login-visual::after {

    content: "";

    position: absolute;

    z-index: -1;

    width: 420px;
    height: 420px;

    left: -190px;
    bottom: -230px;

    border-radius: 50%;

    border:
        70px solid
        rgba(255,255,255,.035);

}


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

.cbx-login-brand {

    position: relative;

    z-index: 3;

}


.cbx-login-brand a {

    display: inline-flex;

    align-items: center;

}


.cbx-login-brand img {

    width: auto;

    max-width: 185px;

    height: 62px;

    object-fit: contain;

}


/* =========================================================
   VISUAL CONTENT
========================================================= */

.cbx-login-visual-content {

    position: relative;

    z-index: 3;

    max-width: 620px;

}


.cbx-login-visual-badge {

    width: fit-content;

    margin-bottom: 18px;

    padding: 8px 12px;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    border-radius: 999px;

    color: #bfdbfe;

    background:
        rgba(255,255,255,.09);

    border:
        1px solid
        rgba(255,255,255,.12);

    backdrop-filter: blur(8px);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;

}


.cbx-login-visual-content h1 {

    margin: 0;

    color: #ffffff;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: clamp(
        44px,
        5vw,
        68px
    );

    line-height: 1.04;

    letter-spacing: -3px;

    font-weight: 800;

}


.cbx-login-visual-content h1 span {

    display: block;

    color: #60a5fa;

}


.cbx-login-visual-content > p {

    max-width: 520px;

    margin: 20px 0 0;

    color:
        rgba(255,255,255,.68);

    font-size: 13px;

    line-height: 1.85;

}


/* =========================================================
   BENEFITS
========================================================= */

.cbx-login-benefits {

    max-width: 570px;

    margin-top: 31px;

    display: grid;

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

    gap: 9px;

}


.cbx-login-benefits > div {

    padding: 13px;

    display: flex;

    align-items: center;

    gap: 9px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid
        rgba(255,255,255,.10);

    backdrop-filter: blur(8px);

}


.cbx-login-benefits > div > span {

    width: 35px;
    min-width: 35px;
    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    color: #ffffff;

    background:
        rgba(37,99,235,.72);

    font-size: 11px;

}


.cbx-login-benefits strong {

    display: block;

    margin-bottom: 3px;

    color: #ffffff;

    font-size: 8px;

    font-weight: 700;

}


.cbx-login-benefits small {

    display: block;

    color:
        rgba(255,255,255,.50);

    font-size: 6px;

    line-height: 1.4;

}


/* =========================================================
   VISUAL BOTTOM
========================================================= */

.cbx-login-visual-bottom {

    position: relative;

    z-index: 3;

}


.cbx-login-visual-bottom span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color:
        rgba(255,255,255,.58);

    font-size: 8px;

    font-weight: 600;

}


.cbx-login-visual-bottom i {

    color: #4ade80;

}


/* =========================================================
   RIGHT SIDE
========================================================= */

.cbx-login-form-side {

    position: relative;

    min-height: 100vh;

    padding: 45px 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        radial-gradient(
            circle at 95% 5%,
            rgba(37,99,235,.055),
            transparent 27%
        ),

        #ffffff;

}


.cbx-login-form-side::before {

    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -160px;
    bottom: -140px;

    border-radius: 50%;

    background:
        rgba(37,99,235,.035);

}


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

.cbx-login-mobile-header {

    display: none;

}


/* =========================================================
   FORM WRAPPER
========================================================= */

.cbx-login-form-wrap {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 475px;

}


/* BACK */

.cbx-login-back {

    width: fit-content;

    margin-bottom: 43px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #667085;

    font-size: 9px;

    font-weight: 700;

    transition:
        color .2s ease,
        transform .2s ease;

}


.cbx-login-back:hover {

    color: var(--cbx-primary);

    transform: translateX(-3px);

}


/* =========================================================
   HEADING
========================================================= */

.cbx-login-heading {

    margin-bottom: 32px;

}


.cbx-login-icon {

    width: 47px;
    height: 47px;

    margin-bottom: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    color: var(--cbx-primary);

    background: #eff6ff;

    font-size: 15px;

}


.cbx-login-heading > span {

    display: block;

    margin-bottom: 7px;

    color: var(--cbx-primary);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.2px;

}


.cbx-login-heading h2 {

    margin: 0;

    color: var(--cbx-dark);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 33px;

    line-height: 1.2;

    letter-spacing: -1.3px;

    font-weight: 800;

}


.cbx-login-heading p {

    max-width: 410px;

    margin: 9px 0 0;

    color: #667085;

    font-size: 10px;

    line-height: 1.7;

}


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

.cbx-login-form {

    width: 100%;

}


.cbx-form-group {

    margin-bottom: 19px;

}


.cbx-form-group label {

    display: block;

    margin-bottom: 8px;

    color: #344054;

    font-size: 9px;

    font-weight: 700;

}


.cbx-label-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

}


.cbx-label-row > a {

    margin-bottom: 8px;

    color: var(--cbx-primary);

    font-size: 8px;

    font-weight: 700;

}


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

.cbx-input-wrap {

    position: relative;

    width: 100%;

}


.cbx-input-icon {

    position: absolute;

    z-index: 3;

    top: 50%;
    left: 15px;

    width: 31px;
    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: translateY(-50%);

    border-radius: 9px;

    color: #667085;

    background: #f2f4f7;

    font-size: 10px;

    pointer-events: none;

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

}


.cbx-input-wrap input {

    width: 100%;
    height: 55px;

    padding:
        0 52px 0 58px;

    outline: none;

    border:
        1px solid
        #dfe3e8;

    border-radius: 12px;

    color: #101828;

    background: #ffffff;

    font-family:
        "Inter",
        sans-serif;

    font-size: 10px;

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

}


.cbx-input-wrap input::placeholder {

    color: #98a2b3;

}


.cbx-input-wrap:focus-within
input {

    border-color: #93c5fd;

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(37,99,235,.07);

}


.cbx-input-wrap:focus-within
.cbx-input-icon {

    color: var(--cbx-primary);

    background: #eff6ff;

}


/* PASSWORD BUTTON */

.toggle-password {

    position: absolute;

    z-index: 4;

    top: 50%;
    right: 13px;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: translateY(-50%);

    border: none;

    border-radius: 9px;

    color: #98a2b3;

    background: transparent;

    cursor: pointer;

    font-size: 11px;

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

}


.toggle-password:hover {

    color: var(--cbx-primary);

    background: #eff6ff;

}


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

.cbx-login-options {

    margin:
        3px 0 22px;

}


.cbx-remember {

    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #667085;

    cursor: pointer;

    font-size: 8px;

    font-weight: 600;

}


.cbx-remember input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


.cbx-checkbox {

    width: 17px;
    height: 17px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border:
        1.5px solid
        #d0d5dd;

    border-radius: 5px;

    background: #ffffff;

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

}


.cbx-remember
input:checked + .cbx-checkbox {

    background: var(--cbx-primary);

    border-color:
        var(--cbx-primary);

}


.cbx-remember
input:checked + .cbx-checkbox::after {

    content: "✓";

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

}


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

.cbx-login-btn {

    width: 100%;
    height: 55px;

    padding: 0 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border: none;

    border-radius: 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    cursor: pointer;

    font-family:
        "Inter",
        sans-serif;

    font-size: 10px;

    font-weight: 800;

    box-shadow:
        0 12px 25px
        rgba(37,99,235,.18);

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

}


.cbx-login-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 17px 30px
        rgba(37,99,235,.23);

}


.cbx-login-btn i {

    width: 31px;
    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background:
        rgba(255,255,255,.13);

}


/* =========================================================
   REGISTER
========================================================= */

.cbx-login-register {

    margin-top: 24px;

    padding: 17px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    flex-wrap: wrap;

    border-radius: 12px;

    background: #f8faff;

    border: 1px solid #edf1f6;

    font-size: 8px;

}


.cbx-login-register > span {

    color: #667085;

}


.cbx-login-register > a {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: var(--cbx-primary);

    font-weight: 800;

}


/* =========================================================
   FORM FOOTER
========================================================= */

.cbx-login-form-footer {

    margin-top: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    color: #98a2b3;

    font-size: 7px;

}


.cbx-login-form-footer > i {

    color: #16a34a;

}


.cbx-login-form-footer a {

    color: var(--cbx-primary);

    font-weight: 700;

}


.cbx-login-dot {

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #d0d5dd;

}


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

@media (max-width: 1100px) {

    .cbx-login-page {

        grid-template-columns:
            minmax(0, .9fr)
            minmax(440px, 1.1fr);

    }


    .cbx-login-visual {

        padding:
            42px 35px;

    }


    .cbx-login-visual-content h1 {

        font-size: 49px;

    }


    .cbx-login-benefits {

        grid-template-columns: 1fr;

        max-width: 280px;

    }


    .cbx-login-form-side {

        padding:
            40px 45px;

    }

}

/* =========================================================
   TABLET + MOBILE
========================================================= */

@media (max-width: 850px) {

    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }


    body {
        background: #ffffff;
    }


    .cbx-login-page {
        width: 100%;
        min-width: 0;
        min-height: 100vh;

        display: block;

        overflow-x: hidden;
    }


    /* HIDE LARGE DESKTOP SIDE */

    .cbx-login-visual {
        display: none;
    }


    /* =====================================================
       FORM SIDE
    ====================================================== */

    .cbx-login-form-side {
        position: relative;

        width: 100%;
        min-width: 0;
        min-height: 100vh;

        padding:
            100px 24px 45px;

        display: block;

        background:
            radial-gradient(
                circle at 100% 0%,
                rgba(37, 99, 235, 0.07),
                transparent 30%
            ),
            #ffffff;

        overflow-x: hidden;
    }


    .cbx-login-form-side::before {
        display: none;
    }


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

    .cbx-login-mobile-header {
        position: absolute;

        top: 0;
        left: 0;
        right: 0;

        width: 100%;
        height: 72px;

        padding: 0 24px;

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

        gap: 15px;

        background:
            rgba(255, 255, 255, 0.96);

        border-bottom:
            1px solid #edf0f4;

        backdrop-filter: blur(10px);

        z-index: 20;
    }


    .cbx-login-mobile-header > a:first-child {
        min-width: 0;

        display: flex;
        align-items: center;
    }


    .cbx-login-mobile-header img {
        display: block;

        width: auto;
        max-width: 135px;
        height: 43px;

        object-fit: contain;
    }


    .cbx-login-home-mobile {
        flex-shrink: 0;

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

        gap: 6px;

        color: #667085;

        font-size: 9px;

        font-weight: 700;

        white-space: nowrap;
    }


    /* =====================================================
       FORM WRAPPER
    ====================================================== */

    .cbx-login-form-wrap {
        width: 100%;
        max-width: 520px;
        min-width: 0;

        margin: 0 auto;
    }


    .cbx-login-back {
        display: none;
    }


    /* =====================================================
       HEADING
    ====================================================== */

    .cbx-login-heading {
        width: 100%;

        margin-bottom: 28px;
    }


    .cbx-login-heading h2 {
        font-size: 31px;

        line-height: 1.2;

        letter-spacing: -1px;
    }


    .cbx-login-heading p {
        max-width: 100%;

        font-size: 10px;

        line-height: 1.7;
    }


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

    .cbx-login-form,
    .cbx-form-group,
    .cbx-input-wrap {
        width: 100%;
        min-width: 0;
    }


    .cbx-input-wrap input {
        width: 100%;
        min-width: 0;

        height: 54px;

        padding:
            0 50px 0 56px;

        font-size: 11px;
    }


    .cbx-login-btn {
        width: 100%;

        height: 54px;
    }


    .cbx-login-register {
        width: 100%;
    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 560px) {

    .cbx-login-form-side {
        padding:
            92px 16px 30px;
    }


    /* HEADER */

    .cbx-login-mobile-header {
        height: 66px;

        padding:
            0 16px;
    }


    .cbx-login-mobile-header img {
        max-width: 115px;

        height: 38px;
    }


    .cbx-login-home-mobile {
        font-size: 8px;
    }


    /* HEADING */

    .cbx-login-icon {
        width: 42px;
        height: 42px;

        margin-bottom: 14px;

        border-radius: 12px;
    }


    .cbx-login-heading > span {
        font-size: 7px;
    }


    .cbx-login-heading h2 {
        font-size: 27px;

        letter-spacing: -0.8px;
    }


    .cbx-login-heading p {
        margin-top: 7px;

        font-size: 9px;
    }


    /* LABEL */

    .cbx-form-group {
        margin-bottom: 17px;
    }


    .cbx-form-group label {
        font-size: 9px;
    }


    .cbx-label-row {
        gap: 8px;
    }


    .cbx-label-row > a {
        font-size: 8px;

        white-space: nowrap;
    }


    /* INPUTS */

    .cbx-input-wrap input {
        height: 52px;

        padding:
            0 46px 0 52px;

        border-radius: 11px;

        font-size: 10px;
    }


    .cbx-input-icon {
        left: 11px;

        width: 30px;
        height: 30px;
    }


    .toggle-password {
        right: 8px;

        width: 34px;
        height: 34px;
    }


    /* REMEMBER */

    .cbx-login-options {
        margin-bottom: 19px;
    }


    .cbx-remember {
        font-size: 8px;
    }


    /* BUTTON */

    .cbx-login-btn {
        height: 52px;

        padding: 0 13px;

        border-radius: 11px;
    }


    /* REGISTER */

    .cbx-login-register {
        margin-top: 20px;

        padding: 14px 12px;

        flex-direction: column;

        gap: 5px;

        text-align: center;

        font-size: 8px;
    }


    /* FOOTER */

    .cbx-login-form-footer {
        margin-top: 28px;

        flex-wrap: wrap;

        text-align: center;

        line-height: 1.5;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .cbx-login-form-side {
        padding:
            88px 13px 25px;
    }


    .cbx-login-mobile-header {
        padding:
            0 13px;
    }


    .cbx-login-mobile-header img {
        max-width: 100px;
    }


    .cbx-login-heading h2 {
        font-size: 25px;
    }


    .cbx-login-heading p {
        font-size: 8.5px;
    }


    .cbx-input-wrap input {
        font-size: 9px;
    }


    .cbx-label-row > a {
        font-size: 7px;
    }

}