:root {

    --green: #0E4139;
    --green-dark: #092F2A;
    --green-light: #EAF1EE;

    --burgundy: #562939;
    --burgundy-light: #F4EDEF;

    --gold: #C88C53;
    --gold-light: #F7EEE6;

    --ivory: #F8F6F2;
    --white: #FFFFFF;

    --text: #1F1C1B;
    --muted: #77716E;

    --border: #E4DED9;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {

    background: var(--ivory);

    color: var(--text);

    font-family: "DM Sans", sans-serif;

    font-size: 14px;
}

a {
    text-decoration: none;
}


/* =========================================
   MAIN PAGE
========================================= */

.auth-page {

    min-height: 100vh;

    display: grid;

    grid-template-columns: 48% 52%;
}


/* =========================================
   BRAND SIDE
========================================= */

.auth-brand {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

    background: var(--green);

    color: #fff;
}


.brand-content {

    position: relative;

    z-index: 5;

    min-height: 100vh;

    padding: 55px 70px;

    display: flex;

    flex-direction: column;
}


/* Logo */

.brand-logo {

    color: #fff;

    font-family: "Playfair Display", serif;

    font-size: 31px;

    letter-spacing: 7px;

    line-height: 1;

    display: inline-block;

    width: fit-content;
}

.brand-logo:hover {
    color: #fff;
}

.brand-small {

    display: block;

    margin-top: 9px;

    color: rgba(255,255,255,.48);

    font-size: 8px;

    letter-spacing: 2.2px;
}


/* Main message */

.brand-message {

    margin-top: auto;

    margin-bottom: auto;

    max-width: 550px;
}

.brand-eyebrow {

    display: block;

    color: var(--gold);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2.5px;

    margin-bottom: 22px;
}

.brand-message h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(40px, 5vw, 48px);

    font-weight: 500;

    line-height: 1.05;

    margin-bottom: 25px;
}

.brand-message h1 em {

    color: var(--gold);

    font-style: italic;
}

.brand-message p {

    max-width: 460px;

    color: rgba(255,255,255,.68);

    font-size: 14px;

    line-height: 1.9;

    margin: 0;
}


/* Bottom text */

.brand-bottom {

    display: flex;

    flex-wrap: wrap;

    gap: 10px 28px;

    color: rgba(255,255,255,.5);

    font-size: 11px;

    letter-spacing: .5px;
    margin-top: 35px;
}

.brand-bottom span:not(:last-child)::after {

    content: "•";

    color: var(--gold);

    margin-left: 28px;
}


/* =========================================
   DECORATIONS
========================================= */

.brand-decoration {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.decoration-one {

    width: 500px;

    height: 500px;

    right: -230px;

    top: -170px;

    border: 1px solid rgba(200,140,83,.25);
}

.decoration-two {

    width: 330px;

    height: 330px;

    right: -120px;

    bottom: -110px;

    background: rgba(86,41,57,.65);

    border: 1px solid rgba(200,140,83,.15);
}


/* Watermark */

.brand-watermark {

    position: absolute;

    z-index: 2;

    left: -18px;

    bottom: -42px;

    font-family: "Playfair Display", serif;

    font-size: clamp(70px, 14vw, 140px);

    letter-spacing: 8px;

    color: #fff;

    opacity: .035;

    white-space: nowrap;

    pointer-events: none;
}


/* =========================================
   FORM SIDE
========================================= */

.auth-form-side {

    min-height: 100vh;

    background: var(--ivory);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px 70px;
}

.auth-form-container {

    width: 100%;

    max-width: 480px;
}


/* =========================================
   MOBILE BRAND
========================================= */

.mobile-brand {
    display: none;
}


/* =========================================
   HEADING
========================================= */

.auth-heading {

    margin-bottom: 38px;
}

.auth-eyebrow {

    display: block;

    color: var(--gold);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2.3px;

    margin-bottom: 12px;
}

.auth-heading h2 {

    font-family: "Playfair Display", serif;

    font-size: 39px;

    line-height: 1.1;

    font-weight: 500;

    margin-bottom: 12px;
}

.auth-heading h2 em {

    color: var(--burgundy);

    font-style: italic;
}

.auth-heading p {

    max-width: 390px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;

    margin: 0;
}


/* =========================================
   FORM
========================================= */

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 21px;
}

