* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: #111827;
    background: #f3f6fb;
}

a {
    color: #3b96f4;
    text-decoration: none;
}

a:hover {
    color: #227ee0;
}

.mangu-page {
    min-height: 100vh;
    padding: 56px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mangu-page--register {
    padding: 40px 24px 14px;
}

.mangu-shell {
    width: min(1080px, 100%);
    height: 596px;
    display: grid;
    grid-template-columns: 46% 54%;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 28px 56px rgba(15, 23, 42, .10);
}

.mangu-shell--register {
    height: auto;
    min-height: 846px;
}

.mangu-brand {
    position: relative;
    overflow: hidden;
    padding: 56px 48px 48px;
    color: #fff;
    background: linear-gradient(135deg, #2f83d2 0%, #42a8ff 100%);
}

.mangu-shell--register .mangu-brand {
    padding-top: 180px;
}

.mangu-brand::before,
.mangu-brand::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.mangu-brand::before {
    width: 456px;
    height: 456px;
    right: -170px;
    top: -166px;
    background: rgba(255, 255, 255, .11);
}

.mangu-brand::after {
    width: 335px;
    height: 335px;
    left: -126px;
    bottom: -180px;
    background: rgba(30, 117, 205, .16);
}

.mangu-brand-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mangu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mangu-logo-mark {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: rgba(255, 255, 255, .16);
}

.mangu-logo-title {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.mangu-logo-subtitle {
    margin-top: 4px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mangu-copy {
    margin-top: 68px;
    max-width: 360px;
}

.mangu-shell--register .mangu-copy {
    margin-top: 56px;
}

.mangu-copy h1 {
    margin: 0;
    color: #fff;
    font-size: 31px;
    line-height: 1.36;
    font-weight: 700;
}

.mangu-copy p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    line-height: 1.85;
    font-weight: 600;
}

.mangu-feature-list {
    margin-top: auto;
    padding-top: 28px;
}

.mangu-shell--register .mangu-feature-list {
    margin-top: 38px;
    padding-top: 20px;
}

.mangu-feature {
    padding: 16px 0 14px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.mangu-feature:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.mangu-feature strong {
    display: block;
    color: rgba(255, 255, 255, .94);
    font-size: 14px;
    line-height: 1.2;
}

.mangu-feature span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.mangu-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px 70px;
    background: #fff;
}

.mangu-panel--register {
    padding: 52px 80px;
}

.mangu-form-wrap {
    width: 100%;
    max-width: 380px;
}

.mangu-form-wrap--register {
    max-width: 420px;
}

.mangu-form-title {
    margin-bottom: 29px;
}

.mangu-form-title h2 {
    margin: 0;
    color: #101828;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
}

.mangu-form-title p {
    margin: 13px 0 0;
    color: #637083;
    font-size: 13px;
    line-height: 1.6;
}

.mangu-form {
    margin: 0;
}

.mangu-field {
    margin-bottom: 20px;
}

.mangu-shell--register .mangu-field {
    margin-bottom: 17px;
}

.mangu-field label {
    display: block;
    margin-bottom: 10px;
    color: #23314a;
    font-size: 14px;
    line-height: 1.2;
}

.mangu-field label::before {
    content: "*";
    margin-right: 5px;
    color: #f04438;
}

.mangu-input-box {
    position: relative;
}

.mangu-input-box .mdi {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #c5cedb;
    font-size: 16px;
    pointer-events: none;
}

.mangu-input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 39px;
    border: 1px solid #d8dee8;
    border-radius: 5px;
    color: #1f2937;
    font-size: 14px;
    line-height: 40px;
    outline: none;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.mangu-input::placeholder {
    color: #a9b4c4;
}

.mangu-input:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 3px rgba(64, 158, 255, .12);
}

.mangu-captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 12px;
}

.mangu-shell--register .mangu-captcha-row {
    grid-template-columns: minmax(0, 1fr) 122px;
}

.mangu-code-img {
    width: 100%;
    height: 40px;
    border: 1px solid #d8dee8;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    background: #fff;
}

.mangu-human-box {
    min-height: 50px;
}

.mangu-human-fallback {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px 0 28px;
    border: 1px solid #cfcfcf;
    border-left: 5px solid #5a7cf8;
    border-radius: 3px;
    color: #202938;
    font-size: 14px;
    background: #fff;
}

.mangu-human-fallback .mdi {
    margin-left: auto;
    color: #c5cedb;
    font-size: 26px;
}

#captcha .gt_holder,
#captcha .gt_box,
#captcha .gt_slider {
    width: 100% !important;
}

