*{
    box-sizing:border-box;
}

:root{
    --bg:#f7f5ef;
    --paper:#fffdf8;
    --line:#e5dfd3;
    --text:#33302c;
    --muted:#80776f;
    --rose:#d58a73;
    --rose-soft:#f3d8cc;
    --olive:#7f8b62;
    --olive-dark:#657348;
    --shadow:0 28px 80px rgba(62,51,43,.15);
}

body{
    margin:0;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(213,138,115,.16), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(127,139,98,.16), transparent 30%),
        var(--bg);
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
}

.loginShell{
    width:min(1180px, 100%);
    min-height:720px;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    overflow:hidden;
    border-radius:30px;
    background:var(--paper);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
}

.loginArtwork{
    position:relative;
    min-height:720px;
    background:#faf6ef;
    overflow:hidden;
}

.loginArtwork img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:left center;
}

.loginPanel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:64px 70px;
    background:rgba(255,255,255,.82);
    border-left:1px solid rgba(229,223,211,.85);
}

.brandBlock{
    text-align:center;
    margin-bottom:22px;
}

.brandTitle{
    font-family:"Segoe Script", "Brush Script MT", cursive;
    font-size:64px;
    line-height:1;
    color:var(--rose);
    white-space:nowrap;
}

.brandTitle strong{
    font-family:Georgia, serif;
    color:#403c36;
    font-weight:400;
    margin:0 .12em;
}

.brandTitle span:last-child{
    color:var(--olive);
}

.brandSubline{
    margin-top:16px;
    font-size:13px;
    letter-spacing:.33em;
    text-transform:uppercase;
    color:#5d5751;
}

.heartDivider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin:8px 0 36px;
    color:var(--rose);
}

.heartDivider span{
    width:86px;
    height:1px;
    background:linear-gradient(90deg, transparent, var(--rose-soft), var(--rose));
}

.heartDivider span:last-child{
    background:linear-gradient(90deg, var(--rose), var(--rose-soft), transparent);
}

.heartDivider b{
    font-size:24px;
    color:var(--rose);
}

.loginPanel h1{
    margin:0;
    text-align:center;
    font-size:29px;
    line-height:1.2;
    color:#38332f;
}

.intro{
    margin:18px 0 30px;
    text-align:center;
    font-size:17px;
    color:var(--muted);
}

.loginError{
    margin:0 0 18px;
    padding:14px 18px;
    border-radius:16px;
    background:#f0dedc;
    color:#8d2b22;
    font-size:14px;
    font-weight:700;
    border:1px solid #e9c9c4;
}

.loginForm{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.inputGroup{
    position:relative;
    display:flex;
    align-items:center;
    min-height:64px;
    border-radius:18px;
    background:#fff;
    border:1px solid #ddd4c8;
    box-shadow:0 12px 26px rgba(62,51,43,.05);
    overflow:hidden;
    transition:.22s ease;
}

.inputGroup:focus-within{
    border-color:var(--olive);
    box-shadow:0 0 0 4px rgba(127,139,98,.13), 0 16px 34px rgba(62,51,43,.08);
}

.inputIcon{
    width:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:21px;
    color:#3f3a35;
}

.inputGroup input{
    width:100%;
    height:62px;
    border:0;
    outline:0;
    background:transparent;
    color:var(--text);
    font-size:16px;
    padding:0 18px 0 0;
}

.inputGroup input::placeholder{
    color:#918982;
}

.showPassword{
    width:54px;
    height:54px;
    border:0;
    background:transparent;
    cursor:pointer;
    font-size:18px;
    opacity:.65;
}

.showPassword:hover{
    opacity:1;
}

.loginButton{
    margin-top:16px;
    height:64px;
    border:0;
    border-radius:999px;
    cursor:pointer;
    background:linear-gradient(135deg, var(--olive), var(--olive-dark));
    color:#fff;
    font-size:18px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    box-shadow:0 18px 32px rgba(101,115,72,.22);
    transition:.22s ease;
}

.loginButton b{
    font-size:32px;
    line-height:1;
    font-weight:400;
}

.loginButton:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 42px rgba(101,115,72,.28);
}

.loginButton:active{
    transform:scale(.98);
}

.loginHint{
    margin:32px 0 0;
    text-align:center;
    color:var(--muted);
    font-size:15px;
}

@media(max-width:900px){

    body{
        padding:0;
        align-items:stretch;
        background:#fffdf9;
    }

    .loginShell{
        width:100%;
        min-height:100vh;
        display:block;
        border-radius:0;
        border:0;
        box-shadow:none;
        overflow:visible;
    }

    .loginArtwork{
        display:none !important;
    }

    .loginPanel{
        min-height:100vh;
        padding:48px 28px 42px;
        justify-content:flex-start;
        border-left:0;
    }

    .brandTitle{
        font-size:52px;
    }

    .brandSubline{
        font-size:11px;
        letter-spacing:.22em;
    }

    .loginPanel h1{
        font-size:26px;
    }

    .loginForm{
        width:100%;
        max-width:100%;
    }

    .inputGroup{
        min-height:62px;
    }

    .loginButton{
        height:62px;
    }
}

@media(max-width:560px){

    .loginPanel{
        padding:42px 24px 36px;
    }

    .brandTitle{
        font-size:42px;
    }

    .loginPanel h1{
        font-size:24px;
    }
}