.form-group label,
.password-label label {

    display: block;

    color: var(--text);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1.2px;

    margin-bottom: 8px;
}

.password-label {

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.password-label a {

    color: var(--burgundy);

    font-size: 9px;

    font-weight: 600;
}

.password-label a:hover {
    color: var(--gold);
}


/* =========================================
   INPUT
========================================= */

.input-wrapper {

    position: relative;
}

.input-wrapper > i {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--muted);

    font-size: 15px;

    z-index: 2;
}

.input-wrapper .form-control {

    width: 100%;

    height: 52px;

    border: 1px solid var(--border);

    border-radius: 0;

    background: var(--white);

    padding: 0 45px;

    color: var(--text);

    font-size: 12px;

    outline: none;

    box-shadow: none;

    transition: .25s ease;
}

.input-wrapper .form-control::placeholder {
    color: #aaa4a0;
}

.input-wrapper .form-control:focus {

    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(14,65,57,.06);
}


/* Password */

.password-toggle {

    position: absolute;

    right: 13px;

    top: 50%;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: var(--muted);

    font-size: 14px;

    cursor: pointer;
}

.password-toggle:hover {
    color: var(--green);
}


/* =========================================
   CHECKBOX
========================================= */

.remember-row,
.terms-row {

    margin: 5px 0 23px;
}

.remember-check {

    display: flex;

    align-items: center;

    gap: 9px;

    cursor: pointer;

    color: var(--muted);

    font-size: 10px;
}

