/**
 * 登录 / 注册门户顶栏与浅蓝背景，与主站 gptbots 风格一致
 */
.auth-portal-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(32, 212, 146, 0.15);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.auth-portal-top a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary, #20D492);
    transition: var(--transition, all 0.3s ease);
}

.auth-portal-top a:hover {
    color: var(--primary-dark, #14A873);
}

.auth-portal-top .auth-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.auth-portal-top .btn-register-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary, #20D492), var(--primary-dark, #14A873));
    box-shadow: 0 2px 10px rgba(var(--primary-rgb, 32, 212, 146), 0.35);
    transition: var(--transition, all 0.3s ease);
}

.auth-portal-top .btn-register-top:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb, 32, 212, 146), 0.4);
    color: #fff;
}

body.auth-portal {
    padding-top: 52px;
}

body.auth-portal .login-container {
    padding-top: 24px;
}

.auth-page {
    min-height: 100vh;
    margin: 0;
    padding: 84px 24px 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary, #0f172a);
    background: linear-gradient(180deg, #E8F8F1 0%, #F4FBF8 38%, #ffffff 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.auth-shell {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 36px;
    align-items: center;
}

.auth-brand-panel,
.auth-card {
    border: 1px solid var(--border-light, #e5e5e5);
    border-radius: var(--radius-xl, 24px);
    background: var(--bg-primary, #ffffff);
    box-shadow: var(--shadow-lg, 0 12px 32px rgba(0,0,0,0.1));
    position: relative;
    /* 与圆角对齐，防止表单内容、阴影画出白底区域 */
    overflow: hidden;
}

.auth-brand-panel::before,
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary, #20D492), var(--secondary, #177A59));
    opacity: 0;
    transition: opacity 0.3s;
}

.auth-brand-panel:hover::before,
.auth-card:hover::before {
    opacity: 1;
}

.auth-brand-panel {
    padding: 44px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-primary, #ffffff);
    transition: var(--transition, all 0.3s ease);
}

.auth-brand-logo {
    height: 44px;
    width: auto;
    margin-bottom: 34px;
}

.auth-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 18px;
    border-radius: 20px;
    color: var(--primary, #20D492);
    background: rgba(32, 212, 146, 0.1);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-brand-panel h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary, #1d1d1f);
}

.auth-brand-panel p {
    margin: 18px 0 0;
    max-width: 520px;
    color: var(--text-secondary, #6e6e73);
    font-size: 16px;
    line-height: 1.8;
}

.auth-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.auth-feature {
    padding: 16px;
    border-radius: var(--radius-lg, 16px);
    background: var(--bg-secondary, #F4FBF8);
    border: 1px solid var(--border-light, #e5e5e5);
    transition: var(--transition, all 0.3s ease);
}

.auth-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.06));
}

.auth-feature i {
    color: var(--primary, #20D492);
    margin-bottom: 8px;
    font-size: 18px;
}

.auth-feature strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #1d1d1f);
}

.auth-feature span {
    color: var(--text-secondary, #6e6e73);
    font-size: 12px;
    line-height: 1.5;
}

.auth-card {
    padding: 42px;
}

.auth-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary, #1d1d1f);
}

.auth-card-subtitle {
    margin: 0 0 28px;
    color: var(--text-secondary, #6e6e73);
    font-size: 14px;
    line-height: 1.7;
}

.auth-form-group {
    margin-bottom: 18px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary, #1d1d1f);
    font-size: 14px;
    font-weight: 500;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.auth-input-wrap input {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 52px;
    padding: 0 48px;
    border: 1px solid var(--border-light, #e5e5e5);
    border-radius: var(--radius-md, 12px);
    background: var(--bg-secondary, #F4FBF8);
    color: var(--text-primary, #1d1d1f);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition, all 0.3s ease);
}

.auth-input-wrap input:focus {
    outline: none;
    border-color: var(--primary, #20D492);
    background: var(--bg-primary, #ffffff);
    box-shadow: 0 0 0 3px rgba(32, 212, 146, 0.1);
}

.auth-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: var(--radius-sm, 8px);
    background: transparent;
    color: var(--text-muted, #86868b);
    cursor: pointer;
    transition: var(--transition, all 0.3s ease);
}

.auth-toggle-password:hover {
    color: var(--primary, #20D492);
    background: rgba(32, 212, 146, 0.06);
}

.auth-error-msg {
    display: none;
    margin-top: 6px;
    color: var(--accent, #f59e0b);
    font-size: 13px;
}

.auth-form-group.error .auth-error-msg {
    display: block;
}

.auth-form-group.error input {
    border-color: var(--accent, #f59e0b);
}

.auth-form-group.error input:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.auth-options,
.auth-terms {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 24px;
    color: var(--text-secondary, #6e6e73);
    font-size: 14px;
}

.auth-terms {
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 1.6;
}

.auth-options a,
.auth-terms a,
.auth-footer a {
    color: var(--primary, #20D492);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition, all 0.3s ease);
}

.auth-options a:hover,
.auth-terms a:hover,
.auth-footer a:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary, #20D492), var(--primary-dark, #14A873));
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb, 32, 212, 146), 0.3);
    transition: var(--transition, all 0.3s ease);
    position: relative;
    overflow: hidden;
}

.auth-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(var(--primary-rgb, 32, 212, 146), 0.4);
}

.auth-submit:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--text-secondary, #6e6e73);
    font-size: 14px;
}

.auth-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1000;
    display: none;
    min-width: 260px;
    max-width: min(420px, calc(100vw - 32px));
    transform: translateX(-50%);
    padding: 13px 20px;
    border-radius: var(--radius-lg, 16px);
    color: var(--text-primary, #1d1d1f);
    background: var(--bg-primary, #ffffff);
    border: 1px solid var(--border-light, #e5e5e5);
    box-shadow: var(--shadow-lg, 0 12px 32px rgba(0,0,0,0.1));
    font-size: 14px;
    font-weight: 500;
}

.auth-toast.success {
    color: var(--success, #34c759);
}

.auth-toast.error {
    color: var(--accent, #f59e0b);
}

.auth-toast.warning {
    color: var(--warning, #ff9500);
}

.auth-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -3px;
    animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        min-height: auto;
        padding: 30px;
    }

    .auth-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .auth-page {
        padding: 76px 14px 24px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .auth-feature-grid {
        grid-template-columns: 1fr;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* 验证码行：输入框 + 获取验证码（窄屏时按钮换行，仍留在卡片内） */
.auth-captcha-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
}

.auth-captcha-row .auth-input-wrap {
    flex: 1 1 140px;
    min-width: 0;
}

.auth-btn-code {
    flex: 0 1 auto;
    align-self: stretch;
    padding: 0 14px;
    min-width: 112px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--primary, #20D492), var(--primary-dark, #14A873));
    transition: opacity 0.2s ease;
}

.auth-btn-code:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* 注册 Tab */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.auth-tab {
    flex: 1;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(32, 212, 146, 0.35);
    background: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary, #475569);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.auth-tab:hover {
    border-color: rgba(32, 212, 146, 0.55);
    color: var(--primary, #20D492);
}

.auth-tab.active {
    border-color: var(--primary, #20D492);
    background: rgba(224, 242, 254, 0.95);
    color: var(--primary-dark, #14A873);
}

.auth-register-panel[hidden] {
    display: none !important;
}

/* ── 登录页左侧面板深度优化 ── */
.auth-brand-panel--login {
    padding: 0;
    min-height: 600px;
    background: linear-gradient(145deg, #f8fffc 0%, #ffffff 42%, #f0fdf8 100%);
    border-color: rgba(32, 212, 146, 0.18);
    overflow: hidden;
}

.auth-brand-panel--login::before {
    opacity: 1;
    height: 4px;
    background: linear-gradient(90deg, #20D492 0%, #14A873 50%, #177A59 100%);
}

.auth-brand-panel--login .auth-brand-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-brand-panel--login .auth-brand-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: auth-orb-float 12s ease-in-out infinite;
}

.auth-brand-panel--login .auth-brand-orb--1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(32, 212, 146, 0.35) 0%, transparent 70%);
}

.auth-brand-panel--login .auth-brand-orb--2 {
    width: 220px;
    height: 220px;
    bottom: 10%;
    left: -70px;
    background: radial-gradient(circle, rgba(20, 168, 115, 0.28) 0%, transparent 70%);
    animation-delay: -4s;
}

.auth-brand-panel--login .auth-brand-orb--3 {
    width: 160px;
    height: 160px;
    bottom: 28%;
    right: 18%;
    background: radial-gradient(circle, rgba(23, 122, 89, 0.2) 0%, transparent 70%);
    animation-delay: -8s;
}

@keyframes auth-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(12px, -10px) scale(1.04); }
    66% { transform: translate(-8px, 8px) scale(0.96); }
}

.auth-brand-panel--login .auth-brand-content {
    position: relative;
    z-index: 1;
    padding: 44px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.auth-brand-panel--login .auth-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.auth-brand-panel--login .auth-brand-logo {
    margin-bottom: 0;
    height: 40px;
}

.auth-brand-panel--login .auth-eyebrow {
    margin-bottom: 0;
    border: 1px solid rgba(32, 212, 146, 0.22);
    box-shadow: 0 2px 8px rgba(32, 212, 146, 0.08);
}

.auth-brand-panel--login h1 {
    font-size: clamp(26px, 3.6vw, 36px);
    line-height: 1.25;
    animation: auth-fade-up 0.6s ease both;
}

.auth-brand-panel--login .auth-highlight {
    background: linear-gradient(135deg, #20D492, #14A873);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-brand-panel--login .auth-brand-lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.75;
    color: #64748b;
    animation: auth-fade-up 0.6s 0.08s ease both;
}

.auth-pipeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 28px 0 26px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(32, 212, 146, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: auth-fade-up 0.6s 0.16s ease both;
}

.auth-pipeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.auth-pipeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 14px;
    color: #14A873;
    background: linear-gradient(135deg, rgba(32, 212, 146, 0.16), rgba(20, 168, 115, 0.08));
    border: 1px solid rgba(32, 212, 146, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-pipeline-node--end .auth-pipeline-icon {
    color: #fff;
    background: linear-gradient(135deg, #20D492, #14A873);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(32, 212, 146, 0.35);
}

.auth-pipeline-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.auth-pipeline-node--end .auth-pipeline-label {
    color: #14A873;
}

.auth-pipeline-arrow {
    flex: 1 1 auto;
    text-align: center;
    font-size: 10px;
    color: rgba(32, 212, 146, 0.45);
}

.auth-feature-grid--login {
    gap: 12px;
    margin-top: 0;
}

.auth-feature--login {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(32, 212, 146, 0.12);
    border-radius: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: auth-fade-up 0.5s ease both;
}

.auth-feature--login:nth-child(1) { animation-delay: 0.22s; }
.auth-feature--login:nth-child(2) { animation-delay: 0.28s; }
.auth-feature--login:nth-child(3) { animation-delay: 0.34s; }
.auth-feature--login:nth-child(4) { animation-delay: 0.4s; }

.auth-feature--login:hover {
    transform: translateY(-3px);
    border-color: rgba(32, 212, 146, 0.35);
    box-shadow: 0 8px 24px rgba(32, 212, 146, 0.12);
}

.auth-feature--login .auth-feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 16px;
    color: #14A873;
    background: linear-gradient(135deg, rgba(32, 212, 146, 0.14), rgba(244, 251, 248, 0.9));
    border: 1px solid rgba(32, 212, 146, 0.18);
    transition: transform 0.25s ease, background 0.25s ease;
}

.auth-feature--login:hover .auth-feature-icon {
    transform: scale(1.06);
    background: linear-gradient(135deg, rgba(32, 212, 146, 0.22), rgba(20, 168, 115, 0.1));
}

.auth-feature--login .auth-feature-icon i {
    margin-bottom: 0;
    font-size: inherit;
}

.auth-feature--login .auth-feature-body {
    min-width: 0;
}

.auth-feature--login strong {
    margin-bottom: 3px;
    font-size: 14px;
}

.auth-feature--login span {
    display: block;
    font-size: 12px;
    line-height: 1.55;
}

.auth-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    margin-top: auto;
    padding-top: 28px;
    animation: auth-fade-up 0.6s 0.48s ease both;
}

.auth-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.auth-trust-item strong {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    background: linear-gradient(135deg, #20D492, #14A873);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-trust-item span {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.auth-trust-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, rgba(32, 212, 146, 0.25), transparent);
}

@keyframes auth-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .auth-brand-panel--login .auth-brand-content {
        padding: 30px;
    }

    .auth-pipeline {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }

    .auth-pipeline-arrow {
        display: none;
    }

    .auth-pipeline-node {
        flex: 0 0 calc(25% - 8px);
    }
}

@media (max-width: 560px) {
    .auth-brand-panel--login .auth-brand-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auth-trust-bar {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 16px;
    }

    .auth-trust-divider {
        display: none;
    }

    .auth-trust-item {
        flex: 0 0 calc(33.33% - 8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-brand-panel--login .auth-brand-orb,
    .auth-brand-panel--login h1,
    .auth-brand-panel--login .auth-brand-lead,
    .auth-pipeline,
    .auth-feature--login,
    .auth-trust-bar {
        animation: none;
    }
}

/* ── 登录方式切换（手机 / 微信 / 密码）── */
.auth-card--login {
    padding: 38px 42px 36px;
}

.auth-login-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 22px;
    padding: 5px;
    border-radius: 14px;
    background: rgba(244, 251, 248, 0.9);
    border: 1px solid rgba(32, 212, 146, 0.12);
}

.auth-login-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.auth-login-tab i {
    font-size: 14px;
}

.auth-login-tab:hover {
    color: #14A873;
}

.auth-login-tab.active {
    background: #fff;
    color: #14A873;
    box-shadow: 0 2px 10px rgba(32, 212, 146, 0.14);
}

.auth-login-tab[data-mode="wechat"].active i {
    color: #07c160;
}

.auth-login-panel[hidden] {
    display: none !important;
}

.auth-login-panel {
    animation: auth-fade-up 0.35s ease both;
}

.auth-wechat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 8px 0 4px;
}

.auth-wechat-qr-wrap {
    position: relative;
    width: 212px;
    height: 212px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #f8fffc, #ffffff);
    border: 1px solid rgba(32, 212, 146, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.auth-wechat-qr-wrap img {
    border-radius: 10px;
    transition: opacity 0.25s ease;
}

.auth-wechat-qr-loading {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
}

.auth-wechat-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.auth-wechat-status i {
    color: #07c160;
    font-size: 18px;
}

.auth-wechat-status--loading {
    color: #64748b;
}

.auth-wechat-status--pending {
    color: #14A873;
}

.auth-wechat-status--success {
    color: #14A873;
}

.auth-wechat-status--error {
    color: #ef4444;
}

.auth-wechat-status--error i {
    color: #ef4444;
}

.auth-wechat-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(32, 212, 146, 0.25);
    border-radius: 999px;
    background: #fff;
    color: #14A873;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-wechat-refresh:hover {
    background: rgba(32, 212, 146, 0.08);
    border-color: rgba(32, 212, 146, 0.4);
}

.auth-spinner--green {
    border-color: rgba(32, 212, 146, 0.25);
    border-top-color: #20D492;
}

@media (max-width: 560px) {
    .auth-card--login {
        padding: 28px 20px 24px;
    }

    .auth-login-tab {
        font-size: 12px;
        padding: 10px 4px;
        gap: 4px;
    }

    .auth-login-tab span.tab-label-full {
        display: none;
    }
}
