.beg-login-box {
    position: relative;
    width: 420px;
    max-width: 100%;
    margin: 0 auto;
    padding: 34px 36px 12px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(5, 22, 58, 0.32);
    box-sizing: border-box;
    overflow: hidden;
    text-shadow: none;
}
.beg-login-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1565c8, #2eb6d8);
}
.beg-login-box header {
    height: auto;
    padding: 6px 0 22px;
    border-bottom: none;
}
.beg-login-box header h1 {
    margin: 0;
    text-align: center;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    color: #14304d;
    letter-spacing: 1px;
}
.login-sub {
    margin: 8px 0 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: #7d91a8;
}
.beg-login-box .beg-login-main {
    padding: 0;
}
.beg-login-main .layui-form-item {
    position: relative;
    margin-bottom: 16px;
}
.beg-login-main .layui-form-item .beg-login-icon {
    position: absolute;
    color: #7f97b3;
    top: 15px;
    left: 14px;
    z-index: 2;
    line-height: 1;
}
.beg-login-box .layui-input {
    height: 46px;
    line-height: 46px;
    padding-left: 40px;
    border: 1px solid #d5e2f2;
    border-radius: 8px;
    background: #f6f9fc;
    color: #1c3348;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.beg-login-box .layui-input:hover {
    border-color: #b7cce6;
}
.beg-login-box .layui-input:focus {
    border-color: #1d74d6 !important;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29, 116, 214, 0.16);
}
.beg-login-box .layui-input::placeholder {
    color: #9aafc4;
}
.beg-login-box .field-captcha {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.beg-login-box .field-captcha .layui-input {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    padding-left: 14px;
}
.beg-login-box .captcha {
    position: static;
    flex: 0 0 148px;
    height: 46px;
    border: 1px solid #d5e2f2;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}
.beg-login-box .captcha img {
    display: block;
    width: 100%;
    height: 46px;
    cursor: pointer;
}
.captcha-hint {
    margin: -6px 0 16px;
    text-align: right;
    font-size: 12px;
    line-height: 1.4;
    color: #8aa0b8;
}
.beg-login-box footer {
    height: auto;
    padding: 6px 0 14px;
}
.beg-login-box footer p {
    margin: 0;
    line-height: 1.6;
    text-align: center;
    color: #93a3b8;
    font-size: 12px;
}
.beg-login-box .btn-submit {
    width: 100%;
    height: 46px;
    line-height: 46px;
    margin-top: 2px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #1668cf, #1c8edc);
    box-shadow: 0 10px 20px rgba(22, 104, 207, 0.28);
    font-size: 16px;
    letter-spacing: 6px;
    color: #fff;
}
.beg-login-box .btn-submit:hover {
    background: linear-gradient(90deg, #125bb8, #187fc6);
    color: #fff;
}
.beg-clear { clear: both; }

.large-header {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a3d8f;
    z-index: 1;
}
#demo-canvas {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
}
.login .large-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/login-bg.jpg');
    background-position: center bottom;
    background-size: cover;
    background-color: #0a3d8f;
}
.main-title {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 28px 16px 64px;
    color: #14304d;
    text-align: center;
    box-sizing: border-box;
}
.login .main-title {
    text-shadow: none;
}
@media screen and (max-width: 750px) {
    .beg-login-box {
        width: calc(100% - 28px);
        padding: 28px 18px 8px;
    }
    .beg-login-box header h1 {
        font-size: 20px;
    }
    .beg-login-box .captcha {
        flex-basis: 124px;
    }
    .main-title {
        padding: 20px 0 36px;
    }
}
