* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    min-height: 100%;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: #ffffff;
    color: #111827;
    margin: 0;
    overflow: hidden;
}

.login-wrap {
    width: 100%;
    height: 100vh;
}

.login-panel {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: stretch;
    background: #fff;
}

.login-visual {
    flex: 0 0 60%;
    width: 60%;
    height: 100vh;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-right: 1px solid #eef1f6;
    background: #fbfdff;
    overflow: hidden;
}

.login-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-form-side {
    flex: 0 0 40%;
    width: 40%;
    height: 100vh;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
}

.login-form-box {
    width: 80%;
    max-width: 400px;
}

.login-form-box h3 {
    font-size: 32px;
    line-height: 1;
    color: #3a73ff;
    margin-bottom: 50px;
    text-align: center;
}

.form-item {
    margin-bottom: 30px;
}

.input {
    width: 100%;
    height: 44px;
    border: 1px solid #d7deea;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.input:focus {
    border-color: #3a8bff;
}

.captcha-row {
    display: flex;
    gap: 10px;
}

.captcha-row .input {
    flex: 1;
}

.captcha-img {
    width: 142px;
    height: 44px;
    border: 1px solid #d7deea;
    border-radius: 4px;
    cursor: pointer;
    object-fit: cover;
}

.submit {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: #1677ff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.submit:hover {
    background: #0f6be6;
}

.copyright {
    margin-top: 56px;
    font-size: 12px;
    color: #9ba3b4;
    text-align: center;
}

@media (max-width: 1180px) {
    body {
        overflow: auto;
    }

    .login-wrap {
        height: auto;
        min-height: 100vh;
    }

    .login-panel {
        height: auto;
        min-height: auto;
        flex-direction: column;
    }

    .login-visual {
        width: 100%;
        min-width: 0;
        height: 360px;
        border-right: 0;
        border-bottom: 1px solid #eef1f6;
    }

    .login-form-side {
        width: 100%;
        height: auto;
        min-width: 0;
        padding: 34px 20px;
    }

    .login-form-box h3 {
        font-size: 30px;
        margin-bottom: 28px;
    }
}
