/* ======================================================
   Auth Shell
====================================================== */
.login-page{
    position:relative;
    overflow:hidden;
    padding:60px 0;
}
.login-background{
    position:absolute;
    inset:0;
    background-image:url("../assets/imgdesktop/sketch.png");
    background-repeat:no-repeat;
    background-size:900px;
    background-position:calc(100% - 20px) center;
    opacity:.10;
    z-index:0;
}
.auth-shell{
    width:min(100% - 48px, 1400px);
    margin:0 auto;

    display:grid;
    grid-template-columns:1fr 520px;
    gap:60px;
    align-items:center;
    position:relative;
    z-index:1;
}
.auth-actions{
    margin-top:10px;
}

/* ======================================================
   Illustration
====================================================== */
.auth-illustration{
    height:700px;
    overflow:hidden;
    border-radius:40px;
}
.auth-illustration img{

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center;

    display:block;

}

.auth-card h1{
    margin-bottom:18px;

    font-family:var(--font-display);   /* Cormorant Garamond */

    font-size:3.4rem;
    font-weight:500;
    line-height:0.95;

    color:var(--color-heading);

    letter-spacing:-0.02em;
}

.auth-card p{
    margin-bottom:42px;

    font-size:1.08rem;
    line-height:1.8;

    color:var(--color-text);
}

/* ======================================================
   Form
====================================================== */
.auth-form{
    margin-top:24px;
}
.auth-error{
    display:none;
    margin-bottom:24px;
    padding:14px 18px;
    border-radius:14px;
    background:#FBECEC;
    color:#9B3A3A;
    font-size:.95rem;
}
.auth-success{
    display:none;
    margin-bottom:24px;
    padding:14px 18px;
    border-radius:14px;
    background:#ECF8F0;
    color:#2F6D46;
    font-size:.95rem;
}
.auth-field{
    margin-bottom:26px;
}
.auth-label{
    display:block;
    margin-bottom:10px;
    font-size:.95rem;
    font-weight:600;
    color:var(--color-heading);
}
.auth-input{
    width:100%;
    height:56px;
    padding:0 18px;
    border:1px solid #DDD3C7;
    border-radius:14px;
    background:#FFF;
    font-size:1rem;
    transition:.25s;
}
.auth-input:focus{
    outline:none;
    border-color:var(--color-accent);
    box-shadow:0 0 0 4px rgba(196,165,118,.15);
}
.auth-password{
    position:relative;
}
.auth-password .auth-input{
    padding-right:60px;
}
.auth-password-toggle{
    position:absolute;
    top:50%;
    right:18px;
    transform:translateY(-50%);
    border:none;
    background:none;
    cursor:pointer;
    color:#7D746C;
}
.auth-links{
    display:flex;
    justify-content:flex-end;
    margin:-8px 0 34px;
}
.auth-links a{
    font-size:.95rem;
    color:var(--color-accent);
}
/* ======================================================
   Submit Button
====================================================== */
.auth-submit{
    min-width:280px;
    width:auto;
    margin-top:12px;
}
.auth-divider{
    position:relative;
    margin:38px 0;
    text-align:center;
}
.auth-divider::before{
    content:"";
    position:absolute;
    top:50%;
    left:0;
    right:0;
    height:1px;
    background:#E8DED3;
}
.auth-divider span{
    position:relative;
    padding:0 16px;
    background:#F8F4EF;
    color:#8C8278;
}
.auth-register{
    margin:0;
    text-align:center;
}
.auth-register a{
    font-weight:600;
    color:var(--color-accent);
}
/* ==========================================================
   REGISTER
========================================================== */

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.checkbox{

    display:flex;
    align-items:flex-start;
    gap:12px;

    margin:28px 0 34px;

    color:#5E5147;
    font-size:.96rem;
    line-height:1.7;

}

.checkbox input{

    margin-top:4px;

}

.checkbox a{

    color:var(--color-accent);

    text-decoration:none;

}

.checkbox a:hover{

    text-decoration:underline;

}

/* ======================================================
   Auth Components
====================================================== */

.auth-card{

    background:#FFF;

    border-radius:28px;

    padding:48px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

.auth-header{

    margin-bottom:36px;

}

.auth-title{

    margin-bottom:14px;

    font-family:var(--font-display);

    font-size:2.6rem;

    font-weight:500;

    color:var(--color-heading);

    line-height:1;

}

.auth-subtitle{

    color:var(--color-text);

    line-height:1.7;

}

.auth-field{

    margin-bottom:26px;

}