/* =====================================================
   BEANFLOW REGISTER
===================================================== */


/* =====================================================
   COLORS
===================================================== */

:root {

    --espresso: #2B1B14;

    --roast: #5A3B2E;

    --cocoa: #8B6A55;

    --latte: #C9B19C;

    --cream: #F3E7D6;

    --soft-cream: #FFF9F1;

    --white: #FFFFFF;
}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}


html,
body {

    width: 100%;

    min-height: 100%;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        var(--espresso);
}


a {

    text-decoration: none;
}


button,
input {

    font-family: inherit;
}


/* =====================================================
   PAGE
===================================================== */

.register-page {

    min-height: 100vh;

    padding:
        40px 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        linear-gradient(
            rgba(43,27,20,0.78),
            rgba(43,27,20,0.88)
        ),

        url("../images/beanflow-background.png");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;
}


/* =====================================================
   CONTAINER
===================================================== */

.register-container {

    width: 100%;

    max-width: 1150px;

    min-height: 690px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    overflow: hidden;

    border:
        1px solid
        rgba(243,231,214,0.18);

    border-radius: 32px;

    background:
        var(--soft-cream);

    box-shadow:
        0 35px 90px
        rgba(0,0,0,0.35);
}


/* =====================================================
   LEFT
===================================================== */

.register-left {

    position: relative;

    padding:
        55px;

    display: flex;

    flex-direction: column;

    justify-content:
        space-between;

    overflow: hidden;

    background:

        linear-gradient(
            135deg,
            rgba(43,27,20,0.98),
            rgba(90,59,46,0.92)
        );

    color:
        var(--cream);
}


.register-left::after {

    content: "";

    position: absolute;

    width: 390px;

    height: 390px;

    right: -170px;

    bottom: -160px;

    border-radius: 50%;

    background:
        rgba(201,177,156,0.07);
}


/* =====================================================
   BRAND
===================================================== */

.register-brand {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 15px;

    color:
        var(--cream);
}


.register-brand img {

    width: 70px;

    height: 70px;

    object-fit: contain;
}


.register-brand-text {

    display: flex;

    flex-direction: column;
}


.register-brand-text strong {

    font-size: 28px;

    font-weight: 900;

    letter-spacing: 1px;
}


.register-brand-text span {

    margin-top: 4px;

    color:
        var(--latte);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 4px;
}


/* =====================================================
   MESSAGE
===================================================== */

.register-message {

    position: relative;

    z-index: 2;

    margin-top: 85px;
}


.register-eyebrow {

    color:
        var(--latte);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 5px;
}


.register-message h1 {

    max-width: 500px;

    margin-top: 15px;

    color:
        var(--white);

    font-size:
        clamp(
            48px,
            5vw,
            69px
        );

    line-height:
        0.95;

    letter-spacing:
        -4px;
}


.register-message h1 span {

    display: block;

    margin-top: 7px;

    color:
        var(--cream);
}


.register-message p:last-child {

    max-width: 420px;

    margin-top: 27px;

    color:
        rgba(243,231,214,0.78);

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   BACK
===================================================== */

.register-back {

    position: relative;

    z-index: 2;

    color:
        var(--cream);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}


.register-back:hover {

    color:
        var(--latte);
}


/* =====================================================
   RIGHT
===================================================== */

.register-right {

    padding:
        50px 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--soft-cream);
}


.register-form-wrapper {

    width: 100%;

    max-width: 420px;
}


/* =====================================================
   TITLE
===================================================== */

.register-small-title {

    color:
        var(--cocoa);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 4px;
}


.register-form-wrapper h2 {

    margin-top: 7px;

    color:
        var(--espresso);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 48px;

    line-height: 1;
}


.register-subtitle {

    margin-top: 12px;

    margin-bottom: 25px;

    color:
        var(--cocoa);

    font-size: 12px;

    line-height: 1.6;
}


/* =====================================================
   FORM GROUP
===================================================== */

.register-form-group {

    margin-bottom: 16px;
}


.register-form-group label {

    display: block;

    margin-bottom: 8px;

    color:
        var(--espresso);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.4px;
}


.register-form-group input {

    width: 100%;

    height: 50px;

    padding:
        0 15px;

    border:
        1px solid
        rgba(90,59,46,0.20);

    border-radius: 10px;

    outline: none;

    background:
        var(--white);

    color:
        var(--espresso);

    font-size: 13px;

    transition:
        0.2s;
}


.register-form-group input::placeholder {

    color:
        #A89687;
}


.register-form-group input:focus {

    border-color:
        var(--roast);

    box-shadow:
        0 0 0 3px
        rgba(90,59,46,0.08);
}


/* =====================================================
   EMAIL HELP
===================================================== */

.email-help {

    display: block;

    margin-top: 7px;

    color:
        var(--cocoa);

    font-size: 9px;

    line-height: 1.5;
}


/* =====================================================
   PASSWORD
===================================================== */

.password-box {

    position: relative;
}


.password-box input {

    padding-right: 75px;
}


.password-toggle {

    position: absolute;

    top: 50%;

    right: 15px;

    transform:
        translateY(-50%);

    border: none;

    background: transparent;

    color:
        var(--roast);

    cursor: pointer;

    font-size: 9px;

    font-weight: 900;
}


/* =====================================================
   REGISTER BUTTON
===================================================== */

.register-submit {

    width: 100%;

    height: 54px;

    margin-top: 5px;

    border: none;

    border-radius: 29px;

    background:
        var(--roast);

    color:
        var(--cream);

    cursor: pointer;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;

    box-shadow:
        0 12px 25px
        rgba(43,27,20,0.14);

    transition:
        0.2s;
}


.register-submit:hover {

    background:
        var(--espresso);

    transform:
        translateY(-2px);
}


/* =====================================================
   LOGIN LINK
===================================================== */

.register-login {

    margin-top: 22px;

    color:
        var(--cocoa);

    font-size: 11px;

    text-align: center;
}


.register-login a {

    margin-left: 5px;

    color:
        var(--roast);

    font-weight: 900;
}


.register-login a:hover {

    color:
        var(--espresso);

    text-decoration: underline;
}


/* =====================================================
   TABLET
===================================================== */

@media
(max-width: 900px) {


    .register-container {

        max-width: 650px;

        grid-template-columns:
            1fr;
    }


    .register-left {

        min-height: 430px;

        padding:
            40px;
    }


    .register-message {

        margin-top: 55px;
    }


    .register-back {

        margin-top: 40px;
    }


    .register-right {

        padding:
            50px 40px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media
(max-width: 520px) {


    .register-page {

        padding: 0;
    }


    .register-container {

        min-height: 100vh;

        border: none;

        border-radius: 0;
    }


    .register-left {

        min-height: 390px;

        padding:
            28px 24px;
    }


    .register-brand img {

        width: 55px;

        height: 55px;
    }


    .register-brand-text strong {

        font-size: 21px;
    }


    .register-brand-text span {

        font-size: 6px;
    }


    .register-message {

        margin-top: 45px;
    }


    .register-message h1 {

        font-size: 45px;

        letter-spacing:
            -3px;
    }


    .register-right {

        padding:
            42px 24px;
    }


    .register-form-wrapper h2 {

        font-size: 41px;
    }

}