.login-page { min-height: 100vh; display: flex; flex-direction: column; background: #f3f5f8; }
.login-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 46px; height: 85px; background: white; border-bottom: 1px solid var(--border); }
.login-header img { width: 153px; height: 49px; object-fit: contain; }
.login-header>a:last-child { font-size: 12px; color: var(--ink2); display: flex; gap: 14px; }
.login-layout { width: calc(100% - 80px); max-width: 1120px; margin: 45px auto; display: grid; grid-template-columns: 1fr 1fr; background: white; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 16px 55px #172c4307; flex: 1; }
.login-story { padding: 48px 45px 29px; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.login-story .eyebrow { color: #d4b47f; font-size: 9px; letter-spacing: 1.5px; margin-bottom: 27px; }
.login-story h1 { font-size: 39px; font-weight: 500; line-height: 1.22; letter-spacing: -1.2px; }
.story-description { color: #b9c9da; font-size: 12px; line-height: 1.9; margin-top: 22px; max-width: 355px; }
.login-architecture { width: 100%; max-height: 165px; margin: 27px 0 18px; color: #a68f68; opacity: .65; }
.story-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 21px; border-top: 1px solid #ffffff20; }
.story-features span { display: block; color: #d6b882; font-size: 10px; margin-bottom: 8px; }
.story-features strong { font-size: 12px; font-weight: 500; }
.story-features p { font-size: 10px; color: #b9c9da; line-height: 1.8; margin-top: 5px; }
.story-footer { font-size: 8px; letter-spacing: 1.6px; color: #9eb2c8; margin-top: 33px; }
.login-form-panel { padding: 48px; display: flex; align-items: center; justify-content: center; }
.login-form-wrap { width: 100%; max-width: 345px; }
.signin-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: #f5f1e9; color: var(--amber); margin-bottom: 25px; }
.login-form-wrap h2 { font-size: 31px; line-height: 1.25; font-weight: 600; letter-spacing: -.7px; }
.login-intro { font-size: 12px; color: var(--ink3); margin: 11px 0 30px; }
.login-field { margin-bottom: 20px; }
.login-field label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 8px; }
.login-field .inp { height: 47px; font-size: 12px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 62px; }
#password-toggle { position: absolute; right: 5px; top: 5px; height: 37px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: var(--ink3); font-size: 10px; font-weight: 600; }
#password-toggle:hover { background: var(--sand); }
.login-submit { width: 100%; height: 47px; justify-content: space-between; padding: 0 17px; margin-top: 4px; }
.login-help { padding-top: 24px; margin-top: 27px; border-top: 1px solid var(--border); }
.login-help strong { font-size: 11px; font-weight: 500; }
.login-help p { font-size: 11px; color: var(--ink3); line-height: 1.8; margin-top: 6px; }
.login-restriction { color: var(--ink3); font-size: 9px; margin-top: 26px; }
.login-footer { padding: 0 45px 23px; display: flex; justify-content: space-between; gap: 18px; color: var(--ink3); font-size: 10px; }
@media(min-height:900px) { .login-layout { flex: none; min-height: 670px; margin-top: auto; margin-bottom: auto; } .login-footer { margin-top: 35px; } }
@media(max-width:1000px) { .login-story { padding: 35px 30px; } .login-story h1 { font-size: 32px; } .login-form-panel { padding: 35px 30px; } .login-layout { width: calc(100% - 48px); margin: 30px auto; } }
@media(max-width:700px) { .login-story { display: none; } .login-layout { grid-template-columns: minmax(0,1fr); width: calc(100% - 32px); max-width: 460px; flex: none; margin: 28px auto; } .login-form-panel { padding: 33px 27px; } .login-header { padding: 15px 20px; height: 75px; } .login-header img { width: 130px; } .login-header>a:last-child { font-size: 11px; gap: 8px; } .login-footer { margin-top: auto; padding: 0 20px 22px; font-size: 9px; } .login-field .inp { font-size: 16px; } }
