/* =========================================================
   JORA TREND - LOGIN PAGE
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #faf8f5;
}


/* =========================================================
   MAIN
========================================================= */

.login-page {
    margin: 10px;
    display: grid;

    grid-template-columns: 48% 52%;
}


/* =========================================================
   LEFT BRAND
========================================================= */

.login-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/about/about-hero.jpeg");

    background-size: cover;
    background-position: center;
}


.brand-content {
    max-width: 520px;

    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;
}


.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;
}


.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);
}


.brand-content p {
    max-width: 430px;

    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
========================================================= */

.login-section {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px;
}


.login-card {
    width: 100%;

    max-width: 500px;
}


/* =========================================================
   HEADING
========================================================= */

.login-heading {
    margin-bottom: 35px;
}


.login-heading > span {
    display: block;

    margin-bottom: 13px;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 2.5px;

    color: #a17c45;
}


.login-heading h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(48px, 5vw, 64px);

    line-height: 1;

    font-weight: 500;

    color: #29231d;
}


.login-heading h2 em {
    font-style: italic;

    color: #a17c45;
}


.login-heading p {
    margin: 17px 0 0;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    line-height: 1.8;

    color: #777;
}


/* =========================================================
   ERROR MESSAGE
========================================================= */

.form-message {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    padding: 13px 15px;

    border-radius: 6px;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;
}


.error-message {
    background: #fff3f1;

    border: 1px solid #f0d3ce;

    color: #a34d43;
}


/* =========================================================
   FORM
========================================================= */

.login-form {
    width: 100%;
}


.form-group {
    margin-bottom: 22px;
}


.form-group label {
    display: block;

    margin-bottom: 9px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 1.4px;

    color: #5d544c;
}


/* =========================================================
   INPUT
========================================================= */

.input-box {
    position: relative;

    width: 100%;
}


.input-box > i {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 17px;

    color: #a17c45;

    pointer-events: none;
}


.input-box input {
    width: 100%;

    height: 55px;

    padding: 0 48px;

    border: 1px solid #ded6cc;

    border-radius: 7px;

    outline: none;

    background: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    color: #29231d;

    transition:
        border-color 0.25s ease,
        box-shadow 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: 15px;
    top: 50%;

    transform: translateY(-50%);

    width: 30px;
    height: 30px;

    border: 0;

    background: transparent;

    cursor: pointer;

    color: #91877d;

    font-size: 16px;
}


.password-toggle:hover {
    color: #a17c45;
}


/* =========================================================
   SIGN IN BUTTON
========================================================= */

.signin-btn {
    width: 100%;

    height: 55px;

    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: 13px;

    font-weight: 600;

    letter-spacing: 1.8px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.signin-btn:hover {
    background: #a17c45;

    transform: translateY(-2px);
}


.signin-btn i {
    font-size: 15px;
}


/* =========================================================
   REGISTER
========================================================= */

.register-area {
    margin-top: 27px;

    text-align: center;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    color: #777;
}


.register-area a {
    margin-left: 5px;

    font-weight: 600;

    color: #a17c45;

    text-decoration: none;
}


.register-area a:hover {
    text-decoration: underline;
}


/* =========================================================
   BACK TO SHOP
========================================================= */

.back-shop {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 25px;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.5px;

    color: #777;

    text-decoration: none;
}


.back-shop:hover {
    color: #a17c45;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .login-page {
        grid-template-columns: 1fr;
    }


    .login-brand {
        min-height: 400px;
    }


    .login-section {
        min-height: auto;

        padding: 60px 30px 80px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .login-brand {
        min-height: 350px;

        padding: 40px 25px;
    }


    .brand-content h1 {
        font-size: 65px;
    }


    .brand-eyebrow {
        font-size: 14px;

        letter-spacing: 3px;
    }


    .brand-content p {
        font-size: 14px;
    }


    .brand-caption {
        font-size: 9px;
    }


    .login-section {
        padding: 45px 20px 60px;
    }


    .login-heading h2 {
        font-size: 45px;
    }


    .login-heading > span {
        font-size: 14px;
    }


    .login-heading p {
        font-size: 14px;
    }


    .input-box input {
        height: 52px;

        font-size: 14px;
    }


    .signin-btn {
        height: 52px;
    }

}