/* ============================================================

   BOUNCE BACK REWARDS
   JOIN PAGE

   This stylesheet is loaded AFTER /login/login.css

============================================================ */


/* ============================================================
   JOIN INTRO
============================================================ */

.join-intro {
    margin-bottom: 18px;
}


/* ============================================================
   TERMS CHECKBOX
============================================================ */

.terms-checkbox {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin:
        2px 0
        17px;

    cursor: pointer;

}


/* Hide default checkbox */

.terms-checkbox input {

    position: absolute;

    width: 1px;

    height: 1px;

    opacity: 0;

    pointer-events: none;

}


/* Custom checkbox */

.terms-checkmark {

    position: relative;

    flex: 0 0 20px;

    width: 20px;

    height: 20px;

    margin-top: 1px;

    border:
        1.5px solid
        #8b9094;

    border-radius: 3px;

    background: white;

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;

}


/* Checked */

.terms-checkbox
input:checked
+
.terms-checkmark {

    border-color:
        var(--maroon);

    background:
        var(--maroon);

}


/* Check */

.terms-checkbox
input:checked
+
.terms-checkmark::after {

    content: "";

    position: absolute;

    left: 6px;

    top: 2px;

    width: 5px;

    height: 10px;

    border: solid white;

    border-width:
        0 2px 2px 0;

    transform:
        rotate(45deg);

}


/* Keyboard focus */

.terms-checkbox
input:focus-visible
+
.terms-checkmark {

    box-shadow:
        0 0 0 3px
        rgba(123,0,38,.13);

}


/* Terms text */

.terms-checkbox-text {

    color:
        #676c70;

    font-size: 12px;

    line-height: 1.45;

}


.terms-checkbox-text a {

    color:
        var(--charcoal);

    font-weight: 600;

    text-decoration: underline;

    text-underline-offset: 2px;

}


.terms-checkbox-text a:hover {

    color:
        var(--maroon);

}


/* ============================================================
   JOIN BUTTON
============================================================ */

.join-primary-button {

    margin-top: 0;

}


/* ============================================================
   PROGRAM NOTE
============================================================ */

.join-program-note {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 16px;

    color:
        #73777b;

    text-align: center;

}


.join-program-note p {

    margin: 0;

    font-size: 11px;

    line-height: 1.4;

}


.join-star {

    color:
        var(--maroon);

    font-size: 12px;

}


/* ============================================================
   IMAGE BENEFITS
============================================================ */

.join-benefits {

    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-top: 22px;

}


.join-benefit {

    display: flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(255,255,255,.91);

    font-size: 15px;

    font-weight: 500;

}


.join-benefit span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 22px;

    height: 22px;

    border-radius: 50%;

    color:
        white;

    background:
        var(--maroon);

    font-size: 12px;

    font-weight: 700;

}


/* ============================================================
   DESKTOP VIEWPORT FIT
============================================================ */

@media (min-width: 761px) {

    .join-card {

        padding-top: 24px;

        padding-bottom: 22px;

    }


    .join-card .login-branding {

        margin-bottom: 16px;

    }


    .join-card .login-intro {

        margin-bottom: 16px;

    }


    .join-card .login-divider {

        margin:
            17px 0
            13px;

    }


    .join-benefits {

        margin-top: 17px;

        gap: 7px;

    }


    .join-benefit {

        font-size: 14px;

    }

}


/* ============================================================
   SHORT DESKTOP SCREENS
============================================================ */

@media
(min-width: 761px)
and (max-height: 780px) {

    .join-benefits {

        margin-top: 13px;

    }


    .join-benefit {

        font-size: 13px;

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 760px) {

    .join-card {

        padding-top: 32px;

        padding-bottom: 30px;

    }


    .terms-checkbox {

        margin-bottom: 18px;

    }


    .terms-checkbox-text {

        font-size: 12px;

    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 430px) {

    .join-card {

        padding:
            27px 22px;

    }

}