html { height: 100%; }
body.signin {
    min-height: 100%;
    background: #f5f7fb;
}

.hdt-login-layout{
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.hdt-login-side{
    flex: 0 0 50%;
    background: #2f86ff;
    position: relative;
}
.hdt-login-illustration{
    position: absolute;
    left: 0;
    right: 0;
    top: 25%;
    bottom: 25%;
    background: url("../img/login-bg.svg") no-repeat center;
    background-size: contain;
}

.hdt-login-main{
    flex: 0 0 50%;
    background: #f5f7fb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
}

.hdt-login-card {
    width: 420px;
    max-width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
    padding: 26px 26px 22px;
}

.hdt-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.hdt-login-brand-icon{
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f0f6ff;
    border: 1px solid #e6efff;
    display:flex;
    align-items:center;
    justify-content:center;
}
.hdt-login-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.hdt-login-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    text-align: center;
}
.hdt-login-subtitle{
    font-size: 12px;
    color: #9aa4b2;
}

.hdt-input{
    position: relative;
}
.hdt-input > i{
    position:absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa4b2;
    font-size: 14px;
    pointer-events:none;
}

.hdt-login-form .form-control {
    height: 40px !important;
    border-radius: 2px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
    padding-left: 34px !important;
}
.hdt-login-form .form-control:focus {
    border-color: #2f86ff !important;
}

.hdt-input + .hdt-input { margin-top: 25px; }

.hdt-captcha{
    margin-top: 25px;
    display:flex;
    gap:10px;
    align-items:center;
}
.hdt-captcha .hdt-input{ flex: 1; }
.hdt-captcha .code { margin: 0 !important; }
.hdt-captcha-img {
    flex: 0 0 auto;
    width: 110px;
    height: 40px;
    border-radius: 2px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #fff;
    display:flex;
    align-items:center;
    justify-content:center;
}
.hdt-captcha-img img { width: 100%; height: 100%; object-fit: cover; }

.hdt-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 25px;
    color: #6b7280;
}
.hdt-form-meta-register{
    align-items: flex-start;
}
.hdt-form-meta-register .checkbox-custom{
    margin-bottom: 0;
}
.hdt-form-meta-register a{
    white-space: nowrap;
}
.hdt-link-muted { color: #6b7280; text-decoration: none; }
.hdt-link-muted:hover { color: #2f86ff; }

.btn-primary {
    background: #2f86ff;
    border-color: #2f86ff;
    border-radius: 2px;
    height: 40px;
    font-weight: 700;
    letter-spacing: .22em;
}
.btn-primary:hover,
.btn-primary:focus {
    background: #2a78f0;
    border-color: #2a78f0;
}

.hdt-login-form .btn-primary{
    margin-top: 0;
}

.hdt-login-footer {
    margin-top: 25px;
    text-align: center;
    color: #6b7280;
}
.hdt-login-footer a { color: #2563eb; }

.hdt-login-copy {
    margin-top: 16px;
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
}

@media screen and (max-width: 992px) {
    .hdt-login-side { display:none; }
    .hdt-login-main { flex: 1; }
}
@media screen and (max-width: 420px) {
    .hdt-login-card { padding: 22px 18px 18px; }
    .hdt-captcha-img { width: 96px; }
}
/*
登录界面check样式
*/
.checkbox-custom {
    position: relative;
    padding: 0 15px 0 25px;
    margin-bottom: 7px;
    display: inline-block;
}
/*
将初始的checkbox的样式改变
*/
.checkbox-custom input[type="checkbox"] {
    opacity: 0; /*将初始的checkbox隐藏起来*/
    position: absolute;
    cursor: pointer;
    z-index: 2;
    margin: -6px 0 0 0;
    top: 50%;
    left: 3px;
}
/*
设计新的checkbox，位置
*/
.checkbox-custom label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -9px;
    width: 18px;
    height: 17px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid #bbb;
    background: #fff;
}
/*
点击初始的checkbox，将新的checkbox关联起来
*/
.checkbox-custom input[type="checkbox"]:checked +label:after {
    position: absolute;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    content: "\e013";
    top: 42%;
    left: 3px;
    margin-top: -5px;
    font-size: 11px;
    line-height: 1;
    width: 16px;
    height: 16px;
    color: #333;
}
.checkbox-custom label {
    cursor: pointer;
    line-height: 1.2;
    font-weight: normal; /*改变了rememberme的字体*/
    margin-bottom: 0;
    text-align: left;
}

.form-control, .form-control:focus, .has-error .form-control:focus,  .has-success .form-control:focus, .has-warning .form-control:focus,  .navbar-collapse, .navbar-form, .navbar-form-custom .form-control:focus,  .navbar-form-custom .form-control:hover, .open .btn.dropdown-toggle,  .panel, .popover, .progress, .progress-bar {
    box-shadow: none;
}

.form-control {
    border-radius: 1px!important;
    padding: 6px 12px!important;
    height: 34px!important;
}

.form-control:focus {
    border-color: #2563eb !important;
}

body .layer-ext-moon-msg[type="dialog"]{
    min-width: 100px !important;
}
body .layer-ext-moon-msg { 
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
}

body .layer-ext-moon-msg .layui-layer-content{ 
    padding: 12px 25px;
    text-align: center;
}