.mangu-vaptcha {
    min-height: 50px;
    border: 1px solid #d8dee8;
    border-radius: 4px;
    overflow: hidden;
}

.mangu-options {
    margin: 8px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #3b96f4;
    font-size: 14px;
}

.mangu-agreement {
    margin: 2px 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.mangu-agreement input {
    width: 14px;
    height: 14px;
    margin: 0;
    flex: 0 0 14px;
    accent-color: #409eff;
}

.mangu-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}

.mangu-remember input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #409eff;
}

.mangu-submit {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    background: #409eff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.mangu-submit:hover {
    background: #2f8fea;
}

.mangu-submit:active {
    transform: translateY(1px);
}

.mangu-links {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #6b7280;
    font-size: 14px;
}

.mangu-divider {
    width: 1px;
    height: 14px;
    background: #d7dde8;
}

.mangu-qq-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: #409eff;
    font-size: 18px;
    background: rgba(64, 158, 255, .10);
}

.mangu-message {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 99999;
    max-width: calc(100% - 32px);
    min-width: 160px;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    color: #606266;
    font-size: 14px;
    line-height: 1;
    background: #fff;
    opacity: 0;
    transform: translate(-50%, -100%);
    transition: opacity .3s ease, transform .4s ease, top .4s ease;
    pointer-events: none;
}

.mangu-message.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.mangu-message__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.mangu-message__content {
    margin: 0;
    overflow-wrap: break-word;
}

.mangu-message--success {
    border-color: #e1f3d8;
    color: #67c23a;
    background: #f0f9eb;
}

.mangu-message--success .mangu-message__icon {
    color: #67c23a;
}

.mangu-message--error {
    border-color: #fde2e2;
    color: #f56c6c;
    background: #fef0f0;
}

.mangu-message--error .mangu-message__icon {
    color: #f56c6c;
}

.mangu-message--warning {
    border-color: #faecd8;
    color: #e6a23c;
    background: #fdf6ec;
}

.mangu-message--warning .mangu-message__icon {
    color: #e6a23c;
}

@media (max-width: 880px) {
    .mangu-page {
        min-height: 100vh;
        padding: 100px 24px 70px;
        align-items: flex-start;
    }

    .mangu-shell {
        height: auto;
        grid-template-columns: 1fr;
        border-radius: 8px;
    }

    .mangu-page--register {
        padding: 40px 24px 70px;
    }

    .mangu-shell--register {
        min-height: 0;
    }

    .mangu-brand {
        padding: 23px 24px 22px;
    }

    .mangu-shell--register .mangu-brand {
        padding: 23px 24px 22px;
    }

    .mangu-brand::before,
    .mangu-brand::after {
        display: none;
    }

    .mangu-brand-inner {
        height: auto;
    }

    .mangu-copy,
    .mangu-feature-list {
        display: none;
    }

    .mangu-panel {
        padding: 25px 20px 22px;
    }

    .mangu-panel--register {
        padding: 25px 20px 22px;
    }

    .mangu-form-wrap {
        max-width: none;
    }
}

@media (max-width: 520px) {
    .mangu-page {
        padding-left: 24px;
        padding-right: 24px;
    }

    .mangu-form-title {
        margin-bottom: 27px;
    }

    .mangu-form-title h2 {
        font-size: 24px;
    }

    .mangu-captcha-row {
        grid-template-columns: 1fr;
    }
}