.remember-check input {

    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.custom-check {

    width: 16px;

    height: 16px;

    border: 1px solid var(--border);

    background: #fff;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;
}

.remember-check input:checked + .custom-check {

    background: var(--green);

    border-color: var(--green);
}

.remember-check input:checked + .custom-check::after {

    content: "✓";

    color: #fff;

    font-size: 10px;

    font-weight: 700;
}

.terms-row {
    margin-top: 2px;
}

.terms-row a {
    color: var(--burgundy);
    font-weight: 600;
}


/* =========================================
   BUTTON
========================================= */

.auth-button {

    width: 100%;

    height: 54px;

    border: 0;

    background: var(--green);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.2px;

    cursor: pointer;

    transition: .25s ease;
}

.auth-button i {

    font-size: 13px;

    transition: transform .25s ease;
}

.auth-button:hover {

    background: var(--burgundy);

    color: #fff;
}

.auth-button:hover i {
    transform: translateX(4px);
}


/* =========================================
   DIVIDER
========================================= */

.auth-divider {

    display: flex;

    align-items: center;

    gap: 15px;

    margin: 28px 0;
}

.auth-divider::before,
.auth-divider::after {

    content: "";

    height: 1px;

    background: var(--border);

    flex: 1;
}

.auth-divider span {

    color: #aaa4a0;

    font-size: 8px;

    letter-spacing: 1px;
}


/* =========================================
   SWITCH
========================================= */

.auth-switch {

    display: flex;

    justify-content: center;

    gap: 5px;

    font-size: 10px;

    color: var(--muted);
}

.auth-switch a {

    color: var(--green);

    font-weight: 700;
}

.auth-switch a:hover {
    color: var(--gold);
}


/* =========================================
   FOOTER
========================================= */

.auth-footer {

    margin-top: 45px;

    padding-top: 18px;

    border-top: 1px solid var(--border);

    color: #aaa4a0;

    font-size: 8px;

    text-align: center;
}


/* =========================================
   SIGNUP
========================================= */

.signup-container .auth-heading {
    margin-bottom: 28px;
}

.signup-container .form-group {
    margin-bottom: 15px;
}

.signup-container .input-wrapper .form-control {
    height: 48px;
}

.signup-container .auth-button {
    height: 50px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .auth-page {
        grid-template-columns: 43% 57%;
    }

    .brand-content {
        padding: 45px;
    }

    .auth-form-side {
        padding: 40px;
    }

}


/* =========================================================
   MOBILE SIGNUP / AUTH DESIGN
========================================================= */

@media (max-width: 850px) {

    html,
    body {
        min-height: 100%;
        background: var(--ivory);
    }

    body {
        overflow-x: hidden;
    }


    /* =========================================
       SINGLE COLUMN
    ========================================== */

    .auth-page {
        display: block;
        min-height: 100vh;
        background: var(--ivory);
    }


    /* =========================================
       HIDE DESKTOP BRAND PANEL
    ========================================== */

    .auth-brand {
        display: block;

        min-height: auto;

        height: auto;

        background: var(--green);

        position: relative;

        overflow: hidden;
    }


    /*
       We only use the top portion of the
       brand panel on mobile.
    */

    .auth-brand .brand-decoration {
        display: none;
    }


    .brand-content {

        min-height: auto;

        height: auto;

        padding: 27px 24px 30px;

        display: block;

        position: relative;

        z-index: 5;
    }


    /* =========================================
       MOBILE LOGO
    ========================================== */

    .brand-header {

        display: block;

        position: relative;

        z-index: 5;
    }


    .brand-logo {

        font-size: 25px;

        letter-spacing: 5px;

        color: #fff;
    }


    .brand-small {

        margin-top: 7px;

        font-size: 7px;

        letter-spacing: 1.8px;

        color: rgba(255,255,255,.55);
    }


    /* =========================================
       MOBILE BRAND MESSAGE
    ========================================== */

    .brand-message {

        margin: 32px 0 0;

        max-width: 420px;
    }


    .brand-eyebrow {

        margin-bottom: 9px;

        font-size: 8px;

        letter-spacing: 2px;

        color: var(--gold);
    }


    .brand-message h1 {

        font-size: 30px;

        line-height: 1.08;

        margin-bottom: 10px;
    }


    .brand-message h1 em {

        display: inline;

        color: var(--gold);
    }


    .brand-message p {

        max-width: 390px;

        font-size: 10px;

        line-height: 1.65;

        color: rgba(255,255,255,.68);

        margin-bottom: 0;
    }


    /*
       Hide the desktop feature list.
       We don't need it on a small screen.
    */

    .brand-bottom {

        display: none;
    }


    /*
       Smaller watermark
    */

    .brand-watermark {

        display: block;

        left: auto;

        right: -35px;

        bottom: -25px;

        font-size: 75px;

        opacity: .035;

        letter-spacing: 4px;
    }



    /* =========================================
       FORM AREA
    ========================================== */

    .auth-form-side {

        min-height: auto;

        display: block;

        background: var(--ivory);

        padding: 0 18px 30px;
    }


    .auth-form-container {

        width: 100%;

        max-width: 500px;

        margin: 0 auto;

        padding-top: 28px;
    }


    /*
       Hide duplicate mobile logo because
       we now use the actual green brand
       header above.
    */

    .mobile-brand {
        display: none;
    }



    /* =========================================
       HEADING
    ========================================== */

    .auth-heading {

        margin-bottom: 25px;
    }


    .auth-eyebrow {

        font-size: 8px;

        letter-spacing: 2px;

        margin-bottom: 8px;
    }


    .auth-heading h2 {

        font-size: 31px;

        line-height: 1.08;

        margin-bottom: 9px;
    }


    .auth-heading p {

        font-size: 10.5px;

        line-height: 1.7;

        max-width: 410px;
    }



    /* =========================================
       FORM
    ========================================== */

    .auth-form {
        width: 100%;
    }


    .form-group {

        margin-bottom: 16px;
    }


    .form-group label,
    .password-label label {

        font-size: 8px;

        letter-spacing: 1.1px;

        margin-bottom: 6px;
    }


    /* =========================================
       INPUTS
    ========================================== */

    .input-wrapper .form-control {

        width: 100%;

        height: 48px;

        padding-left: 42px;

        padding-right: 42px;

        font-size: 11px;

        background: #fff;

        border-color: var(--border);
    }


    .input-wrapper > i {

        left: 14px;

        font-size: 14px;
    }


    .password-toggle {

        right: 12px;

        font-size: 13px;
    }


    .password-hint {

        margin-top: 5px;

        font-size: 7.5px;
    }



    /* =========================================
       TERMS
    ========================================== */

    .terms-row {

        margin-top: 4px;

        margin-bottom: 18px;
    }


    .remember-check {

        font-size: 9px;

        line-height: 1.5;
    }


    .custom-check {

        width: 15px;

        height: 15px;
    }



    /* =========================================
       BUTTON
    ========================================== */

    .auth-button {

        width: 100%;

        height: 50px;

        font-size: 9px;

        letter-spacing: 1px;

        gap: 12px;
    }


    .auth-button i {

        font-size: 12px;
    }



    /* =========================================
       DIVIDER
    ========================================== */

    .auth-divider {

        margin: 22px 0;
    }


    .auth-divider span {

        font-size: 7px;
    }



    /* =========================================
       LOGIN LINK
    ========================================== */

    .auth-switch {

        font-size: 9px;

        gap: 4px;
    }



    /* =========================================
       FOOTER
    ========================================== */

    .auth-footer {

        margin-top: 28px;

        padding-top: 15px;

        font-size: 7px;

        line-height: 1.5;
    }

}



/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {


    /* Header */

    .brand-content {

        padding:

            23px

            20px

            25px;
    }


    .brand-logo {

        font-size: 23px;

        letter-spacing: 4px;
    }


    .brand-small {

        font-size: 6.5px;

        letter-spacing: 1.6px;
    }


    .brand-message {

        margin-top: 28px;
    }


    .brand-eyebrow {

        font-size: 7px;

        margin-bottom: 8px;
    }


    .brand-message h1 {

        font-size: 27px;

        line-height: 1.08;

        margin-bottom: 9px;
    }


    .brand-message p {

        font-size: 9px;

        line-height: 1.6;
    }



    /* Form */

    .auth-form-side {

        padding-left: 16px;

        padding-right: 16px;

        padding-bottom: 25px;
    }


    .auth-form-container {

        padding-top: 24px;
    }


    .auth-heading {

        margin-bottom: 22px;
    }


    .auth-heading h2 {

        font-size: 29px;
    }


    .auth-heading p {

        font-size: 10px;

        line-height: 1.65;
    }


    .form-group {

        margin-bottom: 14px;
    }


    .input-wrapper .form-control {

        height: 47px;

        font-size: 10.5px;
    }


    .auth-button {

        height: 49px;
    }


    .auth-divider {

        margin: 20px 0;
    }


    .auth-footer {

        margin-top: 25px;
    }

}

/* =========================================================
   COLOURFUL MOBILE CUSTOMER SIGNUP
========================================================= */

@media (max-width: 850px) {

    /* -----------------------------------------
       GREEN BRAND HEADER
    ------------------------------------------ */

    .auth-brand {
        background: var(--green);

        min-height: auto;

        border-radius: 0 0 28px 28px;

        box-shadow:
            0 12px 35px rgba(14, 65, 57, .15);

        overflow: hidden;
    }


    .brand-content {
        padding: 28px 24px 32px;
    }


    /* -----------------------------------------
       LOGO
    ------------------------------------------ */

    .brand-logo {
        color: #fff;

        font-size: 25px;

        letter-spacing: 5px;
    }


    .brand-small {
        color: rgba(255,255,255,.55);

        font-size: 7px;
    }


    /* -----------------------------------------
       GOLD SHOP LABEL
    ------------------------------------------ */

    .brand-eyebrow {
        display: inline-block;

        padding: 7px 11px;

        margin-bottom: 14px;

        border: 1px solid rgba(200,140,83,.4);

        background: rgba(200,140,83,.10);

        color: var(--gold);

        font-size: 7px;

        letter-spacing: 2px;
    }


    /* -----------------------------------------
       BRAND HEADING
    ------------------------------------------ */

    .brand-message h1 {

        font-size: 30px;

        line-height: 1.08;

        color: #fff;

        margin-bottom: 12px;
    }


    .brand-message h1 em {

        color: var(--gold);

        font-style: italic;
    }


    .brand-message p {

        color: rgba(255,255,255,.70);

        font-size: 10px;

        line-height: 1.7;

        max-width: 390px;
    }


    /* -----------------------------------------
       BURGUNDY DECORATION
    ------------------------------------------ */

    .decoration-two {

        display: block;

        width: 190px;

        height: 190px;

        right: -75px;

        bottom: -90px;

        background: rgba(86,41,57,.85);

        border: 1px solid rgba(200,140,83,.18);
    }


    .decoration-one {

        display: block;

        width: 300px;

        height: 300px;

        right: -145px;

        top: -190px;

        border: 1px solid rgba(200,140,83,.18);
    }


    /* -----------------------------------------
       WATERMARK
    ------------------------------------------ */

    .brand-watermark {

        display: block;

        color: #fff;

        opacity: .035;

        font-size: 90px;

        right: -30px;

        bottom: -28px;
    }


    /* -----------------------------------------
       FORM AREA
    ------------------------------------------ */

    .auth-form-side {

        background: var(--ivory);

        padding:

            0

            18px

            35px;
    }


    .auth-form-container {

        padding-top: 30px;
    }


    /* -----------------------------------------
       FORM HEADING
    ------------------------------------------ */

    .auth-eyebrow {

        display: inline-block;

        padding: 6px 9px;

        background: var(--gold-light);

        color: var(--gold);

        font-size: 7px;

        letter-spacing: 1.8px;

        margin-bottom: 10px;
    }


    .auth-heading h2 {

        font-size: 32px;

        color: var(--text);

        margin-bottom: 10px;
    }


    .auth-heading h2 em {

        color: var(--burgundy);

        font-style: italic;
    }


    .auth-heading p {

        color: var(--muted);

        font-size: 10px;

        line-height: 1.7;
    }


    /* -----------------------------------------
       INPUTS
    ------------------------------------------ */

    .input-wrapper {

        position: relative;
    }


    .input-wrapper > i {

        color: var(--green);

        left: 14px;
    }


    .input-wrapper .form-control {

        height: 50px;

        background: #fff;

        border: 1px solid var(--border);

        border-radius: 5px;

        transition: all .25s ease;
    }


    .input-wrapper .form-control:focus {

        border-color: var(--gold);

        box-shadow:
            0 0 0 3px rgba(200,140,83,.10);
    }


    /* -----------------------------------------
       PASSWORD EYE
    ------------------------------------------ */

    .password-toggle {

        color: var(--burgundy);
    }


    .password-toggle:hover {

        color: var(--gold);
    }


    /* -----------------------------------------
       TERMS CHECKBOX
    ------------------------------------------ */

    .custom-check {

        border-color: #D5CEC9;

        border-radius: 3px;
    }


    .remember-check input:checked + .custom-check {

        background: var(--burgundy);

        border-color: var(--burgundy);
    }


    /* -----------------------------------------
       CREATE ACCOUNT BUTTON
    ------------------------------------------ */

    .auth-button {

        height: 52px;

        background: var(--green);

        border-radius: 4px;

        box-shadow:
            0 8px 18px rgba(14,65,57,.13);

        transition: all .25s ease;
    }


    .auth-button:hover {

        background: var(--burgundy);

        transform: translateY(-1px);

        box-shadow:
            0 10px 22px rgba(86,41,57,.18);
    }


    /* -----------------------------------------
       LOGIN LINK
    ------------------------------------------ */

    .auth-switch a {

        color: var(--burgundy);
    }


    .auth-switch a:hover {

        color: var(--gold);
    }


    /* -----------------------------------------
       FOOTER
    ------------------------------------------ */

    .auth-footer {

        border-color: var(--border);

        color: #9D9692;
    }

}

.auth-brand {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(200,140,83,.10),
            transparent 28%
        ),
        var(--green);
}

.auth-heading h2 em {
    color: var(--burgundy);
}

.auth-button {
    background: var(--green);
}

.auth-button:hover {
    background: var(--burgundy);
}

.input-wrapper > i {
    color: var(--green);
}

.password-toggle:hover {
    color: var(--gold);
}