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

body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px;
    box-sizing: border-box;
    overflow: auto;
    color: #101816;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.18) 46%, rgba(31, 111, 95, 0.12) 100%),
        linear-gradient(180deg, #f7faf8 0%, #e9f0ed 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(16, 24, 22, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 22, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 78%);
}

.mask {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(10, 18, 16, 0.04), rgba(255, 255, 255, 0));
}

.container {
    position: relative;
    left: auto;
    top: auto;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(310px, 0.92fr) minmax(360px, 1.08fr);
    width: min(940px, 100%);
    min-height: 560px;
    height: auto;
    max-width: none;
    max-height: none;
    overflow: hidden;
    transform: none;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(127, 150, 141, 0.24);
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(20, 35, 31, 0.14);
    backdrop-filter: blur(18px);
}

.container .logo_group {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    min-height: 100%;
    padding: 52px 48px;
    box-sizing: border-box;
    overflow: hidden;
    color: #f8fbfa;
    background:
        radial-gradient(circle at 18% 8%, rgba(31, 111, 95, 0.26), transparent 210px),
        linear-gradient(150deg, #0c1110 0%, #101715 58%, #17211e 100%);
}

.container .logo_group::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 34%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: auto, 42px 42px, 42px 42px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16));
}

.container .logo_group::after {
    content: "";
    position: absolute;
    right: -82px;
    bottom: -82px;
    z-index: 0;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 111, 95, 0.24), rgba(31, 111, 95, 0) 62%);
}

.container .logo_group .pc_logo,
.container .logo_group .sp_logo,
.container .logo_group .title {
    position: relative;
    z-index: 1;
}

.container .logo_group .pc_logo {
    display: block;
    width: 240px;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.24));
}

.container .logo_group .sp_logo {
    display: none;
    width: 180px;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24));
}

.container .logo_group .title {
    display: none;
    margin: 0;
}

.container .logo_group .title .cn {
    color: #f2d78d;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
}

.container .logo_group .title .en {
    margin-top: 16px;
    color: #c5ab68;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.container .form_group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 64px 72px;
    box-sizing: border-box;
    text-align: left;
    background: #fbfdfc;
}

.container .form_group::before,
.container .form_group::after {
    content: none;
}

.form_head {
    margin-bottom: 30px;
}

.form_head h1 {
    margin: 0;
    color: #101816;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.form_head p {
    margin: 10px 0 0;
    color: #66756f;
    font-size: 14px;
    line-height: 1.6;
}

.container .form_group form {
    width: 100%;
}

.container .form_group .label {
    display: block;
    margin: 22px 0 0;
    color: #2a3a35;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.container .form_group .label:first-child {
    margin-top: 0;
}

.container .form_group input {
    width: 100%;
    height: 48px;
    margin: 9px 0 0;
    padding: 0 15px;
    box-sizing: border-box;
    color: #101816;
    font-size: 15px;
    background: #f5f8f6;
    border: 1px solid #d8e2dd;
    border-radius: 8px;
    appearance: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.container .form_group input:focus {
    background: #ffffff;
    border-color: #1f6f5f;
    box-shadow: 0 0 0 4px rgba(31, 111, 95, 0.12);
}

.container .form_group input::placeholder {
    color: #9baaa4;
}

.container .form_group input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #f5f8f6 inset;
    -webkit-text-fill-color: #101816;
}

#captcha {
    margin-top: 14px;
}

.container .form_group button.login_btn {
    width: 100%;
    height: 50px;
    margin: 28px 0 0;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #3b836f 0%, #1f6f5f 100%);
    border-radius: 8px;
    box-shadow: 0 16px 28px rgba(20, 35, 31, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.container .form_group button.login_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(20, 35, 31, 0.22);
    filter: saturate(1.04);
}

.container .form_group button.login_btn:active {
    transform: translateY(0);
    box-shadow: 0 12px 22px rgba(20, 35, 31, 0.18);
}

@media screen and (max-width: 820px) {
    body {
        align-items: flex-start;
        padding: 18px;
    }

    .container {
        grid-template-columns: 1fr;
        width: 100%;
        min-height: 0;
        margin: 10px auto;
    }

    .container .logo_group {
        min-height: 132px;
        justify-content: center;
        padding: 24px 22px;
        background:
            radial-gradient(circle at 18% 0, rgba(31, 111, 95, 0.28), transparent 150px),
            linear-gradient(145deg, #0c1110 0%, #101715 68%, #151f1c 100%);
    }

    .container .logo_group::after {
        top: -52px;
        right: -54px;
        bottom: auto;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(31, 111, 95, 0.18), rgba(31, 111, 95, 0) 64%);
    }

    .container .logo_group .pc_logo {
        display: none;
    }

    .container .logo_group .sp_logo {
        display: block;
    }

    .container .logo_group .title {
        display: none;
    }

    .container .logo_group .title .cn {
        font-size: 34px;
    }

    .container .logo_group .title .en {
        margin-top: 10px;
        font-size: 11px;
        letter-spacing: 2.2px;
    }

    .container .form_group {
        padding: 32px 26px 28px;
    }

    .form_head {
        margin-bottom: 26px;
        text-align: center;
    }

    .form_head h1 {
        font-size: 24px;
    }

    .form_head p {
        font-size: 13px;
    }

    .container .form_group .label {
        margin-top: 20px;
    }

    .container .form_group input,
    .container .form_group button.login_btn {
        height: 48px;
        font-size: 15px;
    }
}

@media screen and (max-width: 420px) {
    body {
        padding: 14px;
    }

    .container .logo_group {
        min-height: 122px;
        padding: 24px 22px;
    }

    .container .logo_group .sp_logo {
        width: 160px;
    }

    .container .form_group {
        padding: 28px 22px 24px;
    }

    .container .form_group button.login_btn {
        margin-top: 26px;
    }
}

@media screen and (min-width: 821px) and (max-height: 640px) {
    body {
        padding: 20px;
    }

    .container {
        min-height: 500px;
    }

    .container .logo_group {
        padding: 42px;
    }

    .container .form_group {
        padding: 46px 60px;
    }
}
