﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #2E7CE6;
    --blue-dark: #0E2A5C;
    --orange: #E56608;
    --orange-dark: #C85506;
    --text: #1A2B4A;
    --muted: #6B7A99;
    --line: #E3E9F2;
    --bg: #F4F7FC;
    --red: #E8402E;
}

html, body {
    height: 100%;
}

body {
    font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

.page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

@media(min-width:900px) {
    .page {
        grid-template-columns: 1.1fr 1fr;
    }
}

/* 左侧品牌区（桌面端显示） */
.brand {
    background: linear-gradient(140deg,var(--blue-dark) 0%,#1A4FA8 60%,var(--blue) 100%);
    color: #fff;
    padding: 48px;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    display: none;
}

@media(min-width:900px) {
    .brand {
        display: flex;
    }
}

.brand::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(255,255,255,.12),transparent 70%);
}

.brand::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(255,255,255,.08),transparent 70%);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

    .brand-logo .mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #fff;
        color: var(--blue);
        display: grid;
        place-items: center;
        font-weight: 900;
        font-size: 18px;
    }

    .brand-logo b {
        font-size: 22px;
        font-weight: 900;
    }

    .brand-logo small {
        display: block;
        font-size: 11px;
        letter-spacing: .18em;
        color: #AFC4EE;
        font-weight: 500;
    }

.brand-mid {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin-top: 40px;
}

    .brand-mid h1 {
        font-size: clamp(28px,3.4vw,40px);
        font-weight: 900;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .brand-mid p {
        font-size: 15px;
        color: #C9D9F7;
        line-height: 1.8;
    }

.brand-feats {
    position: relative;
    z-index: 1;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .brand-feats div {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #E5EEFF;
    }

    .brand-feats .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #FFB27A;
    }

.brand-foot {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: #8AA4D8;
    margin-top: 40px;
}

/* 右侧表单区 */
.form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: #fff;
    min-height: 100vh;
}

@media(min-width:900px) {
    .form-side {
        padding: 40px 24px;
        min-height: auto;
    }
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

    .mobile-logo .mark {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: var(--blue);
        color: #fff;
        display: grid;
        place-items: center;
        font-weight: 900;
        font-size: 16px;
    }

    .mobile-logo b {
        font-size: 18px;
        font-weight: 900;
        color: var(--text);
    }

    .mobile-logo small {
        display: block;
        font-size: 11px;
        letter-spacing: .15em;
        color: var(--muted);
    }

@media(min-width:900px) {
    .mobile-logo {
        display: none;
    }
}

.form-card {
    width: 100%;
    max-width: 400px;
}

    .form-card h2 {
        font-size: 26px;
        font-weight: 900;
        color: var(--text);
        margin-bottom: 6px;
    }

    .form-card .sub {
        font-size: 14px;
        color: var(--muted);
        margin-bottom: 32px;
    }

.field {
    margin-bottom: 20px;
}

    .field label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 8px;
    }

.input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 0 14px;
    background: #F7FAFE;
    transition: .18s;
}

    .input-box:focus-within {
        border-color: var(--blue);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(46,124,230,.12);
    }

    .input-box .ic {
        width: 18px;
        height: 18px;
        color: #9DB2D6;
        flex: 0 0 auto;
        font-size: 15px;
    }

    .input-box input {
        flex: 1;
        border: 0;
        outline: 0;
        background: transparent;
        padding: 13px 0;
        font-size: 15px;
        color: var(--text);
    }

        .input-box input::placeholder {
            color: #AAB7D0;
        }

.captcha-row {
    display: flex;
    gap: 10px;
}

    .captcha-row .input-box {
        flex: 1;
    }

.captcha-img {
    width: 120px;
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    overflow: hidden;
    flex: 0 0 auto;
    cursor: pointer;
    background: #EFF4FB;
    display: grid;
    place-items: center;
}

    .captcha-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.btn-login {
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 10px 22px rgba(229,102,8,.3);
}

    .btn-login:hover {
        background: var(--orange-dark);
        transform: translateY(-1px);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.form-foot {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

    .form-foot a {
        color: var(--blue);
        text-decoration: none;
    }
