:root {
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    background: #ffffff;
    color: #12283d;
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 1fr);
}

.login-statement {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(64px, 11vh, 148px) clamp(54px, 7vw, 132px) clamp(58px, 9vh, 124px);
    background: #082840;
    color: #f3f7f8;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: clamp(58px, 6vh, 88px);
    left: clamp(28px, 3vw, 58px);
    margin: 0;
    color: #f4fafc;
}

.login-brand-logo {
    display: block;
    width: min(100%, 380px);
    height: auto;
    filter: brightness(0) invert(1);
}

.statement-content {
    margin-top: clamp(215px, 27vh, 330px);
}

.statement-content h1 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: clamp(40px, 3.95vw, 58px);
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.045em;
}

.statement-line {
    width: 34px;
    height: 1px;
    margin: 38px 0 30px;
    background: #86b8ce;
}

.statement-content p {
    margin: 0;
    color: #b9d0da;
    font-size: clamp(17px, 1.38vw, 21px);
    line-height: 2;
    letter-spacing: 0.04em;
}

.login-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
}

.login-form {
    width: min(100%, 410px);
}

.login-form h2 {
    margin: 0;
    color: #071f35;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.055em;
}

.login-intro {
    margin: 13px 0 42px;
    color: #738493;
    font-size: 14px;
    line-height: 1.7;
}

.login-form label {
    display: block;
    margin-bottom: 10px;
    color: #405b70;
    font-size: 14px;
}

.login-form input {
    width: 100%;
    height: 47px;
    padding: 0 14px;
    border: 1px solid #d6e0e6;
    border-radius: 4px;
    color: #12283d;
    font-size: 16px;
    outline: none;
}

.login-form input:focus {
    border-color: #176d96;
    box-shadow: 0 0 0 3px rgba(23, 109, 150, 0.12);
}

.login-error {
    min-height: 18px;
    margin: 8px 0 0;
    color: #c43939;
    font-size: 13px;
}

.login-form button {
    width: 100%;
    height: 47px;
    margin-top: 17px;
    border: 0;
    border-radius: 4px;
    background: #0d5279;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.14em;
}

.login-form button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.session-note {
    margin: 19px 0 0;
    text-align: center;
    color: #8997a2;
    font-size: 12px;
}

.login-security {
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid #e9eef1;
    color: #80909b;
    font-size: 12px;
    line-height: 1.75;
}

@media (max-width: 680px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-statement {
        min-height: 375px;
        padding: 42px 30px;
    }

    .login-brand {
        position: static;
        margin-bottom: 56px;
    }

    .login-brand-logo {
        width: min(100%, 250px);
    }

    .statement-content {
        margin-top: 0;
    }

    .statement-content h1 {
        font-size: 37px;
    }

    .statement-content p {
        font-size: 14px;
    }

    .login-form-section {
        min-height: calc(100vh - 340px);
        padding: 44px 30px;
    }
}
