/* Original login-page layout. Keep CSS at-rules outside Beetl templates. */
html, body { width: 100%; min-height: 100vh; position: relative; }
* { margin: 0; padding: 0; font-family: Myriad Pro, Helvetica Neue, Arial, Helvetica, sans-serif; }
body { background: #fefefe url(../images/login-bg2.png) no-repeat bottom center; background-size: 100% auto; }
.login-bg { width: 100%; height: 100vh; min-height: 680px; position: relative; background: url(../images/login-bg.png) no-repeat top center; background-size: 100% auto; }
.footer { position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; line-height: 50px; text-align: center; color: #949597; font-size: 14px; }
.login-box { width: 700px; position: absolute; left: 50%; top: 50%; margin: -215px 0 0 -350px; }
.login-box:after { content: ''; display: block; width: 100%; height: 0; clear: both; }
.login-box .l-l { width: 40%; float: left; }
.login-box .l-l .l-logo { width: 90%; margin-top: 20%; }
.login-box .l-l span { display: block; text-align: right; font-size: 24px; color: #59595a; padding-right: 5%; }
.login-box .l-r { width: calc(60% - 30px); float: right; position: relative; padding-left: 30px; }
.login-box .l-r:after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(rgba(255,255,255,0), #afafaf 70%, rgba(255,255,255,0)); }
.login-box .l-r h1 { color: #01449b; font-size: 24px; height: 28px; line-height: 28px; vertical-align: middle; }
.login-box .l-r h1 span { color: #6aadff; font-size: 20px; position: relative; padding-left: 20px; margin-left: 20px; height: 28px; line-height: 28px; display: inline-block; vertical-align: middle; }
.login-box .l-r h1 span:after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(#fff, #6aadff 70%, #fff); }
.login-tabs { display: flex; gap: 22px; margin: 20px 0 14px; border-bottom: 1px solid #dce6f2; }
.login-tab { border: 0; border-bottom: 3px solid transparent; background: none; padding: 10px 0; color: #64748b; cursor: pointer; font-size: 15px; }
.login-tab.active { color: #01449b; border-bottom-color: #01449b; font-weight: bold; }
.l-form { margin-top: 10px; }
.l-form .l-item { height: 30px; margin-bottom: 10px; }
.l-form .l-item .field-label { float: left; width: 60px; height: 30px; line-height: 30px; text-align: right; font-size: 14px; color: #686868; }
.l-form .l-item input.text { box-sizing: content-box; width: 220px; float: left; height: 28px; border: 1px solid #a8b1ea; background: #fff; font-size: 14px; text-indent: 5px; border-radius: 0; }
.l-form .l-item.l-code input.text { width: 140px; }
.captcha-button { box-sizing: content-box; width: 68px; height: 28px; float: left; border: 1px solid #a8b1ea; margin-left: 10px; padding: 0; background: #fff; cursor: pointer; }
.captcha-button img { display: block; width: 100%; height: 28px; }
.login-note { font-size: 12px; line-height: 1.7; color: #64748b; margin: 8px 0 12px; }
.sms-demo { border: 1px solid #efcf8b; background: #fff8e8; color: #896022; padding: 9px 12px; border-radius: 4px; font-size: 12px; line-height: 1.6; margin-bottom: 12px; }
.sms-preview { border: 1px solid #c8dff6; background: #f3f8ff; padding: 10px 12px; margin-bottom: 12px; font-size: 13px; line-height: 1.8; color: #21558c; }
.sms-preview strong { display: block; font-size: 24px; letter-spacing: 5px; }
.l-form .sms-row { display: flex; align-items: center; }
.l-form .sms-row .field-label { flex-shrink: 0; }
.sms-row .field-control { display: flex; align-items: center; flex: 1; min-width: 0; }
.l-form .sms-row input.text { min-width: 0; flex: 1; width: 90px; }
.sms-send { margin-left: 8px; padding: 0 9px; height: 32px; border: 1px solid #4a90c3; background: #fff; border-radius: 3px; color: #28618e; cursor: pointer; white-space: nowrap; }
.sms-send:disabled { color: #999; border-color: #ccc; cursor: not-allowed; }
.login-actions { height: 30px; margin: 0 0 10px 60px; }
.l-form .l-btn { display: inline-block; color: #4a90c3; border: 1px solid #4a90c3; height: 28px; line-height: 32px; padding: 0 15px; text-decoration: none; font-size: 14px; position: relative; background: linear-gradient(to bottom, #d1e5ec 50%, #b5dbe4 50%); cursor: pointer; }
.l-form .l-btn:disabled { opacity: .65; cursor: not-allowed; }
[hidden] { display: none !important; }
@media (max-width: 740px) {
    html, body { overflow: auto; min-height: 680px; }
    .login-box { width: calc(100% - 40px); left: 20px; top: 50px; margin: 0; }
    .login-box .l-l, .login-box .l-r { width: 100%; float: none; padding-left: 0; }
    .login-box .l-l .l-logo { width: 160px; margin-top: 0; }
    .login-box .l-l span { text-align: left; font-size: 18px; margin: 10px 0 25px; }
    .login-box .l-r:after { display: none; }
}
