.register-page, .register-page * { box-sizing: border-box; }
.register-page {
    --brand: #246b9f; --brand-dark: #174d75; --brand-soft: #eaf4fb;
    --ink: #1c2935; --muted: #677887; --line: #dbe4ea;
    min-height: 760px; padding: 52px 20px 68px;
    background: radial-gradient(circle at 12% 5%, rgba(56,143,199,.12), transparent 29%), radial-gradient(circle at 91% 94%, rgba(60,173,153,.1), transparent 26%), #f4f7f9;
    color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.register-shell {
    display: grid; grid-template-columns: 320px minmax(0,1fr); width: min(100%,980px); margin: 0 auto; overflow: hidden;
    border: 1px solid rgba(207,220,229,.9); border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(35,72,98,.13);
}
.register-aside {
    position: relative; display: flex; flex-direction: column; min-height: 760px; padding: 36px 34px; overflow: hidden;
    background: linear-gradient(155deg,#123e61 0%,#246f9e 62%,#278e99 100%); color: #fff;
}
.register-aside::before, .register-aside::after { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.register-aside::before { width: 310px; height: 310px; right: -185px; top: 82px; }
.register-aside::after { width: 210px; height: 210px; left: -115px; bottom: 80px; }
.register-home-link { position: relative; z-index: 1; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 2px; text-decoration: none; }
.register-aside-content { position: relative; z-index: 1; margin: auto 0; }
.register-eyebrow { color: #a9e4e5; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.register-aside h1 { margin: 16px 0 18px; font-size: 30px; font-weight: 600; line-height: 1.45; }
.register-aside-content > p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.9; }
.register-benefits { margin: 32px 0 0; padding: 0; list-style: none; }
.register-benefits li { display: flex; align-items: center; margin: 14px 0; color: rgba(255,255,255,.9); font-size: 14px; }
.register-benefits span { display: inline-grid; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: rgba(255,255,255,.14); color: #c9f2e9; place-items: center; }
.register-aside-note { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.register-aside-note a { color: #fff; font-weight: 600; }
.register-panel { padding: 42px 48px 44px; }
.register-heading { margin-bottom: 24px; }
.register-step { color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.register-heading h2 { margin: 7px 0 6px; color: var(--ink); font-size: 28px; font-weight: 600; }
.register-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.institution-card { display: flex; gap: 13px; margin-bottom: 28px; padding: 15px 16px; border: 1px solid #d8e6ef; border-radius: 10px; background: #f5f9fc; }
.institution-card.is-bound { border-color: #cce7df; background: #f2faf7; }
.institution-icon { display: grid; flex: 0 0 32px; height: 32px; border-radius: 50%; background: #dbeaf4; color: var(--brand); font-size: 15px; font-weight: 700; place-items: center; }
.is-bound .institution-icon { background: #d8efe7; color: #278167; }
.institution-copy { min-width: 0; flex: 1; }
.institution-copy label { display: block; margin-bottom: 3px; color: #526571; font-size: 12px; }
.institution-copy input { width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600; outline: none; }
.institution-copy p { margin: 5px 0 0; color: #71818c; font-size: 12px; line-height: 1.6; }
.register-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.register-section + .register-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid #edf1f3; }
.register-section legend { width: 100%; margin-bottom: 17px; color: #2c3a44; font-size: 16px; font-weight: 600; }
.register-section legend span { float: right; margin-top: 3px; color: #92a0a9; font-size: 11px; font-weight: 400; }
.register-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 20px; }
.form-field { min-width: 0; }
.form-field-wide { grid-column: 1/-1; }
.form-field > label, .field-label { display: block; margin-bottom: 7px; color: #42535f; font-size: 13px; font-weight: 500; }
.form-field input, .form-field select {
    width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff;
    color: var(--ink); font-family: inherit; font-size: 13px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-field input::placeholder { color: #a2adb5; }
.form-field input:focus, .form-field select:focus { border-color: #5794bd; box-shadow: 0 0 0 3px rgba(53,126,174,.11); }
.field-error, .form-error { display: block; min-height: 16px; margin-top: 4px; color: #cf4538; font-size: 11px; line-height: 16px; }
.captcha-row, .verification-row, .address-selects { display: flex; gap: 10px; }
.captcha-row input, .verification-row input { flex: 1; }
.captcha-image-button { flex: 0 0 112px; height: 42px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #f7f9fa; cursor: pointer; }
.captcha-image-button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.text-button { flex: 0 0 auto; padding: 0 4px; border: 0; background: transparent; color: var(--brand); cursor: pointer; font-family: inherit; font-size: 12px; }
.verification-button { flex: 0 0 120px; height: 42px; border: 1px solid #bcd3e2; border-radius: 7px; background: var(--brand-soft); color: var(--brand-dark); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; }
.verification-button:disabled { cursor: not-allowed; opacity: .65; }
.radio-group { display: flex; min-height: 42px; align-items: center; gap: 24px; }
.radio-group label { display: flex; align-items: center; color: #4e5d67; cursor: pointer; font-size: 13px; }
.radio-group input { width: 16px; height: 16px; margin: 0 7px 0 0; accent-color: var(--brand); }
.address-selects { margin-bottom: 10px; }
.address-selects select { flex: 1; }
.terms-box { margin-top: 28px; border: 1px solid #e2e8ec; border-radius: 8px; background: #fafbfc; }
.terms-box summary { padding: 12px 14px; color: #52636f; cursor: pointer; font-size: 12px; font-weight: 500; }
.terms-content { padding: 0 15px 12px; color: #77858e; font-size: 11px; line-height: 1.75; }
.terms-content p { margin: 4px 0; }
.agreement-row { display: flex; margin-top: 16px; align-items: center; color: #53636e; cursor: pointer; font-size: 12px; }
.agreement-row input { width: 16px; height: 16px; margin: 0 8px 0 0; accent-color: var(--brand); }
.register-actions { display: flex; gap: 12px; margin-top: 21px; }
.primary-button, .secondary-button { height: 44px; border-radius: 7px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; transition: transform .15s, background .2s, box-shadow .2s; }
.primary-button { flex: 1; border: 0; background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(36,107,159,.2); }
.primary-button:hover { background: #1d5d8b; transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: .7; transform: none; }
.secondary-button { flex: 0 0 92px; border: 1px solid var(--line); background: #fff; color: #62727d; }
.secondary-button:hover { background: #f6f8f9; }
.mobile-login-link { display: none; margin: 18px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.mobile-login-link a { color: var(--brand); }
@media (max-width: 900px) {
    .register-shell { grid-template-columns: 250px minmax(0,1fr); }
    .register-aside { padding: 32px 26px; }
    .register-aside h1 { font-size: 25px; }
    .register-panel { padding: 38px 34px 40px; }
}
@media (max-width: 700px) {
    .register-page { min-height: 0; padding: 24px 12px 38px; }
    .register-shell { display: block; border-radius: 13px; }
    .register-aside { display: none; }
    .register-panel { padding: 30px 24px 32px; }
    .mobile-login-link { display: block; }
}
@media (max-width: 520px) {
    .register-panel { padding: 27px 18px 30px; }
    .register-heading h2 { font-size: 24px; }
    .register-grid { grid-template-columns: 1fr; gap: 14px; }
    .form-field-wide { grid-column: auto; }
    .captcha-row { flex-wrap: wrap; }
    .captcha-row input { min-width: 120px; }
    .text-button { flex-basis: 100%; text-align: left; }
    .verification-button { flex-basis: 108px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .register-page * { scroll-behavior: auto !important; transition: none !important; } }
