/* Scoped to the member login page; other authentication pages keep their styles. */
body.member-login-page {
    margin: 0;
    background: #f5f6f7;
    color: #293d37;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.member-login, .member-login * { box-sizing: border-box; }
.member-login.auth-wrapper {
    min-height: 100vh;
    min-height: 100svh;
    padding: 40px 20px;
    background: #f5f6f7;
    overflow: visible;
}
.member-login::before, .member-login::after { content: none; }
.member-login .auth-card {
    width: 100%;
    max-width: 440px;
    padding: 28px;
    border: 1px solid #eef0f1;
    border-radius: 20px;
    background: #fff;
    color: #293d37;
    box-shadow: 0 12px 36px rgba(31, 41, 55, .07);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.member-login .member-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    color: #173d31;
    text-decoration: none;
}
.member-login .member-login-logo {
    display: block;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(31, 41, 55, .08);
}
.member-login .member-login-brand-name {
    min-width: 0;
    max-width: 240px;
    padding-left: 14px;
    border-left: 1px solid #dfe5e2;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.member-login-heading { margin: 22px 0; text-align: center; }
.member-login-heading h1 {
    margin: 0 0 8px;
    color: #103f2f;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .02em;
}
.member-login-heading p { margin: 0; color: #747e7a; font-size: 14px; line-height: 1.6; }
.member-login-field { margin-bottom: 18px; }
.member-login-field > label {
    display: block;
    margin-bottom: 8px;
    color: #283f35;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.member-login-input { position: relative; }
.member-login .member-login-input .form-control {
    width: 100%;
    height: 48px;
    padding: 11px 14px 11px 43px;
    border: 1px solid #dce2df;
    border-radius: 10px;
    background: #f8f9fa;
    color: #293d37;
    font-size: 16px;
    line-height: 24px;
    box-shadow: none;
    transition: border-color .18s, box-shadow .18s;
}
.member-login .member-login-input .form-control::placeholder { color: #929b97; opacity: 1; }
.member-login .member-login-input .form-control:focus {
    border-color: #15966b;
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(21, 150, 107, .12);
}
.member-login .member-login-input .form-control:disabled { background: #f0f2f1; color: #7a847e; }
.member-login .member-login-input .form-control:-webkit-autofill {
    -webkit-text-fill-color: #293d37;
    -webkit-box-shadow: 0 0 0 100px #f8f9fa inset;
}
.member-login-field-icon { position: absolute; top: 14px; left: 14px; color: #7e8984; pointer-events: none; }
.member-login .member-login-password .form-control { padding-right: 48px; }
.member-login-password-toggle {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #7e8984;
    cursor: pointer;
}
.member-login-password-toggle:hover { color: #11845d; }
.member-login-eye-slash { display: none; }
.member-login-password-toggle[aria-pressed="true"] .member-login-eye-slash { display: block; }
.member-login .member-login-captcha { width: 100%; max-width: none; margin: 2px 0 18px; }
.member-login .acg-gocaptcha-trigger {
    justify-content: flex-start;
    gap: 12px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #d7e5de;
    border-radius: 10px;
    background: #f0f8f4;
    color: #285340;
    font-family: inherit;
    font-size: 14px;
    box-shadow: none;
}
.member-login .acg-gocaptcha-trigger::after {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-left: auto;
    margin-right: 3px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.member-login .acg-gocaptcha-trigger .acg-gocaptcha-trigger-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #dff1e8;
    color: #12875e;
    font-size: 17px;
}
.member-login .acg-gocaptcha-trigger:hover, .member-login .acg-gocaptcha-trigger.is-success {
    border-color: #8ec9ae;
    background: #eaf6ef;
    color: #11845d;
    box-shadow: none;
}
.member-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 22px;
}
.member-login .form-check { gap: 7px; color: #727c76; }
.member-login .form-check input[type="checkbox"] {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1.5px solid #a3b4ac;
    background: #fff;
    box-shadow: none;
}
.member-login .form-check input[type="checkbox"]:checked { border-color: #15966b; background: #15966b; box-shadow: none; }
.member-login .form-check label { margin: 0; color: #727c76; font-size: 14px; font-weight: 400; }
.member-login .text-link, .member-login .form-check label:hover { color: #12875e; text-decoration: none; }
.member-login .text-link:hover { color: #0f6d4c; text-decoration: underline; }
.member-login .member-login-submit {
    width: 100%;
    min-height: 48px;
    padding: 11px 18px;
    border: 1px solid #15966b;
    border-radius: 10px;
    background: #15966b;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    box-shadow: 0 5px 14px rgba(21, 150, 107, .14);
    transition: background .18s, border-color .18s;
}
.member-login .member-login-submit:hover, .member-login .member-login-submit:active {
    border-color: #11845d;
    background: #11845d;
    color: #fff;
}
.member-login-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; color: #929b97; font-size: 12px; line-height: 20px; }
.member-login-divider::before, .member-login-divider::after { content: ""; position: static; flex: 1; width: auto; height: 1px; background: #e8ece9; }
.member-login .wxoauth-login-options, .member-login .wxoauth-more-options { gap: 12px; }
.member-login .wxoauth-login-option {
    min-height: 46px;
    padding: 10px;
    border: 1px solid #dce2df;
    border-radius: 10px;
    background: #fff;
    color: #42564a;
    box-shadow: none;
}
.member-login .wxoauth-login-option:hover, .member-login .wxoauth-login-option:focus-visible {
    border-color: #8ec9ae;
    background: #f5faf7;
    color: #12875e;
    box-shadow: none;
    transform: none;
}
.member-login .wxoauth-login-icon { flex-basis: 24px; width: 24px; height: 24px; box-shadow: none; }
.member-login .wxoauth-login-label { font-size: 14px; font-weight: 500; }
.member-login .wxoauth-more-toggle { min-height: 36px; margin-top: 10px; color: #12875e; font-family: inherit; font-size: 13px; }
.member-login .member-login-register {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 20px 0 0;
    padding: 12px;
    border-radius: 10px;
    background: #f0f8f4;
    color: #7a847e;
    font-size: 14px;
    line-height: 22px;
}
.member-login-register .text-link { font-weight: 600; }
.member-login [hidden] { display: none !important; }
/* Email verification panel is inserted by the existing login controller. */
.member-login .member-ip-email-code { font-size: 16px; }
.member-login .member-ip-email-resend { border-color: #c2d6ca; color: #12875e; }
.member-login .member-ip-email-resend:hover { background: #f0f8f4; }
.member-login .needs-validation > div:has(.member-ip-email-code) {
    border-color: #d7e5de !important;
    background: #f5faf7 !important;
    font-size: 13px;
    line-height: 1.7;
}
.member-login .btn-link { color: #12875e; }
.member-login a:focus-visible, .member-login button:focus-visible, .member-login input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(21, 150, 107, .28);
    outline-offset: 3px;
}
@media (max-width: 480px) {
    .member-login.auth-wrapper { padding: 24px 14px; }
    .member-login .auth-card { padding: 24px 20px; border-radius: 18px; }
    .member-login .member-login-brand-name { font-size: 16px; }
    .member-login-heading h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .member-login *, .member-login *::before, .member-login *::after { transition: none !important; }
}
