* {
    box-sizing: border-box;
}

html,
body.admin-login-page {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    margin: 0;
}

body.admin-login-page {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    color: #172b4d;
    background:
        radial-gradient(circle at 18% 18%, rgba(74, 187, 255, .52), transparent 28%),
        radial-gradient(circle at 85% 82%, rgba(20, 71, 189, .42), transparent 30%),
        linear-gradient(135deg, #0759c7 0%, #087be1 48%, #0a5dc8 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.login-background,
.login-background:before,
.login-background:after {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.login-background {
    z-index: 0;
    overflow: hidden;
}

.login-background:before {
    content: "";
    opacity: .24;
    background-image:
        linear-gradient(30deg, rgba(255, 255, 255, .16) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .16) 87.5%, rgba(255, 255, 255, .16)),
        linear-gradient(150deg, rgba(255, 255, 255, .16) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .16) 87.5%, rgba(255, 255, 255, .16)),
        linear-gradient(30deg, rgba(255, 255, 255, .16) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .16) 87.5%, rgba(255, 255, 255, .16)),
        linear-gradient(150deg, rgba(255, 255, 255, .16) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, .16) 87.5%, rgba(255, 255, 255, .16));
    background-position: 0 0, 0 0, 120px 210px, 120px 210px;
    background-size: 240px 420px;
}

.login-background:after {
    right: auto;
    bottom: auto;
    width: 42vw;
    height: 42vw;
    max-width: 650px;
    max-height: 650px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    content: "";
    transform: translate(-38%, -42%);
}

.geometry-shape {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .045);
    transform: rotate(45deg);
}

.geometry-shape.shape-one {
    top: 13%;
    right: 10%;
    width: 190px;
    height: 190px;
    border-radius: 36px;
}

.geometry-shape.shape-two {
    right: 24%;
    bottom: -70px;
    width: 250px;
    height: 250px;
    border-radius: 50px;
}

.geometry-shape.shape-three {
    top: 48%;
    left: 8%;
    width: 110px;
    height: 110px;
    border-radius: 28px;
}

.geometry-dot-grid {
    position: absolute;
    top: 8%;
    left: 6%;
    width: 130px;
    height: 90px;
    opacity: .42;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .7) 1.5px, transparent 1.6px);
    background-size: 16px 16px;
}

.login-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 38px 24px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 35px 38px 28px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 20px;
    box-shadow: 0 26px 70px rgba(5, 41, 107, .28), 0 3px 12px rgba(5, 41, 107, .12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.login-header {
    margin-bottom: 25px;
    text-align: center;
}

.login-title {
    margin: 0;
    color: #16345f;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1px;
}

.login-field {
    margin-bottom: 16px;
}

.login-input-control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    overflow: hidden;
    background: #f6f9fd;
    border: 1px solid #dce6f2;
    border-radius: 11px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.login-input-control:focus-within {
    background: #fff;
    border-color: #1687f8;
    box-shadow: 0 0 0 3px rgba(22, 135, 248, .11);
}

.login-input-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    color: #8da2bc;
    font-size: 15px;
}

.login-input-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-input-control .form-control {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 11px 12px 11px 0;
    color: #243b5a;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    font-size: 14px;
    line-height: 24px;
}

.login-input-control .form-control:focus {
    border: 0;
    box-shadow: none;
}

.login-input-control .form-control::placeholder {
    color: #a7b4c5;
}

.password-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 46px;
    padding: 0;
    color: #879bb4;
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus {
    color: #147fe9;
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle .eye-closed,
.password-toggle.is-visible .eye-open {
    display: none;
}

.password-toggle.is-visible .eye-closed {
    display: block;
}

.code-action {
    flex: 0 0 auto;
    min-width: 96px;
    padding: 0 14px;
    color: #117de7;
    border-left: 1px solid #dce6f2;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.code-action:hover,
.code-action:focus {
    color: #0564c7;
    text-decoration: none;
}

.code-action.is-counting {
    color: #94a3b8;
    cursor: default;
}

.captcha-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 118px;
    height: 46px;
    overflow: hidden;
    background: #edf4fb;
    border-left: 1px solid #dce6f2;
    cursor: pointer;
}

.captcha-image img {
    display: block;
    width: 118px;
    height: 46px;
    object-fit: cover;
}

.captcha-hint {
    margin: 6px 2px 0;
    color: #a1aec0;
    font-size: 11px;
    line-height: 1.4;
    text-align: right;
}

.login-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 11px 20px;
    margin: 23px 0 0;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(100deg, #0c74e8, #1398f6);
    border: 0;
    border-radius: 11px;
    box-shadow: 0 12px 24px rgba(12, 116, 232, .25);
    outline: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.login-submit:before {
    position: absolute;
    top: -45px;
    right: -22px;
    width: 125px;
    height: 125px;
    content: "";
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.login-submit svg,
.login-submit span {
    position: relative;
}

.login-submit svg {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-submit:hover,
.login-submit:focus {
    color: #fff;
    filter: brightness(1.04);
    box-shadow: 0 15px 28px rgba(12, 116, 232, .31);
    outline: none;
}

.login-submit:active {
    color: #fff;
    transform: translateY(1px);
    box-shadow: 0 8px 17px rgba(12, 116, 232, .24);
}

.login-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #edf1f6;
    color: #a0adbd;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.login-footer span,
.login-footer a {
    display: block;
}

.login-footer a {
    color: #7e93ad;
    text-decoration: none;
}

.login-footer a:hover,
.login-footer a:focus {
    color: #147fe9;
    text-decoration: none;
}

.admin-login-page .has-error .login-input-control {
    border-color: #ef7d87;
    box-shadow: 0 0 0 3px rgba(232, 71, 89, .08);
}

.admin-login-page .has-error label.error {
    display: none !important;
}

@media (max-width: 575px) {
    .login-stage {
        align-items: flex-start;
        min-height: 100vh;
        padding: 24px 16px;
    }

    .login-card {
        max-width: 420px;
        padding: 31px 22px 24px;
        border-radius: 17px;
    }

    .login-header {
        margin-bottom: 21px;
    }

    .login-title {
        font-size: 24px;
    }

    .geometry-shape.shape-one {
        right: -70px;
    }

    .geometry-shape.shape-three {
        left: -55px;
    }
}

@media (max-height: 720px) and (min-width: 576px) {
    .login-stage {
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .login-card {
        padding-top: 27px;
        padding-bottom: 22px;
    }

    .login-header {
        margin-bottom: 17px;
    }

    .login-field {
        margin-bottom: 12px;
    }

    .login-submit {
        margin-top: 17px;
    }

    .login-footer {
        margin-top: 16px;
        padding-top: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-input-control,
    .login-submit {
        transition: none;
    }
}
