@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root { font-family: 'DM Sans', system-ui, sans-serif; color: #273027; background: #efeee8; }
* { box-sizing: border-box; }
body { margin: 0; }
.login-shell { display: grid; grid-template-columns: 1fr 1fr; width: min(1360px, calc(100% - 48px)); min-height: calc(100vh - 48px); margin: 24px auto; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 70px #253b2d16; }
.login-intro { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 56px; overflow: hidden; background: #e6e9dd; }
.login-intro::before { content: ''; position: absolute; width: 620px; height: 620px; right: -270px; bottom: -330px; border-radius: 50%; background: #d6ddc9; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: fit-content; color: #263727; text-decoration: none; font-size: 28px; font-weight: 700; letter-spacing: -.05em; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; background: #455b42; color: #fff; font-size: 23px; }
.intro-copy { position: relative; z-index: 1; max-width: 500px; margin: 95px 0 145px; }
.eyebrow { color: #687e58; font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1 { margin: 13px 0 20px; max-width: 510px; font-size: clamp(42px, 4.5vw, 66px); line-height: 1.05; letter-spacing: -.06em; font-weight: 600; }
.intro-copy > p:last-child { max-width: 420px; color: #647064; font-size: 17px; line-height: 1.7; }
.preview { position: absolute; right: 8%; bottom: 8%; left: 8%; height: 120px; }
.preview i { position: absolute; width: 31%; height: 120px; border-radius: 15px; background: #b4c4a5; transform: rotate(-9deg); box-shadow: 0 12px 30px #465b4230; }
.preview i:nth-child(2) { left: 33%; background: #d1bfa8; transform: rotate(4deg); }
.preview i:nth-child(3) { left: 66%; background: #aabcc0; transform: rotate(10deg); }
.login-panel { display: grid; place-items: center; padding: 48px; }
.login-form { width: min(100%, 390px); }
h2 { margin: 8px 0 9px; font-size: 35px; letter-spacing: -.04em; }
.hint { margin: 0 0 33px; color: #777f75; line-height: 1.5; }
label { display: block; margin: 0 0 22px; font-weight: 600; font-size: 14px; }
input { display: block; width: 100%; margin-top: 9px; padding: 15px 16px; border: 1px solid #dce2d8; border-radius: 11px; outline: none; font: inherit; font-weight: 400; background: #fbfcfa; }
input:focus { border-color: #687e58; box-shadow: 0 0 0 3px #687e5825; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 53px; }
.password-field button { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #657363; cursor: pointer; width: 40px; height: 40px; }
.submit { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 31px; padding: 17px 20px; border: 0; border-radius: 11px; background: #405c43; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.submit:hover { background: #314935; }
.alert { margin-bottom: 24px; padding: 12px 15px; border-radius: 9px; background: #fceae7; color: #9e4635; }
@media(max-width:800px) { .login-shell { grid-template-columns: 1fr; width: calc(100% - 28px); margin: 14px auto; min-height: calc(100vh - 28px); } .login-intro { min-height: 265px; padding: 28px; } .intro-copy { margin: 42px 0 0; } .intro-copy h1 { font-size: 38px; } .intro-copy > p:last-child, .preview { display: none; } .login-panel { padding: 42px 28px 55px; } }
