/* =========================================================
   JORA TREND - REGISTER PAGE
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #faf8f5;
}


/* =========================================================
   MAIN
========================================================= */

.register-page {
    min-height: 100vh;

    display: grid;

    grid-template-columns: 45% 55%;
}


/* =========================================================
   LEFT BRAND
========================================================= */

.register-brand {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px;

    background:
        linear-gradient(
            rgba(42, 34, 27, 0.73),
            rgba(42, 34, 27, 0.73)
        ),
        url("../images/collections/rings.jpg");

    background-size: cover;
    background-position: center;
}


.register-brand-content {
    max-width: 500px;

    text-align: center;

    color: #fff;
}


.brand-eyebrow {
    display: block;

    margin-bottom: 20px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 4px;
}


.register-brand-content h1 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(65px, 7vw, 100px);

    line-height: 0.9;

    font-weight: 500;

    letter-spacing: 3px;
}


.register-brand-content h1 em {
    display: block;

    margin-top: 6px;

    font-style: italic;

    font-weight: 400;
}


.brand-line {
    width: 70px;
    height: 1px;

    margin: 30px auto;

    background: rgba(255,255,255,0.7);
}


.register-brand-content p {
    max-width: 420px;

    margin: 0 auto;

    font-family: "Montserrat", sans-serif;

    font-size: 15px;

    line-height: 1.9;

    color: rgba(255,255,255,0.82);
}


.brand-caption {
    display: block;

    margin-top: 30px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 3px;

    color: rgba(255,255,255,0.65);
}


/* =========================================================
   RIGHT SECTION
========================================================= */

.register-section {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 60px;
}


.register-card {
    width: 100%;

    max-width: 540px;
}


/* =========================================================
   HEADING
========================================================= */

.register-heading {
    margin-bottom: 27px;
}


.register-heading > span {
    display: block;

    margin-bottom: 10px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2.5px;

    color: #a17c45;
}


.register-heading h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(45px, 5vw, 62px);

    line-height: 1;

    font-weight: 500;

    color: #29231d;
}


.register-heading h2 em {
    color: #a17c45;

    font-style: italic;
}


.register-heading p {
    margin: 13px 0 0;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    line-height: 1.7;

    color: #777;
}


/* =========================================================
   MESSAGE
========================================================= */

.form-message {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 18px;

    padding: 12px 14px;

    border-radius: 6px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;
}


.error-message {
    background: #fff3f1;

    border: 1px solid #f0d3ce;

    color: #a34d43;
}


/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 14px;
}


.form-group label {
    display: block;

    margin-bottom: 6px;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 1.3px;

    color: #5d544c;
}


.input-box {
    position: relative;
}


.input-box > i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 16px;

    color: #a17c45;

    pointer-events: none;
}


.input-box input {
    width: 100%;

    height: 48px;

    padding: 0 45px;

    border: 1px solid #ded6cc;

    border-radius: 6px;

    outline: none;

    background: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    color: #29231d;

    transition: 0.25s ease;
}


.input-box input::placeholder {
    color: #aaa;
}


.input-box input:focus {
    border-color: #b49368;

    box-shadow:
        0 0 0 3px rgba(161,124,69,0.08);
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.password-toggle {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    width: 30px;
    height: 30px;

    border: 0;

    background: transparent;

    cursor: pointer;

    color: #91877d;
}


.password-toggle:hover {
    color: #a17c45;
}


/* =========================================================
   CREATE ACCOUNT BUTTON
========================================================= */

.create-account-btn {
    width: 100%;

    height: 50px;

    margin-top: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 0;

    border-radius: 6px;

    background: #29231d;

    color: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 1.8px;

    cursor: pointer;

    transition: 0.3s ease;
}


.create-account-btn:hover {
    background: #a17c45;

    transform: translateY(-2px);
}


.create-account-btn i {
    font-size: 14px;
}


/* =========================================================
   LOGIN
========================================================= */

.login-area {
    margin-top: 20px;

    text-align: center;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    color: #777;
}


.login-area a {
    margin-left: 5px;

    font-weight: 600;

    color: #a17c45;

    text-decoration: none;
}


.login-area a:hover {
    text-decoration: underline;
}


/* =========================================================
   SHOP
========================================================= */

.back-shop {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 17px;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    color: #777;

    text-decoration: none;
}


.back-shop:hover {
    color: #a17c45;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .register-page {
        grid-template-columns: 1fr;
    }


    .register-brand {
        min-height: 390px;
    }


    .register-section {
        min-height: auto;

        padding: 55px 30px 70px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .register-brand {
        min-height: 340px;

        padding: 40px 20px;
    }


    .register-brand-content h1 {
        font-size: 65px;
    }


    .brand-eyebrow {
        font-size: 14px;

        letter-spacing: 3px;
    }


    .register-brand-content p {
        font-size: 14px;
    }


    .brand-caption {
        font-size: 9px;
    }


    .register-section {
        padding: 42px 20px 60px;
    }


    .register-heading h2 {
        font-size: 44px;
    }


    .register-heading p {
        font-size: 13px;
    }


    .input-box input {
        height: 50px;

        font-size: 14px;
    }


    .create-account-btn {
        height: 52px;
    }

}